/* ============================================================
   ESC Online — landing page
   Figma: LP  Copy  ·  desktop 133-3  ·  mobile 133-3997
   ============================================================ */

:root{
  --bg:            #1b1b1b;
  --surface:       #2b2b2b;
  --surface-2:     #3b3b3b;
  --surface-3:     #505050;
  --nav-bg:        #1c1c1c;
  --gold:          #d2aa41;
  --orange:        #e87c24;
  --line:          rgba(255,255,255,.12);
  --fg:            #fff;
  --fg-muted:      rgba(255,255,255,.64);
  --fg-dim:        rgba(255,255,255,.8);

  --card-w:        217.7px;
  --card-h:        122.45px;
  --gap:           16px;
  --pad:           16px;
  --shell:         1440px;
  --radius-card:   12px;

  --tabbar-h:      0px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; overflow-x:clip; }

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:14px;
  line-height:1.15;
  overflow-x:clip;
  padding-bottom:var(--tabbar-h);
}

img{ max-width:100%; display:block; }
[hidden]{ display:none !important; }   /* beats any display: set by a class */
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
h1,h2,h3,h4,p{ margin:0; }

.shell{ max-width:var(--shell); margin-inline:auto; }

/* ---------- scrollbars ---------- */
.subnav__scroller::-webkit-scrollbar{ height:0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding-inline:16px; border-radius:30px;
  font-weight:700; font-size:14px; letter-spacing:.5px; text-transform:uppercase;
  border:1px solid transparent; white-space:nowrap;
  transition:filter .15s ease, background-color .15s ease, color .15s ease;
}
.btn--ghost{ border-color:var(--gold); color:var(--gold); }
.btn--ghost:hover{ background:rgba(210,170,65,.12); }
.btn--gold{ background:var(--gold); border-color:var(--gold); color:#000; }
.btn--gold:hover{ filter:brightness(1.08); }
.btn--lg{ height:48px; }

.iconbtn{
  width:40px; height:40px; border-radius:20px;
  background:rgba(255,255,255,.12);
  display:inline-flex; align-items:center; justify-content:center;
  transition:background-color .15s ease;
}
.iconbtn:hover{ background:rgba(255,255,255,.2); }
.iconbtn img{ width:16px; height:16px; }

.navbtn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:6;
  width:32px; height:32px; border-radius:16px;
  background:rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  transition:background-color .15s ease, opacity .2s ease;
}
.navbtn img{ width:16px; height:16px; }
.navbtn:hover{ background:rgba(255,255,255,.24); }
.navbtn.swiper-button-disabled{ opacity:0; pointer-events:none; }
.navbtn.swiper-button-lock{ display:none; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar{
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  max-width:var(--shell); margin-inline:auto;
  height:34px; padding:8px 16px;
  display:flex; align-items:center; justify-content:flex-end; gap:24px;
}
.topbar__link{
  display:inline-flex; align-items:center; gap:4px;
  font-size:14px; line-height:16.1px; color:#fff;
}
.topbar__link img{ width:14px; height:14px; }
.topbar__link:hover{ color:var(--gold); }
.topbar__lang{
  display:inline-flex; align-items:center; gap:6px;
  font-size:14px; line-height:16.1px; padding-left:24px;
}
.topbar__lang img{ width:12px; height:12px; }

/* ============================================================
   HEADER
   ============================================================ */
.header{ background:var(--surface); }
.header__inner{
  max-width:var(--shell); margin-inline:auto;
  height:80px; padding-inline:16px;
  display:flex; align-items:center; gap:32px;
}
.brand{ flex:0 0 auto; display:block; }
.brand img{ width:91.53px; height:42px; }

.mainnav{ display:flex; align-items:stretch; gap:8px; flex:1 1 auto; align-self:stretch; }
.mainnav__link{
  display:flex; align-items:center; padding:0 12px;
  font-weight:700; font-size:16px; letter-spacing:.2px; line-height:18.4px;
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.mainnav__link:hover{ color:var(--gold); }
.mainnav__link.is-active{ color:var(--gold); border-bottom-color:var(--gold); }

.header__actions{ display:flex; align-items:center; gap:8px; flex:0 0 auto; }

/* ============================================================
   SUB NAV
   ============================================================ */
.subnav{
  background:var(--nav-bg);
  border-bottom:2px solid var(--line);
  padding-top:6px;
}
.subnav__scroller{
  max-width:1436px; margin-inline:auto;
  height:56px; display:flex; align-items:stretch;
  overflow-x:auto; scrollbar-width:none;
}
.subnav__link{
  display:inline-flex; align-items:center; justify-content:center; gap:4px;
  padding:8px 16px; white-space:nowrap;
  font-weight:500; font-size:14px; line-height:16.1px;
  color:var(--fg-muted);
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.subnav__link img{ width:16px; height:16px; }
.subnav__link:hover{ color:#fff; }
.subnav__link.is-active{ color:var(--gold); border-bottom-color:var(--gold); }

/* ============================================================
   PAGE
   ============================================================ */
.page{ background:var(--bg); }

/* ============================================================
   HERO
   ============================================================ */
.hero{ padding-top:8px; overflow:hidden; }
.hero__wrap{ position:relative; width:100%; }
.hero__swiper{ overflow:visible; }
.hero__slide{
  position:relative; height:300px; border-radius:8px; overflow:hidden;
  width:min(1200px, calc(100vw - 32px));
  display:flex; flex-direction:column; justify-content:center;
  padding:0 64px;
}
.hero__bg,.hero__fg{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  pointer-events:none;
}
.hero__shade{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to right, #000 0%, rgba(0,0,0,0) 50%);
}
.hero__copy{ position:relative; z-index:2; max-width:429px; }
.hero__title{ font-weight:700; font-size:42.7px; line-height:49px; }
.hero__sub{
  font-weight:500; font-size:18.7px; line-height:21.47px;
  opacity:.8; padding:7.7px 0 23.7px;
}
.btn--hero{ padding-inline:16px; }

.hero__dots{
  position:absolute; left:0; right:0; bottom:0; z-index:7;
  display:flex; align-items:center; justify-content:center;
  height:22px; pointer-events:none;
}
.hero__dots .swiper-pagination-bullet{ pointer-events:auto; }
.hero__dots .swiper-pagination-bullet{
  width:6px; height:6px; border-radius:3px;
  background:#fff; opacity:1; margin:0 4px;
  transition:background-color .2s ease;
}
.hero__dots .swiper-pagination-bullet-active{ background:var(--gold); }

.navbtn--hero{ width:48px; height:48px; border-radius:24px; background:var(--surface-2); }
.navbtn--hero img{ width:16px; height:16px; }
.navbtn--hero.navbtn--prev{ left:max(8px, calc(50% - 654px)); }
.navbtn--hero.navbtn--next{ right:max(8px, calc(50% - 654px)); }
.hero__wrap .navbtn{ opacity:0; }
.hero__wrap:hover .navbtn{ opacity:1; }
.hero__wrap:hover .navbtn.swiper-button-disabled{ opacity:0; }

/* ============================================================
   QUICK CATEGORIES
   ============================================================ */
.cats{ padding:6px 0; }
.cats__swiper{
  position:relative;
  max-width:1436px; margin-inline:auto;
  padding-inline:16px;
}
.cats .swiper-wrapper{ align-items:flex-start; }
/* centre the strip while it fits, fall back to scrolling when it doesn't */
.cats__swiper.is-centered .swiper-wrapper{ justify-content:center; }
.cats__item{
  width:64px !important;
  margin-right:16px;
  display:flex !important; flex-direction:column; align-items:center;
  text-align:center;
}
.cats__tile{
  width:48px; height:48px; border-radius:17px;
  background:var(--surface-2);
  box-shadow:0 4px 7px rgba(1,10,17,.6);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  margin:8px 0;
  transition:transform .15s ease;
}
.cats__item:hover .cats__tile{ transform:translateY(-2px); }
.cats__tile img{ width:48px; height:48px; object-fit:cover; }
.cats__label{ font-size:12px; line-height:13.8px; }
.navbtn--cats{ right:8px; top:32px; background:#fff; }
.navbtn--cats img{ filter:invert(1); }

/* ---------- rows section rhythm ---------- */
.rows{ display:flex; flex-direction:column; gap:16px; }

/* ============================================================
   GAME ROWS
   ============================================================ */
.row{ position:relative; }
.row__head{
  min-height:34px; padding:0 16px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.row__title{
  display:flex; align-items:center; gap:4px;
  font-weight:700; font-size:20px; line-height:23px;
}
.row__title img{ width:20px; height:20px; flex:0 0 auto; }
.row__more{
  display:inline-flex; align-items:center;
  padding:10px 16px; border-radius:50px;
  background:rgba(255,255,255,.12);
  font-weight:700; font-size:12px; white-space:nowrap;
  transition:background-color .15s ease;
}
.row__more:hover{ background:rgba(255,255,255,.2); }

.row__swiper{ padding:16px; }
.row .swiper-slide{
  width:var(--card-w);
  height:var(--card-h);
}

.gcard{
  position:relative; display:block;
  width:100%; height:100%;
  border-radius:var(--radius-card); overflow:hidden;
  box-shadow:0 0 8px 2px rgba(0,0,0,.1);
  transition:transform .18s ease;
}
.gcard img.gcard__img{ width:100%; height:100%; object-fit:cover; }
.gcard:hover{ transform:translateY(-3px); }
.gcard__badge{
  position:absolute; top:4.9px; left:0; height:18.37px; width:auto;
  pointer-events:none;
}

/* Top-10 numerals */
.row--rank .swiper-slide{ width:255.7px; padding-left:38px; }
.row--rank .swiper-slide .gcard{ width:var(--card-w); }
.row--rank .rank{
  position:absolute; left:-4px; bottom:-14px; z-index:0;
  font-size:118px; line-height:1; font-weight:900; letter-spacing:-6px;
  color:#d9d9d9;
  text-shadow:0 2px 4px rgba(0,0,0,.45);
  pointer-events:none; user-select:none;
}
.row--rank .swiper-slide{ position:relative; display:flex; align-items:center; }
.row--rank .gcard{ position:relative; z-index:1; }

.navbtn--row.navbtn--prev{ left:8px; }
.navbtn--row.navbtn--next{ right:8px; }
.row .navbtn{ opacity:0; top:calc(50% + 17px); }
.row:hover .navbtn{ opacity:1; }
.row:hover .navbtn.swiper-button-disabled{ opacity:0; }

/* ============================================================
   LATEST WINNERS
   ============================================================ */
.winners{ padding:8px 0 16px; }
.winners__title{
  padding:0 16px; font-weight:700; font-size:20px; line-height:23px;
}
.winners__swiper{ padding:16px; }
.winners .swiper-slide{ width:216px; height:56px; }

.wcard{
  position:relative; width:216px; height:56px;
  border-radius:12px; overflow:hidden;
  display:flex; align-items:center; gap:8px; padding:4px;
}
.wcard__blur{
  position:absolute; inset:-14px -54px; z-index:0;
  width:calc(100% + 108px); height:calc(100% + 28px);
  object-fit:cover; filter:blur(12.5px);
}
.wcard::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:rgba(0,0,0,.12); backdrop-filter:blur(2px);
}
.wcard__thumb{
  position:relative; z-index:2;
  width:48px; height:48px; border-radius:8px; object-fit:cover; flex:0 0 auto;
}
.wcard__body{
  position:relative; z-index:2;
  flex:1 1 auto; min-width:0;
  display:flex; align-items:center; justify-content:space-between; gap:6px;
}
.wcard__amount{
  font-weight:700; font-size:16px; line-height:18.4px;
  text-shadow:0 2px 8px rgba(0,0,0,.32);
}
.wcard__user{ font-weight:500; font-size:12px; line-height:13.8px; margin-top:4px; }
.wcard__date{ font-weight:500; font-size:12px; line-height:13.8px; padding-right:8px; white-space:nowrap; }

/* ============================================================
   JACKPOT HIGHLIGHTS
   ============================================================ */
.jackpots{ padding:16px 0 24px; }
.jackpots__title{
  padding:0 16px 16px; font-weight:700; font-size:20px; line-height:23px;
}
.jackpots__wrap{ position:relative; padding-inline:48px; }
.jackpots__swiper{ overflow:hidden; }
.jackpots .swiper-slide{ width:372px; display:flex; justify-content:center; }

.jp__card{
  position:relative;
  width:340px; background:var(--surface); border-radius:16px;
  padding-bottom:22px;
}
.jp__media{ position:relative; height:206px; border-radius:16px 16px 0 0; overflow:hidden; }
.jp__media img{ width:100%; height:100%; object-fit:cover; }
.jp__tag{
  position:absolute; top:8px; left:-8px; height:32px; min-width:72px;
  padding:0 22px 0 16px;
  background:var(--orange);
  display:flex; align-items:center;
  font-weight:700; font-size:16px; line-height:18.4px;
  text-shadow:0 2px 2px rgba(0,0,0,.15);
  border-radius:0 4px 4px 0;
  clip-path:polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.jp__players{
  position:absolute; top:8px; right:0; height:32px;
  padding:0 12px 0 10px; gap:6px;
  background:var(--orange);
  display:flex; align-items:center;
  font-weight:700; font-size:16px; line-height:18.4px;
  border-radius:4px 0 0 4px;
  clip-path:polygon(12px 0, 100% 0, 100% 100%, 0 100%);
  padding-left:20px;
}

/* jackpot amount bar */
.jp__wheel{
  position:relative;
  margin:-24px 16px 0;
  height:52px;
  border:3px solid #f2a52a;
  border-radius:14px;
  background:linear-gradient(180deg,#3b4348 0%,#232a2e 60%,#2c3438 100%);
  box-shadow:0 4px 10px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.14);
  display:flex; align-items:center; justify-content:flex-end;
  padding:0 10px;
  z-index:2;
}
.jp__wheelTab{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:#ffc627; color:#000;
  font-weight:900; font-size:10px; letter-spacing:.5px;
  padding:2px 10px; border-radius:4px;
  box-shadow:0 1px 2px rgba(0,0,0,.4);
}
.jp__knob{
  position:absolute; top:50%; transform:translateY(-50%);
  width:12px; height:26px; border-radius:3px;
  background:linear-gradient(180deg,#ffd35c,#e08c14);
  box-shadow:0 1px 3px rgba(0,0,0,.5);
}
.jp__knob--l{ left:-11px; }
.jp__knob--r{ right:-11px; }
.jp__digits{ display:flex; align-items:center; gap:2px; flex:1 1 auto; }
.jp__digits span{
  width:17px; height:33px; border-radius:3px;
  background:linear-gradient(180deg,#39424a,#2a3238);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  font-weight:500; font-size:20px; line-height:23px;
  flex:0 0 auto;
}
.jp__digits span.is-sep{ background:none; box-shadow:none; width:9px; font-size:18px; }
.jp__digits span.is-cur{ margin-right:auto; }

.jp__row{
  margin:14px 16px 0; height:48px; padding:0 12px;
  background:var(--surface-3); border-radius:8px;
  border-bottom:2px solid var(--gold);
  display:flex; align-items:center; justify-content:space-between;
  font-weight:500; font-size:14px; line-height:16.1px;
  color:rgba(255,255,255,.85);
}
.jp__toggle{
  position:absolute; left:50%; bottom:-12px; transform:translateX(-50%);
  width:24px; height:24px; border-radius:12px; background:var(--surface-3);
  display:flex; align-items:center; justify-content:center;
}
.jp__toggle img{ width:16px; height:16px; }

.navbtn--jp{ width:32px; height:32px; background:#fff; }
.navbtn--jp img{ filter:invert(1); }
.navbtn--jp:hover{ background:#eee; }
.navbtn--jp.navbtn--prev{ left:8px; }
.navbtn--jp.navbtn--next{ right:8px; }

.jackpots__bar{
  position:relative; height:4px; border-radius:2px;
  background:rgba(255,255,255,.16);
  margin:16px 16px 0;
  display:none;
}
.jackpots__bar .swiper-scrollbar-drag{ background:var(--gold); border-radius:2px; }

/* ============================================================
   INFO / SEO
   ============================================================ */
.info{
  max-width:1408px; margin-inline:auto;
  padding:32px 16px 48px;
  color:rgba(255,255,255,.86);
  font-size:14px; line-height:1.35;
}
.info__h1{
  font-weight:700; font-size:28px; line-height:1.2; color:#fff;
  margin-bottom:24px;
}
.info__lead{ margin-bottom:32px; }
.info__h2{
  font-weight:400; font-size:22px; line-height:1.2; color:#fff;
  margin:36px 0 10px;
}
.info p{ margin-bottom:10px; }
.info a{ color:var(--gold); }
.info a:hover{ text-decoration:underline; }
.info strong{ color:#fff; }

.info__grid{
  display:grid; grid-template-columns:1fr 1fr; gap:40px 32px;
  margin:40px 0 24px;
}
.info__card{ text-align:center; }
.info__icon{ width:88px; height:88px; object-fit:contain; margin:0 auto 24px; }
.info__card h3{ font-weight:400; font-size:22px; color:#fff; margin-bottom:10px; }
.info__card p{ text-align:left; }
.info__card a{ display:inline-block; margin-top:6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background:var(--surface); }
.footer__top{
  max-width:1408px; margin-inline:auto;
  padding:24px 16px; min-height:96px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  border-bottom:1px solid var(--line);
}
.footer__logo img{ width:87px; height:40px; }
.footer__social{ display:flex; gap:16px; }
.footer__social img{ width:32px; height:32px; }
.footer__social a{ transition:opacity .15s ease; }
.footer__social a:hover{ opacity:.75; }

.footer__cols{
  max-width:1408px; margin-inline:auto;
  padding:32px 16px 24px;
  display:grid; grid-template-columns:repeat(5,1fr); gap:32px;
}
.fcol{ display:flex; flex-direction:column; gap:14px; align-items:flex-start; }
.fcol h4{ font-weight:700; font-size:18px; line-height:1.2; margin-bottom:4px; }
.fcol a{ color:rgba(255,255,255,.72); font-size:14px; }
.fcol a:hover{ color:#fff; }
.fcol--safe span{ display:flex; align-items:center; gap:12px; font-size:14px; color:rgba(255,255,255,.9); }
.fcol--safe img{ width:20px; height:20px; object-fit:contain; }
.fcol--apps h4:not(:first-child){ margin-top:14px; }
.fcol__badges{ display:flex; flex-direction:column; gap:12px; }
.fcol__badges img{ height:40px; width:auto; }

.footer__strips{
  max-width:1408px; margin-inline:auto;
  padding:0 16px; display:flex; gap:24px;
}
.strip{
  background:var(--surface-3); border-radius:8px;
  display:flex; align-items:center; justify-content:center; gap:32px;
  min-height:88px; padding:16px 24px;
}
.strip--org{ flex:0 0 272px; gap:24px; }
.strip--org img:first-child{ height:26px; }
.strip--org img:last-child{ height:32px; }
.strip--pay{ flex:1 1 auto; gap:40px; flex-wrap:wrap; }
.strip--pay img{ height:24px; width:auto; object-fit:contain; }

.footer__legal{
  max-width:1408px; margin:24px auto 0;
  padding:20px 24px;
  background:var(--surface-3); border-radius:8px;
  color:rgba(255,255,255,.8); font-size:14px; line-height:1.35;
  width:calc(100% - 32px);
}
.footer__links{
  max-width:1408px; margin-inline:auto;
  padding:28px 16px;
  display:flex; align-items:center; justify-content:center; gap:32px; flex-wrap:wrap;
  font-size:14px;
}
.footer__links .is-underlined{ text-decoration:underline; }
.footer__links a:hover{ color:var(--gold); }
.footer__provider{
  background:var(--surface-3);
  text-align:center; padding:16px; font-size:14px;
  color:rgba(255,255,255,.9);
}

/* ============================================================
   MOBILE TAB BAR + BACK TO TOP
   ============================================================ */
.tabbar{ display:none; }

.backtop{
  position:fixed; right:16px; bottom:calc(16px + var(--tabbar-h)); z-index:40;
  width:40px; height:40px; border-radius:20px;
  background:var(--surface-2); box-shadow:0 4px 10px rgba(0,0,0,.4);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transform:translateY(8px);
  transition:opacity .2s ease, transform .2s ease;
}
.backtop img{ width:20px; height:20px; }
.backtop.is-visible{ opacity:1; pointer-events:auto; transform:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1320px){
  .navbtn--hero.navbtn--prev{ left:8px; }
  .navbtn--hero.navbtn--next{ right:8px; }
}

@media (max-width:1100px){
  .footer__cols{ grid-template-columns:repeat(3,1fr); }
  .footer__strips{ flex-direction:column; }
  .strip--org{ flex:1 1 auto; }
}

/* ---------- ≤ 900px : tablet / mobile ---------- */
@media (max-width:900px){
  :root{
    --card-w:166.66px;
    --card-h:93.74px;
    --tabbar-h:68px;
  }

  .topbar{ display:none; }
  .mainnav{ display:none; }

  .header__inner{
    height:58px; padding:8px;
    gap:8px; justify-content:space-between;
  }
  .brand{ width:29px; height:42px; overflow:hidden; display:flex; align-items:center; }
  .brand img{ width:auto; height:29px; max-width:none; }
  .header__actions{ gap:8px; }
  .btn{ height:36px; padding-inline:14px; font-size:13px; }
  .iconbtn{ width:36px; height:36px; }

  .subnav__scroller{ height:56px; padding-inline:8px; }

  /* hero — peeking slides */
  .hero{ padding-top:8px; }
  .hero__wrap{ width:100%; }
  .hero__swiper{ padding:0 16px; overflow:visible; }
  .hero__slide{ height:179px; padding:0 24px; }
  .hero__title{ font-size:26px; line-height:31px; }
  .hero__sub{ font-size:16px; line-height:20px; padding:6px 0 16px; }
  .btn--hero{ height:36px; }
  .btn--hero.btn--lg{ height:40px; }
  .hero__dots{ bottom:6px; }
  .navbtn--hero{ display:none; }

  .cats__swiper{ padding-inline:16px; }

  .row__head{ padding:0 16px; }
  .row__title{ font-size:20px; }
  .row .navbtn{ display:none; }
  .row--rank .swiper-slide{ width:204.66px; padding-left:38px; }
  .row--rank .rank{ font-size:92px; bottom:-10px; letter-spacing:-4px; }

  .winners__swiper{ padding:12px 16px; }

  .jackpots__wrap{ padding-inline:0; }
  .jackpots__bar{ display:block; }
  .jackpots__swiper{ padding-inline:16px; }
  .jackpots .swiper-slide{ width:308px; }
  .jp__card{ width:292px; }
  .jp__media{ height:186px; }
  .navbtn--jp{ display:none; }

  .info{ padding:24px 16px 32px; }
  .info__h1{ font-size:24px; }
  .info__h2{ font-size:20px; }
  .info__grid{ grid-template-columns:1fr; gap:32px; margin:32px 0 16px; }

  .footer__top{
    flex-direction:column; align-items:flex-start; gap:16px;
    padding:24px 16px;
  }
  .footer__cols{ grid-template-columns:1fr; gap:28px; padding:32px 16px 24px; }
  .fcol--apps h4{ margin-top:0; }
  .fcol__badges{ flex-direction:row; }
  .strip{ flex-wrap:wrap; gap:20px 28px; }
  .footer__links{ gap:16px 24px; justify-content:flex-start; padding:24px 16px; }

  /* bottom tab bar */
  .tabbar{
    position:fixed; left:0; right:0; bottom:0; z-index:50;
    display:flex; align-items:stretch;
    height:68px; padding:4px;
    background:var(--surface);
    filter:drop-shadow(0 -4px 10px rgba(0,0,0,.24));
  }
  .tabbar__item{
    flex:1 1 0; min-width:0;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
    font-size:12px; line-height:13.8px; color:var(--fg-muted);
    border-radius:6px; padding:4px;
    text-align:center;
  }
  .tabbar__item img{ width:24px; height:24px; }
  .tabbar__item.is-active{ color:var(--gold); font-weight:500; }

  .backtop{ bottom:calc(12px + var(--tabbar-h)); }
}

@media (max-width:420px){
  .btn{ padding-inline:12px; font-size:12px; letter-spacing:.4px; }
  .strip--pay{ gap:16px 24px; }
}

/* ============================================================
   REGISTRATION MODAL
   ============================================================ */
.modal{
  position:fixed; inset:0; z-index:100;
  display:flex; align-items:center; justify-content:center;
  padding:24px 16px;
  overflow-y:auto;
}
.modal__overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(2px);
  animation:modalFade .2s ease;
}
.modal__dialog{
  position:relative; z-index:1;
  width:100%; max-width:440px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  padding:32px 32px 24px;
  box-shadow:0 24px 60px rgba(0,0,0,.6);
  margin:auto;                    /* keeps a tall dialog fully reachable */
  animation:modalRise .24s cubic-bezier(.2,.7,.3,1);
}
@keyframes modalFade{ from{ opacity:0 } to{ opacity:1 } }
@keyframes modalRise{ from{ opacity:0; transform:translateY(16px) scale(.98) } to{ opacity:1; transform:none } }
@media (prefers-reduced-motion:reduce){
  .modal__overlay,.modal__dialog{ animation:none; }
}

.modal__close{
  position:absolute; top:12px; right:12px;
  width:32px; height:32px; border-radius:16px;
  background:rgba(255,255,255,.12); color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:background-color .15s ease;
}
.modal__close:hover{ background:rgba(255,255,255,.24); }

.modal__head{ text-align:center; margin-bottom:24px; }
.modal__logo{ width:91.53px; height:42px; margin:0 auto 16px; }
.modal__title{ font-weight:700; font-size:24px; line-height:1.2; }
.modal__sub{
  margin-top:8px; font-size:14px; line-height:1.35;
  color:var(--fg-muted);
}
/* the success panel carries its own heading */
.modal.is-done .modal__title,
.modal.is-done .modal__sub{ display:none; }
.modal.is-done .modal__head{ margin-bottom:16px; }

/* ---------- fields ---------- */
.rform{ display:flex; flex-direction:column; gap:14px; }
.rform__row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }

.rfield{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.rfield label{ font-size:13px; font-weight:700; color:rgba(255,255,255,.9); }
.rfield__opt{ font-weight:400; color:var(--fg-muted); }
.rfield__control{ position:relative; display:flex; }

.rfield input{
  width:100%; height:44px;
  padding:0 14px;
  background:var(--nav-bg);
  border:1px solid var(--line);
  border-radius:8px;
  color:#fff; font:inherit; font-size:14px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.rfield input::placeholder{ color:rgba(255,255,255,.36); }
.rfield input:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(210,170,65,.18);
}
.rfield input[type="date"]{ color-scheme:dark; }
.rfield__control input{ padding-right:64px; }

.rfield__reveal{
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.4px;
  color:var(--gold); padding:4px;
}
.rfield__reveal:hover{ text-decoration:underline; }

.rfield__error{ font-size:12px; line-height:1.3; color:#ff7a6b; min-height:0; }
.rfield__error:empty{ display:none; }
.rfield__error--block{ margin-top:-8px; }
.rfield.is-invalid input{ border-color:#ff7a6b; }

/* ---------- checkboxes ---------- */
.rcheck{
  display:flex; align-items:flex-start; gap:10px;
  font-size:13px; line-height:1.35; color:rgba(255,255,255,.82);
  cursor:pointer;
}
.rcheck input{
  appearance:none; -webkit-appearance:none;
  flex:0 0 auto; width:18px; height:18px; margin-top:1px;
  border:1px solid rgba(255,255,255,.32); border-radius:4px;
  background:var(--nav-bg);
  display:grid; place-content:center;
  transition:background-color .15s ease, border-color .15s ease;
}
.rcheck input::before{
  content:""; width:10px; height:10px; transform:scale(0);
  background:#000; transition:transform .12s ease;
  clip-path:polygon(14% 44%, 0 60%, 40% 100%, 100% 18%, 84% 4%, 38% 68%);
}
.rcheck input:checked{ background:var(--gold); border-color:var(--gold); }
.rcheck input:checked::before{ transform:scale(1); }
.rcheck input:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
.rcheck a{ color:var(--gold); text-decoration:underline; }
.rcheck.is-invalid input{ border-color:#ff7a6b; }

/* ---------- submit + foot ---------- */
.rform__submit{ width:100%; height:48px; margin-top:6px; }
.rform__foot{ text-align:center; font-size:14px; color:var(--fg-muted); }
.rform__foot a{ color:var(--gold); font-weight:700; }
.rform__foot a:hover{ text-decoration:underline; }
.rform__legal{
  margin-top:4px; text-align:center;
  font-size:11px; line-height:1.4; color:rgba(255,255,255,.5);
}

/* ---------- success state ---------- */
.rdone{ text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; }
.rdone__mark{
  width:56px; height:56px; border-radius:28px;
  background:var(--gold); color:#000;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:4px;
}
.rdone h3{ font-weight:700; font-size:20px; }
.rdone p{ font-size:14px; line-height:1.4; color:var(--fg-muted); }
.rdone strong{ color:#fff; }
.rdone .btn{ margin-top:8px; min-width:160px; }

/* body scroll lock while the modal is open */
body.is-locked{ overflow:hidden; }

@media (max-width:900px){
  .modal{ padding:16px; align-items:flex-start; }
  .modal__dialog{ padding:28px 20px 20px; }
  .modal__title{ font-size:21px; }
  .rform__row{ grid-template-columns:1fr; }
}
