/* ============================================================
   h3xsec — styles.css
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --bg-void:     #05050d;
  --bg-deep:     #09091a;
  --bg-surface:  #0f0f24;
  --bg-card:     #12122a;
  --purple-900:  #1a0a2e;
  --purple-700:  #3b1f6e;
  --purple-500:  #7c3aed;
  --purple-400:  #a855f7;
  --purple-300:  #c084fc;
  --purple-200:  #d8b4fe;
  --cyan:        #22d3ee;
  --green:       #4ade80;
  --red:         #f87171;
  --text-bright: #f0e6ff;
  --text-main:   #b8a9d9;
  --text-dim:    #5c4d7a;
  --border:      rgba(124, 58, 237, 0.25);
  --glow:        rgba(168, 85, 247, 0.4);
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-void);
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* ── SCANLINES ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(5, 5, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--text-bright);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-logo span {
  color: var(--purple-400);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--purple-400);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover { color: var(--purple-300); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--purple-300);
  border: 1px solid var(--purple-500);
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.nav-cta:hover {
  background: rgba(124, 58, 237, 0.2);
  box-shadow: 0 0 20px var(--glow);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Grid background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Radial glow */
#hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-label::before {
  content: '> ';
  opacity: 0.6;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 900px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.hero-title .accent { color: var(--purple-400); }
.hero-title .dim    { color: var(--purple-700); }

/* Glitch Effect */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  color: var(--text-bright);
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--cyan);
  animation: glitch1 4s infinite;
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
}

.glitch::after {
  left: -2px;
  text-shadow: 2px 0 var(--red);
  animation: glitch2 4s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-main);
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s forwards;
  position: relative;
  z-index: 1;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  animation: fadeIn 1.5s 1.5s both;
}

.scroll-hint::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--text-dim);
}

/* Corner SVG decoration */
.corner-decor {
  position: absolute;
  top: 7rem; right: 4rem;
  width: 260px; height: 260px;
  opacity: 0.12;
  animation: fadeIn 1s 1s both, spin 30s linear infinite;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15));
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--glow), 0 0 60px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--purple-300);
  background: transparent;
  padding: 0.85rem 2rem;
  border: 1px solid var(--purple-700);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.btn-ghost:hover {
  border-color: var(--purple-400);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  padding: 2.5rem 4rem;
  gap: 0;
}

.stat-item {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple-300);
  line-height: 1;
  display: block;
  text-shadow: 0 0 20px var(--glow);
}

.stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 0.4rem;
  display: block;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
section {
  padding: 7rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '// ';
  opacity: 0.5;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: normal;
  color: var(--purple-400);
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  color: var(--text-main);
  font-weight: 300;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-text p strong {
  color: var(--purple-300);
  font-weight: 600;
}

.about-visual {
  position: relative;
  height: 340px;
}

/* Terminal */
.terminal-box {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.terminal-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
}

.terminal-header {
  background: rgba(124, 58, 237, 0.12);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: var(--red); }
.terminal-dot:nth-child(2) { background: #fb923c; }
.terminal-dot:nth-child(3) { background: var(--green); }

.terminal-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
  letter-spacing: 0.08em;
}

.terminal-body {
  padding: 1.2rem 1.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.9;
}

/* Terminal text colours */
.t-prompt { color: var(--purple-400); }
.t-cmd    { color: var(--text-bright); }
.t-out    { color: var(--green); }
.t-dim    { color: var(--text-dim); }
.t-cyan   { color: var(--cyan); }
.t-warn   { color: #fb923c; }

.cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--purple-400);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
#features {
  padding-top: 0;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-500), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.feature-card:hover { background: rgba(124, 58, 237, 0.08); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  filter: saturate(0.6) brightness(1.2);
}

.feature-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.feature-card p {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

.feature-number {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  font-family: 'Orbitron', monospace;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.06);
  line-height: 1;
  pointer-events: none;
}

/* ============================================================
   CTF HISTORY TABLE
   ============================================================ */
#ctfs {
  padding-top: 7rem;
}

.ctf-table-wrap {
  margin-top: 3rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.ctf-table {
  width: 100%;
  border-collapse: collapse;
}

.ctf-table th {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 1rem 1.5rem;
  text-align: left;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.ctf-table td {
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
  transition: background 0.2s;
}

.ctf-table tr:last-child td { border-bottom: none; }
.ctf-table tr:hover td { background: rgba(124, 58, 237, 0.05); }

.ctf-name  { color: var(--text-bright); font-weight: 600; }
.ctf-place { color: var(--purple-300); font-family: 'Orbitron', monospace; font-size: 0.85rem; }

.badge {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
  text-transform: uppercase;
}

.badge-jeopardy { background: rgba(34, 211, 238, 0.1);  color: var(--cyan);         border: 1px solid rgba(34, 211, 238, 0.3); }
.badge-awd      { background: rgba(248, 113, 113, 0.1); color: var(--red);          border: 1px solid rgba(248, 113, 113, 0.3); }
.badge-mixed    { background: rgba(168, 85, 247, 0.1);  color: var(--purple-300);   border: 1px solid rgba(168, 85, 247, 0.3); }

/* ============================================================
   DISCORD CTA
   ============================================================ */
#discord {
  padding: 7rem 4rem;
  max-width: none;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#discord::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

#discord .section-title { color: var(--text-bright); }

.discord-sub {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.discord-logo { font-size: 3.5rem; margin-bottom: 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1rem;
  color: var(--text-bright);
}

.footer-logo span { color: var(--purple-400); }

.footer-copy {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--purple-300); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s, transform 0.7s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes glitch1 {
  0%, 94%, 100% { transform: translate(0);         opacity: 0; }
  95%           { transform: translate(-3px, 1px);  opacity: 1; }
  97%           { transform: translate(2px, -1px);  opacity: 1; }
  99%           { transform: translate(0);          opacity: 0; }
}

@keyframes glitch2 {
  0%, 94%, 100% { transform: translate(0);         opacity: 0; }
  95%           { transform: translate(3px, -1px);  opacity: 1; }
  97%           { transform: translate(-2px, 1px);  opacity: 1; }
  99%           { transform: translate(0);          opacity: 0; }
}

/* ============================================================
   NOW PLAYING WIDGET
   ============================================================ */
.now-playing {
  position: absolute;
  bottom: 3rem;
  right: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(9, 9, 26, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  padding: 1rem 1.2rem 1rem 1rem;
  width: 300px;
  z-index: 10;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15), inset 0 0 0 1px rgba(255,255,255,0.03);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  animation: fadeIn 1s 1.8s both;
}

/* Vinyl record */
.np-vinyl {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #1a0a2e 0px, #0f0f24 3px,
    #12122a 4px, #0a0a1a 8px,
    #1a0a2e 9px, #0d0d20 13px
  );
  border: 2px solid rgba(124, 58, 237, 0.4);
  position: relative;
  animation: vinylSpin 4s linear infinite;
  animation-play-state: running;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.3);
}

.np-vinyl.paused {
  animation-play-state: paused;
}

.np-vinyl-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #3b1f6e 0%, #1a0a2e 60%);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.np-vinyl-label {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-vinyl-label span {
  font-family: 'Orbitron', monospace;
  font-size: 0.45rem;
  font-weight: 900;
  color: var(--purple-200);
  letter-spacing: 0.05em;
}

/* Info panel */
.np-info {
  flex: 1;
  min-width: 0;
}

.np-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.np-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  opacity: 0.8;
}

/* Equaliser bars */
.np-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.np-bars span {
  display: block;
  width: 3px;
  background: var(--purple-400);
  border-radius: 1px;
  transform-origin: bottom;
  animation: eqBar 0.6s ease-in-out infinite alternate;
}

.np-bars span:nth-child(1) { height: 40%; animation-duration: 0.5s; }
.np-bars span:nth-child(2) { height: 80%; animation-duration: 0.7s; animation-delay: 0.1s; }
.np-bars span:nth-child(3) { height: 60%; animation-duration: 0.4s; animation-delay: 0.2s; }
.np-bars span:nth-child(4) { height: 90%; animation-duration: 0.65s; animation-delay: 0.05s; }
.np-bars span:nth-child(5) { height: 50%; animation-duration: 0.55s; animation-delay: 0.15s; }

.np-bars.paused span {
  animation-play-state: paused;
}

.np-track {
  font-family: 'Orbitron', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.03em;
}

.np-artist {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Progress bar */
.np-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.np-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.58rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.np-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.np-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-300));
  border-radius: 2px;
  transition: width 0.5s linear;
  box-shadow: 0 0 6px var(--glow);
}

/* Controls */
.np-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.np-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.6rem;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
  line-height: 1;
}

.np-btn:hover { color: var(--purple-300); }

.np-btn-play {
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.4) !important;
  color: var(--purple-300) !important;
  border-radius: 2px;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  transition: background 0.2s, box-shadow 0.2s;
}

.np-btn-play:hover {
  background: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 10px var(--glow);
}

/* Keyframes */
@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes eqBar {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

/* ============================================================
   RESPONSIVE — now-playing
   ============================================================ */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }

  #hero { padding: 7rem 1.5rem 3rem; }

  section { padding: 4rem 1.5rem; }

  #about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual { height: 280px; }

  .features-grid { grid-template-columns: 1fr; }

  .stats-bar {
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .stat-item::before { display: none; }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .corner-decor { display: none; }

  .now-playing {
    position: static;
    width: 100%;
    clip-path: none;
    margin-top: 2rem;
  }

  #discord { padding: 5rem 1.5rem; }

  #ctfs { padding: 4rem 1.5rem; }
}