/* =================================================================================================
   Game shell — full-screen game pages (see assets/js/game-shell.js). The game takes the whole first
   screen: no site header, games strip or winners ticker; a hamburger at the top left opens a drawer
   with Home, the games and the player's account.
   ================================================================================================= */
body.gs-on .navbar.exchange-header,
body.gs-on .sub-navbar,
body.gs-on #bet1x-win-ticker,
body.gs-on footer { display: none !important; }
body.gs-on { padding-bottom: 0 !important; }
/* menu-only pages (data-mode="nav"): the header stays, the games strip goes */
body.gs-nav .sub-navbar { display: none !important; }
body.gs-nav .mobile-hamburger-btn { display: none !important; }   /* the home page's own menu button: this one replaces it */
.gs-logo-wrap { display: inline-flex; align-items: center; gap: 10px; }

/* the hamburger */
.gs-burger {
  position: fixed; top: 8px; left: 8px; z-index: 2100; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(16, 18, 30, .78); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer; padding: 0; box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.gs-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
/* in the header, beside the logo */
.gs-burger.gs-inline { position: static; width: 38px; height: 38px; flex: 0 0 auto; box-shadow: none; background: rgba(255,255,255,.06); }
body.gs-open .gs-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.gs-open .gs-burger span:nth-child(2) { opacity: 0; }
body.gs-open .gs-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* the drawer — a sportsbook / casino menu: game cards with covers, grouped in sections */
.gs-scrim { position: fixed; inset: 0; z-index: 10010; background: rgba(2, 4, 10, .66); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.gs-open .gs-scrim { opacity: 1; pointer-events: auto; }
.gs-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 10020; width: min(330px, 88vw); overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #0d1020 0%, #0a0c18 100%); border-right: 1px solid #1d2240; box-shadow: 10px 0 34px rgba(0,0,0,.55);
  transform: translateX(-102%); transition: transform .25s cubic-bezier(.2,.9,.3,1); padding: 0 0 24px;
  font-family: 'Poppins', var(--font-body, sans-serif); scrollbar-width: thin; scrollbar-color: #2a3058 transparent;
}
body.gs-open .gs-drawer { transform: none; }
.gs-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 14px; background: #0d1020; border-bottom: 1px solid #1d2240; }
.gs-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.gs-logo img { width: 30px; height: 30px; object-fit: contain; }
.gs-logo span { font: 800 21px 'Poppins', sans-serif; color: #fff; letter-spacing: .2px; }
.gs-logo b { color: var(--red, #ff3b5c); font-weight: 800; }
.gs-close { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #262c50; background: #151935; color: #c8cce4; font-size: 20px; line-height: 1; cursor: pointer; }
.gs-close:hover { color: #fff; background: #1d2246; }

.gs-account { padding: 12px 14px 0; }
.gs-account #headerAuthArea .header-user-info, .gs-account #headerAuthArea .header-guest-wrap { justify-content: flex-start !important; }
.gs-account #headerAuthArea .header-welcome-text, .gs-account #headerAuthArea .header-deposit-btn { display: none !important; }

.gs-cash { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 4px; }
.gs-cash a { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 9px; font: 800 13px 'Poppins', sans-serif;
  letter-spacing: .6px; text-transform: uppercase; text-decoration: none; }
.gs-dep { color: #1d1300; background: linear-gradient(180deg, #ffd25a, #f0a50f); box-shadow: 0 3px 0 #a86b00, 0 6px 14px rgba(240,165,15,.25); }
.gs-wd { color: #e7e9f6; background: #171b38; border: 1px solid #2a3058; }
.gs-cash a:active { transform: translateY(1px); }

.gs-home { display: flex; align-items: center; gap: 10px; margin: 10px 14px 0; padding: 10px 12px; border-radius: 10px; text-decoration: none;
  color: #dfe2f3; font: 700 14px 'Poppins', sans-serif; background: #12162e; border: 1px solid #1d2240; }
.gs-home svg { width: 18px; height: 18px; color: #ffcf4a; }
.gs-home.active, .gs-home:hover { border-color: #ffcf4a; color: #fff; }

.gs-sec { padding: 16px 14px 0; }
.gs-sec-h { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font: 800 11px 'Poppins', sans-serif; letter-spacing: 1.4px;
  text-transform: uppercase; color: #8d93b8; }
.gs-sec-h::before { content: ''; width: 3px; height: 12px; border-radius: 2px; background: linear-gradient(#ff3b5c, #ffb02e); }
.gs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.gs-card { display: block; text-decoration: none; border-radius: 11px; overflow: hidden; background: #12162e; border: 1px solid #1d2240;
  transition: transform .12s ease, border-color .15s ease; }
.gs-card:hover { transform: translateY(-1px); border-color: #3a4278; }
.gs-card.active { border-color: #ffcf4a; box-shadow: 0 0 0 1px #ffcf4a inset, 0 0 14px rgba(255,207,74,.18); }
.gs-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: #0b0e1c; overflow: hidden; }
.gs-thumb img, .gs-thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-cric { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: radial-gradient(ellipse at 50% 120%, #39a85a 0%, #17703a 45%, #0b3f22 100%); }
.gs-cric::before { content: ''; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 22%; transform: translateX(-50%);
  background: linear-gradient(#d9c58f, #c2a86a); opacity: .35; border-radius: 2px; }
.gs-cric b { position: relative; font: 900 17px 'Poppins', sans-serif; letter-spacing: 1.5px; color: #fff; text-shadow: 0 2px 0 #0b3f22, 0 0 10px rgba(255,214,90,.35); }
.gs-cric i { position: relative; font: 700 9px 'Poppins', sans-serif; font-style: normal; letter-spacing: .5px; color: #ffd25a; text-transform: uppercase; }
.gs-name { display: block; padding: 6px 8px 7px; color: #e3e6f5; font: 700 12.5px 'Poppins', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-card.active .gs-name { color: #ffcf4a; }
.gs-tag { position: absolute; top: 5px; left: 5px; padding: 2px 6px; border-radius: 4px; font: 800 9.5px/1.3 'Poppins', sans-serif;
  letter-spacing: .6px; font-style: normal; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.gs-tag-hot { background: linear-gradient(180deg, #ff5a3c, #e0262f); }
.gs-tag-new { background: linear-gradient(180deg, #2fd27a, #11a556); }
.gs-tag-live { background: #e0262f; }
.gs-tag-live::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #fff;
  vertical-align: 1px; animation: gsPulse 1.2s ease-in-out infinite; }
@keyframes gsPulse { 50% { opacity: .25; } }
