/* =================================================================
   NEON RADIO — Stylesheet
   Dark neon · Glassmorphism · Mobile-first
   ================================================================= */

/* ----- 1. Design tokens (CSS variables) ------------------------- */
:root {
  /* Colors */
  --bg:           #05050a;
  --bg-soft:      #0a0a14;
  --panel:        rgba(18, 18, 32, 0.55);
  --panel-strong: rgba(22, 22, 38, 0.78);
  --border:       rgba(255, 255, 255, 0.08);
  --border-strong:rgba(255, 255, 255, 0.16);

  --text:         #f2f2ff;
  --text-muted:   #8a8aae;
  --text-dim:     #5a5a7a;

  /* Neon palette */
  --neon-cyan:    #00f0ff;
  --neon-pink:    #ff2e93;
  --neon-purple:  #b026ff;
  --neon-blue:    #4d7fff;

  /* Glows */
  --glow-cyan:    0 0 20px rgba(0, 240, 255, 0.45);
  --glow-pink:    0 0 24px rgba(255, 46, 147, 0.45);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --player-height: 96px;
  --header-height: 64px;
}

/* ----- 2. Reset ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Reserve space for the sticky bottom player + safe area */
  padding-bottom: calc(var(--player-height) + env(safe-area-inset-bottom, 0px) + 24px);
}

button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
input  { font-family: inherit; }
a      { color: inherit; text-decoration: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 4px;
  opacity: 0.5;
}
::-webkit-scrollbar-thumb:hover { opacity: 1; }
* { scrollbar-width: thin; scrollbar-color: var(--neon-purple) transparent; }

/* Selection */
::selection { background: var(--neon-pink); color: #fff; }

/* =================================================================
   3. ANIMATED BACKGROUND
   ================================================================= */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at top, #0a0a1f 0%, #05050a 60%, #000 100%);
  overflow: hidden;
}

.bg__blob {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite;
}
.bg__blob--1 { background: var(--neon-purple); top: -10%; left: -10%; }
.bg__blob--2 { background: var(--neon-cyan);   bottom: -15%; right: -10%; animation-delay: -7s; }
.bg__blob--3 { background: var(--neon-pink);   top: 35%;  left: 40%; opacity: 0.3; animation-delay: -14s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(8vw, -6vh) scale(1.1); }
  66%      { transform: translate(-5vw, 5vh) scale(0.95); }
}

/* Subtle grid overlay for that techy vibe */
.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* SVG noise grain — adds film texture */
.bg__noise {
  position: absolute; inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =================================================================
   4. LOADING SCREEN
   ================================================================= */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__rings { position: relative; width: 80px; height: 80px; }
.loader__rings span {
  position: absolute; inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
}
.loader__rings span:nth-child(2) {
  inset: 8px; border-top-color: var(--neon-pink);
  animation-duration: 1.8s; animation-direction: reverse;
}
.loader__rings span:nth-child(3) {
  inset: 16px; border-top-color: var(--neon-purple);
  animation-duration: 2.4s;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loader__text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.loader__sub { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.08em; }

/* =================================================================
   5. HEADER
   ================================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(5,5,10,0.85) 0%, rgba(5,5,10,0.4) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  min-height: var(--header-height);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.logo__pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 12px var(--neon-pink), 0 0 24px var(--neon-pink);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}
.logo__text { white-space: nowrap; }
.logo__accent {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.search {
  flex: 1;
  position: relative;
  max-width: 480px;
  margin-left: auto;
}
.search__icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.search input::placeholder { color: var(--text-dim); }
.search input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), var(--glow-cyan);
}

/* =================================================================
   6. MAIN LAYOUT
   ================================================================= */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 18px 40px;
}

/* ----- Hero ----- */
.hero { padding: 12px 4px 28px; }
.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 14px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.hero__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
}

/* ----- Category pills ----- */
.categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  margin-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.categories::-webkit-scrollbar { display: none; }

.cat {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  scroll-snap-align: start;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.cat__icon { font-size: 1.05em; }
.cat__count {
  margin-left: 4px;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.cat:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.cat.is-active {
  background: linear-gradient(135deg, rgba(0,240,255,0.18), rgba(255,46,147,0.18));
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  color: #fff;
}
.cat.is-active .cat__count { color: var(--neon-cyan); }

/* ----- Songs grid ----- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

@media (min-width: 600px)  { .grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
@media (min-width: 1024px) { .grid { gap: 22px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

/* ----- Song card ----- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
  cursor: pointer;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
  /* staggered entrance */
  opacity: 0;
  transform: translateY(12px);
  animation: cardIn 0.6s var(--ease) forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px -12px rgba(0, 240, 255, 0.35);
}

.card.is-playing {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 1px var(--neon-cyan), 0 12px 40px -10px rgba(0, 240, 255, 0.55);
}

.card__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background:
    linear-gradient(135deg, rgba(176, 38, 255, 0.4), rgba(0, 240, 255, 0.4)),
    radial-gradient(circle at 30% 30%, rgba(255, 46, 147, 0.5), transparent 60%);
}
.card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card__coverFallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 0 18px rgba(0,0,0,0.4);
  letter-spacing: 0.05em;
}

/* Play overlay */
.card__play {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--neon-cyan);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.5);
  opacity: 0;
  transform: translateY(8px) scale(0.8);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.card__play svg { width: 18px; height: 18px; margin-left: 2px; }
.card:hover .card__play,
.card.is-playing .card__play {
  opacity: 1; transform: translateY(0) scale(1);
}

/* Equalizer animation when playing */
.card__eq {
  position: absolute;
  top: 10px; left: 10px;
  display: none;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
  padding: 4px 6px;
  background: rgba(0,0,0,0.5);
  border-radius: 6px;
  backdrop-filter: blur(8px);
}
.card.is-playing .card__eq { display: flex; }
.card__eq span {
  display: block;
  width: 3px;
  background: var(--neon-cyan);
  border-radius: 2px;
  animation: eq 0.9s ease-in-out infinite;
}
.card__eq span:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.card__eq span:nth-child(2) { height: 80%; animation-delay: -0.5s; }
.card__eq span:nth-child(3) { height: 60%; animation-delay: -0.8s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1);   }
}

.card__title {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
  /* clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__category {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----- Empty state ----- */
.empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--panel);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.empty__icon { font-size: 3rem; margin-bottom: 14px; }
.empty__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.empty__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.empty code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.85em;
}

/* =================================================================
   7. STICKY BOTTOM PLAYER
   ================================================================= */
.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(8,8,16,0.7), rgba(5,5,10,0.95));
  border-top: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  padding-bottom: env(safe-area-inset-bottom, 0);
  /* Slide up entrance */
  transform: translateY(100%);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.player.is-active { transform: translateY(0); }
.player[data-state="playing"] {
  box-shadow: 0 -8px 40px -10px rgba(0, 240, 255, 0.35);
}

/* Progress bar (top edge) */
.player__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  overflow: visible;
}
.player__progressFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: width 0.1s linear;
}
.player__progressHandle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px var(--neon-cyan);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s var(--ease);
}
.player__progress:hover .player__progressHandle { transform: translate(-50%, -50%) scale(1); }

.player__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: var(--player-height);
}

/* Track info */
.player__track {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; /* allow truncation */
}
.player__cover {
  position: relative;
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  display: flex; align-items: center; justify-content: center;
}
.player__cover img { width: 100%; height: 100%; object-fit: cover; }
.player__coverPlaceholder {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
}
.player__coverGlow {
  position: absolute; inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  filter: blur(12px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s var(--ease);
}
.player[data-state="playing"] .player__coverGlow {
  opacity: 0.7;
  animation: coverPulse 2.4s ease-in-out infinite;
}
@keyframes coverPulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.9; }
}

.player__meta { min-width: 0; }
.player__title {
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__category {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Controls */
.player__controls {
  display: flex; align-items: center; gap: 6px;
}
.ctrl {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s var(--ease), background 0.3s var(--ease);
}
.ctrl:active { transform: scale(0.92); }
.ctrl--small {
  width: 40px; height: 40px;
  color: var(--text-muted);
}
.ctrl--small:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.ctrl--small svg { width: 22px; height: 22px; }

.ctrl--play {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  color: #000;
  box-shadow: 0 8px 24px -6px rgba(0, 240, 255, 0.6);
}
.ctrl--play:hover { transform: scale(1.05); }
.ctrl--play svg { width: 22px; height: 22px; }
.ctrl__pauseIcon { display: none; }
.player[data-state="playing"] .ctrl__playIcon  { display: none; }
.player[data-state="playing"] .ctrl__pauseIcon { display: block; }

/* Time + volume — hidden on small screens */
.player__extras { display: none; }
.player__time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  display: flex; gap: 4px; align-items: center;
}
.player__sep { color: var(--text-dim); }

.player__volume {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted);
}
.player__volIcon { width: 20px; height: 20px; }

/* Custom volume range */
input[type="range"]#volume {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
}
input[type="range"]#volume::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  cursor: pointer;
}
input[type="range"]#volume::-moz-range-thumb {
  width: 14px; height: 14px;
  border: none; border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  cursor: pointer;
}

/* Show extras on tablets+ */
@media (min-width: 720px) {
  .player__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .player__extras {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
  }
}

/* =================================================================
   8. SITE FOOTER (credits line + links)
   ================================================================= */
.site-footer {
  margin-top: 60px;
  padding: 28px 4px 12px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.site-footer__line {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  line-height: 1.6;
}
.site-footer__line strong {
  color: var(--text);
  font-weight: 600;
}
.site-footer__links {
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer__links a {
  color: var(--neon-cyan);
  transition: text-shadow 0.3s var(--ease), color 0.3s var(--ease);
  letter-spacing: 0.04em;
}
.site-footer__links a:hover {
  text-shadow: 0 0 12px var(--neon-cyan);
}
.site-footer__sep { color: var(--text-dim); }

/* =================================================================
   9. ABOUT PAGE STYLES
   ================================================================= */
.about {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 18px 80px;
}
.about__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.about__back:hover {
  border-color: var(--neon-cyan);
  color: var(--text);
}
.about__back svg { width: 16px; height: 16px; }

.about__hero {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.about__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--neon-pink);
  margin-bottom: 14px;
  text-shadow: 0 0 10px rgba(255, 46, 147, 0.5);
}
.about__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.about__title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about__section {
  margin-bottom: 36px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.about__section h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about__section h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink));
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}
.about__section p,
.about__section li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.about__section p:last-child,
.about__section li:last-child { margin-bottom: 0; }
.about__section ul {
  list-style: none;
  padding-left: 0;
}
.about__section li {
  padding-left: 22px;
  position: relative;
}
.about__section li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan);
}
.about__section strong { color: var(--text); }
.about__section a {
  color: var(--neon-cyan);
  border-bottom: 1px dashed rgba(0, 240, 255, 0.4);
  transition: text-shadow 0.3s var(--ease);
}
.about__section a:hover { text-shadow: 0 0 10px var(--neon-cyan); }

.about__signature {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* On the about page we don't need the player padding */
body.about-page {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* =================================================================
   10. USER MENU (avatar + dropdown in header)
   ================================================================= */
.user-menu {
  position: relative;
  flex-shrink: 0;
}
.user-menu__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #000;
  box-shadow: 0 4px 16px -4px rgba(0, 240, 255, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.user-menu__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px -4px rgba(0, 240, 255, 0.7);
}

.user-menu__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 240px;
  padding: 14px;
  background: var(--panel-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px -12px rgba(0,0,0,0.6);
  animation: ddIn 0.25s var(--ease);
  z-index: 100;
}
@keyframes ddIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.user-menu__info {
  padding: 8px 10px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.user-menu__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}
.user-menu__email {
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-all;
}
.user-menu__logout {
  width: 100%;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.user-menu__logout svg { width: 18px; height: 18px; }
.user-menu__logout:hover {
  background: rgba(255, 46, 147, 0.12);
  color: var(--neon-pink);
}

/* =================================================================
   11. AUTH PAGES (login / register)
   ================================================================= */
body.auth-page {
  padding-bottom: env(safe-area-inset-bottom, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}
.auth {
  width: 100%;
  max-width: 440px;
  padding: 24px 18px;
}
.auth__card {
  background: var(--panel-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 32px 26px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6),
              0 0 0 1px rgba(0, 240, 255, 0.04);
  animation: cardIn 0.6s var(--ease);
}
.auth__logo {
  justify-content: center;
  margin-bottom: 26px;
  font-size: 1.05rem;
}
.auth__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 8px;
}
.auth__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 26px;
}
.auth__msg {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  line-height: 1.5;
  border: 1px solid;
}
.auth__msg--error {
  color: #ff6b9c;
  background: rgba(255, 46, 147, 0.08);
  border-color: rgba(255, 46, 147, 0.3);
}
.auth__msg--success {
  color: #6bf2c5;
  background: rgba(0, 240, 200, 0.08);
  border-color: rgba(0, 240, 200, 0.3);
}
.auth__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth__label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.auth__field input {
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.auth__field input::placeholder { color: var(--text-dim); }
.auth__field input:focus {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}
.auth__submit {
  margin-top: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 28px -10px rgba(0, 240, 255, 0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), opacity 0.2s var(--ease);
}
.auth__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px -8px rgba(0, 240, 255, 0.7);
}
.auth__submit:active:not(:disabled) { transform: translateY(0); }
.auth__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.auth__spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.auth__alt {
  margin-top: 22px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.auth__alt a {
  color: var(--neon-cyan);
  font-weight: 500;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.4);
  transition: text-shadow 0.3s var(--ease);
}
.auth__alt a:hover { text-shadow: 0 0 10px var(--neon-cyan); }

/* =================================================================
   12. ACCESSIBILITY — reduce motion
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
