/* Self-hosted fonts (SIL Open Font License 1.1; licences in assets/fonts/OFL-*.txt). Latin subset. */
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 800; font-display: swap; src: url("fonts/open-sans-800-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/nunito-var-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }

/* Layout: one long "battle night" scroll. Full-bleed arena hero with a live note lane,
   then the three beats of a match, the crew, the classes, plain facts, and one last call to play.
   Single dark theme on purpose: the game is a neon arena at night. No scripts anywhere. */
:root {
  color-scheme: dark;
  --night: #12082a;     /* page ground */
  --stage: #1e1144;     /* raised panels */
  --rim: #3a2a6e;       /* hairlines and panel edges */
  --ink: #f5f0ff;       /* main text */
  --muted: #b8aed8;     /* secondary text */
  --magenta: #ff3fa0;   /* pink note lane, rivals */
  --cyan: #2adcff;      /* blue note lane, your crew */
  --lime: #93f03c;      /* green note, play buttons */
  --gold: #ffcb3d;      /* headline gradient end */
  --f-display: "Open Sans", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Nunito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --f-data: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
img, video { max-width: 100%; display: block; }
a { color: var(--cyan); }
a:focus-visible, .play:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }

/* type */
.shout { font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; margin: 0; text-wrap: balance; }
.shout .hot { background: linear-gradient(90deg, var(--magenta), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
h2.shout { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.25rem; margin: 0; letter-spacing: 0.01em; }
.eyebrow { font-family: var(--f-data); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.lead { color: var(--muted); max-width: 60ch; margin: 0; }

/* top bar */
.bar { position: absolute; inset: env(safe-area-inset-top, 0px) 0 auto 0; z-index: 3; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--ink); text-decoration: none; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand b { color: var(--magenta); }
.bar nav { display: flex; gap: 18px; flex-wrap: wrap; }
.bar nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; opacity: 0.85; }
.bar nav a:hover { opacity: 1; color: var(--lime); }

/* hero */
.hero { position: relative; min-height: min(92vh, 880px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero .media { position: absolute; inset: 0; z-index: -2; }
.hero .media video, .hero .media img { width: 100%; height: 100%; object-fit: cover; }
.hero .media img { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,8,42,0.55) 0%, rgba(18,8,42,0.05) 30%, rgba(18,8,42,0.35) 58%, var(--night) 96%); }
.hero .wrap { padding-block: 120px 56px; display: grid; gap: 22px; }
.hero h1 { font-size: clamp(3rem, 10vw, 7.5rem); text-shadow: 0 6px 30px rgba(0,0,0,0.55); }
.hero h1 span { display: block; }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 34ch; margin: 0; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.play { display: inline-block; line-height: 0; border-radius: 8px; }
.play img { display: block; height: 72px; width: auto; }  /* official Google Play badge, unaltered (includes its own clear space) */
.nowplaying { font-family: var(--f-data); font-size: 0.85rem; color: var(--ink); background: rgba(18,8,42,0.7); border: 1px solid var(--rim); border-radius: 999px; padding: 7px 14px; display: inline-flex; gap: 10px; align-items: center; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; background: var(--lime); border-radius: 2px; height: 40%; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: 0.15s; background: var(--cyan); }
.eq i:nth-child(3) { animation-delay: 0.3s; background: var(--magenta); }
.eq i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }

/* note lane divider: the game's own lane, blue and green notes on two rails */
.lane { height: 54px; position: relative; overflow: hidden; border-block: 1px solid var(--rim); background: var(--stage); }
.lane::before, .lane::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.18); }
.lane::before { top: 17px; } .lane::after { bottom: 17px; }
.notes { position: absolute; inset: 0; display: flex; gap: 120px; align-items: center; animation: scroll 9s linear infinite; width: max-content; padding-left: 40px; }
.notes i { width: 18px; height: 18px; border-radius: 50%; display: block; transform: translateY(-9px); background: radial-gradient(circle at 35% 35%, #bdf6ff, var(--cyan) 55%, #0f5f99); box-shadow: 0 0 12px var(--cyan); }
.notes i:nth-child(even) { transform: translateY(9px); background: radial-gradient(circle at 35% 35%, #e6ffc4, var(--lime) 55%, #3a7d12); box-shadow: 0 0 12px var(--lime); }
.notes b { font-family: var(--f-display); font-style: italic; font-weight: 800; color: var(--gold); font-size: 0.95rem; letter-spacing: 0.04em; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* sections */
section.block { padding-block: 88px; }
.head { display: grid; gap: 14px; margin-bottom: 40px; }

/* the three beats of a match: a true sequence, so numbered */
.beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: beat; }
.beats li { counter-increment: beat; background: var(--stage); border: 1px solid var(--rim); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.beats .clip { aspect-ratio: 16 / 9; background: #000; position: relative; }
.beats .clip video, .beats .clip img { width: 100%; height: 100%; object-fit: cover; }
.beats .clip img { display: none; }
.beats .clip.tall video, .beats .clip.tall img { object-fit: contain; background: radial-gradient(circle at 50% 60%, #2b1c5c, #0c0620); }
.beats .txt { padding: 20px 22px 24px; display: grid; gap: 8px; }
.beats .txt h3::before { content: counter(beat, decimal-leading-zero) "  "; font-family: var(--f-data); font-style: normal; font-weight: 500; color: var(--cyan); font-size: 0.9rem; letter-spacing: 0.08em; }
.beats .txt p { margin: 0; color: var(--muted); }
.beats li:nth-child(2) .txt h3::before { color: var(--lime); }
.beats li:nth-child(3) .txt h3::before { color: var(--magenta); }

/* crew */
.crew { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { position: relative; border-radius: 20px; overflow: hidden; border: 2px solid var(--cyan); background: radial-gradient(circle at 50% 70%, #33206d, #0c0620); aspect-ratio: 3 / 4.4; }
.card:nth-child(2) { border-color: var(--magenta); transform: translateY(28px); }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 14px; background: linear-gradient(0deg, rgba(12,6,32,0.95), transparent); font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; }
.card figcaption small { display: block; font-family: var(--f-data); font-style: normal; font-weight: 400; text-transform: none; font-size: 0.75rem; color: var(--muted); }
.classes { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.classes li { font-family: var(--f-data); font-size: 0.85rem; border: 1px solid var(--rim); border-radius: 999px; padding: 6px 14px; background: var(--stage); }
.tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.tag { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; padding: 4px 10px 4px 8px; border-radius: 6px; }
.tag.strong { background: #1f7a3d; } .tag.weak { background: #b3261e; }

/* banner */
.banner { border-radius: 24px; overflow: hidden; border: 1px solid var(--rim); }
.banner img { width: 100%; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.facts details { background: var(--stage); border: 1px solid var(--rim); border-radius: 14px; padding: 16px 20px; }
.facts summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.facts summary::after { content: "+"; font-family: var(--f-data); color: var(--cyan); }
.facts details[open] summary::after { content: "–"; }
.facts details p { margin: 10px 0 0; color: var(--muted); }

/* final call */
.final { text-align: center; padding-block: 96px 80px; background: radial-gradient(ellipse at 50% 120%, rgba(255,63,160,0.35), transparent 60%); }
.final .wrap { display: grid; gap: 22px; justify-items: center; }
.final h2.shout { font-size: clamp(2.4rem, 7vw, 5rem); }

/* footer */
footer { border-top: 1px solid var(--rim); padding-block: 32px 48px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { color: var(--lime); }

/* phones */
@media (max-width: 860px) {
  .beats { grid-template-columns: 1fr; }
  .crew { grid-template-columns: 1fr; gap: 36px; }
  .facts { grid-template-columns: 1fr; }
  .bar nav { display: none; }
  .hero .wrap { padding-block: 96px 40px; }
  section.block { padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i, .notes { animation: none; }
  .hero .media video, .beats .clip video { display: none; }
  .hero .media img, .beats .clip img { display: block; }
}
