/* =========================================================
   ANTB homepage — design tokens
   ========================================================= */
:root{
  --navy:#08131f;      /* header, footer, dark cards */
  --navy-2:#13202e;    /* logo tile, dark placeholders */
  --grey:#eff1f4;      /* main page background */
  --grey-hover:#e7eaef;
  --line:#dadee5;
  --white:#ffffff;
  --ink:#0c1118;       /* main text */
  --muted:#4c5260;     /* secondary text */
  --soft:#c3cad4;      /* secondary text on dark */
  --violet:#6854ea;    /* Apps accent */
  --violet-light:#c7c0fb;
  --rust:#b74f2a;      /* Knowledge accent */
  --lime:#c7f449;      /* primary call-to-action on dark */
  --radius:16px;
  --wrap:1360px;
  --gutter:40px;
  --font-head:'Sora',system-ui,sans-serif;
  --font-body:'Geist',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--grey);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--violet);outline-offset:3px}
.on-dark :focus-visible{outline-color:var(--lime)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
h1,h2,h3{font-family:var(--font-head);font-weight:600;letter-spacing:-0.035em;margin:0}
.pill{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:999px;font-weight:600;font-size:15px;white-space:nowrap}
.pill--light{background:var(--white);color:var(--ink)}
.pill--dark{background:var(--navy);color:var(--white)}
.pill--lime{background:var(--lime);color:var(--ink)}
.tag{display:inline-block;padding:6px 12px;border-radius:999px;font-size:13px;font-weight:600;line-height:1}
.tag--lime{background:var(--lime);color:var(--ink)}
.tag--rust{background:var(--rust);color:var(--white)}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.section-head h2{font-size:clamp(30px,3.2vw,40px);line-height:1.08}
.section-head p{margin:12px 0 0;font-size:17px;color:var(--muted)}
.section-link{font-weight:600;font-size:15px;color:var(--violet);padding:8px 0}
.shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,19,31,.92) 0%,rgba(8,19,31,.2) 50%,rgba(8,19,31,0) 72%);pointer-events:none}

/* =========================================================
   Header
   ========================================================= */
.site-header{position:sticky;top:0;z-index:50;background:var(--navy);color:var(--white)}
.site-header .wrap{height:77px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:36px;height:36px;border-radius:9px}
.brand span{font-family:var(--font-head);font-weight:600;font-size:18px;letter-spacing:.03em}
.main-nav{display:flex;gap:34px;font-size:14px;font-weight:500;height:100%}
.main-nav a{display:flex;align-items:center;border-bottom:2px solid transparent;padding-top:2px}
.main-nav a:hover{color:var(--lime)}
.main-nav a[aria-current="page"]{border-bottom-color:var(--rust)}
.header-actions{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:500}
.header-actions .search{padding:10px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.2)}
.header-actions .signin{padding:10px 18px;border:0;border-radius:999px;background:var(--white);color:var(--navy);font:inherit;cursor:pointer}
.header-actions .account{color:var(--soft)}
.signout-form{display:flex;margin:0}
.menu-toggle{display:none;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:transparent;cursor:pointer;align-items:center;justify-content:center}

/* =========================================================
   1. Hero
   ========================================================= */
.hero{padding:48px 0 72px}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:48px}
.hero-stage{position:relative;min-height:600px;border-radius:var(--radius);overflow:hidden;background:var(--navy);color:var(--white)}
.hero-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .55s ease,visibility .55s ease}
.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.hero-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;transition:transform 7s ease}
.hero-slide.is-active img{transform:scale(1.035)}
.hero-slide .tag{position:absolute;top:22px;left:22px;z-index:2}
.hero-feature-body{position:absolute;left:36px;right:36px;bottom:34px}
.hero-feature-body{z-index:2;max-width:760px;padding-right:40px}
.hero-eyebrow{display:block;margin-bottom:10px;color:var(--lime);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.hero-feature-title{display:-webkit-box;overflow:hidden;font-family:var(--font-head);font-weight:600;font-size:clamp(34px,4vw,56px);line-height:1.06;letter-spacing:-0.035em;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.hero-feature-description{display:-webkit-box;overflow:hidden;max-width:620px;margin-top:13px;color:#e1e5ea;font-size:16px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hero-feature-cta{display:flex;align-items:center;gap:20px;margin-top:24px;flex-wrap:wrap}
.hero-feature-cta small{font-size:15px;color:var(--soft)}
.hero-controls{position:absolute;right:18px;bottom:18px;z-index:4;display:flex;align-items:center;gap:7px;padding:7px;border-radius:999px;background:rgba(8,19,31,.78);backdrop-filter:blur(12px)}
.hero-controls button{min-width:36px;height:36px;padding:0 10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:transparent;color:var(--white);cursor:pointer;font-size:14px}
.hero-controls button:hover{background:rgba(255,255,255,.14)}
.hero-controls span{min-width:48px;text-align:center;color:var(--soft);font-size:12px}
.hero-controls span b{color:var(--white)}
.hero-controls .hero-pause{padding:0 13px}
.hero-side h1{font-size:clamp(32px,3vw,40px);line-height:1.08}
.hero-side h1 em{font-style:normal;color:var(--violet)}
.hero-side > p{margin:14px 0 0;font-size:16px;color:var(--muted)}
.whats-new{list-style:none;margin:26px 0 0;padding:0;border-top:1px solid var(--line)}
.whats-new button{display:flex;width:100%;gap:16px;align-items:center;padding:16px 8px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer;transition:background-color .2s ease,transform .2s ease}
.whats-new button:hover{background:var(--grey-hover)}
.whats-new button.is-active{background:var(--white);transform:translateX(6px)}
.whats-new img,.whats-new .date-tile{flex:0 0 96px;width:96px;height:72px;border-radius:10px;object-fit:cover}
.date-tile{background:var(--navy);color:var(--white);display:flex;flex-direction:column;align-items:center;justify-content:center}
.date-tile small{font-size:11px;color:#a9b3c1;text-transform:uppercase}
.date-tile b{font-family:var(--font-head);font-weight:600;font-size:24px;line-height:1}
.whats-new .kind{display:block;font-size:13px;font-weight:500}
.kind--app{color:var(--violet)}
.kind--learn{color:var(--rust)}
.kind--news{color:var(--muted)}
.kind--game{color:#167554}
.whats-new .title{display:block;font-family:var(--font-head);font-weight:500;font-size:17px;margin-top:3px;letter-spacing:-0.01em}

/* =========================================================
   2. Apps — expanding strips
   ========================================================= */
.apps{padding:80px 0}
.strips{display:flex;gap:12px;height:600px;margin-top:40px}
.strip{position:relative;flex:1 1 0;min-width:0;border-radius:18px;overflow:hidden;background:var(--navy);color:var(--white);transition:flex-grow .7s cubic-bezier(.2,.8,.2,1)}
.strip.is-open{flex-grow:6}
.strip > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.strip-toggle{position:absolute;inset:0;width:100%;background:transparent;border:0;cursor:pointer;padding:0;z-index:1}
.strip-label{position:absolute;left:50%;bottom:28px;transform:translateX(-50%) rotate(180deg);writing-mode:vertical-rl;white-space:nowrap;font-family:var(--font-head);font-weight:600;font-size:20px;letter-spacing:-0.01em;transition:opacity .25s ease;pointer-events:none;z-index:2}
.strip.is-open .strip-label{opacity:0}
.strip-info{position:absolute;left:32px;right:32px;bottom:30px;z-index:3;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .4s ease .15s,transform .4s ease .15s}
.strip.is-open .strip-info{opacity:1;transform:none;pointer-events:auto}
.strip-info .cat{font-size:13px;font-weight:500;color:var(--violet-light)}
.strip-info h3{font-size:40px;margin-top:6px;white-space:nowrap}
.strip-info p{margin:10px 0 0;font-size:16px;line-height:1.5;color:#d3d8df;max-width:460px}
.strip-info .pill{margin-top:18px}
.more-list{display:flex;flex-direction:column;margin-top:14px;max-width:360px}
.more-list a{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid rgba(255,255,255,.15)}
.more-list a:last-child{border-bottom:1px solid rgba(255,255,255,.15)}
.more-list span{color:#a9b3c1}

/* =========================================================
   3. Games — poster shelf
   ========================================================= */
.games{background:var(--white);padding:80px 0}
.shelf-arrows{display:flex;gap:10px}
.shelf-arrows button{width:48px;height:48px;border-radius:999px;cursor:pointer;display:flex;align-items:center;justify-content:center;border:1px solid #d5d9e0;background:var(--white)}
.shelf-arrows button:last-child{border:0;background:var(--navy)}
.shelf{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:40px max(var(--gutter),calc((100vw - var(--wrap))/2 + var(--gutter))) 4px;scroll-padding-left:max(var(--gutter),calc((100vw - var(--wrap))/2 + var(--gutter)))}
.shelf::-webkit-scrollbar{display:none}
.poster{position:relative;flex:0 0 320px;height:560px;border-radius:18px;overflow:hidden;background:var(--navy);color:var(--white);scroll-snap-align:start}
.poster--big{flex-basis:520px}
.poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.poster:hover img{transform:scale(1.05)}
.poster .tag{position:absolute;top:18px;left:18px;z-index:2}
.poster .play{position:absolute;top:18px;right:18px;width:52px;height:52px;border-radius:999px;background:var(--white);display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.85);transition:opacity .25s ease,transform .25s ease;z-index:2}
.poster:hover .play,.poster:focus-visible .play{opacity:1;transform:none}
.poster .letter{position:absolute;inset:0 0 140px;display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:600;font-size:140px;letter-spacing:-0.05em;color:rgba(255,255,255,.14)}
.poster-body{position:absolute;left:24px;right:24px;bottom:24px;z-index:2}
.poster-body .genre{display:block;font-size:13px;font-weight:500;color:var(--lime)}
.poster-body .name{display:block;font-family:var(--font-head);font-weight:600;font-size:26px;letter-spacing:-0.03em;margin-top:6px}
.poster--big .poster-body .name{font-size:40px}
.poster-body .desc{display:block;font-size:15px;line-height:1.45;color:#d3d8df;margin-top:6px}

/* =========================================================
   4. Latest news
   ========================================================= */
.latest{padding:80px 0;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.latest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:40px}
.latest-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--white);transition:transform .2s ease,box-shadow .2s ease}
.latest-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(8,19,31,.1)}
.latest-card>img,.latest-card__fallback{display:flex;width:100%;aspect-ratio:16/9;align-items:center;justify-content:center;object-fit:cover;background:linear-gradient(135deg,#d8d2ff,#d7eef0);color:var(--violet);font-family:var(--font-head);font-size:40px;font-weight:600}
.latest-card__body{display:flex;min-height:220px;flex-direction:column;padding:20px}
.latest-card__body small{color:var(--rust);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.latest-card__body strong{margin-top:9px;font-family:var(--font-head);font-size:19px;line-height:1.2;letter-spacing:-.02em}
.latest-card__body>span{margin-top:10px;color:var(--muted);font-size:13px;line-height:1.5}
.latest-card__body time{margin-top:auto;padding-top:17px;color:#8a9098;font-size:12px}
.latest-note,.latest-empty{margin:22px 0 0;color:var(--muted);font-size:13px}

/* =========================================================
   5. Knowledge
   ========================================================= */
.read{padding:80px 0}
.read-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:16px;margin-top:40px}
.story{position:relative;min-height:540px;border-radius:20px;overflow:hidden;background:var(--navy);color:var(--white)}
.story img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.story:hover img{transform:scale(1.04)}
.story .tag{position:absolute;top:20px;left:20px;z-index:2}
.story-body{position:absolute;left:34px;right:34px;bottom:32px;z-index:2}
.story-body h3{font-size:clamp(28px,3vw,40px);line-height:1.1;max-width:620px}
.story-body p{font-size:16px;line-height:1.5;color:#d3d8df;margin:12px 0 0;max-width:520px}
.story-body .row{display:flex;align-items:center;gap:18px;margin-top:20px;flex-wrap:wrap}
.story-body .row small{font-size:14px;color:var(--soft)}
.read-side{display:flex;flex-direction:column;gap:16px}
.briefing{flex:1;border-radius:20px;background:var(--navy);color:var(--white);padding:30px;display:flex;flex-direction:column}
.briefing-top{display:flex;justify-content:space-between;align-items:center;font-size:13px}
.briefing-top b{color:var(--lime);font-weight:600}
.briefing-top span{color:#a9b3c1}
.briefing h3{font-size:24px;line-height:1.2;letter-spacing:-0.02em;margin-top:16px}
.briefing ul{list-style:none;margin:18px 0 0;padding:0;border-top:1px solid rgba(255,255,255,.12)}
.briefing li{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:15px;color:#d3d8df}
.briefing .pill{margin-top:auto;align-self:flex-start;min-height:44px}
.briefing ul + .pill{margin-top:24px}
.also{border-radius:20px;background:var(--white);padding:22px 26px;display:flex;align-items:center;gap:18px}
.also .badge{flex:0 0 64px;height:64px;border-radius:14px;background:#f3e4dc;color:var(--rust);display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:600;font-size:26px;letter-spacing:-0.04em}
.also small{display:block;font-size:13px;font-weight:500;color:var(--rust)}
.also strong{display:block;font-family:var(--font-head);font-weight:500;font-size:17px;margin-top:3px}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{background:var(--navy);color:var(--white);padding:72px 0 32px}
.footer-top{display:flex;justify-content:space-between;gap:64px}
.footer-about{flex:0 0 420px}
.footer-about .line{margin:20px 0 0;font-family:var(--font-head);font-weight:500;font-size:22px;line-height:1.3;letter-spacing:-0.02em}
.footer-about p{margin:10px 0 0;font-size:15px;line-height:1.6;color:#a9b3c1}
.footer-nav{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;font-size:15px}
.footer-nav div{display:flex;flex-direction:column;gap:12px}
.footer-nav b{font-weight:600}
.footer-nav a{color:var(--soft)}
.footer-nav a:hover{color:var(--white)}
.footer-bottom{margin-top:56px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:16px;font-size:13px;color:#7f8a99}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1100px){
  .hero .wrap{grid-template-columns:1fr}
  .hero-stage{min-height:520px}
  .read-grid{grid-template-columns:1fr}
  .footer-top{flex-direction:column;gap:40px}
  .footer-about{flex-basis:auto}
  .latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  :root{--gutter:20px}
  .main-nav,.header-actions .search{display:none}
  .menu-toggle{display:inline-flex}
  .site-header.menu-open .main-nav{display:flex;position:absolute;top:77px;left:0;right:0;flex-direction:column;gap:0;height:auto;background:var(--navy);padding:8px var(--gutter) 20px;border-top:1px solid rgba(255,255,255,.08)}
  .site-header.menu-open .main-nav a{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}
  .site-header.menu-open .main-nav a[aria-current="page"]{color:var(--lime)}
  .hero{padding:24px 0 56px}
  .hero-stage{min-height:500px}
  .hero-feature-body{left:22px;right:22px;bottom:24px}
  .hero-feature-body{padding-right:0;padding-bottom:58px}
  .hero-controls{left:18px;right:auto}
  /* strips become a vertical accordion */
  .strips{flex-direction:column;height:auto}
  .strip{flex:none;height:84px;transition:height .6s cubic-bezier(.2,.8,.2,1)}
  .strip.is-open{height:440px}
  .strip-label{writing-mode:horizontal-tb;transform:none;left:22px;bottom:auto;top:50%;margin-top:-13px}
  .strip-info{left:22px;right:22px;bottom:22px}
  .strip-info h3{font-size:30px;white-space:normal}
  .poster{flex-basis:78vw;height:460px}
  .poster--big{flex-basis:86vw}
  .latest-grid{grid-template-columns:1fr}
  .latest-card{display:grid;grid-template-columns:120px 1fr}
  .latest-card>img,.latest-card__fallback{height:100%;aspect-ratio:auto}
  .latest-card__body{min-height:170px;padding:17px}
  .story{min-height:480px}
  .story-body{left:22px;right:22px;bottom:24px}
  .footer-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important}
  .shelf{scroll-behavior:auto}
}
