:root{
  --bg:#0b0b0b;
  --text:#e6e6e6;
  --blue:#8ab4ff;
  --border:#2a2a2a;
  --maxw:1180px;
  --gutter:clamp(24px,4vw,64px);
  --wack_color:#ff8426;
  --codereptile_color:#00ffcc;
}

*{box-sizing:border-box}
html{color-scheme:dark;scroll-behavior:smooth;font-size:clamp(16px,calc(16px + (100vw - 1280px) / 144),21px)}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text)}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

.link-wack{color:var(--wack_color)}
.link-codereptile{color:var(--codereptile_color)}

.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}
section{position:relative}

/* Full-bleed scene background. The crop math keeps the launch pad (right side of
   the 2470x1404 render) in view while the box is narrower than the image. */
.cover-bg{position:absolute;inset:0;container-type:size}
.cover-bg img{width:100%;height:100%;object-fit:cover;--obj-x:max(100cqw - 100cqh * 2470 / 1404, 50cqw - 65cqh * 2470 / 1404);--obj-y:30%;object-position:var(--obj-x) var(--obj-y)}
@container (min-aspect-ratio:2470/1404){
  .cover-bg img{--obj-x:50%}
}

.home{position:absolute;top:0;left:0;right:0;z-index:20;max-width:none;margin:0;padding:16px 0}
.home .topbar{max-width:none;margin:0;padding:0 var(--gutter);border-bottom:none}
.home .brand-logo{height:2.5rem}
.home .btn-signin{padding:0.625rem 1.375rem;font-size:1.125rem}
.home .account-chip{gap:0.55rem;padding:0.4rem 0.9rem 0.4rem 0.4rem}
.home .account-avatar{width:2rem;height:2rem;font-size:1rem}
.home .account-chip-name{font-size:1rem}
.home .account-chevron{width:1.1rem;height:1.1rem}

.hero{
  --border-bright:#3a3a3a;
  --text-dim:#a6a6a6;
  --gold:#f4a13a;
  --gold-bright:#ffc066;
  --ember:#ff7a3d;
}

.hero{position:relative;min-height:100vh;display:flex;align-items:center;padding:88px 0 64px;overflow:hidden}
.hero-bg{z-index:0}
.hero-bg img{transform:scale(1.04);filter:saturate(1.05)}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,8,12,0) 50%,rgba(7,8,12,.6) 100%)}
.hero .wrap{max-width:none;padding:0 var(--gutter)}
.hero-inner{position:relative;z-index:1;max-width:42.5rem;width:fit-content;transform:translateY(5vh)}
.hero h1{font-size:clamp(2rem,5.1vw,3.6rem);line-height:1.04;margin:0 0 1.25rem;font-weight:800;letter-spacing:-.02em;text-align:left}
.hero h1 .accent{background:linear-gradient(100deg,var(--gold-bright),var(--ember));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero .hook{font-size:clamp(1.05rem,2.2vw,1.25rem);color:#fff;font-weight:700;max-width:35rem;margin:0 0 2.25rem}
.hero .hook a{text-decoration:underline;text-underline-offset:3px}
.hero .hook a:hover{filter:brightness(1.25)}

.cta-block{display:flex;flex-direction:column;align-items:flex-start;gap:0.875rem}
.cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.btn-play{--glow:rgba(255,122,61,.55);position:relative;display:inline-flex;align-items:center;font-size:1.5rem;font-weight:800;letter-spacing:.03em;color:#1a0f06;padding:1.25rem 2.5rem;border:none;border-radius:14px;cursor:pointer;background:linear-gradient(135deg,var(--gold-bright) 0%,var(--gold) 45%,var(--ember) 100%);box-shadow:0 14px 40px var(--glow),0 2px 0 rgba(255,255,255,.25) inset;transition:transform .12s ease,box-shadow .2s ease}
.btn-play::before{content:"";position:absolute;inset:-2px;border-radius:16px;background:linear-gradient(135deg,var(--gold-bright),var(--ember));z-index:-1;opacity:0;filter:blur(14px);transition:opacity .2s ease}
.btn-play:hover{transform:translateY(-3px) scale(1.015);box-shadow:0 22px 55px var(--glow),0 2px 0 rgba(255,255,255,.3) inset}
.btn-play:hover::before{opacity:.9}
.btn-play:active{transform:translateY(-1px) scale(1)}
.btn-ghost{display:inline-flex;align-items:center;gap:0.5rem;font-size:.98rem;font-weight:600;color:var(--text);padding:1rem 1.375rem;border:1px solid var(--border-bright);border-radius:12px;background:rgba(20,20,20,.55);backdrop-filter:blur(6px);transition:border-color .15s ease,background .15s ease}
.btn-ghost:hover{border-color:var(--blue);background:rgba(24,29,40,.7)}
.btn-play.is-offline,.btn-launch.is-offline{background:rgba(60,60,60,.55);color:var(--text-dim);box-shadow:none;cursor:default;pointer-events:none}
.btn-play.is-offline::before,.btn-launch.is-offline::before{display:none}
.cta-offline-note{margin-top:14px;font-size:.95rem;color:var(--text-dim)}

.changelog{
  --panel:#141414;
  --panel-2:#181818;
  --border-strong:#3a3a3a;
  --text-dim:#a6a6a6;
  --text-faint:#777777;
  --gold-deep:#ff8c2e;
  --radius:14px;
}

.changelog{border-top:1px solid var(--border);background:var(--bg)}
.section-pad{padding:96px 0}
.changelog h3{margin:0;line-height:1.1;letter-spacing:-.02em}
.changelog-head{text-align:center;margin-bottom:56px}
.changelog-head h2{margin:0;font-size:clamp(2rem,4vw,2.8rem);font-weight:800;letter-spacing:-.02em;line-height:1.1;color:var(--text)}
.timeline{position:relative;display:flex;flex-direction:column;gap:34px}
.timeline::before{content:"";position:absolute;left:19px;top:12px;bottom:12px;width:2px;background:linear-gradient(180deg,var(--blue) 0%,var(--blue) 20%,#5fe08a 44%,#5fe08a 100%);opacity:.5}
.milestone{position:relative;display:grid;grid-template-columns:40px 1fr;gap:26px;align-items:start}
.milestone__dot{position:relative;z-index:2;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:13px;background:var(--panel-2);border:2px solid var(--border-strong);color:var(--text-dim)}
.milestone--done .milestone__dot{border-color:#5fe08a;color:#9ff0c0;background:radial-gradient(120% 120% at 30% 25%,#0e2417,#141414);box-shadow:0 0 0 4px rgba(95,224,138,.1)}
.milestone--development .milestone__dot{border-color:var(--blue);color:var(--blue);background:radial-gradient(120% 120% at 30% 25%,#131c2c,#141414);box-shadow:0 0 0 4px rgba(138,180,255,.1)}
.milestone__card{display:grid;grid-template-columns:35% 65%;gap:0;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:border-color .18s ease,transform .18s ease}
.milestone__card:hover{border-color:var(--border-strong);transform:translateY(-2px)}
.milestone__body{padding:28px 28px 26px}
.milestone__meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.tag{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:4px 10px;border-radius:999px;border:1px solid var(--border-strong)}
.tag--released{color:#9ff0c0;background:rgba(95,224,138,.12);border-color:rgba(95,224,138,.32)}
.tag--development{color:var(--blue);background:rgba(138,180,255,.1);border-color:rgba(138,180,255,.35)}
.milestone__date{color:var(--text-faint);font-size:13.5px;font-weight:600}
.milestone__body h3{font-size:1.4rem;font-weight:800;margin-bottom:10px}
.milestone__body p{color:var(--text-dim);margin:0;font-size:.98rem}
.milestone__body ul{margin:14px 0 0;padding-left:18px;display:grid;gap:6px}
.milestone__body li{color:var(--text-dim);font-size:.92rem;line-height:1.45}
.milestone__body li::marker{color:var(--gold-deep)}
.milestone__shot{position:relative;min-height:220px;background:#000}
.milestone__shot img{width:100%;height:100%;object-fit:cover;min-height:220px}

.credits{
  --panel:#141414;
  --border-strong:#3a3a3a;
  --text-dim:#a6a6a6;
  --gold-deep:#ff8c2e;
}

.credits{border-top:1px solid var(--border);background:var(--bg)}
.credits-head{text-align:center;margin-bottom:44px}
.credits-head h2{margin:0;font-size:clamp(2rem,4vw,2.8rem);font-weight:800;letter-spacing:-.02em;line-height:1.1;color:var(--text)}
.credits-head p{margin:16px auto 0;max-width:560px;color:var(--text-dim);font-size:1.05rem}
.credits-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
.credit{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:26px 32px;max-width:420px;text-align:center;transition:border-color .18s ease,transform .18s ease}
.credit:hover{border-color:var(--border-strong);transform:translateY(-2px)}
.credit-name{display:inline-block;font-size:1.2rem;font-weight:800}
.credit-name:hover{text-decoration:underline;text-underline-offset:3px}
.credit-work{display:grid;gap:6px;width:fit-content;margin:10px auto 0;padding-left:18px;color:var(--text-dim);font-size:.95rem;line-height:1.45;text-align:left}
.credit-work li::marker{color:var(--gold-deep)}

.final{
  --text-dim:#a7a7a7;
  --gold-2:#ffc26b;
  --ember:#ff6a2a;
}

.final{position:relative;text-align:center;padding:110px 0;overflow:hidden;isolation:isolate}
.final-bg{z-index:-2}
.final-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,11,11,.96),rgba(11,11,11,.78),rgba(11,11,11,.97))}
.final h2{font-size:clamp(2rem,5vw,3.5rem);font-weight:850;max-width:760px;margin:0 auto;line-height:1.1;letter-spacing:-.02em}
.final h2 .accent{background:linear-gradient(105deg,var(--gold-2),var(--ember));-webkit-background-clip:text;background-clip:text;color:transparent}
.final p{margin:22px auto 0;max-width:540px;color:var(--text-dim);font-size:1.12rem}
.final .cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:22px;justify-content:center;margin-top:40px}
.btn-launch{--c1:var(--gold-2);--c2:var(--ember);position:relative;display:inline-flex;align-items:center;padding:1.3125rem 2.625rem;font-size:1.45rem;font-weight:800;letter-spacing:.01em;color:#1a0d00;background:linear-gradient(135deg,var(--c1),var(--c2));border:none;border-radius:16px;cursor:pointer;box-shadow:0 14px 40px -8px rgba(255,106,42,.55),0 0 0 1px rgba(255,194,107,.4) inset;transition:transform .16s cubic-bezier(.2,.7,.3,1),box-shadow .2s ease;overflow:hidden}
.btn-launch::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);transform:translateX(-120%);transition:transform .6s ease}
.btn-launch:hover{transform:translateY(-3px) scale(1.015);box-shadow:0 22px 60px -10px rgba(255,106,42,.7),0 0 0 1px rgba(255,194,107,.55) inset}
.btn-launch:hover::before{transform:translateX(120%)}
.btn-launch:active{transform:translateY(-1px) scale(1)}

.site-footer{border-top:1px solid var(--border);padding:22px 0;background:var(--bg);text-align:center}
.site-footer p{margin:0;color:#6f6f6f;font-size:.85rem;letter-spacing:.02em}

@media (max-width:940px){
  .milestone__card{grid-template-columns:1fr}
  .milestone__shot{order:-1;min-height:200px}
  .milestone__shot img{min-height:200px}
}
@media (orientation:portrait){
  .hero{align-items:flex-end}
  .hero-inner{transform:none;margin-inline:auto;text-align:center}
  .hero h1{text-align:center}
  .hero .hook{max-width:350px;margin-inline:auto}
  .cta-block{align-items:center}
  .cta-row{flex-direction:column}
}
@media (max-width:860px){
  .hero{padding:104px 0 56px}
  .hero-bg img{--obj-y:38%}
}
@media (max-width:620px){
  .section-pad{padding:68px 0}
  .milestone{grid-template-columns:30px 1fr;gap:16px}
  .timeline::before{left:14px}
  .milestone__dot{width:30px;height:30px;font-size:11px}
}
@media (max-width:520px){
  .wrap{padding:0 18px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
