:root {
  --bg: #07070d; --bg2: #0d0d18; --panel: rgba(18, 18, 32, 0.72); --panel-solid: #12121f; --line: rgba(255, 255, 255, 0.09);
  --text: #f2f2fa; --muted: #9a9ab8; --dim: #6b6b88;
  --lime: #b6ff3b; --cyan: #3dd8ff; --pink: #ff4fd8; --orange: #ff8a3d;
  --accent: var(--lime); --accent2: var(--cyan);
  --r: 18px;
  --font-display: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image: linear-gradient(rgba(182, 255, 59, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(61, 216, 255, 0.09) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: gridmove 6s linear infinite;
}
@keyframes gridmove { to { background-position: 0 64px; } }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.o1 { width: 520px; height: 520px; background: #4b1fff; top: -160px; left: -120px; animation: drift 18s ease-in-out infinite alternate; }
.o2 { width: 460px; height: 460px; background: var(--pink); top: 25%; right: -180px; opacity: 0.25; animation: drift 22s ease-in-out infinite alternate-reverse; }
.o3 { width: 380px; height: 380px; background: var(--cyan); bottom: -120px; left: 30%; opacity: 0.18; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }
.scan { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(7, 7, 13, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand, .footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; text-decoration: none; display: inline-flex; align-items: baseline; }
.brand-play { color: var(--text); }
.brand-at { color: var(--lime); margin: 0 1px 0 6px; text-shadow: 0 0 18px rgba(182, 255, 59, 0.6); }
.brand-m80 { background: linear-gradient(90deg, var(--cyan), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --b: var(--lime);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 12px; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s; white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: #0a0d02; box-shadow: 0 0 0 0 rgba(182, 255, 59, 0.5); }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(182, 255, 59, 0.35); }
.btn-play { background: var(--accent); color: #07070d; }
.btn-play:hover { box-shadow: 0 10px 34px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }
.btn-sm { font-size: 13px; padding: 9px 16px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- hero */
.hero { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 48px) 28px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; color: var(--muted); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.03); margin: 0 0 24px; }
.kicker .sep { color: var(--dim); }
#count { color: var(--lime); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 13vw, 164px); line-height: 0.9; margin: 0; letter-spacing: -0.01em; }
.w-play { color: var(--text); }
.w-at { color: var(--lime); display: inline-block; text-shadow: 0 0 40px rgba(182, 255, 59, 0.55); animation: glitch 5s steps(1) infinite; }
.w-m80 { background: linear-gradient(100deg, var(--cyan) 0%, #8f6bff 45%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes glitch {
  0%, 92%, 100% { transform: none; text-shadow: 0 0 40px rgba(182, 255, 59, 0.55); }
  93% { transform: translate(-4px, 2px) skewX(-8deg); text-shadow: 6px 0 var(--pink), -6px 0 var(--cyan); }
  95% { transform: translate(3px, -2px); text-shadow: -5px 0 var(--pink), 5px 0 var(--cyan); }
}
.lede { max-width: 660px; margin: 22px auto 6px; font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); }
.tagline { font-family: var(--font-display); font-size: clamp(19px, 2.6vw, 26px); margin: 4px 0 24px; color: var(--text); }
.tagline strong { color: var(--lime); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { list-style: none; padding: 0; margin: 32px auto 0; display: flex; justify-content: center; gap: clamp(18px, 5vw, 56px); flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; align-items: center; }
.hero-stats b { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.hero-stats span { color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; }

/* ---------------------------------------------------------------- launcher */
.launcher { max-width: 1320px; margin: 30px auto 0; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: 1fr 320px; gap: 18px; }
.feature {
  --accent: var(--lime); position: relative; border-radius: 22px; overflow: hidden; min-height: 520px; background: var(--panel-solid);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px var(--line); isolation: isolate;
}
.feature .f-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: opacity 0.6s, transform 8s ease-out; }
.feature.show .f-img { transform: scale(1.0); }
.feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,7,13,0.95) 0%, rgba(7,7,13,0.7) 38%, rgba(7,7,13,0.05) 72%), linear-gradient(to top, rgba(7,7,13,0.9), transparent 45%); }
.feature::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent), var(--accent2)); box-shadow: 0 0 24px var(--accent); }
.f-body { position: relative; padding: clamp(24px, 4vw, 48px); max-width: 600px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; }
.f-body > * { animation: rise 0.55s cubic-bezier(.2, .8, .2, 1) both; }
.f-body > *:nth-child(2) { animation-delay: 0.05s; } .f-body > *:nth-child(3) { animation-delay: 0.1s; } .f-body > *:nth-child(4) { animation-delay: 0.15s; } .f-body > *:nth-child(5) { animation-delay: 0.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.f-exp { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.2em; font-size: 13px; color: var(--accent); margin: 0 0 8px; }
.f-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 6.5vw, 84px); line-height: 0.95; margin: 0 0 12px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.f-tag { font-size: clamp(16px, 1.8vw, 19px); color: #d9d9ea; margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chip { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 11px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #e4e4f2; }
.chip.accent { background: color-mix(in srgb, var(--accent) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.f-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.last-played { font-size: 13px; color: var(--muted); }

.rail { display: flex; flex-direction: column; gap: 12px; }
.tile {
  --accent: var(--lime); position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 10px; border: 0; text-align: left; cursor: pointer;
  border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: inherit; overflow: hidden; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; flex: 1;
}
.tile:hover { background: rgba(28, 28, 48, 0.85); transform: translateX(-3px); }
.tile[aria-selected="true"] { background: rgba(30, 30, 52, 0.95); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 30px color-mix(in srgb, var(--accent) 18%, transparent); }
.tile img { width: 112px; height: 70px; object-fit: cover; border-radius: 10px; }
.tile .t-exp { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); font-weight: 700; }
.tile .t-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.1; }
.tile .t-genre { font-size: 12px; color: var(--muted); }
.tile .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.tile[aria-selected="true"] .bar.run { animation: fill var(--dur, 9s) linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------------------------------------------------------------- sections */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 10vw, 120px) clamp(16px, 4vw, 48px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.22em; font-size: 13px; color: var(--lime); font-weight: 700; margin: 0 0 10px; }
.section h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; margin: 0 0 14px; }
.section-sub { color: var(--muted); margin: 0; font-size: 17px; }

.exp-list { display: flex; flex-direction: column; gap: 26px; }
.exp {
  --accent: var(--lime); position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-radius: 22px; overflow: hidden;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px);
}
.exp:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.exp:nth-child(even) .exp-media { order: 2; }
.exp-media { position: relative; display: block; overflow: hidden; min-height: 320px; }
.exp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.exp-media:hover img { transform: scale(1.05); }
.exp-media .play-badge { position: absolute; inset: auto auto 18px 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: rgba(7, 7, 13, 0.78); backdrop-filter: blur(8px); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; font-size: 14px; color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent); transition: background 0.2s; }
.exp-media:hover .play-badge { background: var(--accent); color: #07070d; }
.exp-body { padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.exp-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.exp-num { font-family: var(--font-display); font-weight: 700; color: var(--accent); letter-spacing: 0.2em; font-size: 13px; }
.exp-title { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 44px); line-height: 1; margin: 0; }
.exp-tagline { margin: 0; color: #d6d6e8; font-size: 17px; }
.exp-pitch { margin: 0; color: var(--muted); }
.hypo { position: relative; padding: 14px 16px 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
.hypo b { display: block; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.hypo p { margin: 0; font-size: 15px; color: #e6e6f4; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.meta li { display: inline-flex; align-items: center; gap: 7px; }
.meta svg { width: 16px; height: 16px; color: var(--accent); }
.exp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.verdict { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.verdict span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); font-weight: 600; }
.vote { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; padding: 8px 12px; border-radius: 10px; font: 600 13px var(--font); color: var(--muted); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); transition: all 0.15s; }
.vote svg { width: 16px; height: 16px; }
.vote:hover { color: var(--text); }
.vote.love[aria-pressed="true"] { background: rgba(255, 79, 216, 0.16); color: var(--pink); box-shadow: inset 0 0 0 1px rgba(255, 79, 216, 0.5); }
.vote.hate[aria-pressed="true"] { background: rgba(255, 138, 61, 0.14); color: var(--orange); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.5); }
.vote.pop { animation: votepop 0.35s; }
@keyframes votepop { 40% { transform: scale(1.18); } }
.new-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--lime); color: #0a0d02; }
.played-badge { font-size: 12px; color: var(--dim); }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { padding: 28px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.why-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(182, 255, 59, 0.16), transparent 70%); }
.why-n { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; background: linear-gradient(90deg, var(--lime), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-card h3 { font-family: var(--font-display); font-size: 24px; margin: 12px 0 8px; }
.why-card p { margin: 0; color: var(--muted); }

/* footer */
.footer { text-align: center; padding: 90px clamp(16px, 4vw, 48px) 48px; color: var(--muted); }
.footer p { margin: 10px auto 0; max-width: 560px; }
.footer .fine { font-size: 13px; color: var(--dim); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .launcher { grid-template-columns: 1fr; }
  .rail { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .tile { min-width: 260px; scroll-snap-align: start; grid-template-columns: 92px 1fr; }
  .tile img { width: 92px; height: 60px; }
  .tile:hover { transform: none; }
  .exp, .exp:nth-child(even) { grid-template-columns: 1fr; }
  .exp:nth-child(even) .exp-media { order: 0; }
  .exp-media { min-height: 0; aspect-ratio: 16 / 9; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { gap: 12px; }
  .nav-links { display: none; }
  #nav-random { margin-left: auto; }
  .feature, .f-body { min-height: 460px; }
  .feature::before { background: linear-gradient(to top, rgba(7,7,13,0.97) 30%, rgba(7,7,13,0.55) 65%, rgba(7,7,13,0.15)); }
  .f-actions .btn { flex: 1; }
  .verdict { margin-left: 0; width: 100%; }
  .exp-actions .btn { flex: 1; }
  .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .hero-stats b { font-size: 21px; }
  .hero-stats span { font-size: 10px; letter-spacing: 0.08em; }
  .kicker { font-size: 11px; letter-spacing: 0.12em; gap: 7px; padding: 7px 12px; white-space: nowrap; }
  .btn { padding: 13px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
