/* ===== Design tokens ===== */
:root{
  --bg:#161a20;          /* page + header */
  --surface:#1e2128;     /* category bar, footer */
  --card:#22262e;        /* tiles */
  --card-2:#282d34;      /* secondary buttons */
  --nav:#353a41;         /* bottom nav */
  --login-1:#3d97da;--login-2:#2263a2;
  --reg-1:#4bd83f;--reg-2:#17991a;
  --line:#2c323b;
  --text:#ffffff;
  --muted:#9aa3ae;
  --primary:#1a9fd7;     
  --primary-2:#0088d1;
  --hot:#e3123a;
  --radius:10px;
  --gutter:12px;
  --header-h:58px;
  --nav-h:65px;
  --safe-b:env(safe-area-inset-bottom,0px);
  /* Bar is 65px; on phones with a home bar (iPhone) it is 54px of icons + the safe area, never less than 65px */
  --nav-total:max(var(--nav-h),calc(54px + var(--safe-b)));
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:#07090b;color:var(--text);font-family:Montserrat,Roboto,"Helvetica Neue",Arial,sans-serif;font-size:14px;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;background:none;border:0;padding:0;cursor:pointer}

/* Whole app is one fluid column; caps at 480px on tablets/desktop */
.app{position:relative;width:100%;max-width:480px;margin:0 auto;min-height:100vh;background:var(--bg);
  padding-bottom:var(--nav-total);overflow:hidden}

/* ===== Header ===== */
.header{position:sticky;top:0;z-index:50;height:calc(var(--header-h) + 2px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  padding:0 16px 0 19px;background:var(--bg);border-bottom:2px solid #1e2128}
.menu-btn{justify-self:start;display:block}
.menu-btn{display:grid;place-items:center;width:22px;height:22px;color:#00aeef}
.menu-btn svg{display:block}
.logo{justify-self:center;display:flex;align-items:center}
.logo img{display:block;width:75px;height:auto}
.logo-text{font-weight:800;font-style:italic;font-size:26px;letter-spacing:.5px;color:var(--primary)}
.logo-text b{color:#fff}
.lang-btn{justify-self:end;width:26px;height:26px;background:url(../../assets/img/fe1747f55139.webp) center/contain no-repeat}

.page-title{justify-self:center;margin:0;font-size:15px;font-weight:700;line-height:36px;color:#00aeef;text-transform:uppercase;white-space:nowrap}
/* ===== Promotions (new design) ===== */
.pr{padding:0 18px 24px}
.pr-card{margin-bottom:20px;border-radius:8px;overflow:hidden;background:#1e2128}
.pr-card[hidden]{display:none}
.pr-card > img{display:block;width:100%;height:auto;aspect-ratio:800/257;object-fit:cover}
.pr-body{padding:15px}
.pr-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.pr-tag{padding:0 8px;border-radius:4px;background:#262d38;font-size:10px;line-height:23px;color:#bbbdc0}
.pr-title{margin:0 0 4px;font-size:16px;font-weight:700;line-height:22px}
.pr-desc{margin:0 0 12px;font-size:11.5px;line-height:17px;color:#d5d5d7}
.pr-btns{display:flex;gap:8px}
.pr-btn{flex:1;display:flex;align-items:center;justify-content:center;height:34px;border-radius:4px;background:#262d38;font-size:12px;font-weight:500;text-transform:uppercase}
.pr-btn.is-primary{background:linear-gradient(90deg,#00a8e7,#10577a)}
.pr-tabs{display:flex;margin:0 0 18px;padding:0 15px;background:#1e2128;overflow-x:auto;scrollbar-width:none}
.pr-tabs::-webkit-scrollbar{display:none}
.pr-tab{position:relative;flex:0 0 auto;padding:0 10px;font-size:13px;line-height:42px;color:#7c7c8c;white-space:nowrap}
.pr-tab.is-active{font-weight:700;color:#fff}
.pr-tab.is-active::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;background:#00aeef}
/* ===== Bottom nav (fixed, respects iPhone home bar + Android gesture bar) ===== */
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;width:100%;max-width:480px;margin:0 auto;
  display:grid;grid-template-columns:repeat(5,1fr);height:var(--nav-total);padding-bottom:var(--safe-b);
  background:#353a41}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:10px;line-height:12px;color:#fff;min-width:0}
.bottom-nav svg{display:block;width:21.33px;height:21.33px;color:#fff}
.bottom-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Active tab: only the icon turns blue, the label stays white */
.bottom-nav a.is-active svg{color:#00aeef}
/* Rule [20]: selected icon = blue gradient #71D0EE -> #00AEEF (left to right) */
.bottom-nav a.is-active svg path{fill:url(#activeGrad)}

/* ===== Side menu (copied from the live site's #main-nav) ===== */
.side-menu{position:fixed;inset:0;z-index:1000;width:100%;max-width:480px;margin:0 auto;background:rgba(0,0,0,.5);overflow-y:auto}
.side-menu[hidden]{display:none}
.side-panel{width:70%;min-height:100%;background:#2e3033}
.side-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding:10px;background:#1a6585}
.side-logo{display:block;width:152px;height:auto;padding-left:11.2px}
.side-close{display:block;width:24px;height:24px}
.side-close img{display:block;width:24px;height:24px}
.side-list{margin:0;padding:0;list-style:none}
.side-link{display:flex;padding:12px 16px 12px 15px;border-bottom:1px solid #373a3f;font-size:13px;font-weight:500;line-height:19.5px;color:#fff}
.side-link span{display:block;padding-left:15px;text-transform:uppercase}
.side-ic{flex:0 0 auto;display:block;width:27.2px;height:24px;background:center/100% 100% no-repeat}
.side-ic.is-flag{height:27.2px}
.side-win{display:inline-block;width:12.8px;height:11.2px;margin-left:4.8px;background:url(../../assets/img/42034f5c73cd.gif) center/100% 100% no-repeat}
body.menu-open{overflow:hidden}
/* Logged-in side menu: username + level replace the logo, LOGOUT is the last item */
.side-top{height:60px}
.side-user{margin-left:14.4px}
.side-user-name{font-size:16px;font-weight:700;line-height:16px;text-transform:uppercase}
.side-user-level{font-size:8px;line-height:24px;text-transform:uppercase}
.side-list li:last-child .side-link{border-bottom:0}

/* ===== Grey inactive icons (Max 2026-11-13) ===== */
.cat:not(.is-active){color:#b2b2bd}
.cat:not(.is-active) svg.ic,.cat:not(.is-active) svg.ic *{color:#b2b2bd!important;fill:#b2b2bd!important}
.cat:not(.is-active) i.ic{filter:brightness(.7)}
.bottom-nav a:not(.is-active),.bottom-nav a:not(.is-active) svg{color:#b2b2bd}

/* ===== Bottom nav dark (Max 2026-11-13) ===== */
.bottom-nav{background:#161a20!important;background-image:none!important;border-top:1px solid #1e232b}
