/* ==========================================================================
   NITRO88 (nitro88.com) — Mobile-First Design System (?v=4)
   Binance Dark-Gold tokens (#0b0e11, #181a20, #202630, #F8D12F -> #F0B90B,
   #01B901 LINE, #B1E2F7 Telegram) + Native-Smooth GPU Hero Slider
   ========================================================================== */

:root {
  --bg-obsidian: #0b0e11;
  --bg-slate: #111619;
  --bg-card: #181a20;
  --bg-elevated: #202630;
  --bg-black: #000000;

  --gold-top: #f8d12f;
  --gold-bottom: #f0b90b;
  --gold-soft: #ffebb6;
  --gold-muted: #caae62;
  --gold-glow: #ac890d;
  --nitro-amber: #ff6b1a;
  --nitro-red: #ed5e1c;
  --emerald: #10b981;
  --line-green: #01b901;
  --tg-sky: #b1e2f7;

  --text-white: #ffffff;
  --text-soft: #e3d8b8;
  --text-muted: #9ca3af;
  --text-dark: #0b0e11;

  --border-slate: #202630;
  --border-gold: rgba(248, 209, 47, 0.36);
  --border-gold-strong: rgba(248, 209, 47, 0.78);

  --font-main: "Kanit", "Prompt", sans-serif;
  --font-display: "Montserrat", "Kanit", sans-serif;
  --font-num: "Chakra Petch", "Montserrat", monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(248, 209, 47, 0.06), transparent 36%),
    radial-gradient(circle at 86% 24%, rgba(255, 107, 26, 0.05), transparent 34%);
  color: var(--text-white);
  line-height: 1.55;
  padding-bottom: 84px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 12px;
}

.tabular {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Buttons & Utilities
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-bottom) 100%);
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(240, 185, 11, 0.28);
}

.btn-gold:hover {
  filter: brightness(1.06);
}

.btn-nitro {
  background: linear-gradient(135deg, var(--nitro-amber), var(--nitro-red));
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(237, 94, 28, 0.3);
}

.btn-outline-gold {
  background: rgba(248, 209, 47, 0.08);
  border-color: var(--border-gold-strong);
  color: var(--gold-top);
}

.btn-dark {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
}

.btn-line {
  background: var(--line-green);
  color: #ffffff;
  font-weight: 700;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}

.hidden {
  display: none !important;
}

@keyframes pulseRegister {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(248, 209, 47, 0.55);
  }
  50% {
    box-shadow: 0 0 14px 2px rgba(255, 107, 26, 0.65);
  }
}

/* ==========================================================================
   Mobile-First Top PWA Bar & LINE / Telegram Strips
   ========================================================================== */
.pwa-install-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(90deg, #1b160a 0%, #2b2109 45%, #111619 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 6px 12px;
  font-size: 0.8rem;
}

.pwa-install-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.pwa-app-badge {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #0b0e11;
  border: 1px solid var(--gold-top);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.72rem;
  color: var(--gold-top);
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pwa-close-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.mobile-contact-strip {
  display: flex;
  flex-direction: column;
}

.strip-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  background: var(--line-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.94rem;
}

.strip-line-pill {
  background: #0b0e11;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.strip-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  background: var(--tg-sky);
  color: #0b0e11;
  font-weight: 700;
  font-size: 0.9rem;
  border-top: 1px solid #269b1c;
  border-bottom: 1px solid #000000;
}

.strip-telegram img {
  height: 22px;
  width: auto;
}

/* ==========================================================================
   Sticky Header & Collapsible 3-Column Mobile Menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 14, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-ball-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(248, 209, 47, 0.28));
}

.brand-text-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  line-height: 1;
  gap: 3px;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  font-size: 1.56rem;
  line-height: 0.88;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.82));
}

.brand-nitro {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fa 45%, #bcc4d0 74%, #f4f7fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-88 {
  background: linear-gradient(180deg, #fff5bc 0%, #f8d12f 44%, #d18600 74%, #fae06b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.brand-sub-pill {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 5.5px;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #f3df98;
  background: rgba(8, 10, 14, 0.86);
  border: 1px solid rgba(226, 178, 52, 0.88);
  border-radius: 999px;
  padding: 2px 6px;
}

.brand-lockup--footer {
  gap: 10px;
}

.brand-lockup--footer .brand-ball-img {
  width: 52px;
  height: 52px;
}

.brand-lockup--footer .brand-wordmark {
  font-size: 2.08rem;
}

.brand-lockup--footer .brand-sub-pill {
  font-size: 7.4px;
  padding: 2.5px 9px;
}

@media (max-width: 429px) {
  .header-row {
    gap: 6px;
  }

  .header-right-mobile {
    gap: 5px;
    flex-shrink: 0;
  }

  .header-wallet-pill {
    padding: 4px 7px;
    font-size: 0.72rem;
    gap: 4px;
    white-space: nowrap;
  }

  .menu-toggle-btn {
    padding: 6px 8px;
    gap: 4px;
    font-size: 0.8rem;
  }

  body.is-logged-in .menu-toggle-btn .menu-btn-label {
    display: none;
  }
}

@media (max-width: 389px) {
  .brand-lockup {
    gap: 6px;
  }

  .brand-ball-img {
    width: 35px;
    height: 35px;
  }

  .brand-wordmark {
    font-size: 1.38rem;
  }

  .brand-sub-pill {
    font-size: 4.9px;
    padding: 1.5px 5px;
  }
}

@media (min-width: 640px) {
  .brand-ball-img {
    width: 44px;
    height: 44px;
  }

  .brand-wordmark {
    font-size: 1.72rem;
  }

  .brand-sub-pill {
    font-size: 6.1px;
    padding: 2px 7px;
  }
}

.header-right-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  font-family: var(--font-num);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-top);
}

.menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold-strong);
  color: var(--gold-top);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
}

.desktop-nav {
  display: none;
}

/* Mobile 3-Column Tile Menu */
.mobile-tile-menu {
  display: none;
  background: #000000;
  border-top: 1px solid var(--border-gold);
  padding: 6px;
}

.mobile-tile-menu.open {
  display: block;
}

.mobile-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.mobile-tile-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 4px;
  background: #1d2028;
  border: 1px solid #0b0e11;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #eeeeee;
  white-space: nowrap;
}

.mobile-tile-grid a.active,
.mobile-tile-grid a:hover {
  background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom));
  color: #0b0e11;
  font-weight: 700;
}

.mobile-tile-grid a.tile-register {
  border-color: var(--gold-top);
  color: var(--gold-top);
  font-weight: 700;
}

/* ==========================================================================
   Butter-Smooth GPU Touch-Draggable Infinite Hero Slider
   ========================================================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000000;
  border-bottom: 2px solid var(--border-slate);
  touch-action: pan-y;
  cursor: grab;
}

.hero-carousel:active {
  cursor: grabbing;
}

.hero-track {
  display: flex;
  will-change: transform;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-track.dragging {
  transition: none !important;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  position: relative;
}

.hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(11, 14, 17, 0.56);
  color: var(--gold-top);
  cursor: pointer;
  padding: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-nav-btn:hover {
  background: var(--gold-top);
  color: #0b0e11;
}

.hero-nav-btn.prev { left: 8px; }
.hero-nav-btn.next { right: 8px; }

.hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-dot {
  min-width: 20px;
  height: 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-dot::after {
  content: "";
  width: 8px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.28s ease, background 0.28s ease;
}

.hero-dot.active::after {
  width: 22px;
  background: var(--gold-top);
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 5;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-top), var(--nitro-amber));
}

/* ==========================================================================
   Providers Original Banners Grid (.bg-slate — Mobile 2 Col -> Desktop 5 Col)
   ========================================================================== */
.bg-slate {
  background: linear-gradient(90deg, #111619 0%, #181a20 100%);
  border-bottom: 3px solid var(--border-slate);
  padding: 18px 0 24px;
}

.heading-glow {
  margin: 0 0 14px;
  text-align: center;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 6px #000, 0 0 12px var(--gold-glow), 0 0 22px rgba(240, 185, 11, 0.45);
}

.heading-gold-grad {
  margin: 0 0 12px;
  text-align: center;
  font-size: 1.28rem;
  font-weight: 800;
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-bottom) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.provider-medallion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.provider-banner-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  background: #090d14;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.provider-banner-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-top);
  box-shadow: 0 8px 24px rgba(248, 209, 47, 0.24);
}

.provider-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-domain-cover {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 4.5%;
  height: 16%;
  border-radius: 999px;
  background: #080a0d;
  border: 1.5px solid var(--gold-top);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-top);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   Editorial / Fix Alert / Original Promo Strips (.bg-obsidian)
   ========================================================================== */
.bg-obsidian {
  background: var(--bg-obsidian);
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--border-slate);
}

.orig-gif-banner {
  display: block;
  width: 100%;
  max-width: 728px;
  margin: 0 auto 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.orig-gif-banner img {
  width: 100%;
  height: auto;
}

.editorial-card {
  background: linear-gradient(180deg, #14171d 0%, #0d1015 100%);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
}

.editorial-brand-hero {
  text-align: center;
  padding: 6px 0 12px;
  border-bottom: 1px solid var(--border-slate);
  margin-bottom: 12px;
}

.stat-4-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--font-num);
  font-size: 1.15rem;
  color: var(--gold-top);
}

.stat-box span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* ==========================================================================
   Welcome + Video Showcase Section (.bg-spotlight)
   ========================================================================== */
.bg-spotlight {
  background: radial-gradient(circle at 50% 0%, #241b09 0%, #07090c 60%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 2px solid var(--border-slate);
  padding: 20px 0 24px;
}

.welcome-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.video-showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-top);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #000;
}

.video-showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.play-orb {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-top), var(--nitro-amber));
  color: #0b0e11;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 28px rgba(248, 209, 47, 0.55);
}

/* ==========================================================================
   Jackpot Smooth Momentum Touch Carousel (.bg-black)
   ========================================================================== */
.bg-black {
  background: #000000;
  padding: 20px 0 24px;
  border-bottom: 2px solid var(--border-slate);
}

.jackpot-carousel-wrap {
  position: relative;
}

.jp-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jp-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: #14171f;
  color: var(--gold-top);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.jp-nav-btn:hover {
  background: var(--gold-top);
  color: #0b0e11;
}

.jackpot-scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
  cursor: grab;
}

.jackpot-scroll-row.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.jackpot-scroll-row::-webkit-scrollbar {
  display: none;
}

.jackpot-img-card {
  scroll-snap-align: start;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  background: #0b0e11;
}

.jackpot-img-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Articles Section (.bg-articles)
   ========================================================================== */
.bg-articles {
  background: var(--bg-obsidian);
  padding: 20px 0 26px;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.article-card {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 10px;
  cursor: pointer;
}

.article-card:hover {
  border-color: var(--border-gold);
}

.article-thumb {
  width: 100%;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
}

.article-card h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--gold-soft);
}

.article-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Footer & Fixed Golden Bottom Bar (.fix-footer)
   ========================================================================== */
.site-footer {
  background: var(--bg-card);
  border-top: 2px solid var(--border-slate);
  padding: 22px 0 20px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.footer-cert-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.footer-cert-row img {
  height: 30px;
  width: auto;
  filter: brightness(0.95);
}

.cert-pill {
  padding: 5px 12px;
  border-radius: 6px;
  background: #0b0e11;
  border: 1px solid var(--border-gold);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-top);
}

.footer-copy {
  border-top: 1px solid var(--border-slate);
  padding-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.fix-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-bottom) 100%);
  border-top: 2px solid #000000;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.65);
}

.fix-footer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 2px calc(7px + env(safe-area-inset-bottom));
  color: #000000;
  font-weight: 700;
  font-size: 0.74rem;
  border-right: 1.5px solid rgba(0, 0, 0, 0.35);
  text-align: center;
  white-space: nowrap;
}

.fix-footer a:last-child {
  border-right: none;
}

.fix-footer a.active-tab {
  background: rgba(0, 0, 0, 0.14);
}

.fix-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  line-height: 1;
}

.ui-icon {
  display: inline-block;
  vertical-align: -0.16em;
  flex-shrink: 0;
}

.ico-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tile-ico-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1b202a 0%, #0e1117 100%);
  border: 1px solid var(--border-gold);
  color: var(--gold-top);
  box-shadow: inset 0 1px 0 rgba(255, 232, 130, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.member-action-tile:hover .tile-ico-badge {
  border-color: var(--gold-top);
  transform: translateY(-2px);
}

.contact-ico-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 14px;
  background: linear-gradient(145deg, #251d0b 0%, #101319 100%);
  border: 1.5px solid var(--gold-top);
  color: var(--gold-top);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(248, 209, 47, 0.18);
}

.modal-ico-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 209, 47, 0.22) 0%, #101319 72%);
  border: 1.5px solid var(--gold-top);
  color: var(--gold-top);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lucky-card-btn {
  height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px solid var(--border-gold);
  background: linear-gradient(145deg, #1a1f29 0%, #0b0e11 100%);
  color: var(--gold-top);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
}

.lucky-card-btn.btn-gold {
  color: #0b0e11;
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-bottom) 100%);
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--gold-top);
}

.play-orb svg {
  margin-left: 3px;
}

/* ==========================================================================
   Subpage Components
   ========================================================================== */
.page-title-banner {
  background: linear-gradient(90deg, #b88c27 0%, #e7ca7a 48%, #f8d12f 75%, #b28b42 100%);
  color: #000000;
  padding: 14px 0;
  border-bottom: 2px solid #000000;
}

.page-title-banner h1 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 800;
}

.breadcrumb-line {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}

.subpage-body {
  padding: 18px 0 28px;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 13px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  color: var(--gold-soft);
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-slate);
  background: #0b0e11;
  color: #ffffff;
  font-size: 0.94rem;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold-top);
}

.member-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.member-action-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  background: #0b0e11;
  border: 1px solid var(--border-gold);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.84rem;
  text-align: center;
  cursor: pointer;
}

.member-action-tile:hover {
  border-color: var(--gold-top);
  background: #141923;
}

.odds-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-slate);
  background: #0b0e11;
  color: #fff;
  cursor: pointer;
}

.odds-btn.selected {
  border-color: var(--gold-top);
  background: rgba(248, 209, 47, 0.16);
}

.odds-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

/* ==========================================================================
   Floating Docks (#topbar / #topbar2), Scroll Top & Modals
   ========================================================================== */
#topbar,
#topbar2 {
  display: none;
}

#toTop {
  position: fixed;
  right: 12px;
  bottom: 74px;
  z-index: 94;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(24, 26, 32, 0.92);
  border: 1px solid var(--gold-top);
  color: var(--gold-top);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#toTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.betslip-fab {
  position: fixed;
  left: 12px;
  bottom: 74px;
  z-index: 94;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #181a20;
  border: 1.5px solid var(--gold-top);
  color: var(--gold-top);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  position: relative;
  width: min(500px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #14181f;
  border: 2px solid var(--gold-top);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: #0b0e11;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.toast-box {
  position: fixed;
  top: 68px;
  right: 12px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-msg {
  background: #0b0e11;
  border: 1px solid var(--gold-top);
  border-left: 4px solid var(--nitro-amber);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Progressive Enhancement — Tablet (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-nav-btn {
    width: 38px;
    height: 38px;
  }

  .hero-nav-btn.prev { left: 14px; }
  .hero-nav-btn.next { right: 14px; }

  .provider-medallion-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .stat-4-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .welcome-split,
  .articles-grid,
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jackpot-scroll-row {
    grid-auto-columns: 34%;
  }

  .member-hub-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .fix-footer {
    display: flex;
    justify-content: center;
  }

  .fix-footer a {
    flex-direction: row;
    gap: 8px;
    padding: 10px 26px;
    font-size: 0.96rem;
    border-right: 2px solid #000000;
  }
}

/* ==========================================================================
   Progressive Enhancement — Desktop (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .pwa-install-bar,
  .mobile-contact-strip,
  .menu-toggle-btn,
  .mobile-tile-menu {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .desktop-nav a {
    padding: 7px 11px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #fffdfd;
    border-radius: 6px;
    border-left: 1px solid #2b303a;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .desktop-nav a:first-child {
    border-left: none;
  }

  .desktop-nav a:hover,
  .desktop-nav a.active {
    color: var(--gold-top);
    background: rgba(248, 209, 47, 0.08);
  }

  .desktop-nav a.nav-reg {
    background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom));
    color: #0b0e11;
    font-weight: 700;
    border-left: none;
    margin-left: 4px;
    animation: pulseRegister 2s infinite;
  }

  .hero-carousel {
    max-width: var(--container-max);
    margin: 10px auto 0;
    border-radius: 14px;
    border: 1px solid var(--border-gold);
  }

  .jackpot-scroll-row {
    grid-auto-columns: 24%;
  }
}

/* Desktop Side Quick Docks (>= 1380px) */
@media (min-width: 1380px) {
  #topbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    right: 10px;
    top: 76px;
    width: 140px;
    z-index: 88;
  }

  #topbar.collapsed .dock-body {
    display: none;
  }

  .qr-dock-card {
    background: #14171f;
    border: 1.5px solid var(--gold-top);
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
  }

  #topbar2 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: fixed;
    left: 10px;
    top: 76px;
    width: 68px;
    z-index: 88;
  }

  #topbar2.collapsed .dock-body {
    display: none;
  }

  .orig-game-dock-icon {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    background: #0b0e11;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .orig-game-dock-icon:hover {
    transform: scale(1.06);
    border-color: var(--gold-top);
  }

  .orig-game-dock-icon img {
    width: 100%;
    height: auto;
  }
}
