/* Palette taken from the app itself: navy surfaces, iOS-blue actions, member gold. */
:root{
  --bg:#0d1420; --surface:#152031; --surface2:#1b283c; --line:#26344a;
  --text:#eef2f8; --muted:#97a3b6; --blue:#1f7ae0; --blue-hi:#3a8ef0; --gold:#f2b33d; --purple:#6d3fd6;
  --display:"Bricolage Grotesque",system-ui,sans-serif; --body:Figtree,system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--body);background:var(--bg);color:var(--text);line-height:1.6;font-size:17px;overflow-x:hidden}
img,video{display:block;max-width:100%}
a{color:inherit}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}
h1,h2,h3,h4{font-family:var(--display);font-weight:800;letter-spacing:-.02em;line-height:1.05}
h2{font-size:clamp(2rem,4vw,2.9rem)}
h3{font-size:clamp(1.6rem,3vw,2.1rem);margin-bottom:14px}
.kicker{font-size:.9rem;font-weight:600;color:var(--muted);margin-bottom:14px}
.kicker.gold{color:var(--gold)}
.btn{display:inline-block;padding:12px 20px;border-radius:10px;background:var(--blue);font-weight:600;text-decoration:none;color:#fff;border:0;transition:background .15s}
.btn:hover{background:var(--blue-hi)}
.btn-sm{padding:8px 14px;font-size:.92rem}

/* nav */
.nav{position:sticky;top:0;z-index:20;background:rgba(13,20,32,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;gap:28px;height:62px}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:700;font-size:1.15rem;text-decoration:none}
.brand img{border-radius:8px}
.nav nav{display:flex;gap:24px;margin-left:auto}
.nav nav a{text-decoration:none;color:var(--muted);font-weight:500;font-size:.95rem}
.nav nav a:hover{color:var(--text)}

/* hero */
.hero{background:linear-gradient(180deg,rgba(13,20,32,.25),var(--bg) 92%),url(assets/hero-bg.jpg) center top/cover no-repeat;border-bottom:1px solid var(--line)}
.hero-in{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center;padding-top:72px;padding-bottom:40px}
h1{font-family:Manrope,system-ui,sans-serif;font-weight:800;letter-spacing:-.045em;font-size:clamp(2.4rem,5.2vw,4.1rem);line-height:1.12;text-wrap:balance;margin-bottom:22px}
.lead{font-size:1.2rem;color:#c3ccda;max-width:540px}
.cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:32px}
.appstore{display:inline-flex;align-items:center;gap:10px;background:#000;color:#fff;border:1px solid #555;padding:9px 20px 9px 16px;border-radius:12px;text-decoration:none;font-weight:600;font-size:1.35rem;line-height:1.05}
.appstore:hover{border-color:#999}
.appstore small{display:block;font-size:.68rem;font-weight:500}
.soon{font-size:.92rem;color:var(--muted);line-height:1.35;border-left:2px solid var(--line);padding-left:14px}
.soon strong{color:var(--text);font-weight:600}
.hero-phone{display:flex;justify-content:center}
.phone{width:min(300px,78vw);aspect-ratio:590/1280;border-radius:44px;padding:9px;background:#05080e;box-shadow:0 0 0 1px #2c3a52,0 40px 80px rgba(0,0,0,.6)}
.phone video{width:100%;height:100%;object-fit:cover;border-radius:36px}
.facts{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);margin-top:20px}
.facts div{padding:22px 0}
.facts div+div{padding-left:22px;border-left:1px solid var(--line)}
.facts dt{font-family:var(--display);font-size:2.2rem;font-weight:800;line-height:1}
.facts dd{color:var(--muted);font-size:.92rem;margin-top:4px}

/* sections */
.section{padding:88px 0}
.section.alt{background:#101a29;border-block:1px solid var(--line)}
.head-row{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap;margin-bottom:32px}
.head-row p{color:var(--muted)}

/* games */
.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.tabs button{font:inherit;font-weight:600;font-size:.95rem;padding:10px 14px;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;color:var(--muted);cursor:pointer}
.tabs button span{font-weight:500;color:#5d6b80;margin-left:4px}
.tabs button[aria-selected=true]{color:var(--text);border-bottom-color:var(--blue)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.game{font:inherit;color:inherit;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;cursor:pointer;transition:border-color .15s,transform .15s}
.game:hover,.game:focus-visible{border-color:#3d5070;transform:translateY(-3px);outline:none}
.game img{aspect-ratio:1;width:100%;height:auto;object-fit:cover}
.game span{display:block;padding:10px 12px 12px;font-weight:600;font-size:.98rem}

/* splits */
.split{display:grid;grid-template-columns:340px 1fr;gap:72px;align-items:center}
.split+.split{margin-top:96px}
.split.rev{grid-template-columns:1fr 340px}
.split.rev .shot{order:2}
.shot{width:100%;border-radius:28px;box-shadow:0 0 0 1px var(--line),0 30px 60px rgba(0,0,0,.45)}
.split p{color:#c3ccda;max-width:560px}
.split p+p{margin-top:14px}
.list-line{color:var(--muted)!important;font-size:.95rem;border-top:1px solid var(--line);padding-top:14px;margin-top:22px!important}

/* carousel */
.carousel{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px max(20px,calc((100vw - 1120px)/2)) 20px;scrollbar-width:thin}
.carousel img{height:500px;display:block;width:auto;flex:none;border-radius:24px;scroll-snap-align:start;cursor:zoom-in;box-shadow:0 0 0 1px var(--line)}

/* features */
.features{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.features article{padding:26px 24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.features h3{font-size:1.2rem;margin-bottom:8px}
.features p{color:var(--muted);font-size:.96rem}

/* trailer */
.trailer video{width:100%;border-radius:18px;background:#000;box-shadow:0 0 0 1px var(--line)}

/* orbit+ */
.plus{background:linear-gradient(160deg,#1d1440,#101a29 70%);border-block:1px solid #33285e}
.plus .shot{box-shadow:0 0 0 1px #4a3a85,0 30px 70px rgba(0,0,0,.5)}
.plus h2{margin-bottom:16px}
.plain{list-style:none;margin:22px 0;border-top:1px solid #33285e}
.plain li{padding:10px 0;border-bottom:1px solid #33285e}
.fine{font-size:.85rem;color:var(--muted)!important}

/* platforms */
.platforms{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:16px}
.plat{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:26px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.plat h3{font-size:1.45rem}
.plat p{color:var(--muted);flex:1}
.tag{font-size:.8rem;font-weight:600;color:var(--muted)}
.plat.live{border-color:var(--blue)}
.plat.live .tag{color:var(--blue-hi)}

/* footer */
.footer{border-top:1px solid var(--line);padding:48px 0 36px;background:#0a101a}
.foot-in{display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap}
.foot-brand p{color:var(--muted);margin-top:12px;font-size:.95rem}
.foot-brand p a{color:var(--text)}
.foot-links{display:grid;grid-template-columns:repeat(2,auto);gap:8px 32px;align-content:start}
.foot-links a{color:var(--muted);text-decoration:none;font-size:.95rem}
.foot-links a:hover{color:var(--text)}
.legal{margin-top:36px;padding-top:24px;border-top:1px solid var(--line);display:grid;gap:8px}
.legal p{font-size:.8rem;color:#6c7a8f}

/* game modal */
.modal{margin:auto;width:min(900px,calc(100vw - 24px));max-height:calc(100vh - 40px);background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:18px;padding:28px;overflow:hidden auto}
.modal::backdrop{background:rgba(4,8,14,.78)}
.close{position:absolute;top:12px;right:14px;z-index:1;width:36px;height:36px;border-radius:50%;border:0;background:var(--surface2);color:var(--text);font-size:1.5rem;line-height:1;cursor:pointer}
.gm{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start}
.gm-phone{position:sticky;top:0}
.gm-phone img{width:260px;aspect-ratio:1320/2868;height:auto;object-fit:cover;border-radius:26px;box-shadow:0 0 0 1px var(--line);cursor:zoom-in;background:var(--bg)}
.gm-head{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding-right:40px}
.gm-head img{width:64px;height:64px;flex:none;border-radius:14px}
.gm-head h3{margin:0}
.gm-head .kicker{margin-bottom:2px}
#gmBlurb{color:#dbe2ec;font-size:1.05rem;padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:16px}
#gmBlurb strong{font-weight:600}
.rules h4{font-family:var(--display);font-size:1rem;font-weight:700;margin:16px 0 4px}
.rules h4:first-child{margin-top:0}
.rules p{color:#c3ccda;font-size:.95rem}
.rules strong{color:var(--text);font-weight:600}
.gm-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.gm-nav{display:flex;gap:8px}
.gm-nav button{font:inherit;width:42px;height:42px;background:var(--surface2);border:1px solid var(--line);color:var(--text);border-radius:10px;cursor:pointer}
@media (max-width:720px){
  .gm{grid-template-columns:1fr;gap:20px}
  .gm-phone{position:static}
  .gm-phone img{width:min(240px,70vw);margin:0 auto}
  .modal{padding:20px}
}

.lightbox{margin:auto;background:none;border:0;max-width:96vw;max-height:94vh;cursor:zoom-out}
.lightbox::backdrop{background:rgba(0,0,0,.9)}
.lightbox img{max-height:92vh;border-radius:22px}

@media (max-width:900px){
  .nav nav{display:none}
  .nav .btn{margin-left:auto}
  .hero-in{grid-template-columns:1fr;padding-top:44px}
  .facts{grid-template-columns:repeat(3,1fr)}
  .facts div:nth-child(4){padding-left:0;border-left:0}
  .split,.split.rev{grid-template-columns:1fr;gap:32px}
  .split.rev .shot{order:0}
  .shot{max-width:320px}
  .features{grid-template-columns:1fr 1fr}
  .platforms{grid-template-columns:1fr}
  .carousel img{height:420px}
}
@media (max-width:560px){
  .features{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .facts{grid-template-columns:1fr 1fr}
  .facts div{padding-left:0!important;border-left:0!important}
  .modal{padding:20px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.brand{white-space:nowrap}

/* game cards with info */
.grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.game{display:flex;flex-direction:column;cursor:default}
.game:hover{transform:none}
.game-hit{border:0;padding:0;background:none;cursor:pointer;display:block}
.game-hit img{aspect-ratio:16/10;width:100%;height:auto;object-fit:cover}
.game-txt{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1}
.game-txt h3{font-size:1.15rem;margin-bottom:6px}
.game-txt p{color:var(--muted);font-size:.92rem;line-height:1.45;flex:1}
.game-txt p strong{color:var(--text);font-weight:600}
.howto{align-self:flex-start;margin-top:12px;font:inherit;font-weight:600;font-size:.9rem;color:var(--blue-hi);background:none;border:0;padding:0;cursor:pointer}
.howto:hover{text-decoration:underline}
.carousel figure{flex:none;scroll-snap-align:start}
.carousel figure img{height:500px}
.carousel figcaption{text-align:center;color:var(--muted);font-size:.9rem;margin-top:8px}
@media (max-width:900px){.carousel figure img{height:420px}}
@media (max-width:560px){.grid{grid-template-columns:1fr}}

/* Keep anchor targets clear of the sticky header and stop lazy images from shifting the page */
html{scroll-padding-top:80px}
.section,[id]{scroll-margin-top:80px}
.shot{aspect-ratio:506/1100;height:auto;object-fit:cover;background:var(--surface)}
.carousel img{aspect-ratio:506/1100;width:auto}
.trailer video{aspect-ratio:4/3}
.nav{top:0;min-height:62px}

/* No focus ring band around the screenshot strip */
.carousel:focus,.carousel:focus-visible{outline:none}

/* Compact game cards: small art beside the text */
.grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.game{flex-direction:row;align-items:flex-start;gap:14px;padding:14px;border-radius:12px}
.game-hit{flex:none}
.game-hit img{width:76px;height:76px;aspect-ratio:1;border-radius:12px}
.game-txt{padding:0;min-width:0}
.game-txt h3{font-size:1.02rem;margin-bottom:3px}
.game-txt p{font-size:.86rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.howto{margin-top:6px;font-size:.84rem}
@media (max-width:560px){.game-hit img{width:64px;height:64px}}

/* shared helpers + game pages (games/*.html) */
.game-txt h3{font-size:1.02rem;margin-bottom:3px}
.platforms h3,.features h3{margin-bottom:8px}
.howto{text-decoration:none}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gp{padding-top:36px;padding-bottom:72px}
.crumbs{color:var(--muted);font-size:.9rem;margin-bottom:28px}
.crumbs a{color:var(--muted)}
.gp-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:52px;align-items:start}
.gp-shot img{width:100%;height:auto;border-radius:30px;box-shadow:0 0 0 1px var(--line)}
.gp-head{display:flex;gap:18px;align-items:center;margin-bottom:18px}
.gp-head img{border-radius:14px;flex:none}
.gp-head h1,.gp>h1{font-size:clamp(1.8rem,4vw,2.8rem);margin:0}
.gp-goal{font-size:1.2rem;color:#dbe2ec;margin:0 0 8px;max-width:64ch}
.gp-rules h2{font-size:1.25rem;margin:26px 0 6px}
.gp-rules p{color:#c3ccda;max-width:66ch}
.gp-rules strong,.gp-goal strong{color:var(--text);font-weight:600}
.gp-txt .btn,.gp .btn{margin:30px 0 14px}
.gp-more{margin-top:64px;border-top:1px solid var(--line);padding-top:36px}
.gp-more h2{font-size:1.6rem;margin-bottom:20px}
.gp-more ul{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.gp-more a{display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:600}
.gp-more a:hover{text-decoration:underline}
.gp-more img{border-radius:10px}
@media (max-width:720px){.gp-grid{grid-template-columns:1fr;gap:28px}.gp-shot{order:2}.gp-shot img{max-width:280px;margin:0 auto}}
