:root {
  --bg: #070708;
  --card: #111214;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #e1121b;
  --red-2: #ff3b3b;
  --display: 'Saira Condensed', 'Poppins', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(20px, 5vw, 64px); background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85), transparent); }
.logo { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 28px; letter-spacing: 0.02em; text-decoration: none; }
.logo span { color: var(--red); }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 8px; border: 0; background: var(--red); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 6px 24px rgba(225, 18, 27, 0.35); transition: filter 0.2s, transform 0.2s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { background: rgba(7, 7, 8, 0.4); color: var(--text); border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: none; }
.btn.sm { padding: 9px 18px; font-size: 13px; color: #fff !important; box-shadow: none; }
.link { color: var(--red-2); text-decoration: none; font-weight: 500; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }
.link.big { font-size: clamp(22px, 3vw, 32px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero-static, .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, #070708 0%, rgba(7, 7, 8, 0.25) 38%, transparent 60%), linear-gradient(to right, rgba(7, 7, 8, 0.6), transparent 55%); }
.hero-inner { position: relative; z-index: 2; pointer-events: none; padding: 0 clamp(20px, 6vw, 96px) clamp(60px, 10vh, 120px); max-width: 980px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 6px; border: 1px solid rgba(225, 18, 27, 0.55); background: rgba(7, 7, 8, 0.6); font-size: 14px; color: var(--red-2); backdrop-filter: blur(6px); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
h1 .line { display: block; overflow: hidden; }
h1 .line > span { display: inline-block; animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) both; }
h1 .line + .line > span { animation-delay: 0.1s; }
.hero-inner > :not(h1) { animation: fade-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-inner > .tagline { animation-delay: 0.35s; } .hero-inner > .lead { animation-delay: 0.5s; } .hero-inner > .actions { animation-delay: 0.65s; } .hero-inner > .pill { animation-delay: 0.8s; }
@keyframes rise { from { transform: translate3d(0, 105%, 0); } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
h1 { font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: clamp(64px, 11vw, 150px); font-weight: 800; line-height: 0.88; letter-spacing: -0.01em; margin: 22px 0 12px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.tagline { font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; color: var(--red-2); margin-bottom: 18px; letter-spacing: 0.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #e4e4e7; max-width: 620px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; pointer-events: auto; }

/* ---------- Sections ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
main > section { padding: clamp(80px, 12vh, 130px) 0 0; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--red); font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
h2 { font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 0.98; letter-spacing: 0; margin-bottom: 18px; }
h3 { font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 26px; font-weight: 700; letter-spacing: 0.01em; }
p + p { margin-top: 14px; }
.muted { color: var(--muted); }
.head { max-width: 760px; margin-bottom: 40px; }
.frame { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split .copy p { color: #d4d4d8; }
.split .link { margin-top: 22px; font-size: 17px; }

/* Characters */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; }
.card-body { padding: 24px 24px 28px; }
.role { color: var(--red); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin: 4px 0 12px; }
.card-body p { color: #d4d4d8; font-size: 16px; }
blockquote { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--red); color: var(--text); font-style: italic; font-size: 15.5px; }

/* Gameplay */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.feature { padding: 24px; border: 1px solid var(--line); border-top: 2px solid var(--red); border-radius: 8px; background: var(--card); }
.feature .num { color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: 0.1em; }
.feature h3 { margin: 10px 0 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shots .frame { aspect-ratio: auto; }
.shot { margin: 0; position: relative; background: var(--card); }
.shot img { height: auto; }
.shot figcaption { padding: 12px 16px 14px; font-family: var(--display); font-style: italic; text-transform: uppercase; font-weight: 700; font-size: 18px; letter-spacing: 0.02em; border-top: 1px solid var(--line); }
.frame.wide.shot { margin-bottom: 18px; }
.story-media { display: grid; gap: 14px; }

/* Jakarta */
.frame.wide { margin-bottom: 18px; }
.riders { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.riders figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.riders img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; }
.riders figcaption { padding: 12px 14px 14px; font-weight: 600; font-size: 16px; }
.riders figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* Roadmap */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 24px; border-top: 2px solid var(--line); }
.steps li.done { border-top-color: var(--red); }
.steps span { color: var(--red); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.steps h3 { margin: 8px 0 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* Team */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 22px; }
.person { padding: 30px 26px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.person img { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.person .muted { font-size: 15.5px; margin-bottom: 14px; }

/* Contact */
.contact { text-align: center; padding-bottom: 20px; }

/* Footer */
.footer { display: flex; justify-content: center; gap: 24px; padding: 90px 20px 44px; color: var(--muted); font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Trailer modal */
.trailer { width: min(1200px, 94vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.trailer::backdrop { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(4px); }
.trailer video { width: 100%; border-radius: 16px; }
.trailer .close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; font-size: 24px; line-height: 1; }

/* Privacy policy page */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 0; display: block; }
.doc h1 { font-size: clamp(34px, 6vw, 54px); margin: 16px 0 8px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc h3 { margin: 20px 0 6px; font-size: 18px; }
.doc p, .doc li { color: #d4d4d8; }
.doc ul { padding-left: 22px; margin: 8px 0; }

@media (max-width: 960px) {
  .nav nav a:not(.btn) { display: none; }
  .split, .shots { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; max-width: 520px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .riders { grid-template-columns: repeat(3, 1fr); }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features, .steps { grid-template-columns: 1fr; }
  .riders { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  h1 .line > span, .hero-inner > * { animation: none; }
  .hero-bg { display: none; }
  .hero { background: url('/media/hero-poster.jpg') center / cover; }
}
