/* Biscus VR site: the game's night-time graffiti look (the shop's wall art: purple outlines, hot pink and orange,
   a pale lavender backing), Komika for the shouty bits like the game's UI, Baloo 2 for reading. */
@font-face {
  font-family: "Komika Axis";
  src: url("fonts/KOMIKAX_.ttf") format("truetype");
  font-display: swap;
}

:root {
  --night: #160d2b;          /* page */
  --night-2: #21133f;        /* bands */
  --ink: #0b0616;            /* outlines and shadows */
  --purple: #6b2fd0;         /* graffiti outline purple */
  --lavender: #d8c9ff;       /* the wall backing */
  --pink: #ff4fa3;
  --orange: #ff8a1f;
  --yellow: #ffd23f;
  --teal: #2ee6d6;
  --cream: #fff4dc;
  --text: #f3ecff;
  --muted: #b9abd9;
  --display: "Komika Axis", "Baloo 2", "Arial Black", system-ui, sans-serif;
  --body: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --radius: 18px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ------------------------------------------------------------------ top bar */
.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.bar .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-size: 1.25rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.bar nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.bar nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.bar nav a:hover { color: var(--text); }
@media (max-width: 720px) { .bar nav { display: none; } .bar .btn { margin-left: auto; } }

/* ------------------------------------------------------------------ buttons: chunky stickers */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.02em;
  text-decoration: none; color: var(--ink);
  background: var(--yellow);
  padding: 12px 22px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn.pink { background: var(--pink); color: var(--cream); }
.btn.small { font-size: 0.9rem; padding: 8px 14px; box-shadow: 0 4px 0 var(--ink); }

/* ------------------------------------------------------------------ hero: the store art, then the pitch */
.hero { position: relative; background: var(--ink); }
/* the 16:9 store art, never squashed: whole on phones and tablets, a 2:1 slice on wide screens (the sign and all
   four monkeys stay in), no taller than most of the screen */
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 82vh; object-fit: cover; object-position: center 30%; }
@media (min-width: 1000px) { .hero img { aspect-ratio: 2 / 1; } }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(transparent, var(--night));
}
.pitch { padding-block: 28px 56px; display: grid; gap: 22px; justify-items: start; }
.pitch h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); color: var(--cream); text-shadow: 4px 4px 0 var(--purple), 7px 7px 0 var(--ink); }
.pitch .lede { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 60ch; color: var(--text); }
.pitch .ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ sections */
section { padding-block: 64px; }
section.band { background: var(--night-2); border-block: 3px solid var(--ink); }
.eyebrow { font-family: var(--display); color: var(--orange); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.head { display: grid; gap: 10px; margin-bottom: 32px; }
.head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); color: var(--cream); text-shadow: 3px 3px 0 var(--purple); }
.head p { color: var(--muted); max-width: 62ch; }

/* the clip next to the pitch */
.watch { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 48px; align-items: center; }
.phone { border: 4px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: 10px 10px 0 var(--purple); aspect-ratio: 9 / 16; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.watch ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.watch li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.watch li::before { content: "\2605"; color: var(--yellow); font-size: 1.2rem; line-height: 1.5; }
@media (max-width: 760px) { .watch { grid-template-columns: 1fr; } .phone { max-width: 300px; margin: 0 auto; } }

/* modes: ten sticker cards */
.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.mode {
  background: var(--lavender); color: var(--ink);
  border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: 6px 6px 0 var(--ink);
  display: grid; gap: 8px; align-content: start;
}
.mode:nth-child(5n+1) { transform: rotate(-1deg); }
.mode:nth-child(5n+3) { transform: rotate(0.8deg); }
.mode h3 { font-size: 1.35rem; }
.mode .tag { justify-self: start; font-family: var(--display); font-size: 0.75rem; padding: 3px 9px; border-radius: 999px; border: 2px solid var(--ink); background: var(--yellow); }
.mode.horror { background: #2a0f1d; color: var(--cream); }
.mode.horror .tag { background: #ff3b3b; color: var(--cream); }
.mode p { font-size: 1rem; line-height: 1.45; }

/* the Top Ranked board */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 760px; font-variant-numeric: tabular-nums; }
.board .row {
  display: grid; grid-template-columns: 3rem 1fr auto auto; gap: 14px; align-items: center;
  background: var(--night-2); border: 2px solid var(--ink); border-radius: 14px; padding: 10px 16px;
}
.board .pos { font-family: var(--display); font-size: 1.3rem; color: var(--muted); text-align: center; }
.board .who { font-weight: 700; color: var(--cream); overflow-wrap: anywhere; }
.board .pts { font-family: var(--display); color: var(--lavender); font-size: 0.95rem; text-align: right; min-width: 6.5rem; }
.board .top { border-color: var(--purple); box-shadow: 4px 4px 0 var(--ink); }
.board .top1 .pos { color: var(--yellow); }
.board .top2 .pos { color: #d6dde9; }
.board .top3 .pos { color: #e8955a; }
.board .board-msg { color: var(--muted); padding: 12px 0; }
.board-note { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.tier { font-family: var(--display); font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); }
.t-bronze { background: #e0905a; }
.t-silver { background: #d6dde9; }
.t-gold { background: var(--yellow); }
.t-platinum { background: #8ff0e6; }
.t-diamond { background: #7fc4ff; }
.t-elite { background: var(--pink); color: var(--cream); }
.t-unreal { background: linear-gradient(90deg, var(--purple), var(--pink)); color: var(--cream); }
@media (max-width: 520px) {
  .board .row { grid-template-columns: 2.2rem 1fr auto; }
  .board .tier { display: none; }
}

/* screenshots */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 520px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.shots figure { margin: 0; scroll-snap-align: start; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.shots img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.shots figcaption { font-size: 0.9rem; color: var(--muted); padding: 8px 12px; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { background: var(--night); border: 2px solid var(--purple); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.feature h3 { font-size: 1.2rem; color: var(--yellow); }
.feature p { color: var(--text); font-size: 1rem; }
.feature .liv { color: var(--teal); font-weight: 700; }

/* events */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 560px)); gap: 22px; }
.event { border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--night-2); box-shadow: 6px 6px 0 var(--pink); }
.event img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.event div { padding: 16px 18px 20px; display: grid; gap: 6px; }
.event h3 { font-size: 1.3rem; color: var(--cream); }
.event p { color: var(--muted); font-size: 1rem; }
.event time { font-family: var(--display); color: var(--orange); font-size: 0.95rem; }

/* community */
.join { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--lavender); color: var(--ink); border: 3px solid var(--ink); border-radius: 24px; padding: 32px; box-shadow: 10px 10px 0 var(--purple); }
.join h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.join p { margin-top: 8px; max-width: 52ch; }
.join .links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .join { grid-template-columns: 1fr; } .join .links { justify-content: flex-start; } }

/* footer */
footer { padding-block: 36px 48px; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer a { color: var(--lavender); }
footer .spacer { flex: 1; }

/* ------------------------------------------------------------------ the privacy page */
.doc { max-width: 760px; padding-block: 48px 72px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--cream); text-shadow: 3px 3px 0 var(--purple); margin-bottom: 14px; }
.doc h2 { font-family: var(--body); font-weight: 800; font-size: 1.45rem; color: var(--yellow); margin: 40px 0 12px; line-height: 1.25; }
.doc h3 { font-family: var(--body); font-weight: 700; font-size: 1.1rem; color: var(--lavender); margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.3em; display: grid; gap: 6px; margin: 10px 0; }
.doc .glance { background: var(--night-2); border: 2px solid var(--purple); border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; }
.doc .updated { color: var(--muted); }
.doc nav.toc { margin: 18px 0 8px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
  .mode { transform: none !important; }
}
