/* Gamble.Services — impeccable.style design foundation */
/* Motion: ease-out-quart, no bounce/elastic. Typography: perfect-fourth 1.333x */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  /* impeccable.style: motion system */
  --ease-default: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-leave: cubic-bezier(0.7, 0, 0.84, 0);
  --duration-micro: 150ms;
  --duration-state: 250ms;
  --duration-layout: 400ms;
  --duration-entrance: 600ms;

  /* impeccable.style: typography scale (1.333x perfect fourth) */
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;

  /* palette — dark casino */
  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-dim: #92700c;
  --green: #10b981;
  --green-bright: #34d399;
  --red: #ef4444;
  --blue: #3b82f6;
  --purple: #8b5cf6;

  /* surfaces */
  --bg-0: #05060b;
  --bg-1: #0a0c14;
  --bg-2: #0f1119;
  --bg-3: #151722;
  --bg-4: #1c1f2e;

  /* borders */
  --border: #1e2235;
  --border-light: #2a2e42;

  /* text */
  --text-0: #f1f5f9;
  --text-1: #cbd5e1;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-4: #475569;

  /* radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.15);
  --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.15);

  /* font */
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ================================================================ */
/* impeccable.style: base resets                                    */
/* ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-0);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.6;
  padding-bottom: 70px;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }

/* impeccable.style: dark-bg typography compensation */
.imp-darkbg { letter-spacing: 0.01em; }

/* impeccable.style: link transitions */
a { transition: all var(--duration-state) var(--ease-default); }

/* impeccable.style: focus-visible ring */
.imp-focus a:focus-visible,
.imp-focus button:focus-visible,
.imp-focus input:focus-visible,
.imp-focus textarea:focus-visible,
.imp-focus select:focus-visible,
.imp-focus [role="button"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* impeccable.style: touch targets */
.imp-touch a, .imp-touch button { min-height: 44px; }

/* impeccable.style: button active/disabled states */
button:active, [role="button"]:active { transform: scale(0.97); transition-duration: var(--duration-micro); }
button:disabled, [role="button"][aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* impeccable.style: typography scale */
h1, h2, h3, h4, h5 { font-weight: 700; margin-top: 0; color: var(--text-0); }
.imp-typo h1 { font-size: var(--text-3xl); line-height: 1.1; }
.imp-typo h2 { font-size: var(--text-2xl); line-height: 1.15; }
.imp-typo h3 { font-size: var(--text-xl); line-height: 1.2; }
.imp-typo h4 { font-size: var(--text-lg); line-height: 1.3; }

/* impeccable.style: text measure */
.imp-measure p, .imp-measure li { max-width: 65ch; }

/* ================================================================ */
/* NAVBAR — frosted glass                                          */
/* ================================================================ */
.gs-header {
  position: sticky;
  top: 0;
  z-index: 18;
  padding: 10px 2% 0 2%;
}
.gs-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  background: rgba(5, 6, 11, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.gs-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.gs-logo img { height: 26px; filter: brightness(0) invert(1); }

.gs-nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.gs-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-3);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--duration-state) var(--ease-default);
}
.gs-nav a:hover, .gs-nav a.active { color: var(--text-0); background: rgba(255, 255, 255, 0.05); }
.gs-nav .badge-live {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-bright);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.gs-nav .badge-live-red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.25);
}

.gs-header-right { display: flex; align-items: center; gap: 8px; }
.gs-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-3);
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-state) var(--ease-default);
}
.gs-icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-0); }

.gs-wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--green-bright);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--duration-state) var(--ease-default);
}
.gs-wallet-badge:hover { background: rgba(16, 185, 129, 0.15); color: var(--green-bright); }

.gs-user-dropdown { position: relative; }
.gs-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 20px;
  color: var(--text-2);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-state) var(--ease-default);
}
.gs-user-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-0); }
.gs-user-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  min-width: 180px;
  list-style: none;
  padding: 8px 0;
  z-index: 100;
}
.gs-user-dropdown:hover .gs-user-menu,
.gs-user-dropdown:focus-within .gs-user-menu { display: block; }
.gs-user-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-2);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--duration-state) var(--ease-default);
}
.gs-user-menu a:hover { background: rgba(245, 158, 11, 0.06); color: var(--text-0); }
.gs-user-menu hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; }

.gs-auth-link {
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-3);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--duration-state) var(--ease-default);
}
.gs-auth-link:hover { color: var(--text-0); }
.gs-auth-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: var(--text-sm);
  font-weight: 700;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-state) var(--ease-default);
}
.gs-auth-btn:hover { filter: brightness(1.1); color: #000; transform: translateY(-1px); }

/* Mobile hamburger — visible < 992px */
.gs-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.gs-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
}
@media (max-width: 991px) {
  .gs-mobile-toggle { display: flex; }
  .gs-nav-collapse { display: none; }
  .gs-nav-collapse.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  }
  .gs-nav-collapse.show .gs-nav { flex-direction: column; align-items: stretch; }
  .gs-nav-collapse.show .gs-nav a { padding: 12px 16px; }
  .gs-nav-collapse.show .gs-header-right { padding: 12px 16px; justify-content: flex-end; }
}
@media (min-width: 992px) {
  .gs-nav-collapse { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: space-between; margin-left: 16px; }
}

/* ================================================================ */
/* HERO / LANDING                                                   */
/* ================================================================ */
.hero-banner {
  background: linear-gradient(135deg, #0a0a14 0%, #0d1025 50%, #0a0e1a 100%);
  border-bottom: 1px solid var(--border);
}

/* ================================================================ */
/* CARDS — impeccable.style: 14px radius, soft shadow, subtle lift */
/* ================================================================ */
.gs-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-state) var(--ease-default),
              box-shadow var(--duration-state) var(--ease-default);
}
.gs-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

/* Bootstrap card overrides */
.card {
  border-radius: var(--radius-lg) !important;
  transition: transform var(--duration-state) var(--ease-default),
              box-shadow var(--duration-state) var(--ease-default);
  border: 1px solid var(--border) !important;
}
.card.bg-dark { background: var(--bg-2) !important; }
.event-card:hover, .game-card:hover, .game-playground-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

/* ================================================================ */
/* BUTTONS — impeccable.style transitions                          */
/* ================================================================ */
.gs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: #000;
  border: none;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-state) var(--ease-default);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.2);
}
.gs-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
  color: #000;
}
.gs-btn-primary:active { transform: scale(0.97); }

.gs-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-state) var(--ease-default);
}
.gs-btn-outline:hover {
  border-color: var(--text-3);
  color: var(--text-0);
  background: rgba(255, 255, 255, 0.03);
}

/* Bootstrap button overrides */
.btn-warning, .btn-warning:focus {
  background: linear-gradient(135deg, var(--gold), #d97706) !important;
  border: none !important;
  color: #000 !important;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.2);
  transition: all var(--duration-state) var(--ease-default);
}
.btn-warning:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}
.btn-outline-warning {
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: var(--gold) !important;
  transition: all var(--duration-state) var(--ease-default);
}
.btn-outline-warning:hover {
  background: rgba(245, 158, 11, 0.08) !important;
  color: var(--gold-bright) !important;
  border-color: var(--gold) !important;
}

/* ================================================================ */
/* FORMS — impeccable.style focus glow                             */
/* ================================================================ */
.form-control, .form-select, .input-group-text {
  font-family: var(--font);
  transition: border-color var(--duration-state) var(--ease-default),
              box-shadow var(--duration-state) var(--ease-default);
}
.form-control.bg-dark, .form-select.bg-dark,
.form-control.bg-black, .input-group-text.bg-black,
.input-group-text.bg-dark {
  background: var(--bg-1) !important;
  border-color: var(--border) !important;
  color: var(--text-1) !important;
}
.form-control:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
}

/* ================================================================ */
/* BADGES                                                           */
/* ================================================================ */
.badge { border-radius: 8px; font-weight: 600; }
.badge.bg-danger { background: rgba(239, 68, 68, 0.15) !important; color: var(--red) !important; border: 1px solid rgba(239, 68, 68, 0.2); }

/* ================================================================ */
/* SECTION BADGE — pill label above section titles                 */
/* ================================================================ */
.gs-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--gold);
}

/* ================================================================ */
/* GAME PAGE                                                        */
/* ================================================================ */
.game-page { max-width: 960px; margin: 0 auto; padding: 12px 16px; }
.game-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 12px; }
.game-header-left { display: flex; align-items: center; gap: 12px; }
.game-back-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all var(--duration-state) var(--ease-default); font-size: 1rem;
}
.game-back-btn:hover { background: var(--bg-4); color: var(--text-0); }
.game-title { font-size: 1.15rem; font-weight: 800; color: var(--text-0); margin: 0; line-height: 1.2; }
.game-meta { display: flex; gap: 6px; margin-top: 3px; }
.game-tag {
  font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 6px; background: var(--bg-4); color: var(--text-3); border: 1px solid var(--border);
}
.game-tag-rtp { background: rgba(16, 185, 129, 0.08); color: var(--green); border-color: rgba(16, 185, 129, 0.2); }
.game-tag-provider { background: rgba(139, 92, 246, 0.08); color: var(--purple); border-color: rgba(139, 92, 246, 0.2); }

.game-header-right { display: flex; align-items: center; gap: 8px; }
.game-balance { text-align: right; line-height: 1.2; }
.game-balance small { display: block; font-size: 0.65rem; color: var(--text-4); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.game-balance span { font-size: 1.15rem; font-weight: 800; color: var(--green-bright); }
.game-topup-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.25); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all var(--duration-state) var(--ease-default); font-size: 1rem;
}
.game-topup-btn:hover { background: rgba(16, 185, 129, 0.2); color: var(--green-bright); }

.game-canvas-wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-1); box-shadow: var(--shadow-card);
}
.game-canvas {
  min-height: 540px;
  background: linear-gradient(180deg, #080a14 0%, #0c0e1a 100%);
  position: relative;
}

.game-guest-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 540px; text-align: center; padding: 2rem; }
.game-guest-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; font-size: 2rem; color: var(--gold);
}
.game-guest-cta h3 { font-size: 1.4rem; font-weight: 800; color: var(--text-0); margin-bottom: 0.4rem; }
.game-guest-cta p { color: var(--text-3); font-size: 0.95rem; margin-bottom: 1.5rem; max-width: 300px; }
.game-guest-btn {
  background: linear-gradient(135deg, var(--gold), #d97706); color: #000; border: none;
  font-weight: 800; font-size: 1.05rem; padding: 14px 40px; border-radius: var(--radius-md);
  cursor: pointer; transition: all var(--duration-state) var(--ease-default);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}
.game-guest-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(245, 158, 11, 0.35); filter: brightness(1.1); }
.game-guest-btn:disabled { opacity: 0.5; transform: none; }
.game-guest-cta small { color: var(--text-4); font-size: 0.8rem; margin-top: 1rem; }
.game-guest-cta small a { color: var(--gold); text-decoration: none; }

.game-info-bar { display: flex; gap: 1px; margin-top: 2px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; background: var(--border); }
.game-info-item { flex: 1; background: var(--bg-2); padding: 10px 12px; text-align: center; }
.game-info-item:first-child { border-radius: 0 0 0 var(--radius-lg); }
.game-info-item:last-child { border-radius: 0 0 var(--radius-lg) 0; }
.game-info-label { display: block; font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-4); margin-bottom: 2px; }
.game-info-value { font-size: 0.82rem; font-weight: 700; color: var(--text-1); }
.game-info-green { color: var(--green-bright); }
.game-info-history { flex: 3; text-align: left; }
.game-results-strip { display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; }
.game-results-empty { color: var(--text-4); font-size: 0.75rem; }
.game-result-chip { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; white-space: nowrap; flex-shrink: 0; }
.game-result-chip.win { background: rgba(16, 185, 129, 0.1); color: var(--green-bright); border: 1px solid rgba(16, 185, 129, 0.2); }
.game-result-chip.loss { background: rgba(239, 68, 68, 0.08); color: var(--red); border: 1px solid rgba(239, 68, 68, 0.15); }

/* ================================================================ */
/* ODDS BUTTONS                                                     */
/* ================================================================ */
.odds-btn {
  min-width: 65px; border-radius: var(--radius-sm) !important;
  transition: all var(--duration-micro) var(--ease-default);
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  background: rgba(245, 158, 11, 0.04) !important;
}
.odds-btn:hover { background: rgba(245, 158, 11, 0.12) !important; border-color: var(--gold) !important; }
.odds-btn.selected {
  background: var(--gold) !important; color: #000 !important;
  border-color: var(--gold) !important; box-shadow: var(--shadow-glow-gold);
}

/* ================================================================ */
/* ALERTS                                                           */
/* ================================================================ */
.alert { border-radius: var(--radius-lg); border: none; }

/* ================================================================ */
/* LIVE PULSE                                                       */
/* ================================================================ */
.pulse-badge { animation: pulseAnim 1.5s infinite; }
@keyframes pulseAnim { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ================================================================ */
/* BET SLIP                                                         */
/* ================================================================ */
.bet-slip { position: sticky; top: 70px; }
.bet-slip .selection-item { border-bottom: 1px solid rgba(255, 255, 255, 0.04); padding: 10px 0; }

/* ================================================================ */
/* MOBILE NAV — frosted glass                                      */
/* ================================================================ */
.gs-mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(5, 6, 11, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--border);
  padding: 6px 0;
}
.gs-mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  max-width: 500px;
  margin: 0 auto;
}
.gs-mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  text-decoration: none;
  color: var(--text-3);
  font-size: 0.65rem;
  font-weight: 600;
  transition: color var(--duration-state) var(--ease-default);
}
.gs-mobile-nav a i { font-size: 1.25rem; }
.gs-mobile-nav a.active { color: var(--gold); }
.gs-mobile-nav a:hover { color: var(--text-1); }

/* ================================================================ */
/* FOOTER — impeccable.style: rounded card, legal links             */
/* ================================================================ */
.gs-footer {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 20px 2%;
  padding: 32px;
}
.gs-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.gs-footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-3);
  line-height: 1.7;
  margin-top: 12px;
}
.gs-footer h6 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 12px;
}
.gs-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gs-footer-links li { margin-bottom: 6px; }
.gs-footer-links a {
  font-size: var(--text-sm);
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--duration-state) var(--ease-default);
}
.gs-footer-links a:hover { color: var(--text-0); }
.gs-footer-links .highlight { color: var(--gold); font-weight: 700; }
.gs-footer-links .highlight:hover { color: var(--gold-bright); }
.gs-footer-divider { border: 0; border-top: 1px solid var(--border); margin: 24px 0 16px; }
.gs-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.gs-footer-legal p {
  font-size: 0.7rem;
  color: var(--text-4);
  margin: 0;
  letter-spacing: 0.02em;
}
.gs-footer-legal-links {
  display: flex;
  gap: 16px;
}
.gs-footer-legal-links a {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-4);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--duration-state) var(--ease-default);
}
.gs-footer-legal-links a:hover { opacity: 1; color: var(--text-2); }

@media (max-width: 768px) {
  .gs-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .gs-footer-grid { grid-template-columns: 1fr; }
  .gs-footer-legal { flex-direction: column; text-align: center; }
}

/* ================================================================ */
/* PLAYGROUND CARDS                                                 */
/* ================================================================ */
.game-playground-card {
  background: var(--bg-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: all var(--duration-state) var(--ease-default);
}
.game-playground-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-card-hover) !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
}
.game-playground-card:hover .game-play-overlay { opacity: 1 !important; }

/* ================================================================ */
/* LEGAL PAGES                                                      */
/* ================================================================ */
.gs-legal-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: fit-content;
}
.gs-legal-nav a {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-3);
  text-decoration: none;
  transition: all var(--duration-state) var(--ease-default);
}
.gs-legal-nav a:hover { color: var(--text-0); background: rgba(255, 255, 255, 0.05); }
.gs-legal-nav a.active {
  background: var(--gold);
  color: #000;
}
.gs-legal-content {
  line-height: 1.8;
  color: var(--text-1);
}
.gs-legal-content h4 {
  color: var(--gold);
  margin-top: 32px;
  font-weight: 700;
}
.gs-legal-content p { max-width: 65ch; }
.gs-legal-content ul { padding-left: 20px; }
.gs-legal-content li { margin-bottom: 8px; }

/* ================================================================ */
/* PROMOTIONS                                                       */
/* ================================================================ */
.gs-promo-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--duration-state) var(--ease-default);
}
.gs-promo-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

/* ================================================================ */
/* SCROLLBAR                                                        */
/* ================================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ================================================================ */
/* TABLE                                                            */
/* ================================================================ */
.table-dark { --bs-table-bg: transparent; }
.table-hover > tbody > tr:hover { background-color: rgba(245, 158, 11, 0.03); }

/* ================================================================ */
/* DROPDOWN                                                         */
/* ================================================================ */
.dropdown-menu-dark { background: var(--bg-2); border-color: var(--border); }
.dropdown-item { color: var(--text-2); transition: all var(--duration-micro) var(--ease-default); }
.dropdown-item:hover { background: rgba(245, 158, 11, 0.06); color: var(--text-0); }

/* ================================================================ */
/* RESPONSIVE                                                       */
/* ================================================================ */
@media (max-width: 768px) {
  .game-page { padding: 8px; }
  .game-title { font-size: 1rem; }
  .game-canvas { min-height: 400px; }
  .game-info-bar { flex-wrap: wrap; }
  .game-info-item { flex-basis: 25%; }
  .game-info-history { flex-basis: 100%; }
}
