:root {
  --quantum-blue: #0E2A47;
  --pulse-violet: #8A6CFF;
  --neon-magenta: #FF007F;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--quantum-blue);
  color: #FFFFFF;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Mouse-following spotlight effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle 500px at var(--x, 50%) var(--y, 50%), rgba(138, 108, 255, 0.15), transparent 80%);
  z-index: 1;
}

#navbar, .content-wrapper {
  position: relative;
  z-index: 2;
}

/* Navbar Layout */
#navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--quantum-blue);
  border-bottom: 2px solid var(--pulse-violet);
  height: 80px;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  background-color: var(--quantum-blue);
  border: 2px solid var(--pulse-violet);
  padding: 8px 14px;
  border-radius: 12px;
  transition: transform 0.25s ease-in-out;
}

.nav-link:hover {
  background-color: var(--quantum-blue);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.nav-icon {
  height: 20px;
  width: 20px;
}

.content-wrapper {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* General Cards & Containers */
.portfolio-section, .spotify-player-container {
  background-color: rgba(14, 42, 71, 0.7);
  border: 2px solid var(--pulse-violet);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 30px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  margin-top: 20px;
}

.player-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #3DF2E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #3DF2E0;
  border-radius: 50%;
}

.tech-tag {
  margin: 0;
  font-size: 0.9rem;
  color: #3DF2E0;
}

.social-icons-row {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease-in-out;
}

.social-icon-link:hover {
  transform: translateY(-3px);
}

.network-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* =========================================
   Project Artwork Box & Vinyl Image Fixes
========================================= */
.project-artwork-box {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  border: 1px solid var(--pulse-violet);
  overflow: hidden;
  background-color: #0B0F14;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.project-img {
  width: 190px;
  height: 190px;
  /* Spotify Vinyl Shape */
  border-radius: 50%;
  object-fit: cover;
  display: block;
  /* Dark rim to look like a record */
  border: 4px solid #1a1a1a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

/* The spinning animation for when the project is "playing" */
@keyframes spin-vinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.playing-vinyl {
  animation: spin-vinyl 4s linear infinite;
}

/* Track Info & Controls */
.track-info-section {
  text-align: center;
  margin: 20px 0 10px 0;
  width: 100%;
}

.track-info-section h2 {
  margin: 0 0 5px 0;
  font-size: 1.5rem;
  color: #FFFFFF;
}

.top-track-counter {
  font-size: 0.85rem;
  font-weight: bold;
  color: #3DF2E0;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.control-btn {
  background: rgba(14, 42, 71, 0.9);
  border: 2px solid var(--pulse-violet);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.control-btn.main-play {
  width: 60px;
  height: 60px;
  border-color: #3DF2E0;
}

.control-icon {
  width: 20px;
  height: 20px;
}

/* Expanded Info Box */
.expanded-info-box {
  margin-top: 20px;
  width: 100%;
  padding-top: 15px;
  border-top: 1px dashed rgba(138, 108, 255, 0.4);
  text-align: left;
}

.expanded-info-box.hidden {
  display: none;
}

.expanded-info-box h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: #3DF2E0;
}

.expanded-info-box p {
  margin: 0 0 15px 0;
  font-size: 0.9rem;
  color: #D0D7DE;
  line-height: 1.4;
}

.cyber-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 42, 71, 0.9);
  border: 2px solid #3DF2E0;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  text-decoration: none;
}

/* =========================================
   DASHBOARD / ABOUT SECTION EXPANSION
========================================= */

.about-expanded-section {
  max-width: 900px !important; /* Overrides the 480px default */
  width: 100%;
}

.main-title {
  font-size: 2.2rem;
  margin: 0 0 5px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}

.about-block {
  background: rgba(11, 15, 20, 0.6);
  border: 1px solid rgba(138, 108, 255, 0.3);
  padding: 20px;
  border-radius: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-block:hover {
  border-color: #3DF2E0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(61, 242, 224, 0.1);
}

.about-block.full-width {
  grid-column: 1 / -1;
}

.about-block h3 {
  color: #3DF2E0;
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 1px dashed rgba(138, 108, 255, 0.4);
  padding-bottom: 8px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Stats Grid --- */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  background: rgba(14, 42, 71, 0.5);
  padding: 12px 15px;
  border-left: 3px solid var(--pulse-violet);
  border-radius: 4px;
  flex: 1;
  min-width: 150px;
}

.stat-label {
  font-size: 0.75rem;
  color: #8A6CFF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFFFFF;
}

/* --- CSS Donut Charts --- */
.donuts-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.donut-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* --- CSS Donut Charts (Static Solid Color) --- */
.donut-chart {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  /* Using a hard stop at the same color removes the gradient fade */
  background: conic-gradient(#3DF2E0 0%, #3DF2E0 calc(var(--p) * 1%), rgba(14, 42, 71, 0.8) calc(var(--p) * 1%), rgba(14, 42, 71, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px rgba(61, 242, 224, 0.15); /* Cyan glow to match */
}

.donut-chart::before {
  content: '';
  position: absolute;
  width: 74px;
  height: 74px;
  background-color: #0B0F14; 
  border-radius: 50%;
}

/* --- Repo Link Styling --- */
.repo-link {
  color: #3DF2E0;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-block;
  margin-top: 6px;
  font-weight: bold;
  transition: color 0.2s ease, transform 0.2s ease;
}

.repo-link:hover {
  color: var(--pulse-violet);
  transform: translateX(3px);
}

.donut-inner {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFFFFF;
}

.donut-label {
  font-size: 0.85rem;
  color: #D0D7DE;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

/* --- Skills & Lists --- */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill-pill {
  background: transparent;
  border: 1px solid var(--pulse-violet);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #3DF2E0;
  transition: all 0.2s;
}

.skill-pill:hover {
  background: var(--pulse-violet);
  color: #FFFFFF;
}

.active-projects-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.active-projects-list li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #D0D7DE;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.active-projects-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #3DF2E0;
  font-weight: bold;
}

.active-projects-list li strong {
  color: #FFFFFF;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
:root{
  --quantum-blue:#0E2A47;
  --pulse-violet:#8A6CFF;
  --neon-magenta:#FF007F;
  --cyan:#3DF2E0;
}

*{box-sizing:border-box}

body{
  margin:0;
  padding:0;
  background:var(--quantum-blue);
  color:#fff;
  font-family:"Franklin Gothic Medium","Arial Narrow",Arial,sans-serif;
  overflow-x:hidden;
  position:relative;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle 500px at var(--x,50%) var(--y,50%),rgba(138,108,255,.15),transparent 80%);
  z-index:1;
}

#navbar,.content-wrapper{position:relative;z-index:2}

#navbar{
  display:flex;
  justify-content:center;
  align-items:center;
  position:sticky;
  top:0;
  height:80px;
  padding:0 20px;
  background:var(--quantum-blue);
  border-bottom:2px solid var(--pulse-violet);
  z-index:1000;
}

.nav-container{display:flex;justify-content:center;align-items:center;width:100%;max-width:1200px}
.nav-links{display:flex;gap:15px;align-items:center}
.nav-link{
  display:flex;align-items:center;gap:8px;
  color:#fff;text-decoration:none;font-weight:bold;
  padding:8px 14px;border:2px solid var(--pulse-violet);
  border-radius:12px;transition:.25s;
}
.nav-link:hover{transform:translateY(-3px)}
.nav-icon{width:20px;height:20px}

.content-wrapper{
  padding:40px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.portfolio-section,.spotify-player-container{
  width:100%;
  max-width:480px;
  padding:30px;
  margin-top:20px;
  border-radius:20px;
  border:2px solid var(--pulse-violet);
  background:rgba(14,42,71,.7);
  backdrop-filter:blur(10px);
}

.player-header{display:flex;align-items:center;gap:8px;color:var(--cyan);font-weight:bold;margin-bottom:20px}
.pulse-dot{width:8px;height:8px;background:var(--cyan);border-radius:50%}
.tech-tag{color:var(--cyan)}

.project-artwork-box{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin:30px 0;
  background:transparent;
  border:none;
  overflow:visible;
  position:relative;
}

.project-artwork-box::before{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(138,108,255,.18),rgba(255,0,127,.10) 45%,transparent 75%);
  filter:blur(18px);
}

.project-img{
  position:relative;
  z-index:1;
  width:280px;
  height:280px;
  border-radius:50%;
  object-fit:cover;
  border:6px solid #111827;
  box-shadow:0 0 25px rgba(138,108,255,.25),0 18px 40px rgba(0,0,0,.55);
  transition:transform .3s ease,box-shadow .3s ease;
}

.project-img:hover{
  transform:scale(1.03);
  box-shadow:0 0 40px rgba(138,108,255,.35),0 24px 50px rgba(0,0,0,.65);
}

@keyframes spin-vinyl{
  from{transform:rotate(0)}
  to{transform:rotate(360deg)}
}
.playing-vinyl{animation:spin-vinyl 4s linear infinite}

.track-info-section{text-align:center;margin:20px 0 10px}
.track-info-section h2{margin:0 0 5px}
.top-track-counter{color:var(--cyan);font-weight:bold}

.player-controls{display:flex;justify-content:center;gap:20px;margin-top:20px}
.control-btn{
  width:50px;height:50px;border-radius:50%;
  border:2px solid var(--pulse-violet);
  background:rgba(14,42,71,.9);
  display:flex;justify-content:center;align-items:center;
  cursor:pointer;
}
.main-play{width:60px;height:60px;border-color:var(--cyan)}
.control-icon{width:20px;height:20px}

.expanded-info-box{margin-top:20px;padding-top:15px;border-top:1px dashed rgba(138,108,255,.4)}
.hidden{display:none}

@media(max-width:768px){
  .about-grid{grid-template-columns:1fr}
  .project-img{width:220px;height:220px}
  .project-artwork-box::before{width:270px;height:270px}
}
.radio-tag {
    margin-top: 12px;
    height: 28px;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;

    border: 2px solid var(--pulse-violet);
    border-radius: 12px;

    background: rgba(14,42,71,.7);

    padding: 6px 14px;

    display: flex;
    align-items: center;

    color: #3DF2E0;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#radioText {
    white-space: nowrap;
    display: inline-block;
    animation: slideIn .5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}