/* ==========================================================================
   Gmgaming template stylesheet
   Design tokens first, then layout, components, pages, legacy overrides,
   and responsive rules. Every class is prefixed gm- to stay clear of the
   Bootstrap classes still used by account views that are not ported yet.
   ========================================================================== */

:root {
  --gm-bg: #06080F;
  --gm-bg-2: #090D17;
  --gm-surface: #0B101D;
  --gm-surface-2: #0E1526;
  --gm-surface-3: #151F33;
  --gm-tile: #0D1425;

  --gm-text: #EAF0FA;
  --gm-text-2: #B9C3DA;
  --gm-muted: #93A0BC;
  --gm-faint: #7C89A6;

  --gm-lime: #A8F73B;
  --gm-lime-2: #C6FF6B;
  --gm-teal: #2DE2C5;
  --gm-violet: #7C5CFF;
  --gm-violet-2: #C4B5FF;
  --gm-pink: #FF5C8A;
  --gm-blue: #38BDF8;
  --gm-blue-2: #7DD3FC;
  --gm-gold: #FFC94D;
  --gm-gold-2: #FFDD8A;
  --gm-orange: #FF9345;
  --gm-green: #4ADE80;
  --gm-red: #FF4D4F;

  --gm-line: rgba(140, 160, 200, .10);
  --gm-line-2: rgba(140, 160, 200, .16);
  --gm-line-3: rgba(140, 160, 200, .28);

  --gm-font: Archivo, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gm-display: Unbounded, Archivo, "Segoe UI", Roboto, sans-serif;

  --gm-radius: 12px;
  --gm-radius-lg: 18px;
  --gm-sidebar: 228px;
  --gm-content: 1240px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body.gm-body {
  margin: 0;
  background: var(--gm-bg);
  color: var(--gm-text);
  font-family: var(--gm-font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.gm-body *, .gm-body *::before, .gm-body *::after { box-sizing: border-box; }
:where(.gm-body) a { color: var(--gm-lime); text-decoration: none; transition: color .2s; }
:where(.gm-body) a:hover { color: var(--gm-lime-2); }
.gm-body img { max-width: 100%; }
.gm-body button { font-family: inherit; }
.gm-body :focus-visible { outline: 2px solid var(--gm-lime); outline-offset: 2px; }
.gm-body ::-webkit-scrollbar { height: 8px; width: 8px; }
.gm-body ::-webkit-scrollbar-thumb { background: #1B2540; border-radius: 8px; }
.gm-body ::-webkit-scrollbar-track { background: transparent; }
.gm-body input::placeholder { color: var(--gm-faint); }

@keyframes gmMarq { to { transform: translateX(-50%); } }
@keyframes gmMarqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes gmOrb { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(26px, -20px) scale(1.12); } }
@keyframes gmOrb2 { 0%, 100% { transform: translate(0, 0) scale(1.05); } 50% { transform: translate(-30px, 18px) scale(.92); } }
@keyframes gmFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes gmBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes gmGold { 0%, 100% { text-shadow: 0 0 18px rgba(255, 201, 77, .55), 0 0 46px rgba(255, 201, 77, .22); } 50% { text-shadow: 0 0 30px rgba(255, 201, 77, .9), 0 0 70px rgba(255, 201, 77, .4); } }
@keyframes gmPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 201, 77, .35); } 50% { box-shadow: 0 0 0 9px rgba(255, 201, 77, 0); } }
@keyframes gmSheen { 0% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(340%) skewX(-18deg); } }

/* --------------------------------------------------------------------------
   Shell: sidebar + main column
   -------------------------------------------------------------------------- */
.gm-shell { display: flex; min-height: 100vh; align-items: stretch; }
.gm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gm-content {
  width: 100%; max-width: var(--gm-content); margin: 0 auto;
  padding: 18px 18px 90px; display: flex; flex-direction: column; gap: 26px;
}

.gm-sidebar {
  width: var(--gm-sidebar); flex: none; background: var(--gm-bg-2);
  border-right: 1px solid var(--gm-line); position: sticky; top: 0; height: 100vh;
  overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; z-index: 50;
}
.gm-sidebar__top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; }
.gm-brand { display: inline-flex; align-items: center; }
.gm-brand__img { height: 34px; width: auto; max-width: 160px; object-fit: contain; }
.gm-brand--footer .gm-brand__img { height: 30px; }

.gm-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 10px; }
.gm-quick__tile {
  position: relative; overflow: hidden; border-radius: 12px; padding: 9px 10px; height: 52px;
  display: block; color: var(--gm-text); font-size: 11px; font-weight: 800; line-height: 1.15;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 34%, #0B1220), color-mix(in srgb, var(--c) 12%, #0B1220));
  transition: border-color .2s, transform .2s;
}
.gm-quick__tile:hover { border-color: color-mix(in srgb, var(--c) 85%, transparent); color: var(--gm-text); transform: translateY(-1px); }
.gm-quick__tile span { position: relative; z-index: 2; display: block; max-width: 70%; }
.gm-quick__tile svg { position: absolute; right: -3px; bottom: -4px; color: var(--c); opacity: .95; }
.gm-quick__tile--violet { --c: #7C5CFF; }
.gm-quick__tile--blue { --c: #38BDF8; }
.gm-quick__tile--teal { --c: #2DE2C5; }
.gm-quick__tile--gold { --c: #FFC94D; }

.gm-nav { display: flex; flex-direction: column; gap: 2px; }
.gm-nav__link {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px;
  color: var(--gm-muted); font-weight: 600; font-size: 14px; border: 1px solid transparent; transition: all .2s;
}
.gm-nav__link:hover { background: rgba(140, 160, 200, .08); color: var(--gm-text); }
.gm-nav__link.is-active { background: rgba(168, 247, 59, .12); color: var(--gm-lime-2); font-weight: 700; border-color: rgba(168, 247, 59, .25); }
.gm-nav__count { margin-left: auto; font-size: 11px; color: var(--gm-faint); font-weight: 700; }

.gm-sidebar__label { margin: 12px 6px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: 2.5px; color: var(--gm-faint); text-transform: uppercase; }
.gm-cats { display: flex; flex-direction: column; gap: 2px; }
.gm-cats__link {
  display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 9px;
  color: var(--gm-text-2); font-size: 13.5px; font-weight: 500; transition: background .2s;
}
.gm-cats__link:hover { background: rgba(140, 160, 200, .08); color: var(--gm-text); }
.gm-cats__link.is-active { background: rgba(140, 160, 200, .12); color: var(--gm-text); font-weight: 700; }
.gm-cats__dot { width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--gm-lime)); flex: none; }
.gm-cats__count { margin-left: auto; font-size: 11px; color: var(--gm-faint); font-weight: 700; }

.gm-promo-card {
  position: relative; overflow: hidden; display: block; margin-top: 12px; border-radius: 14px; padding: 14px;
  background: radial-gradient(160px 110px at 88% 110%, rgba(45, 226, 197, .3), transparent 70%), linear-gradient(150deg, #6B44FF, #2E1B7A);
  border: 1px solid rgba(168, 247, 59, .3); color: #fff; flex: none;
}
.gm-promo-card:hover { color: #fff; }
.gm-promo-card__title { position: relative; z-index: 2; display: block; font-family: var(--gm-display); font-weight: 800; font-size: 13px; line-height: 1.2; max-width: 120px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.gm-promo-card__btn { position: relative; z-index: 2; margin-top: 9px; display: inline-block; background: #0B0E1A; color: var(--gm-text); font-weight: 800; font-size: 12px; padding: 6px 14px; border-radius: 9px; }
.gm-promo-card__icon { position: absolute; right: -6px; bottom: -8px; z-index: 1; display: inline-flex; }

.gm-sidebar__foot { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 12px 6px 0; color: var(--gm-faint); font-size: 11px; font-weight: 600; }
.gm-age { border: 1.5px solid var(--gm-faint); border-radius: 6px; padding: 1px 5px; font-weight: 800; font-size: 11px; color: var(--gm-faint); }

.gm-icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2);
  color: var(--gm-text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: none;
}
.gm-icon-btn:hover { color: var(--gm-text); border-color: var(--gm-line-3); }
.gm-sidebar__close, .gm-header__menu, .gm-header__brand { display: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.gm-header {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 11px 18px;
  background: rgba(6, 8, 15, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--gm-line);
}
.gm-header__brand img { height: 30px; width: auto; }
.gm-search { flex: 1; max-width: 440px; min-width: 120px; position: relative; display: flex; align-items: center; margin: 0; }
.gm-search__icon { position: absolute; left: 12px; color: var(--gm-faint); display: inline-flex; pointer-events: none; }
.gm-search__input {
  width: 100%; background: var(--gm-surface-2); border: 1px solid var(--gm-line-2); border-radius: 11px;
  padding: 9px 12px 9px 34px; color: var(--gm-text); font-size: 13.5px; font-family: inherit; outline: none; transition: border-color .2s;
}
.gm-search__input:focus { border-color: rgba(168, 247, 59, .55); }
.gm-search__input::-webkit-search-cancel-button { filter: invert(1); }
.gm-header__right { margin-left: auto; display: flex; align-items: center; gap: 9px; flex: none; }
.gm-header__login { color: var(--gm-text-2); font-weight: 700; font-size: 13.5px; padding: 8px 10px; }
.gm-header__login:hover { color: var(--gm-text); }
.gm-header__account svg { color: var(--gm-lime); }

.gm-wallet {
  display: flex; align-items: center; gap: 8px; background: var(--gm-surface-2); border: 1px solid var(--gm-line-2);
  border-radius: 11px; padding: 5px 5px 5px 12px;
}
.gm-wallet__cur { width: 18px; height: 18px; border-radius: 50%; background: #26A17B; color: #fff; font-size: 10.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.gm-wallet__amount { font-weight: 800; font-size: 13.5px; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.gm-wallet__btn { background: rgba(168, 247, 59, .15); color: var(--gm-lime-2); border-radius: 8px; padding: 5px 9px; font-weight: 800; font-size: 12px; }
.gm-wallet__btn:hover { background: rgba(168, 247, 59, .28); color: var(--gm-lime-2); }

  display: inline-flex; align-items: center; gap: 6px; background: var(--gm-surface-2); border: 1px solid var(--gm-line-2);
  border-radius: 11px; padding: 8px 10px; color: var(--gm-text-2); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; background: var(--gm-surface); border: 1px solid var(--gm-line-2);
  border-radius: 12px; padding: 6px; margin: 0; list-style: none; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); display: none; z-index: 60;
}

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.gm-promo-bar { display: flex; align-items: center; gap: 10px; padding: 7px 18px; background: rgba(168, 247, 59, .05); border-bottom: 1px solid var(--gm-line); }
.gm-promo-bar__icon { color: var(--gm-lime); display: inline-flex; flex: none; }
.gm-promo-bar__track { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.gm-promo-bar__run { display: flex; width: max-content; animation: gmMarq 38s linear infinite; font-size: 12px; font-weight: 600; color: var(--gm-muted); white-space: nowrap; }
.gm-promo-bar__set { display: inline-flex; }
.gm-promo-bar__set > span { padding-right: 34px; }
.gm-promo-bar__set > span::before { content: "\00b7"; margin-right: 34px; color: var(--gm-faint); }
.gm-promo-bar__set > span:first-child::before { content: none; margin: 0; }

/* --------------------------------------------------------------------------
   Buttons, pills, chips, badges
   -------------------------------------------------------------------------- */
.gm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; border: 1px solid transparent;
  padding: 10px 18px; font-weight: 800; font-size: 13.5px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; position: relative; overflow: hidden;
}
.gm-btn--sm { padding: 9px 16px; font-size: 13px; }
.gm-btn--lg { padding: 13px 24px; font-size: 14.5px; border-radius: 12px; }
.gm-btn--block { width: 100%; }
.gm-btn--primary { background: linear-gradient(135deg, var(--gm-lime), var(--gm-teal)); color: #07120A; box-shadow: 0 6px 22px rgba(168, 247, 59, .3); }
.gm-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(168, 247, 59, .45); color: #07120A; }
.gm-btn--ghost { background: var(--gm-surface-2); border-color: var(--gm-line-2); color: var(--gm-text); }
.gm-btn--ghost:hover { border-color: var(--gm-line-3); color: var(--gm-text); }
.gm-btn--outline { background: transparent; border-color: var(--gm-line-3); color: var(--gm-text); }
.gm-btn--outline:hover { border-color: var(--gm-lime); color: var(--gm-lime-2); }
.gm-btn--dark { background: #07120A; color: var(--gm-lime-2); box-shadow: 0 12px 34px rgba(7, 18, 10, .35); }
.gm-btn--dark:hover { transform: translateY(-1px); color: var(--gm-lime-2); }
.gm-btn--gold { background: linear-gradient(135deg, var(--gm-gold), var(--gm-orange)); color: #1A1206; }
.gm-btn--sheen::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 38%; left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); animation: gmSheen 2.8s ease-in-out infinite; pointer-events: none;
}

.gm-pill { --c: #7C5CFF; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.gm-live-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 77, 79, .12); color: #FF7875; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.gm-live-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gm-red); animation: gmBlink 1.2s infinite; }

.gm-chips { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.gm-chip { background: var(--gm-surface-2); border: 1px solid var(--gm-line-2); border-radius: 8px; padding: 5px 10px; font-size: 11px; font-weight: 800; color: var(--gm-text-2); }
.gm-chip--lime { color: var(--gm-lime); }
.gm-chip--link { display: inline-flex; align-items: center; gap: 6px; }
.gm-chip--link:hover { border-color: var(--gm-lime); }

.gm-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #fff; z-index: 2; }
.gm-badge--new { background: linear-gradient(135deg, #10b981, #059669); }
.gm-badge--hot { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gm-badge--popular { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.gm-muted { color: var(--gm-faint); }

/* --------------------------------------------------------------------------
   Hero carousel
   -------------------------------------------------------------------------- */
.gm-hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--gm-line-2); }
.gm-hero__track { display: flex; transition: transform .65s cubic-bezier(.22, .8, .24, 1); }
.gm-hero__slide {
  --a: 168, 247, 59; --b: 45, 226, 197;
  flex: none; width: 100%; min-height: 320px; position: relative; display: flex; align-items: center; padding: 34px clamp(22px, 5vw, 58px);
  background: linear-gradient(90deg, rgba(10, 15, 27, .96) 32%, rgba(10, 15, 27, .72) 58%, rgba(10, 15, 27, .42)), var(--img, none) center / cover no-repeat #0A0F1B;
}
.gm-hero__slide--violet { --a: 124, 92, 255; --b: 255, 92, 138; }
.gm-hero__slide--gold { --a: 255, 201, 77; --b: 255, 147, 69; }
.gm-hero__slide--blue { --a: 56, 189, 248; --b: 124, 92, 255; }
.gm-hero__slide::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 12% -10%, rgba(var(--a), .22), transparent 60%), radial-gradient(700px 380px at 88% 115%, rgba(var(--b), .16), transparent 60%);
}
.gm-hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.gm-hero__orb--a { width: 340px; height: 340px; background: rgba(var(--a), .14); top: -120px; left: -60px; animation: gmOrb 9s ease-in-out infinite; }
.gm-hero__orb--b { width: 300px; height: 300px; background: rgba(var(--b), .13); bottom: -130px; right: 0; animation: gmOrb2 11s ease-in-out infinite; }
.gm-hero__body { position: relative; z-index: 2; max-width: 580px; }
.gm-hero__badge {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(var(--a), .13); border: 1px solid rgba(var(--a), .35); color: rgb(var(--a));
  font-size: 11.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.gm-hero__title { font-family: var(--gm-display); font-weight: 800; font-size: clamp(26px, 4.2vw, 46px); line-height: 1.08; margin: 14px 0 0; text-transform: uppercase; color: #fff; }
.gm-hero__highlight { display: block; background: linear-gradient(90deg, rgb(var(--a)), rgb(var(--b))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gm-hero__text { color: var(--gm-muted); font-size: 15px; line-height: 1.55; margin: 12px 0 0; max-width: 440px; }
.gm-hero__actions { display: flex; gap: 11px; margin-top: 20px; flex-wrap: wrap; }
.gm-hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gm-line-3);
  background: rgba(6, 8, 15, .6); color: var(--gm-text); cursor: pointer; backdrop-filter: blur(6px); font-size: 20px; line-height: 1; z-index: 3;
  display: flex; align-items: center; justify-content: center; padding: 0 0 2px;
}
.gm-hero__arrow:hover { border-color: var(--gm-lime); color: var(--gm-lime-2); }
.gm-hero__arrow--prev { left: 12px; }
.gm-hero__arrow--next { right: 12px; }
.gm-hero__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.gm-hero__dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .28); cursor: pointer; padding: 0; transition: all .35s; }
.gm-hero__dot.is-active { width: 26px; background: var(--gm-lime); }

/* --------------------------------------------------------------------------
   Product tiles + category grid
   -------------------------------------------------------------------------- */
.gm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.gm-tile {
  --c: #7C5CFF; position: relative; overflow: hidden; border-radius: 18px; min-height: 150px; padding: 18px; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(220px 160px at 88% 12%, rgba(255, 255, 255, .22), transparent 65%), linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 45%, #0A0F1B));
  transition: transform .25s, box-shadow .25s;
}
.gm-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 44px color-mix(in srgb, var(--c) 35%, transparent); color: #fff; }
.gm-tile--violet { --c: #7C5CFF; }
.gm-tile--lime { --c: #A8F73B; color: #07200F; }
.gm-tile--lime:hover { color: #07200F; }
.gm-tile__title { position: relative; z-index: 2; font-family: var(--gm-display); font-weight: 800; font-size: 21px; letter-spacing: .5px; text-transform: uppercase; text-shadow: 0 3px 14px rgba(0, 0, 0, .3); }
.gm-tile__meta { position: relative; z-index: 2; margin-top: auto; display: inline-flex; align-items: center; background: rgba(6, 8, 15, .4); backdrop-filter: blur(4px); border-radius: 999px; padding: 5px 11px; width: max-content; font-size: 12.5px; font-weight: 800; color: #fff; }
.gm-tile__icon { position: absolute; right: -8px; top: 22px; z-index: 1; display: inline-flex; color: rgba(255, 255, 255, .92); }
.gm-tile__icon svg { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .3)); }

.gm-catgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gm-catcard {
  --c: #A8F73B; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 104px; color: var(--gm-text);
  background: radial-gradient(300px 170px at 86% 6%, color-mix(in srgb, var(--c) 16%, transparent), transparent 68%), linear-gradient(135deg, var(--gm-surface-3), #0B101D);
  border: 1px solid var(--gm-line); border-radius: 16px; padding: 16px 18px; transition: all .25s;
}
.gm-catcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 12px 34px color-mix(in srgb, var(--c) 16%, transparent); color: var(--gm-text); }
.gm-catcard__title { display: block; font-family: var(--gm-display); font-weight: 700; font-size: 17px; }
.gm-catcard__meta { display: block; font-size: 11.5px; color: var(--gm-faint); font-weight: 700; margin-top: 5px; }
.gm-catcard__icon { color: var(--c); flex: none; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); display: inline-flex; }
.gm-catcard__icon svg { max-width: 84px; height: auto; }

/* --------------------------------------------------------------------------
   Sections, rails, game cards
   -------------------------------------------------------------------------- */
.gm-section { min-width: 0; }
.gm-section__head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.gm-section__head--wrap { flex-wrap: wrap; row-gap: 10px; }
.gm-section__bar { --c: #A8F73B; width: 4px; height: 20px; border-radius: 4px; flex: none; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 40%, #7C5CFF)); }
.gm-section__title { font-family: var(--gm-display); font-weight: 700; font-size: 17px; margin: 0; color: var(--gm-text); }
.gm-section__tools { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.gm-section__more { font-size: 13px; font-weight: 700; white-space: nowrap; }
.gm-rail-btn {
  cursor: pointer; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gm-line-3); background: var(--gm-surface-2);
  color: var(--gm-text-2); font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 2px;
}
.gm-rail-btn:hover { border-color: var(--gm-lime); color: var(--gm-lime-2); }

.gm-rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #1B2540 transparent; }
.gm-rail .gm-game { flex: none; width: 166px; scroll-snap-align: start; }

.gm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }

.gm-game { display: block; color: var(--gm-text); transition: transform .25s; min-width: 0; }
.gm-game:hover { transform: translateY(-5px); color: var(--gm-text); }
.gm-game__art { display: block; position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); }
.gm-game__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gm-game:hover .gm-game__art img { transform: scale(1.06); }
.gm-game__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6, 8, 15, .45); opacity: 0; transition: opacity .25s; }
.gm-game__play svg { width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--gm-lime), var(--gm-teal)); color: #07120A; box-shadow: 0 8px 25px rgba(168, 247, 59, .45); }
.gm-game:hover .gm-game__play { opacity: 1; }
.gm-game__title { display: block; font-size: 13.5px; font-weight: 700; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-game__provider { display: block; font-size: 11.5px; font-weight: 600; color: var(--gm-faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hero decorations */
.gm-hero__decor { position: absolute; right: clamp(10px, 6vw, 80px); top: 50%; transform: translateY(-50%); pointer-events: none; z-index: 1; }
.gm-hero__decor--art svg { animation: gmFloat 7s ease-in-out infinite; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.gm-hero__chip {
  width: 120px; height: 120px; border-radius: 28px; background: linear-gradient(145deg, #182238, #0C1322); border: 1px solid rgba(168, 247, 59, .35);
  display: flex; align-items: center; justify-content: center; font-family: var(--gm-display); font-weight: 800; font-size: 34px; color: #C6FF6B;
  animation: gmFloat 6s ease-in-out infinite; box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.gm-hero__chip--sm { width: 76px; height: 76px; border-radius: 20px; border-color: rgba(255, 201, 77, .4); font-size: 24px; color: #FFC94D; animation: gmFloat 7.5s ease-in-out infinite .8s; margin: -26px 0 0 -44px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }

/* Instant picks (Originals-style tiles) */
.gm-orig { flex: none; width: 174px; display: block; transition: transform .25s; scroll-snap-align: start; }
.gm-orig:hover { transform: translateY(-6px); }
.gm-orig__card {
  --c1: #A855F7; --c2: #4C1D95; display: block; position: relative; width: 174px; height: 232px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(150px 150px at 32% 16%, rgba(255, 255, 255, .28), transparent 62%), linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
}
.gm-orig__art { position: absolute; left: 8px; right: 8px; top: 5%; height: 57%; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .38)); }
.gm-orig__art svg { width: 100%; height: 100%; }
.gm-orig__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
.gm-orig__title { position: absolute; left: 8px; right: 8px; bottom: 30px; font-family: var(--gm-display); font-weight: 800; line-height: 1; color: #fff; text-align: center; text-shadow: 0 3px 12px rgba(0, 0, 0, .55); text-transform: uppercase; }
.gm-orig__tag { position: absolute; left: 11px; bottom: 11px; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; color: rgba(255, 255, 255, .72); text-transform: uppercase; max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-orig__pl { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 4px; background: rgba(6, 8, 15, .5); backdrop-filter: blur(4px); border-radius: 7px; padding: 3px 7px; font-size: 10.5px; font-weight: 800; color: #fff; }

/* Deposit banner method grid */
.gm-banner__coins { position: relative; z-index: 2; margin-left: auto; display: grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); gap: 9px 14px; }
.gm-banner__coins span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; }
.gm-banner__coins i { width: 20px; height: 20px; border-radius: 50%; background: #26A17B; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; font-style: normal; color: #fff; flex: none; }
.gm-banner__coins small { font-size: 10px; font-weight: 800; color: rgba(255, 255, 255, .6); letter-spacing: .5px; }

/* --------------------------------------------------------------------------
   Jackpot band
   -------------------------------------------------------------------------- */
.gm-jackpot { border-radius: 18px; padding: 2px; background: linear-gradient(120deg, rgba(255, 201, 77, .55), rgba(255, 147, 69, .15), rgba(255, 201, 77, .55)); }
.gm-jackpot__inner {
  --img: none; border-radius: 16px; display: flex; align-items: center; gap: 20px; padding: 18px 24px; flex-wrap: wrap; position: relative; overflow: hidden;
  background: radial-gradient(700px 200px at 50% -40%, rgba(255, 201, 77, .16), transparent), linear-gradient(90deg, rgba(11, 15, 27, .95) 30%, rgba(11, 15, 27, .8) 60%, rgba(11, 15, 27, .55)), var(--img) right center / cover no-repeat #0B0F1B;
}
.gm-jackpot__label { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: #FFDD8A; text-transform: uppercase; }
.gm-jackpot__amount { font-family: var(--gm-display); font-weight: 800; font-size: clamp(26px, 3.6vw, 40px); color: #FFC94D; animation: gmGold 2.6s ease-in-out infinite; font-variant-numeric: tabular-nums; margin-top: 4px; }
.gm-jackpot__side { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gm-jackpot__meta { color: var(--gm-muted); font-size: 12.5px; max-width: 240px; line-height: 1.5; }
.gm-jackpot__meta b { color: var(--gm-text); }
.gm-btn--pulse { animation: gmPulse 2.4s infinite; }
.gm-pill--pink { --c: #FF5C8A; }
.gm-nav__link--vip:hover { color: var(--gm-gold); }
.gm-banner__art { position: relative; z-index: 1; flex: none; display: inline-flex; }

/* --------------------------------------------------------------------------
   Promotions page (rewards engine)
   -------------------------------------------------------------------------- */
.gm-kicker { --c: #A8F73B; display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--c); }
.gm-meter { height: 7px; border-radius: 999px; background: rgba(140, 160, 200, .14); overflow: hidden; }
.gm-meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gm-lime), var(--gm-teal)); }

.gm-rhero {
  --img: none; position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--gm-line-2);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; padding: 28px clamp(18px, 3.4vw, 40px);
  background: radial-gradient(760px 300px at 12% -30%, rgba(168, 247, 59, .16), transparent 60%),
    linear-gradient(90deg, rgba(8, 11, 20, .96) 35%, rgba(8, 11, 20, .78) 70%, rgba(8, 11, 20, .6)), var(--img) center / cover no-repeat var(--gm-bg-2);
}
.gm-rhero__main { display: flex; flex-direction: column; gap: 12px; min-width: 0; --a: 168, 247, 59; }
.gm-rhero__main .gm-hero__badge { align-self: flex-start; }
.gm-rhero__title { font-family: var(--gm-display); font-weight: 800; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.1; margin: 0; color: #fff; text-wrap: balance; }
.gm-rhero__title span { display: block; background: linear-gradient(90deg, var(--gm-lime), var(--gm-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gm-rhero__text { color: var(--gm-muted); font-size: 14px; line-height: 1.6; margin: 0; max-width: 540px; }
.gm-rhero__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.gm-rhero__chips a { font-size: 12.5px; font-weight: 700; color: var(--gm-text-2); background: rgba(140, 160, 200, .1); border: 1px solid var(--gm-line-2); border-radius: 999px; padding: 6px 12px; transition: all .2s; }
.gm-rhero__chips a:hover { color: var(--gm-bg); background: var(--gm-lime); border-color: var(--gm-lime); }
.gm-rhero__status { display: flex; flex-direction: column; gap: 9px; align-self: center; }
.gm-rstat { display: flex; flex-direction: column; gap: 5px; background: rgba(11, 16, 29, .82); border: 1px solid var(--gm-line-2); border-radius: 13px; padding: 12px 14px; color: var(--gm-text); backdrop-filter: blur(6px); }
.gm-rstat__label { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gm-faint); }
.gm-rstat__value { font-family: var(--gm-display); font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.gm-rstat__value--ok { color: var(--gm-teal); }
.gm-rstat small { color: var(--gm-muted); font-size: 11.5px; font-weight: 600; }
.gm-rstat--lock { border-color: rgba(255, 201, 77, .4); background: linear-gradient(135deg, rgba(255, 201, 77, .12), rgba(11, 16, 29, .85)); }
.gm-rstat--lock .gm-rstat__value, .gm-rstat--lock .gm-rstat__label { color: var(--gm-gold); }
.gm-rstat--link:hover, .gm-rstat--lock:hover { border-color: var(--gm-line-3); }
.gm-rstat--guest { gap: 9px; }
.gm-rstat__login { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--gm-muted); }
.gm-rstat__login:hover { color: var(--gm-text); }

.gm-empty-offers { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 42px 20px; border: 1px dashed var(--gm-line-3); border-radius: 18px; }
.gm-empty-offers h2 { font-family: var(--gm-display); font-size: 20px; margin: 4px 0 0; }
.gm-empty-offers p { color: var(--gm-muted); max-width: 420px; margin: 0 0 6px; }

.gm-dailygrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.gm-dailygrid--single { grid-template-columns: minmax(0, 1fr); }

.gm-spin { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px; border-radius: 18px; border: 1px solid rgba(124, 92, 255, .3);
  background: radial-gradient(420px 260px at 20% 50%, rgba(124, 92, 255, .18), transparent 70%), var(--gm-surface); }
.gm-spin__wheel-wrap { display: flex; justify-content: center; }
.gm-spin__wheel { position: relative; width: 236px; height: 244px; }
.gm-spin__pointer { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 18px solid #fff; z-index: 3; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55)); }
.gm-spin__disc { position: absolute; top: 10px; left: 2px; width: 232px; height: 232px; border-radius: 50%; border: 5px solid #1B2540; box-shadow: 0 0 0 2px rgba(255, 255, 255, .06), 0 16px 40px rgba(0, 0, 0, .5), inset 0 0 30px rgba(0, 0, 0, .25);
  transform: rotate(0deg); transition: transform 3.4s cubic-bezier(.16, .8, .14, 1); overflow: hidden; }
.gm-spin__label { position: absolute; left: 50%; top: 0; width: 0; height: 50%; transform-origin: bottom center; pointer-events: none; }
.gm-spin__label b { position: absolute; top: 14px; left: 0; transform: translateX(-50%); font-family: var(--gm-display); font-size: 11.5px; font-weight: 800; color: #0A0F1C; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); white-space: nowrap; }
.gm-spin__hub { position: absolute; top: 102px; left: 94px; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #22304F, #0B101D); border: 3px solid var(--gm-gold); display: flex; align-items: center; justify-content: center; font-family: var(--gm-display); font-weight: 800; font-size: 17px; color: var(--gm-gold); z-index: 2; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.gm-spin__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gm-spin__title { font-family: var(--gm-display); font-size: 22px; font-weight: 800; margin: 0; }
.gm-spin__text { color: var(--gm-muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.gm-spin__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.gm-spin__facts li { display: flex; align-items: center; gap: 7px; color: var(--gm-text-2); font-size: 12.5px; font-weight: 600; }
.gm-spin__facts svg { color: var(--gm-gold); flex: none; }
.gm-spin__result { background: rgba(168, 247, 59, .12); border: 1px solid rgba(168, 247, 59, .38); color: var(--gm-lime-2); font-size: 13px; font-weight: 800; border-radius: 10px; padding: 9px 12px; }
.gm-spin .gm-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; white-space: normal; line-height: 1.35; }

.gm-race { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; border: 1px solid rgba(56, 189, 248, .28);
  background: radial-gradient(380px 200px at 100% 0%, rgba(56, 189, 248, .14), transparent 70%), var(--gm-surface); min-width: 0; }
.gm-race__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.gm-race__title { font-family: var(--gm-display); font-size: 19px; font-weight: 800; margin: 4px 0 0; }
.gm-race__pool { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 1px; }
.gm-race__pool span { font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gm-faint); }
.gm-race__pool b { font-family: var(--gm-display); font-size: 20px; color: #7DD3FC; font-variant-numeric: tabular-nums; }
.gm-race__pool small { display: inline-flex; align-items: center; gap: 4px; color: var(--gm-muted); font-size: 11.5px; font-weight: 600; }
.gm-race__board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.gm-race__row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 78px; gap: 10px; align-items: center; background: var(--gm-surface-2); border: 1px solid transparent; border-radius: 10px; padding: 8px 11px; font-size: 13px; font-variant-numeric: tabular-nums; }
.gm-race__row.is-me { border-color: rgba(168, 247, 59, .45); background: rgba(168, 247, 59, .07); }
.gm-race__row.is-open { opacity: .55; }
.gm-race__rank { font-family: var(--gm-display); font-weight: 800; color: var(--gm-muted); }
.gm-race__rank--1 { color: var(--gm-gold); } .gm-race__rank--2 { color: #C6D0E0; } .gm-race__rank--3 { color: #D9B98C; }
.gm-race__player { font-weight: 700; color: var(--gm-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-race__wager { color: var(--gm-muted); font-weight: 600; }
.gm-race__prize { text-align: right; color: var(--gm-lime-2); font-weight: 800; }
.gm-race__foot { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--gm-muted); font-size: 12px; font-weight: 600; }
.gm-race__last { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: var(--gm-faint); font-weight: 700; }
.gm-race__chip { background: rgba(140, 160, 200, .1); border-radius: 999px; padding: 3px 9px; color: var(--gm-text-2); }

.gm-jpot { --img: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; padding: 26px clamp(18px, 3vw, 34px); border-radius: 20px; border: 1px solid rgba(255, 201, 77, .35);
  background: radial-gradient(700px 260px at 30% -20%, rgba(255, 201, 77, .2), transparent 60%), linear-gradient(90deg, rgba(10, 13, 22, .95) 45%, rgba(10, 13, 22, .82)), var(--img) center / cover no-repeat #0A0D16; scroll-margin-top: 80px; }
.gm-jpot__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gm-jpot__name { font-family: var(--gm-display); font-size: 18px; font-weight: 800; margin: 0; }
.gm-jpot__amount { font-family: var(--gm-display); font-weight: 800; font-size: clamp(32px, 5vw, 54px); color: var(--gm-gold); line-height: 1; animation: gmGold 2.6s ease-in-out infinite; font-variant-numeric: tabular-nums; }
.gm-jpot__meter { height: 10px; border-radius: 999px; background: rgba(255, 201, 77, .12); overflow: hidden; margin-top: 4px; }
.gm-jpot__meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #FFDD8A, #FF9345); box-shadow: 0 0 14px rgba(255, 201, 77, .55); }
.gm-jpot__scale { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 700; color: var(--gm-faint); }
.gm-jpot__facts { margin: 4px 0 6px; padding-left: 18px; color: var(--gm-text-2); font-size: 13px; line-height: 1.7; }
.gm-jpot__main .gm-btn { align-self: flex-start; }
.gm-jpot__wins { background: rgba(11, 16, 29, .7); border: 1px solid var(--gm-line-2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; align-self: start; }
.gm-jpot__wins-title { font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gm-faint); }
.gm-jpot__win { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.gm-jpot__who { display: flex; flex-direction: column; font-weight: 700; font-size: 13px; }
.gm-jpot__who small { color: var(--gm-faint); font-weight: 600; font-size: 11px; }
.gm-jpot__win b { color: var(--gm-gold); font-variant-numeric: tabular-nums; }
.gm-jpot__none { color: var(--gm-muted); font-size: 13px; margin: 0; }

.gm-ocards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gm-ocard { --c: 168, 247, 59; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--gm-line-2); background: var(--gm-surface); transition: transform .25s, border-color .25s, box-shadow .25s; scroll-margin-top: 80px; }
.gm-ocard:hover { transform: translateY(-4px); border-color: rgba(var(--c), .45); box-shadow: 0 16px 40px rgba(var(--c), .12); }
.gm-ocard__head { position: relative; min-height: 128px; padding: 44px 20px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  background: radial-gradient(320px 170px at 20% 0%, rgba(var(--c), .38), transparent 70%), linear-gradient(160deg, rgba(var(--c), .12), transparent 70%), var(--gm-bg-2); }
.gm-ocard__badge { position: absolute; top: 12px; right: 12px; background: rgba(var(--c), .16); border: 1px solid rgba(var(--c), .38); color: rgb(var(--c)); font-size: 9.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.gm-ocard__big { font-family: var(--gm-display); font-weight: 800; font-size: 32px; line-height: 1.05; color: rgb(var(--c)); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gm-ocard__big--sm { font-size: 24px; }
.gm-ocard__sub { color: var(--gm-text-2); font-size: 12.5px; font-weight: 700; }
.gm-ocard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; }
.gm-ocard__title { font-family: var(--gm-display); font-size: 16px; font-weight: 700; margin: 0; }
.gm-ocard__summary { color: var(--gm-muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.gm-ocard__steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gm-ocard__steps li { counter-increment: step; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; color: var(--gm-text-2); font-size: 12.5px; line-height: 1.45; }
.gm-ocard__steps li::before { content: counter(step); width: 20px; height: 20px; border-radius: 50%; background: rgba(var(--c), .16); color: rgb(var(--c)); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.gm-ocard__rule { display: flex; align-items: center; gap: 6px; color: var(--gm-text-2); font-size: 12px; font-weight: 700; background: rgba(140, 160, 200, .08); border-radius: 8px; padding: 7px 10px; }
.gm-ocard__rule svg { color: rgb(var(--c)); flex: none; }
.gm-ocard__terms { font-size: 12px; color: var(--gm-muted); }
.gm-ocard__terms summary { cursor: pointer; font-weight: 700; color: var(--gm-faint); list-style: none; }
.gm-ocard__terms summary::-webkit-details-marker { display: none; }
.gm-ocard__terms summary::after { content: " +"; }
.gm-ocard__terms[open] summary::after { content: " –"; }
.gm-ocard__terms p { margin: 6px 0 0; line-height: 1.55; }
.gm-ocard__actions { margin-top: auto; padding-top: 4px; }
.gm-btn.is-static { cursor: default; opacity: .7; }

.gm-vipclub { --img: none; display: flex; flex-direction: column; gap: 20px; padding: 28px clamp(16px, 3.4vw, 38px); border-radius: 20px; border: 1px solid rgba(255, 201, 77, .26); scroll-margin-top: 80px;
  background: radial-gradient(900px 340px at 50% -30%, rgba(255, 201, 77, .14), transparent 60%), linear-gradient(rgba(8, 11, 20, .9), rgba(8, 11, 20, .95)), var(--img) center / cover no-repeat var(--gm-bg-2); }
.gm-vipclub__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gm-vipclub__title { font-family: var(--gm-display); font-weight: 800; font-size: clamp(22px, 3vw, 32px); margin: 0; }
.gm-vipclub__title span { background: linear-gradient(90deg, var(--gm-gold), var(--gm-orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gm-vipclub__text { color: var(--gm-muted); font-size: 14px; line-height: 1.6; margin: 0; max-width: 620px; }
.gm-vtiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 11px; }
.gm-vtier { --c: #B08D57; --c2: #7A5C33; --t: #D9B98C; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c) 42%, transparent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 16%, transparent), transparent 55%), #0D1220; }
.gm-vtier.is-current { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 14px 38px color-mix(in srgb, var(--c) 20%, transparent); }
.gm-vtier__top { display: flex; justify-content: space-between; align-items: center; }
.gm-vtier__badge { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--c), var(--c2)); display: flex; align-items: center; justify-content: center; font-family: var(--gm-display); font-weight: 800; color: #0A0F1B; }
.gm-vtier__tag { font-size: 9.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--t); }
.gm-vtier__tag--you { background: var(--c); color: #0A0F1B; }
.gm-vtier__name { font-family: var(--gm-display); font-weight: 700; font-size: 16px; color: var(--t); }
.gm-vtier__req { color: var(--gm-faint); font-size: 11.5px; font-weight: 700; }
.gm-vtier__stats { margin: 2px 0 0; display: flex; flex-direction: column; gap: 4px; }
.gm-vtier__stats div { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; border-bottom: 1px dashed rgba(140, 160, 200, .14); padding-bottom: 4px; }
.gm-vtier__stats dt { color: var(--gm-muted); font-weight: 600; }
.gm-vtier__stats dd { margin: 0; font-weight: 800; color: var(--gm-text); font-variant-numeric: tabular-nums; }
.gm-vtier__perks { margin: 2px 0 0; padding-left: 16px; color: var(--gm-muted); font-size: 12px; line-height: 1.6; }
.gm-vipclub__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
.gm-vipclub__me { display: flex; flex-direction: column; gap: 6px; min-width: min(360px, 100%); font-size: 13px; font-weight: 700; color: var(--gm-text-2); }
.gm-vipclub__me small { color: var(--gm-faint); font-weight: 600; }
.gm-vipclub__terms { align-self: center; max-width: 620px; text-align: center; }

/* Sidebar and account additions */
.gm-quick__tile--wide { grid-column: span 2; }
.gm-nav__count--warn { color: var(--gm-gold); background: rgba(255, 201, 77, .12); padding: 1px 7px; border-radius: 999px; font-size: 10px; letter-spacing: .4px; }
.gm-dashnav__lock { display: flex; align-items: center; gap: 6px; margin: -4px 0 10px; padding: 7px 9px; border-radius: 9px; background: rgba(255, 201, 77, .1); border: 1px solid rgba(255, 201, 77, .3); color: var(--gm-gold); font-size: 11.5px; font-weight: 700; line-height: 1.35; }
.gm-dashnav__lock:hover { background: rgba(255, 201, 77, .16); color: var(--gm-gold-2); }
.gm-promo-bar__set a { color: inherit; }
.gm-promo-bar__set a:hover { color: var(--gm-lime); }

/* My Rewards */
.gm-rw { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gm-rw__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.gm-rw__head h1 { font-family: var(--gm-display); font-size: 24px; font-weight: 800; margin: 0; }
.gm-rw__head p { margin: 4px 0 0; color: var(--gm-muted); font-size: 13.5px; }
.gm-rw__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.gm-rw__stat { background: var(--gm-surface); border: 1px solid var(--gm-line-2); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.gm-rw__stat span { font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gm-faint); }
.gm-rw__stat b { font-family: var(--gm-display); font-size: 20px; font-variant-numeric: tabular-nums; }
.gm-rw__stat small { color: var(--gm-muted); font-size: 12px; font-weight: 600; }
.gm-rw__stat--lock { border-color: rgba(255, 201, 77, .4); background: linear-gradient(135deg, rgba(255, 201, 77, .1), var(--gm-surface)); }
.gm-rw__stat--lock b { color: var(--gm-gold); }
.gm-rw__stat--ok b { color: var(--gm-teal); }
.gm-rw__panel { background: var(--gm-surface); border: 1px solid var(--gm-line-2); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.gm-rw__panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.gm-rw__panel-head h2 { font-family: var(--gm-display); font-size: 16px; font-weight: 700; margin: 0; }
.gm-rw__bonus { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 14px; border-radius: 12px; background: var(--gm-surface-2); border: 1px solid var(--gm-line); }
.gm-rw__bonus-name { font-weight: 800; }
.gm-rw__bonus-meta { color: var(--gm-muted); font-size: 12px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.gm-rw__bonus .gm-meter { grid-column: 1 / -1; }
.gm-rw__bonus-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--gm-text-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.gm-rw__amount { font-family: var(--gm-display); font-weight: 800; color: var(--gm-gold); font-size: 18px; text-align: right; }
.gm-rw__note { color: var(--gm-muted); font-size: 12.5px; line-height: 1.55; margin: 0; }
.gm-rw__vip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.gm-rw__vip-badge { --c: #B08D57; --c2: #7A5C33; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--c), var(--c2)); display: flex; align-items: center; justify-content: center; font-family: var(--gm-display); font-weight: 800; font-size: 20px; color: #0A0F1B; }
.gm-rw__vip-info { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--gm-text-2); font-weight: 600; }
.gm-rw__vip-info b { font-family: var(--gm-display); font-size: 17px; }
.gm-rw__vip-info small { color: var(--gm-faint); }
.gm-rw__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.gm-rw__filters a { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--gm-line-2); color: var(--gm-muted); }
.gm-rw__filters a.is-active, .gm-rw__filters a:hover { color: var(--gm-bg); background: var(--gm-lime); border-color: var(--gm-lime); }
.gm-status { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; white-space: nowrap; background: rgba(140, 160, 200, .14); color: var(--gm-muted); }
.gm-status--active { background: rgba(255, 201, 77, .14); color: var(--gm-gold); }
.gm-status--completed, .gm-status--credited { background: rgba(45, 226, 197, .14); color: var(--gm-teal); }
.gm-status--void { background: rgba(255, 77, 79, .14); color: #FF8A8C; }
.gm-rw__empty { text-align: center; color: var(--gm-muted); padding: 22px 10px; font-size: 13.5px; }
.gm-rw__empty a { color: var(--gm-lime); font-weight: 700; }

@media (max-width: 980px) {
  .gm-rhero { grid-template-columns: minmax(0, 1fr); }
  .gm-rhero__status { flex-direction: row; flex-wrap: wrap; }
  .gm-rhero__status .gm-rstat { flex: 1 1 200px; }
  .gm-dailygrid, .gm-jpot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .gm-jackpot__side { margin-left: 0; }
  .gm-spin { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .gm-race__row { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .gm-race__wager { display: none; }
  .gm-ocard__big { font-size: 28px; }
  .gm-rw__bonus { grid-template-columns: minmax(0, 1fr); }
  .gm-rw__amount { text-align: left; }
}

/* --------------------------------------------------------------------------
   Marquees: big wins + providers
   -------------------------------------------------------------------------- */
.gm-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.gm-marquee__run { display: flex; gap: 12px; width: max-content; animation: gmMarq 42s linear infinite; }
.gm-marquee:hover .gm-marquee__run { animation-play-state: paused; }
.gm-win-card { flex: none; width: 128px; color: var(--gm-text); display: block; transition: transform .25s; }
.gm-win-card:hover { transform: translateY(-4px); color: var(--gm-text); }
.gm-win-card__art { display: block; position: relative; width: 128px; height: 128px; border-radius: 13px; overflow: hidden; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); }
.gm-win-card__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-win-card__mult { position: absolute; top: 7px; right: 7px; background: rgba(6, 8, 15, .72); border-radius: 7px; padding: 2px 7px; font-size: 10px; font-weight: 800; color: var(--gm-gold); }
.gm-win-card__title { display: block; font-size: 12px; font-weight: 700; margin-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-win-card__meta { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; font-weight: 600; color: var(--gm-faint); margin-top: 2px; }
.gm-win-card__meta b { color: var(--gm-lime); font-weight: 800; font-size: 12px; white-space: nowrap; }

.gm-providers { overflow: hidden; }
.gm-providers--marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.gm-providers { display: flex; flex-direction: column; gap: 10px; }
.gm-providers__run { display: flex; gap: 10px; flex-wrap: wrap; }
.gm-providers--marquee .gm-providers__run { flex-wrap: nowrap; width: max-content; animation: gmMarq 46s linear infinite; }
.gm-providers--marquee .gm-providers__run--rev { animation: gmMarqR 52s linear infinite; }
.gm-providers--marquee:hover .gm-providers__run { animation-play-state: paused; }
.gm-provider {
  flex: none; display: flex; align-items: center; justify-content: center; width: 158px; height: 64px; border-radius: 12px; padding: 12px 18px;
  background: var(--gm-tile); border: 1px solid var(--gm-line); transition: transform .2s, border-color .2s;
}
.gm-provider:hover { transform: scale(1.04); border-color: rgba(168, 247, 59, .4); }
.gm-provider__logo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; transition: opacity .3s, filter .3s; }
.gm-provider:hover .gm-provider__logo { opacity: 1; filter: none; }
.gm-provider__logo--boxed { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #fff; padding: 4px 8px; }
.gm-provider__word { font-family: var(--gm-display); font-weight: 700; font-size: 12.5px; color: var(--gm-text-2); text-align: center; line-height: 1.15; }

/* --------------------------------------------------------------------------
   Banner, CTA
   -------------------------------------------------------------------------- */
.gm-banner {
  position: relative; overflow: hidden; border-radius: 20px; padding: 26px clamp(20px, 3.5vw, 38px); display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: radial-gradient(520px 300px at 18% -10%, rgba(168, 247, 59, .22), transparent 62%), linear-gradient(120deg, #5B36F5, #2A1568);
}
.gm-banner__body { position: relative; z-index: 2; min-width: 230px; }
.gm-banner__title { font-family: var(--gm-display); font-weight: 800; font-size: clamp(20px, 3vw, 29px); line-height: 1.12; margin: 0 0 16px; color: #fff; text-transform: uppercase; text-shadow: 0 3px 16px rgba(0, 0, 0, .3); }
.gm-banner__coin { width: 96px; height: 96px; border-radius: 50%; background: var(--gm-teal); color: #0E3F3A; font-family: var(--gm-display); font-weight: 800; font-size: 40px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(45, 226, 197, .18); flex: none; }
.gm-banner__points { position: relative; z-index: 2; margin-left: auto; display: grid; gap: 9px; }
.gm-banner__points span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #fff; }
.gm-banner__points span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gm-lime); flex: none; }

.gm-cta {
  border-radius: 20px; background: linear-gradient(120deg, var(--gm-lime), var(--gm-teal)); position: relative; overflow: hidden;
  padding: 30px clamp(22px, 4vw, 44px); display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.gm-cta::before, .gm-cta::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(7, 18, 10, .14); }
.gm-cta::before { width: 280px; height: 280px; right: -70px; top: -110px; }
.gm-cta::after { width: 180px; height: 180px; right: 60px; bottom: -90px; }
.gm-cta__title { font-family: var(--gm-display); font-weight: 800; font-size: clamp(20px, 3vw, 30px); color: #07120A; margin: 0; }
.gm-cta__text { color: rgba(7, 18, 10, .75); font-weight: 600; font-size: 14.5px; margin: 8px 0 0; max-width: 480px; }
.gm-cta .gm-btn { position: relative; margin-left: auto; }

/* --------------------------------------------------------------------------
   Tabs + table (live bets)
   -------------------------------------------------------------------------- */
.gm-tabs { display: flex; gap: 4px; background: var(--gm-surface); border: 1px solid var(--gm-line-2); border-radius: 12px; padding: 4px; }
.gm-tabs__btn { cursor: pointer; border: 0; border-radius: 9px; padding: 7px 14px; font-weight: 800; font-size: 12.5px; background: transparent; color: var(--gm-muted); transition: all .2s; white-space: nowrap; }
.gm-tabs__btn.is-active { background: linear-gradient(135deg, var(--gm-lime), var(--gm-teal)); color: #07120A; }

.gm-table-wrap { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; overflow: hidden; overflow-x: auto; }
.gm-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--gm-text); margin: 0; }
.gm-table th { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--gm-line); font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--gm-faint); text-transform: uppercase; white-space: nowrap; }
.gm-table td { padding: 10px 16px; border-bottom: 1px solid rgba(140, 160, 200, .06); vertical-align: middle; }
.gm-table tr:last-child td { border-bottom: 0; }
.gm-table .gm-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.gm-table__game { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 700; }
.gm-table__game img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex: none; background: var(--gm-surface-2); }
.gm-table__game span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.gm-table__player { display: flex; align-items: center; gap: 8px; color: var(--gm-text-2); font-weight: 600; white-space: nowrap; }
.gm-avatar { width: 22px; height: 22px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--gm-lime), var(--gm-teal)); display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 800; color: #07120A; }
.gm-mult { background: rgba(124, 92, 255, .16); color: var(--gm-violet-2); font-weight: 800; font-size: 11.5px; border-radius: 7px; padding: 3px 9px; }
.gm-win { color: var(--gm-lime); font-weight: 800; }
.gm-loss { color: var(--gm-faint); }
.gm-table__empty td { text-align: center; padding: 30px 16px; color: var(--gm-faint); font-weight: 600; }

/* --------------------------------------------------------------------------
   Games page
   -------------------------------------------------------------------------- */
.gm-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gm-page-title { font-family: var(--gm-display); font-weight: 800; font-size: clamp(20px, 3vw, 28px); margin: 0; }
.gm-page-sub { margin: 4px 0 0; color: var(--gm-faint); font-weight: 700; font-size: 12.5px; }
.gm-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0; }
.gm-search--inline { flex: 1 1 220px; max-width: 320px; }
.gm-select {
  background: var(--gm-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C89A6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;
  border: 1px solid var(--gm-line-2); border-radius: 11px; padding: 9px 30px 9px 12px; color: var(--gm-text-2); font-size: 13px; font-weight: 700; font-family: inherit; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; max-width: 220px;
}
.gm-select:focus { border-color: rgba(168, 247, 59, .55); }
.gm-cattabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.gm-cattabs__item {
  --c: #A8F73B; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; border: 1px solid var(--gm-line-2);
  background: var(--gm-surface-2); color: var(--gm-text-2); font-weight: 700; font-size: 13px; white-space: nowrap; transition: all .2s;
}
.gm-cattabs__item svg { color: var(--c); }
.gm-cattabs__item span { font-size: 11px; color: var(--gm-faint); font-weight: 700; }
.gm-cattabs__item:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); color: var(--gm-text); }
.gm-cattabs__item.is-active { background: color-mix(in srgb, var(--c) 16%, var(--gm-surface-2)); border-color: color-mix(in srgb, var(--c) 60%, transparent); color: var(--gm-text); }
.gm-cattabs__item.is-active span { color: var(--c); }
.gm-empty { text-align: center; padding: 60px 20px; color: var(--gm-faint); font-weight: 600; background: var(--gm-surface); border: 1px dashed var(--gm-line-3); border-radius: 16px; }
.gm-empty h3 { font-family: var(--gm-display); color: var(--gm-text); font-size: 18px; margin: 0 0 8px; }

.gm-pagination .pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 0; margin: 0; list-style: none; }
.gm-pagination .page-link { background: var(--gm-surface-2); border: 1px solid var(--gm-line-2); color: var(--gm-text-2); border-radius: 9px; padding: 7px 12px; font-weight: 700; font-size: 13px; box-shadow: none; }
.gm-pagination .page-link:hover { color: var(--gm-lime-2); border-color: var(--gm-lime); background: var(--gm-surface-2); }
.gm-pagination .page-item.active .page-link { background: linear-gradient(135deg, var(--gm-lime), var(--gm-teal)); color: #07120A; border-color: transparent; }
.gm-pagination .page-item.disabled .page-link { opacity: .4; }
.gm-pagination .page-item:first-child .page-link, .gm-pagination .page-item:last-child .page-link { border-radius: 9px; }

.gm-iframe-wrap { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--gm-line-2); background: #000; min-height: 70vh; }
.gm-iframe-wrap iframe { width: 100%; height: 78vh; border: 0; display: block; }
.gm-iframe-wrap__guard { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding: 24px; background: linear-gradient(transparent 60%, rgba(6, 8, 15, .9)); }

/* --------------------------------------------------------------------------
   Forms + auth pages
   -------------------------------------------------------------------------- */
.gm-form { display: flex; flex-direction: column; gap: 14px; }
.gm-field { display: block; }
.gm-field__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--gm-muted); margin-bottom: 6px; }
.gm-input, .gm-body .gm-form .form-control {
  width: 100%; background: var(--gm-surface-2); border: 1px solid var(--gm-line-2); border-radius: 11px; padding: 11px 13px;
  color: var(--gm-text); font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s; box-shadow: none;
}
.gm-input:focus, .gm-body .gm-form .form-control:focus { border-color: rgba(168, 247, 59, .55); background: var(--gm-surface-2); color: var(--gm-text); }
.gm-input-wrap { position: relative; display: block; }
.gm-input-wrap .gm-input { padding-right: 44px; }
.gm-input-wrap--prefix .gm-input { padding-left: 64px; }
.gm-input-prefix { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gm-muted); font-weight: 700; font-size: 13px; pointer-events: none; }
.gm-input-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--gm-faint); cursor: pointer; padding: 6px; display: inline-flex; }
.gm-input-eye:hover { color: var(--gm-text); }
.gm-form__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gm-check { display: inline-flex; align-items: center; gap: 8px; color: var(--gm-text-2); font-weight: 600; font-size: 13px; cursor: pointer; }
.gm-check input { width: 16px; height: 16px; accent-color: var(--gm-lime); }
.gm-link { font-weight: 700; font-size: 13px; }
.gm-form__error { color: #FF7875; font-size: 12px; font-weight: 600; margin-top: 4px; min-height: 0; }
.gm-form__hint { color: var(--gm-faint); font-size: 12px; margin-top: 4px; }

  --img: none; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px clamp(24px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(6, 8, 15, .55), rgba(6, 8, 15, .92)), var(--img) center / cover no-repeat #0A0F1B;
}

/* --------------------------------------------------------------------------
   Language select (header)
   -------------------------------------------------------------------------- */
.gm-lang { position: relative; display: flex; align-items: center; }
.gm-lang__icon { position: absolute; left: 10px; pointer-events: none; color: #5D6A88; display: inline-flex; }
.gm-lang__select {
  background: #0E1526; border: 1px solid rgba(140, 160, 200, .14); border-radius: 11px; padding: 8px 26px 8px 30px; color: #B9C3DA;
  font-size: 12.5px; font-weight: 700; font-family: inherit; outline: none; cursor: pointer; appearance: none; -webkit-appearance: none;
}
.gm-lang__chev { position: absolute; right: 9px; pointer-events: none; color: #5D6A88; display: inline-flex; }

/* --------------------------------------------------------------------------
   Auth pages (mirrors Gmgaming Auth.dc.html)
   -------------------------------------------------------------------------- */
.gm-auth { min-height: 100vh; background: var(--gm-bg); display: flex; flex-wrap: wrap; }
.gm-auth__brand {
  --img: none; flex: 1 1 380px; min-height: 38vh; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px clamp(20px, 4vw, 50px);
  background: radial-gradient(800px 500px at 20% 10%, rgba(168, 247, 59, .16), transparent 60%), radial-gradient(700px 500px at 90% 90%, rgba(124, 92, 255, .18), transparent 60%),
    linear-gradient(rgba(8, 12, 22, .92), rgba(8, 12, 22, .84)), var(--img) center / cover no-repeat #080C16;
}
.gm-auth__orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.gm-auth__orb--a { width: 340px; height: 340px; background: rgba(168, 247, 59, .1); top: -100px; left: -80px; animation: gmOrb 10s ease-in-out infinite; }
.gm-auth__orb--b { width: 300px; height: 300px; background: rgba(124, 92, 255, .12); bottom: -120px; right: -60px; animation: gmOrb2 12s ease-in-out infinite; }
.gm-auth__logo { position: relative; display: flex; align-items: center; gap: 10px; width: max-content; }
.gm-auth__logo img { height: 38px; width: auto; max-width: 180px; object-fit: contain; }
.gm-auth__hero { position: relative; margin: auto 0; padding: 30px 0; }
.gm-auth__headline { font-family: var(--gm-display); font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.12; margin: 0; color: #fff; }
.gm-auth__headline span { display: block; background: linear-gradient(90deg, #A8F73B, #7C5CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gm-auth__tagline { color: #93A0BC; font-size: 14.5px; line-height: 1.6; margin: 14px 0 0; max-width: 400px; }
.gm-auth__stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.gm-auth__stat { background: rgba(14, 21, 38, .8); border: 1px solid rgba(140, 160, 200, .14); border-radius: 12px; padding: 10px 15px; }
.gm-auth__stat b { display: block; font-family: var(--gm-display); font-weight: 700; font-size: 16px; color: var(--c, #C6FF6B); }
.gm-auth__stat span { display: block; font-size: 11px; color: #5D6A88; font-weight: 700; letter-spacing: 1px; margin-top: 2px; text-transform: uppercase; }
.gm-auth__coins { position: absolute; right: clamp(14px, 5vw, 60px); top: 20%; pointer-events: none; }
.gm-auth__coin {
  width: 86px; height: 86px; border-radius: 22px; background: linear-gradient(145deg, #182238, #0C1322); border: 1px solid rgba(168, 247, 59, .35);
  display: flex; align-items: center; justify-content: center; font-family: var(--gm-display); font-weight: 800; font-size: 26px; color: #C6FF6B;
  animation: gmFloat 6s ease-in-out infinite; box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.gm-auth__coin--sm { width: 60px; height: 60px; border-radius: 16px; border-color: rgba(255, 201, 77, .4); font-size: 19px; color: #FFC94D; animation: gmFloat 7.5s ease-in-out infinite .8s; margin: -20px 0 0 -34px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.gm-auth__foot { position: relative; display: flex; align-items: center; gap: 8px; color: #5D6A88; font-size: 11px; font-weight: 600; }
.gm-auth__foot .gm-age { border-color: #5D6A88; color: #5D6A88; }
.gm-auth__foot a { color: #93A0BC; }
.gm-auth__side { flex: 1 1 420px; display: flex; align-items: center; justify-content: center; padding: 34px clamp(16px, 4vw, 50px); }
.gm-auth__card { width: 100%; max-width: 430px; background: #0A0F1B; border: 1px solid rgba(140, 160, 200, .13); border-radius: 22px; padding: 26px clamp(18px, 3vw, 32px) 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.gm-auth__tabs { display: flex; background: #0E1526; border: 1px solid rgba(140, 160, 200, .12); border-radius: 13px; padding: 4px; gap: 4px; }
.gm-auth__tab { flex: 1; text-align: center; border-radius: 10px; padding: 10px; font-weight: 800; font-size: 13.5px; color: #93A0BC; transition: all .2s; }
.gm-auth__tab:hover { color: #EAF0FA; }
.gm-auth__tab.is-active { background: linear-gradient(135deg, #A8F73B, #2DE2C5); color: #07120A; }
.gm-auth__form { display: flex; flex-direction: column; gap: 13px; margin-top: 20px; }
.gm-auth__banner { text-align: center; background: linear-gradient(145deg, rgba(168, 247, 59, .13), rgba(45, 226, 197, .08)); border: 1px solid rgba(168, 247, 59, .3); border-radius: 12px; padding: 10px 14px; font-size: 12.5px; color: #C6FF6B; font-weight: 700; }
.gm-auth__field { display: block; }
.gm-auth__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #93A0BC; margin-bottom: 6px; text-transform: uppercase; }
.gm-auth__label small { color: #5D6A88; font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 12px; }
.gm-auth__label--row { display: flex; justify-content: space-between; align-items: center; }
.gm-auth__label--row a { font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.gm-auth__input { width: 100%; background: #0E1526; border: 1px solid rgba(140, 160, 200, .16); border-radius: 11px; padding: 11px 13px; color: #EAF0FA; font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s; }
.gm-auth__input:focus { border-color: rgba(168, 247, 59, .5); }
select.gm-auth__input { appearance: none; -webkit-appearance: none; cursor: pointer; }
.gm-auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gm-auth__pw { display: flex; align-items: center; position: relative; }
.gm-auth__pw .gm-auth__input { padding-right: 64px; }
.gm-auth__pwtoggle { position: absolute; right: 6px; cursor: pointer; background: transparent; border: 0; color: #5D6A88; font-size: 11px; font-weight: 800; font-family: inherit; padding: 6px; letter-spacing: .5px; }
.gm-auth__pwtoggle:hover { color: #EAF0FA; }
.gm-auth__prefix { position: absolute; left: 12px; color: #93A0BC; font-weight: 700; font-size: 13px; pointer-events: none; }
.gm-auth__pw--prefix .gm-auth__input { padding-left: 64px; padding-right: 13px; }
.gm-auth__chips { display: flex; gap: 7px; }
.gm-auth__chip { flex: 1; cursor: pointer; font-family: inherit; border: 1px solid rgba(140, 160, 200, .16); background: #0E1526; color: #93A0BC; border-radius: 10px; padding: 9px 4px; font-weight: 800; font-size: 12.5px; transition: all .2s; text-align: center; }
.gm-auth__chip.is-active { background: rgba(168, 247, 59, .14); border-color: rgba(168, 247, 59, .5); color: #C6FF6B; }
.gm-auth__agree { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: #93A0BC; font-size: 12.5px; line-height: 1.5; }
.gm-auth__agree input { margin-top: 2px; accent-color: #A8F73B; width: 16px; height: 16px; flex: none; }
.gm-auth__submit { cursor: pointer; font-family: inherit; border: 0; width: 100%; background: linear-gradient(135deg, #A8F73B, #2DE2C5); color: #07120A; font-weight: 800; font-size: 15px; padding: 14px; border-radius: 12px; box-shadow: 0 8px 26px rgba(168, 247, 59, .3); transition: all .2s; }
.gm-auth__submit:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(168, 247, 59, .45); }
.gm-auth__note { text-align: center; color: #5D6A88; font-size: 12px; font-weight: 600; }
.gm-auth__error { color: #FF7875; font-size: 12px; font-weight: 600; min-height: 0; }
.gm-auth__error:empty { display: none; }
.gm-auth__hint { color: #5D6A88; font-size: 12px; margin-top: 4px; }
.gm-auth__or { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: #5D6A88; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.gm-auth__or::before, .gm-auth__or::after { content: ""; flex: 1; height: 1px; background: rgba(140, 160, 200, .14); }
.gm-auth__social { display: flex; gap: 9px; }
.gm-auth__socialbtn { flex: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; background: #0E1526; border: 1px solid rgba(140, 160, 200, .16); border-radius: 11px; padding: 11px; color: #EAF0FA; font-weight: 700; font-size: 13px; transition: all .2s; }
.gm-auth__socialbtn:hover { border-color: rgba(168, 247, 59, .4); color: #EAF0FA; }
.gm-auth__closed { text-align: center; padding: 26px 10px 6px; color: #93A0BC; font-weight: 600; }
.gm-auth .gm-empty { margin-top: 20px; }
@media (max-width: 640px) {
  .gm-auth__coins { display: none; }
  .gm-auth__brand { min-height: 0; padding-bottom: 22px; }
  .gm-auth__hero { padding: 22px 0 18px; }
  .gm-auth__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Account shell
   -------------------------------------------------------------------------- */
.gm-content--account { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 22px; align-items: start; }
.gm-dashnav { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; padding: 12px; position: sticky; top: 76px; }
.gm-dashnav__balance { padding: 10px 12px 14px; border-bottom: 1px solid var(--gm-line); margin-bottom: 8px; }
.gm-dashnav__label { font-size: 10.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gm-faint); }
.gm-dashnav__amount { font-family: var(--gm-display); font-weight: 800; font-size: 22px; color: var(--gm-lime); margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.gm-dashnav__actions { display: flex; gap: 6px; }
.gm-dashnav__actions .gm-btn { flex: 1; padding: 8px 10px; font-size: 12px; }
.gm-dashnav__list { display: flex; flex-direction: column; gap: 2px; }
.gm-dashnav__link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--gm-muted); font-weight: 600; font-size: 13.5px; }
.gm-dashnav__link:hover { background: rgba(140, 160, 200, .08); color: var(--gm-text); }
.gm-dashnav__link.is-active { background: rgba(168, 247, 59, .12); color: var(--gm-lime-2); font-weight: 700; }
.gm-dashnav__link--logout { color: #FF7875; margin-top: 6px; }
.gm-account { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.gm-usertabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.gm-usertabs__item { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 11px; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); color: var(--gm-text-2); font-weight: 700; font-size: 13px; white-space: nowrap; }
.gm-usertabs__item:hover { border-color: var(--gm-line-3); color: var(--gm-text); }
.gm-usertabs__item.is-active { background: rgba(168, 247, 59, .12); border-color: rgba(168, 247, 59, .35); color: var(--gm-lime-2); }
.gm-usertabs__item i { font-size: 16px; }

.gm-breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--gm-faint); font-size: 12.5px; font-weight: 600; flex-wrap: wrap; }
.gm-breadcrumb a { color: var(--gm-muted); }
.gm-breadcrumb a:hover { color: var(--gm-lime-2); }

/* --------------------------------------------------------------------------
   Footer + mobile nav + drawer
   -------------------------------------------------------------------------- */
.gm-footer { width: 100%; max-width: var(--gm-content); margin: 0 auto; padding: 28px 18px 24px; border-top: 1px solid var(--gm-line); display: flex; flex-direction: column; gap: 22px; }
.gm-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 24px; }
.gm-footer__about p { color: var(--gm-faint); font-size: 12.5px; line-height: 1.6; margin: 10px 0 14px; max-width: 280px; }
.gm-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.gm-footer__col a { color: var(--gm-muted); }
.gm-footer__col a:hover { color: var(--gm-lime-2); }
.gm-footer__heading, .gm-footer__label { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--gm-faint); text-transform: uppercase; margin-bottom: 4px; }
.gm-footer__payments { border-top: 1px solid rgba(140, 160, 200, .08); padding-top: 16px; }
.gm-footer__payments .gm-footer__label { margin-bottom: 10px; }
.gm-footer__bottom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--gm-faint); font-size: 12px; }
.gm-footer__copy { margin-left: auto; }

.gm-bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(9, 13, 23, .94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--gm-line-2); padding: 7px 2px calc(7px + env(safe-area-inset-bottom));
}
.gm-bottom-nav__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--gm-muted); font-size: 10px; font-weight: 700; padding: 4px 0; }
.gm-bottom-nav__item.is-active { color: var(--gm-lime); }
.gm-drawer-backdrop { display: none; }

/* --------------------------------------------------------------------------
   Legacy (unported) views rendered inside the new shell
   -------------------------------------------------------------------------- */
.gm-body .form-control, .gm-body .form-select, .gm-body .form--control {
  background-color: var(--gm-surface-2); border-color: var(--gm-line-2); color: var(--gm-text); border-radius: 10px;
}
.gm-body .form-control:focus, .gm-body .form-select:focus { background-color: var(--gm-surface-2); color: var(--gm-text); border-color: rgba(168, 247, 59, .55); box-shadow: none; }
.gm-body .input-group-text { background: var(--gm-surface-3); border-color: var(--gm-line-2); color: var(--gm-muted); }
.gm-body label, .gm-body .form-label { color: var(--gm-text-2); font-weight: 600; font-size: 13px; }
.gm-body .card, .gm-body .account-wrapper, .gm-body .custom--card { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; color: var(--gm-text); }
.gm-body .card-header { background: transparent; border-color: var(--gm-line); }
.gm-body .table { color: var(--gm-text); --bs-table-bg: transparent; --bs-table-color: var(--gm-text); --bs-table-border-color: var(--gm-line); }
.gm-body .table thead th { color: var(--gm-faint); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 800; }
.gm-body .cmn-btn, .gm-body .btn--base, .gm-body .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; border: 0; padding: 10px 18px; font-weight: 800; font-size: 13.5px;
  background: linear-gradient(135deg, var(--gm-lime), var(--gm-teal)); color: #07120A;
}
.gm-body .cmn-btn:hover, .gm-body .btn--base:hover, .gm-body .btn-primary:hover { color: #07120A; filter: brightness(1.05); }
.gm-body .cmn-btn-two, .gm-body .btn--danger, .gm-body .btn-danger { border-radius: 11px; font-weight: 800; }
.gm-body .text--base { color: var(--gm-lime); }
.gm-body .text-muted { color: var(--gm-faint) !important; }
.gm-body .badge { font-weight: 800; }
.gm-body .pagination .page-link { background: var(--gm-surface-2); border-color: var(--gm-line-2); color: var(--gm-text-2); }
.gm-body .pagination .page-item.active .page-link { background: var(--gm-lime); border-color: var(--gm-lime); color: #07120A; }
.gm-body .select2-container--default .select2-selection--single { background: var(--gm-surface-2); border-color: var(--gm-line-2); color: var(--gm-text); height: 44px; border-radius: 10px; }
.gm-body .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--gm-text); line-height: 42px; }
.gm-body .select2-dropdown { background: var(--gm-surface); border-color: var(--gm-line-2); color: var(--gm-text); }
.gm-body .select2-container--default .select2-results__option--highlighted { background: var(--gm-violet); }
.gm-body .modal-content { background: var(--gm-surface); color: var(--gm-text); border: 1px solid var(--gm-line-2); border-radius: 16px; }
.gm-body .modal-header, .gm-body .modal-footer { border-color: var(--gm-line); }
.gm-body .btn-close { filter: invert(1); }
.gm-body h1, .gm-body h2, .gm-body h3, .gm-body h4, .gm-body h5 { color: var(--gm-text); }
.gm-body .dashboard-welcome, .gm-body .stat-card, .gm-body .info-card, .gm-body .quick-action-card { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .gm-hero__orb, .gm-hero__decor { display: none; }
}
@media (max-width: 1100px) {
  .gm-tiles { grid-template-columns: repeat(2, 1fr); }
  .gm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .gm-sidebar {
    position: fixed; left: 0; top: 0; height: 100dvh; transform: translateX(-100%); transition: transform .3s ease;
    box-shadow: 0 0 60px rgba(0, 0, 0, .6); z-index: 80;
  }
  .gm-sidebar.is-open { transform: none; }
  .gm-sidebar__close, .gm-header__menu, .gm-header__brand { display: inline-flex; }
  .gm-drawer-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 70; }
  .gm-body.is-drawer-open .gm-drawer-backdrop { opacity: 1; pointer-events: auto; }
  .gm-body.is-drawer-open { overflow: hidden; }
  .gm-bottom-nav { display: flex; }
  .gm-content { padding-bottom: 100px; }
  .gm-content--account { grid-template-columns: minmax(0, 1fr); }
  .gm-dashnav { position: static; }
  .gm-dashnav__list { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .gm-dashnav__link { flex: none; border: 1px solid var(--gm-line-2); }
  .gm-footer { padding-bottom: 40px; }
}
@media (max-width: 640px) {
  .gm-content { padding: 12px 12px 100px; gap: 22px; }
  .gm-header { gap: 8px; padding: 9px 12px; }
  .gm-header__login { display: none; }
  .gm-wallet { padding: 4px 4px 4px 9px; gap: 6px; }
  .gm-wallet__btn { display: none; }
  .gm-header__account { padding-inline: 10px; }
  .gm-header__account span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gm-search { max-width: none; min-width: 0; }
  .gm-hero__slide { min-height: 300px; padding: 24px 18px 48px; align-items: flex-start; }
  .gm-hero__arrow { display: none; }
  .gm-hero__title { font-size: 26px; }
  .gm-hero__text { font-size: 14px; }
  .gm-tiles { gap: 10px; }
  .gm-tile { min-height: 118px; padding: 14px; }
  .gm-tile__title { font-size: 17px; }
  .gm-tile__icon svg { width: 66px; height: 66px; }
  .gm-catgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gm-catcard { min-height: 84px; padding: 12px 14px; }
  .gm-catcard__icon svg { width: 40px; height: 40px; }
  .gm-catcard__title { font-size: 14px; }
  .gm-section__head { flex-wrap: wrap; row-gap: 8px; }
  .gm-section__title { font-size: 16px; }
  .gm-rail .gm-game { width: 138px; }
  .gm-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .gm-hide-sm { display: none !important; }
  .gm-table th, .gm-table td { padding: 10px 12px; }
  .gm-table__game span { max-width: 140px; }
  .gm-banner { padding: 22px 18px; gap: 16px; }
  .gm-banner__coin { display: none; }
  .gm-banner__points { margin-left: 0; }
  .gm-banner__coins { margin-left: 0; grid-template-columns: repeat(2, minmax(96px, 1fr)); }
  .gm-cta .gm-btn { margin-left: 0; }
  .gm-footer__grid { grid-template-columns: 1fr 1fr; }
  .gm-footer__about { grid-column: 1 / -1; }
  .gm-footer__copy { margin-left: 0; width: 100%; }
  .gm-form__grid { grid-template-columns: 1fr; }
  .gm-page-head { align-items: flex-start; flex-direction: column; }
  .gm-filters { width: 100%; }
  .gm-search--inline { max-width: none; }
  .gm-select { max-width: none; flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .gm-promo-bar__run, .gm-marquee__run, .gm-providers--marquee .gm-providers__run, .gm-hero__orb, .gm-live-pill__dot, .gm-btn--sheen::after { animation: none !important; }
  .gm-hero__track { transition: none; }
}

.gm-link-btn { background: none; border: 0; padding: 0; color: var(--gm-muted); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gm-link-btn:hover { color: var(--gm-text); }

/* ==========================================================================
   Account area (dashboard, wallet, reports, referrals, support, profile)
   ========================================================================== */
.gm-acc { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gm-acc a:not(.gm-btn) { color: inherit; }

/* Page header with artwork */
.gm-ahead { --c: 168, 247, 59; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 22px 26px; border-radius: 20px; border: 1px solid var(--gm-line-2);
  background: radial-gradient(520px 220px at 100% 0%, rgba(var(--c), .22), transparent 65%), radial-gradient(420px 200px at 0% 120%, rgba(124, 92, 255, .14), transparent 60%), var(--gm-surface); }
.gm-ahead__kicker { font-size: 10.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgb(var(--c)); }
.gm-ahead__title { font-family: var(--gm-display); font-weight: 800; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.15; margin: 6px 0 0; color: #fff; text-wrap: balance; }
.gm-ahead__sub { margin: 6px 0 0; color: var(--gm-muted); font-size: 13.5px; line-height: 1.5; max-width: 560px; }
.gm-ahead__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gm-ahead__art { width: 118px; height: 118px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .45)); }
.gm-ahead__art svg { width: 100%; height: 100%; }
.gm-ahead__glow { position: absolute; right: 40px; top: 50%; width: 150px; height: 150px; transform: translateY(-50%); border-radius: 50%; background: rgba(var(--c), .18); filter: blur(40px); pointer-events: none; }

/* Panels */
.gm-panel { background: var(--gm-surface); border: 1px solid var(--gm-line-2); border-radius: 18px; min-width: 0; }
.gm-panel__head { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; padding: 15px 18px; border-bottom: 1px solid var(--gm-line); }
.gm-panel__title { font-family: var(--gm-display); font-weight: 700; font-size: 15px; margin: 0; color: var(--gm-text); }
.gm-panel__sub { font-size: 12px; color: var(--gm-faint); font-weight: 600; margin: 1px 0 0; }
.gm-panel__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gm-panel__body { padding: 18px; }
.gm-panel__body--flush { padding: 0; }
.gm-panel__foot { padding: 12px 18px; border-top: 1px solid var(--gm-line); }
.gm-ico { --c: 168, 247, 59; flex: none; width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(var(--c), .26), rgba(var(--c), .08)); color: rgb(var(--c)); border: 1px solid rgba(var(--c), .28); }
.gm-ico--lg { width: 44px; height: 44px; border-radius: 13px; }
.gm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gm-grid-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }

/* Stat tiles */
.gm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.gm-stat { --c: 168, 247, 59; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; border: 1px solid var(--gm-line-2);
  background: radial-gradient(220px 120px at 100% 0%, rgba(var(--c), .12), transparent 70%), var(--gm-surface); transition: border-color .2s, transform .2s; }
.gm-stat:hover { border-color: rgba(var(--c), .4); transform: translateY(-2px); }
.gm-stat__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gm-stat__label { font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--gm-faint); }
.gm-stat__value { font-family: var(--gm-display); font-weight: 800; font-size: 21px; color: var(--gm-text); font-variant-numeric: tabular-nums; line-height: 1.1; overflow-wrap: anywhere; }
.gm-stat__value--up { color: var(--gm-teal); } .gm-stat__value--down { color: #FF8A8C; }
.gm-stat__link { font-size: 12px; font-weight: 700; color: rgb(var(--c)) !important; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.gm-stat__link:hover { text-decoration: underline; }

/* Activity chart */
.gm-bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 150px; }
.gm-bars__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.gm-bars__pair { display: flex; align-items: flex-end; gap: 2px; width: 100%; height: 100%; justify-content: center; }
.gm-bars__bar { width: 45%; max-width: 12px; min-height: 2px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #9D86FF, var(--gm-violet)); position: relative; }
.gm-bars__bar--won { background: linear-gradient(180deg, var(--gm-lime-2), var(--gm-teal)); }
.gm-bars__day { font-size: 10px; color: var(--gm-faint); font-weight: 700; }
.gm-bars__col.is-today .gm-bars__day { color: var(--gm-lime); }
.gm-bars__col:hover .gm-bars__bar { filter: brightness(1.2); }
.gm-legend { display: flex; gap: 14px; font-size: 12px; color: var(--gm-muted); font-weight: 700; }
.gm-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--gm-violet); }
.gm-legend i.won { background: var(--gm-teal); }

/* Activity list */
.gm-feed { list-style: none; margin: 0; padding: 0; }
.gm-feed li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--gm-line); }
.gm-feed li:last-child { border-bottom: 0; }
.gm-feed__thumb { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: var(--gm-surface-3); }
.gm-feed__title { font-weight: 700; font-size: 13.5px; color: var(--gm-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-feed__meta { font-size: 11.5px; color: var(--gm-faint); font-weight: 600; }
.gm-feed__amt { font-weight: 800; font-size: 13.5px; font-variant-numeric: tabular-nums; text-align: right; }
.gm-plus { color: var(--gm-teal); } .gm-minus { color: #FF8A8C; }

/* Quick actions */
.gm-quickacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.gm-quickact { --c: 168, 247, 59; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); font-weight: 800; font-size: 13px; color: var(--gm-text) !important; transition: all .2s; }
.gm-quickact:hover { border-color: rgba(var(--c), .45); background: rgba(var(--c), .06); }

/* Welcome block */
.gm-welcome__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gm-achip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(140, 160, 200, .1); border: 1px solid var(--gm-line-2); font-size: 12px; font-weight: 700; color: var(--gm-text-2); }
.gm-achip b { color: var(--gm-text); }
.gm-achip--gold { background: rgba(255, 201, 77, .1); border-color: rgba(255, 201, 77, .35); color: var(--gm-gold); }
.gm-vipbar { margin-top: 14px; max-width: 420px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--gm-muted); font-weight: 700; }

/* Gateway picker */
.gm-gw { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gm-gw__opt { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); cursor: pointer; transition: border-color .2s, background .2s; margin: 0; }
.gm-gw__opt:hover { border-color: var(--gm-line-3); }
.gm-gw__opt input { position: absolute; opacity: 0; pointer-events: none; }
.gm-gw__opt:has(input:checked) { border-color: var(--gm-lime); background: rgba(168, 247, 59, .07); box-shadow: 0 0 0 3px rgba(168, 247, 59, .1); }
.gm-gw__opt:has(input:focus-visible) { outline: 2px solid var(--gm-lime); outline-offset: 2px; }
.gm-gw__logo { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gm-gw__logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.gm-gw__name { font-weight: 800; font-size: 13.5px; color: var(--gm-text); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-gw__limit { display: block; font-size: 11.5px; color: var(--gm-faint); font-weight: 600; margin-top: 2px; }
.gm-gw__tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--gm-line-3); display: flex; align-items: center; justify-content: center; color: transparent; }
.gm-gw__opt:has(input:checked) .gm-gw__tick { background: var(--gm-lime); border-color: var(--gm-lime); color: #07120A; }
.gm-gw__tag { position: absolute; top: -8px; right: 10px; font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--gm-violet); color: #fff; }
.gm-gw__more { grid-column: 1 / -1; }

/* Amount entry */
.gm-amount { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 16px; border-radius: 14px; border: 1px solid var(--gm-line-3); background: var(--gm-bg-2); transition: border-color .2s; }
.gm-amount:focus-within { border-color: var(--gm-lime); box-shadow: 0 0 0 3px rgba(168, 247, 59, .12); }
.gm-amount__sym { font-family: var(--gm-display); font-size: 22px; font-weight: 800; color: var(--gm-muted); }
.gm-amount input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-family: var(--gm-display); font-weight: 800; font-size: 26px; padding: 8px 0; font-variant-numeric: tabular-nums; }
.gm-amount input::placeholder { color: var(--gm-faint); }
.gm-amount__cur { font-size: 12px; font-weight: 800; color: var(--gm-faint); padding: 6px 10px; border-radius: 9px; background: var(--gm-surface-2); }
.gm-quickamts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gm-quickamts button { border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); color: var(--gm-text-2); font-weight: 800; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.gm-quickamts button:hover, .gm-quickamts button.is-on { border-color: var(--gm-lime); color: var(--gm-lime); }
.gm-hintline { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--gm-faint); font-weight: 600; margin-top: 8px; }
.gm-hintline b { color: var(--gm-text-2); }
.gm-hintline.is-bad, .gm-hintline.is-bad b { color: #FF8A8C; }

/* Summary rows */
.gm-summary { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--gm-line-2); background: var(--gm-bg-2); overflow: hidden; }
.gm-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 13px; color: var(--gm-muted); font-weight: 600; border-bottom: 1px solid var(--gm-line); }
.gm-summary__row:last-child { border-bottom: 0; }
.gm-summary__row b { color: var(--gm-text); font-variant-numeric: tabular-nums; font-weight: 800; text-align: right; }
.gm-summary__row--total { background: rgba(168, 247, 59, .06); color: var(--gm-text-2); }
.gm-summary__row--total b { color: var(--gm-lime); font-family: var(--gm-display); font-size: 16px; }

/* Callouts */
.gm-callout { --c: 56, 189, 248; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(var(--c), .35); background: rgba(var(--c), .08); color: var(--gm-text-2); font-size: 13px; line-height: 1.55; }
.gm-callout svg { flex: none; color: rgb(var(--c)); margin-top: 2px; }
.gm-callout b { color: var(--gm-text); }
.gm-callout--gold { --c: 255, 201, 77; }
.gm-callout--lime { --c: 168, 247, 59; }
.gm-callout--red { --c: 255, 92, 138; }
.gm-callout a { color: rgb(var(--c)) !important; font-weight: 800; text-decoration: underline; }
.gm-secure { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--gm-faint); font-size: 12px; font-weight: 600; margin-top: 12px; text-align: center; }
.gm-secure svg { color: var(--gm-teal); flex: none; }

/* Buttons that fill */
.gm-btn[disabled], .gm-btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.3); transform: none !important; box-shadow: none !important; }
.gm-btn--danger { background: rgba(255, 92, 138, .12); border: 1px solid rgba(255, 92, 138, .4); color: #FF8FAE !important; }
.gm-btn--danger:hover { background: rgba(255, 92, 138, .2); }

/* Tables inside panels */
.gm-panel .gm-table-wrap { border: 0; border-radius: 0; }
.gm-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gm-cell b { color: var(--gm-text); font-weight: 700; font-size: 13.5px; }
.gm-cell small { color: var(--gm-faint); font-size: 11.5px; font-weight: 600; }
.gm-cell--row { flex-direction: row; align-items: center; gap: 10px; }
.gm-trx { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--gm-muted); background: var(--gm-surface-2); padding: 2px 7px; border-radius: 6px; }
.gm-iconbtn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); color: var(--gm-text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gm-iconbtn:hover { border-color: var(--gm-lime); color: var(--gm-lime); }
.gm-status--success { background: rgba(45, 226, 197, .14); color: var(--gm-teal); }
.gm-status--pending { background: rgba(255, 201, 77, .14); color: var(--gm-gold); }
.gm-status--danger { background: rgba(255, 92, 138, .14); color: #FF8FAE; }
.gm-status--info { background: rgba(56, 189, 248, .14); color: var(--gm-blue-2); }
.gm-status--muted { background: rgba(140, 160, 200, .14); color: var(--gm-muted); }
.gm-searchbar { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 12px; border-radius: 11px; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); min-width: min(260px, 100%); }
.gm-searchbar svg { color: var(--gm-faint); flex: none; }
.gm-searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--gm-text); font-size: 13px; padding: 6px 0; }
.gm-afilters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: end; }
.gm-afilters .gm-btn { height: 44px; }

/* Empty state */
.gm-aempty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 34px 18px; }
.gm-aempty__art { width: 84px; height: 84px; opacity: .9; }
.gm-aempty__art svg { width: 100%; height: 100%; }
.gm-aempty b { font-family: var(--gm-display); font-size: 15px; color: var(--gm-text); }
.gm-aempty p { margin: 0; color: var(--gm-faint); font-size: 13px; max-width: 360px; }

/* Detail modal list */
.gm-dl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gm-dl li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--gm-line); font-size: 13.5px; }
.gm-dl li:last-child { border-bottom: 0; }
.gm-dl span { color: var(--gm-faint); font-weight: 600; }
.gm-dl b { color: var(--gm-text); text-align: right; overflow-wrap: anywhere; }
.gm-body .modal-dialog { max-width: 520px; }
.gm-body .modal-header { padding: 16px 18px; }
.gm-body .modal-title { font-family: var(--gm-display); font-size: 16px; font-weight: 700; }
.gm-body .modal-body { padding: 16px 18px; }

/* Referral */
.gm-copy { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 13px; border: 1px dashed rgba(168, 247, 59, .45); background: rgba(168, 247, 59, .05); }
.gm-copy input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--gm-text); font-weight: 700; font-size: 13.5px; }
.gm-levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.gm-level { padding: 14px; border-radius: 14px; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); text-align: center; }
.gm-level span { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gm-faint); }
.gm-level b { display: block; font-family: var(--gm-display); font-size: 22px; color: var(--gm-lime); margin-top: 4px; }
.gm-steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: s; }
.gm-steps3 li { list-style: none; counter-increment: s; padding: 14px; border-radius: 14px; background: var(--gm-surface-2); border: 1px solid var(--gm-line); font-size: 13px; color: var(--gm-text-2); font-weight: 600; line-height: 1.45; }
.gm-steps3 li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(168, 247, 59, .14); color: var(--gm-lime); font-weight: 800; font-size: 12px; margin-bottom: 8px; }
.gm-tree, .gm-tree ul { list-style: none; margin: 0; padding: 0; }
.gm-tree ul { margin-left: 16px; padding-left: 14px; border-left: 1px dashed var(--gm-line-3); }
.gm-tree li { position: relative; padding: 6px 0; color: var(--gm-text-2); font-size: 13px; font-weight: 600; }
.gm-tree ul li::before { content: ""; position: absolute; left: -14px; top: 17px; width: 10px; border-top: 1px dashed var(--gm-line-3); }
.gm-tree__me { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: rgba(168, 247, 59, .1); color: var(--gm-lime); font-weight: 800; }

/* Support */
.gm-tickets { display: flex; flex-direction: column; }
.gm-ticket { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--gm-line); color: inherit; }
.gm-ticket:last-child { border-bottom: 0; }
.gm-ticket:hover { background: rgba(140, 160, 200, .05); }
.gm-ticket__subject { font-weight: 800; font-size: 14px; color: var(--gm-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-ticket__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 11.5px; color: var(--gm-faint); font-weight: 600; margin-top: 3px; }
.gm-prio { display: inline-flex; align-items: center; gap: 5px; }
.gm-prio::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gm-muted); }
.gm-prio--3::before { background: #FF5C8A; } .gm-prio--2::before { background: var(--gm-gold); } .gm-prio--1::before { background: var(--gm-teal); }
.gm-thread { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.gm-msg { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; max-width: 86%; }
.gm-msg--me { margin-left: auto; grid-template-columns: minmax(0, 1fr) 38px; }
.gm-msg--me .gm-msg__avatar { order: 2; }
.gm-msg__avatar { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--gm-surface-3); color: var(--gm-text-2); }
.gm-msg--staff .gm-msg__avatar { background: linear-gradient(135deg, var(--gm-violet), #4F3BCC); color: #fff; }
.gm-msg__bubble { padding: 12px 14px; border-radius: 14px; background: var(--gm-surface-2); border: 1px solid var(--gm-line-2); }
.gm-msg--me .gm-msg__bubble { background: rgba(168, 247, 59, .07); border-color: rgba(168, 247, 59, .25); }
.gm-msg--staff .gm-msg__bubble { background: rgba(124, 92, 255, .09); border-color: rgba(124, 92, 255, .3); }
.gm-msg__head { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; color: var(--gm-text-2); margin-bottom: 6px; flex-wrap: wrap; }
.gm-msg__head small { color: var(--gm-faint); font-weight: 600; }
.gm-msg__text { color: var(--gm-text); font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.gm-msg__files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gm-msg__files a { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--gm-surface-3); color: var(--gm-text-2) !important; }
.gm-staff { font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; background: var(--gm-violet); color: #fff; margin-left: 6px; }
.gm-files { display: flex; flex-direction: column; gap: 8px; }
.gm-files__row { display: flex; gap: 8px; align-items: center; }
.gm-files__row input[type=file] { flex: 1; min-width: 0; }
.gm-body input[type=file].gm-input { padding: 8px; }
.gm-body input[type=file].gm-input::file-selector-button { border: 0; border-radius: 8px; padding: 6px 12px; margin-right: 10px; background: var(--gm-surface-3); color: var(--gm-text); font-weight: 700; cursor: pointer; }
.gm-textarea { min-height: 130px; resize: vertical; line-height: 1.55; }

/* Profile */
.gm-profile { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.gm-idcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 18px; border-radius: 18px; border: 1px solid var(--gm-line-2);
  background: radial-gradient(260px 140px at 50% 0%, rgba(168, 247, 59, .16), transparent 70%), var(--gm-surface); }
.gm-idcard__avatar { width: 84px; height: 84px; border-radius: 26px; display: flex; align-items: center; justify-content: center; font-family: var(--gm-display); font-weight: 800; font-size: 28px; color: #07120A; background: linear-gradient(135deg, var(--gm-lime), var(--gm-teal)); box-shadow: 0 12px 30px rgba(168, 247, 59, .25); }
.gm-idcard__name { font-family: var(--gm-display); font-weight: 800; font-size: 17px; color: var(--gm-text); }
.gm-idcard__user { color: var(--gm-faint); font-weight: 700; font-size: 12.5px; }
.gm-idcard__facts { width: 100%; list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gm-idcard__facts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: var(--gm-surface-2); color: var(--gm-muted); font-weight: 600; }
.gm-idcard__facts b { color: var(--gm-text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.gm-ok { color: var(--gm-teal); display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.gm-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.gm-strength span { height: 5px; border-radius: 99px; background: var(--gm-surface-3); transition: background .2s; }
.gm-strength[data-level="1"] span:nth-child(-n+1) { background: #FF5C8A; }
.gm-strength[data-level="2"] span:nth-child(-n+2) { background: var(--gm-orange); }
.gm-strength[data-level="3"] span:nth-child(-n+3) { background: var(--gm-gold); }
.gm-strength[data-level="4"] span { background: var(--gm-teal); }
.gm-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gm-tips li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gm-muted); font-weight: 600; }
.gm-tips li svg { color: var(--gm-faint); }
.gm-tips li.is-ok { color: var(--gm-text-2); }
.gm-tips li.is-ok svg { color: var(--gm-teal); }
.gm-readonly { opacity: .7; cursor: not-allowed; }

/* Payment confirm (manual / crypto / other gateways) */
.gm-paybox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.gm-payamount { text-align: center; padding: 20px; border-radius: 16px; border: 1px solid rgba(168, 247, 59, .3); background: radial-gradient(300px 140px at 50% 0%, rgba(168, 247, 59, .14), transparent 70%), var(--gm-bg-2); }
.gm-payamount span { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gm-faint); }
.gm-payamount b { display: block; font-family: var(--gm-display); font-size: 30px; color: var(--gm-lime); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.gm-payamount small { color: var(--gm-muted); font-weight: 600; }
.gm-richtext { color: var(--gm-text-2); font-size: 13.5px; line-height: 1.65; overflow-wrap: anywhere; }
.gm-richtext img { max-width: 100%; height: auto; border-radius: 12px; }
.gm-qr { background: #fff; padding: 12px; border-radius: 16px; display: inline-block; }
.gm-qr img { display: block; width: 200px; height: 200px; }

/* Dynamic admin-built forms (x-gm-form) inside account pages */
.gm-account .gm-dynform .form-group { margin-bottom: 14px; }
.gm-account .gm-dynform .form-label, .gm-account .gm-dynform label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--gm-muted); margin-bottom: 6px; }
.gm-account .gm-dynform .form-control, .gm-account .gm-dynform .form--control, .gm-account .gm-dynform select {
  width: 100%; min-height: 46px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--gm-line-2); background: var(--gm-surface-2); color: var(--gm-text); font-size: 14px; }
.gm-account .gm-dynform textarea.form-control { min-height: 110px; }
.gm-account .gm-dynform .form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.gm-account .gm-dynform .form-check-input { width: 16px; height: 16px; accent-color: var(--gm-lime); background-color: var(--gm-surface-2); border-color: var(--gm-line-3); }
.gm-account .gm-dynform .form-check-label { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--gm-text-2); margin: 0; }
.gm-account .gm-dynform input[type=file]::file-selector-button { border: 0; border-radius: 8px; padding: 6px 12px; margin-right: 10px; background: var(--gm-surface-3); color: var(--gm-text); font-weight: 700; }

/* Gateway confirmation pages still coming from the base template */
.gm-account > .pt-120, .gm-account > .pb-120, .gm-account > .pt-120.pb-120 { padding: 0 !important; }
.gm-account .container { max-width: none; padding: 0; }
.gm-account .row.justify-content-center > [class*="col-"] { flex: 0 0 100%; max-width: 760px; }
.gm-account .card { box-shadow: none; }
.gm-account .card-header { padding: 16px 18px; }
.gm-account .card-header h3, .gm-account .card-header h5, .gm-account .card-title { font-family: var(--gm-display); font-size: 16px; font-weight: 700; margin: 0; }
.gm-account .card-body { padding: 18px; }
.gm-account .list-group-item { background: var(--gm-bg-2); color: var(--gm-text-2); border-color: var(--gm-line); }
.gm-account .list-group-item strong { color: var(--gm-text); }
.gm-account .alert { border-radius: 12px; border: 1px solid rgba(56, 189, 248, .35); background: rgba(56, 189, 248, .08); color: var(--gm-text-2); }
.gm-account .alert b, .gm-account .alert strong { color: var(--gm-text); }
.gm-account .form-group { margin-bottom: 14px; }
.gm-account .form-control, .gm-account .form--control { min-height: 46px; }

@media (max-width: 1100px) {
  .gm-grid-main, .gm-paybox { grid-template-columns: minmax(0, 1fr); }
  .gm-profile { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .gm-ahead { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .gm-ahead__art { position: absolute; right: -10px; top: -6px; width: 92px; height: 92px; opacity: .35; }
  .gm-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .gm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-stat__value { font-size: 17px; }
  .gm-steps3 { grid-template-columns: minmax(0, 1fr); }
  .gm-msg { max-width: 100%; }
  .gm-bars { gap: 3px; }
  .gm-bars__day { font-size: 9px; }
  /* Stacked table rows */
  .gm-table--stack thead { display: none; }
  .gm-table--stack, .gm-table--stack tbody, .gm-table--stack tr, .gm-table--stack td { display: block; width: 100%; }
  .gm-table--stack tr { padding: 10px 14px; border-bottom: 1px solid var(--gm-line); }
  .gm-table--stack td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0 !important; border: 0 !important; text-align: right; }
  .gm-table--stack td::before { content: attr(data-label); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gm-faint); text-align: left; }
  .gm-table--stack td[data-label=""]::before { content: none; }
  .gm-table--stack td .gm-cell { align-items: flex-end; }
  .gm-table--stack tr.gm-table__empty td { justify-content: center; }
  .gm-table--stack tr.gm-table__empty td::before { content: none; }
}

/* Account form alignment */
.gm-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gm-form .gm-select, .gm-afilters .gm-select, .gm-acc .gm-field .gm-select { width: 100%; max-width: none; min-height: 46px; flex: none !important; }
.gm-afilters .gm-field { display: flex; flex-direction: column; gap: 0; margin: 0; }
.gm-afilters .gm-input, .gm-afilters .gm-select { height: 46px; min-height: 46px; }
.gm-afilters .gm-btn { height: 46px; }
@media (max-width: 720px) { .gm-stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Sports tab: embedded sportsbook (SABA) with games-list fallback
   The frame is shifted up by --sb-crop to hide the sportsbook's own top app
   bar (previous theme: 94px desktop, 50px tablet/mobile).
   ========================================================================== */
.gm-sbook { --sb-crop: 94px; --sb-crop-m: 50px; display: flex; flex-direction: column; gap: 14px; }
.gm-sbook__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.gm-sbook__tabs { display: flex; gap: 6px; padding: 4px; border-radius: 13px; background: var(--gm-surface); border: 1px solid var(--gm-line-2); }
.gm-sbook__tab { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--gm-muted); font: inherit; font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.gm-sbook__tab.is-active { background: linear-gradient(135deg, var(--gm-lime), var(--gm-teal)); color: #07120A; }
.gm-sbook__stage { position: relative; height: max(560px, calc(100dvh - 190px)); border-radius: 18px; overflow: hidden; border: 1px solid var(--gm-line-2); background: #0B1220; }
.gm-sbook__crop { position: absolute; inset: 0; overflow: hidden; }
.gm-sbook__crop iframe { display: block; width: 100%; border: 0; background: #0B1220; height: calc(100% + var(--sb-crop)); margin-top: calc(-1 * var(--sb-crop)); opacity: 0; transition: opacity .35s; }
.gm-sbook[data-state="book"] .gm-sbook__crop iframe { opacity: 1; }
.gm-sbook__guard { position: absolute; inset: 0; z-index: 2; cursor: pointer; background: transparent; }
.gm-sbook__guestbar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 10px 14px; border-radius: 14px;
  background: rgba(6, 8, 15, .86); border: 1px solid var(--gm-line-2); backdrop-filter: blur(8px); color: var(--gm-text-2); font-size: 13px; font-weight: 700; }
.gm-sbook__overlay { position: absolute; inset: 0; z-index: 4; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px;
  background: radial-gradient(420px 260px at 50% 40%, rgba(45, 226, 197, .12), transparent 70%), #0B1220; }
.gm-sbook__overlay b { font-family: var(--gm-display); font-size: 16px; color: var(--gm-text); }
.gm-sbook__overlay small { color: var(--gm-muted); font-size: 13px; font-weight: 600; max-width: 380px; }
.gm-sbook__overlay svg { width: 96px; height: 96px; }
.gm-sbook[data-state="loading"] .gm-sbook__overlay--loading { display: flex; }
.gm-sbook[data-state="error"] .gm-sbook__overlay--error { display: flex; position: static; }
.gm-sbook[data-state="error"] .gm-sbook__stage { height: auto; }
.gm-sbook[data-state="error"] .gm-sbook__guestbar, .gm-sbook[data-state="error"] .gm-sbook__guard, .gm-sbook[data-state="loading"] .gm-sbook__guestbar { display: none; }
.gm-sbook[data-state="list"] .gm-sbook__stage { display: none; }
.gm-sbook__spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(45, 226, 197, .2); border-top-color: var(--gm-teal); animation: gmSpin 0.9s linear infinite; }
@keyframes gmSpin { to { transform: rotate(360deg); } }
/* The games list is the fallback: hidden while the sportsbook is loading or open. */
.gm-sbook[data-state="loading"] ~ .gm-sbook-list, .gm-sbook[data-state="book"] ~ .gm-sbook-list { display: none; }
.gm-sbook-list { display: flex; flex-direction: column; gap: 18px; }
.gm-sbook-list > .gm-page-head .gm-page-title { font-size: 20px; }
@media (max-width: 1199px) {
  .gm-sbook__crop iframe { height: calc(100% + var(--sb-crop-m)); margin-top: calc(-1 * var(--sb-crop-m)); }
  .gm-sbook__stage { height: max(480px, calc(100dvh - 210px)); border-radius: 14px; }
}
@media (max-width: 640px) {
  .gm-sbook__head { align-items: stretch; }
  .gm-sbook__tabs { width: 100%; }
  .gm-sbook__tab { flex: 1; justify-content: center; padding: 8px 8px; font-size: 12.5px; }
  .gm-sbook__stage { height: calc(100dvh - 250px); min-height: 440px; margin: 0 -12px; border-radius: 0; border-left: 0; border-right: 0; }
  .gm-sbook__guestbar { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .gm-sbook__spinner { animation-duration: 2.5s; } }
