/* ==========================================================================
   SHREE WIN - 2026 LUXURY GAMING DESIGN SYSTEM (STUDIO-CRAFTED UI/UX)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  /* Core Luxury Palette */
  --bg-deep: #070312;
  --bg-surface-1: #0d061f;
  --bg-surface-2: #140a2e;
  --bg-card: rgba(22, 11, 46, 0.7);
  --bg-card-hover: rgba(32, 16, 68, 0.85);
  
  /* Modern Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-bg-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 245, 155, 0.35);
  --glass-border-gold: rgba(251, 191, 36, 0.3);

  /* Vivid Accents */
  --neon-emerald: #00f59b;
  --emerald-glow: rgba(0, 245, 155, 0.35);
  --emerald-gradient: linear-gradient(135deg, #00f59b 0%, #059669 100%);
  
  --gold-accent: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.3);
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  
  --violet-glow: rgba(139, 92, 246, 0.25);
  --violet-accent: #8b5cf6;
  --cyan-accent: #38bdf8;
  --danger-accent: #f43f5e;

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);

  /* Geometry & Curves */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px var(--emerald-glow);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  position: relative;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #1a0a3d 0%, #0e0521 35%, var(--bg-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.55;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

/* Universal User-Friendly Typography & Natural Word Wrapping */
p, span, h1, h2, h3, h4, h5, h6, a, div, li, td, th, label, strong, em, small, b {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
}

/* Force line break ONLY on ultra-long continuous code blocks & hashes */
.hash-text, code, pre {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.gift-code-inline {
  display: inline-block;
  font-family: monospace;
  font-weight: 800;
  color: var(--gold-accent);
  font-size: clamp(0.60rem, 2.3vw, 0.92rem);
  white-space: nowrap;
  word-break: keep-all;
  max-width: 100%;
}

/* Ambient Background Light Mesh */
.ambient-glow-mesh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  contain: paint;
}
.orb-1 {
  position: absolute;
  top: -150px;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 18s ease-in-out infinite alternate;
}
.orb-2 {
  position: absolute;
  top: 40%;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 60px) scale(1.15); }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SCROLL REVEAL & 3D ANIMATION UTILITIES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 3D Tilt Container */
.tilt-card {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Shimmer Highlight */
.shimmer-text {
  background: linear-gradient(90deg, #ffffff 0%, #00f59b 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerAnim 5s linear infinite;
}
@keyframes shimmerAnim {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & NAVBAR
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.16) 0%, rgba(0, 245, 155, 0.22) 50%, rgba(251, 191, 36, 0.16) 100%);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  padding: 8px 0;
  font-size: clamp(0.78rem, 1.6vw, 0.88rem);
  text-align: center;
  position: relative;
  z-index: 950;
  backdrop-filter: blur(14px);
}
.top-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.announcement-badge {
  background: var(--gold-gradient);
  color: #1a0a00;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}
.announcement-msg {
  color: #fff;
  letter-spacing: 0.2px;
}
.announcement-msg strong {
  color: var(--gold-accent);
  font-weight: 800;
  font-size: 0.95em;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}
.announcement-cta {
  color: var(--neon-emerald);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}
.announcement-cta:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--neon-emerald);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(7, 3, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #fbbf24 0%, #10b981 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-logo:hover .logo-icon {
  transform: rotate(10deg) scale(1.08);
}
.logo-text span {
  color: var(--neon-emerald);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* SVG Vector Icon Styling */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.svg-icon-lg {
  width: 1.8rem;
  height: 1.8rem;
}
.svg-icon-xl {
  width: 2.5rem;
  height: 2.5rem;
}
.svg-icon-gold {
  color: var(--gold-accent);
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.45));
}
.svg-icon-emerald {
  color: var(--neon-emerald);
  filter: drop-shadow(0 0 6px rgba(0, 245, 155, 0.45));
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.btn-primary {
  background: var(--emerald-gradient);
  color: #032213;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 245, 155, 0.58);
  z-index: 2;
}
.btn-gold {
  background: var(--gold-gradient);
  color: #2b1704;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.btn-gold:hover, .btn-gold:focus, .btn-gold:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.58);
  z-index: 2;
}
.btn-telegram {
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.btn-telegram:hover, .btn-telegram:focus, .btn-telegram:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 158, 217, 0.58);
  color: #fff;
  z-index: 2;
}
.btn-outline {
  background: var(--glass-bg);
  color: #fff;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  z-index: 2;
}
.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Category Filter & Navigation Bar (Smooth Gradient Edge Fade & No Glow Clipping) */
.category-filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 14px 14px 20px 14px;
  margin-bottom: 20px;
  overflow: visible;
}
@media (max-width: 768px) {
  .category-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px 14px 18px 14px;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 36px), transparent 100%);
  }
  .category-filter-bar::-webkit-scrollbar {
    display: none;
  }
}

/* Instant Tab Filtering Animations (Zero Reload) */
.card-filter-animating {
  opacity: 0 !important;
  transform: scale(0.9) translateY(12px) !important;
  transition: all 0.16s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card-filter-hidden {
  display: none !important;
}

.card-filter-show {
  animation: tabCardReveal 0.38s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
}

@keyframes tabCardReveal {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* More Menu Toggle & Pop-In Drawer */
.more-menu-container {
  position: relative;
}
.more-toggle-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.more-toggle-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
}

.more-pop-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 290px;
  background: linear-gradient(155deg, rgba(24, 12, 54, 0.97) 0%, rgba(10, 5, 24, 0.98) 100%);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(251, 191, 36, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  
  opacity: 0;
  visibility: hidden;
  transform: scale(0.88) translateY(-12px);
  transform-origin: top right;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.more-pop-menu.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.more-pop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.more-pop-close {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}
.more-pop-close:hover {
  background: var(--danger-accent);
  transform: rotate(90deg);
}
.more-pop-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 12px;
}
.more-pop-grid::-webkit-scrollbar {
  width: 4px;
}
.more-pop-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.more-pop-grid::-webkit-scrollbar-thumb {
  background: var(--gold-accent);
  border-radius: 4px;
}
.more-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.more-item:hover, .more-item.active {
  background: rgba(0, 245, 155, 0.12);
  border-color: rgba(0, 245, 155, 0.35);
  transform: translateX(3px);
}
.more-item-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.more-item-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-grow: 1;
}
.more-item-info strong {
  font-size: 0.84rem;
  color: #fff;
  white-space: nowrap;
}
.more-item-info small {
  font-size: 0.7rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.more-pop-voucher {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

/* ==========================================================================
   HERO SECTION (FLUID RESPONSIVE TYPOGRAPHY)
   ========================================================================== */
.hero-section {
  padding: clamp(35px, 6vw, 65px) 0 clamp(30px, 4vw, 45px);
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(25px, 4vw, 45px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid rgba(0, 245, 155, 0.25);
  color: var(--neon-emerald);
  border-radius: var(--radius-pill);
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 25px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
/* Hero Deposit Promo Banner Below Buttons */
.hero-deposit-promo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16) 0%, rgba(20, 10, 46, 0.85) 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(251, 191, 36, 0.2);
  backdrop-filter: blur(10px);
}
.deposit-promo-icon {
  font-size: 1.25rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
  animation: pulseIcon 2s ease-in-out infinite;
}
@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.deposit-promo-text {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: #fff;
  letter-spacing: 0.2px;
}
.deposit-promo-text strong {
  font-weight: 800;
  font-family: var(--font-display);
  background: linear-gradient(90deg, #fbbf24 0%, #00f59b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}
.stat-card {
  background: var(--glass-bg);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  color: var(--gold-accent);
}
.stat-label {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* VIP Gift Voucher Card */
.gift-voucher-card {
  background: linear-gradient(145deg, rgba(34, 15, 78, 0.85) 0%, rgba(14, 7, 34, 0.95) 100%);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(251, 191, 36, 0.12);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.gift-voucher-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.voucher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.voucher-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
}
.voucher-bonus-badge {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.gift-code-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed var(--gold-accent);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.gift-code-text {
  font-family: monospace;
  font-size: clamp(0.58rem, 2.2vw, 0.92rem);
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 0.2px;
  white-space: nowrap;
  word-break: keep-all;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 0%;
  min-width: 0;
}
.copy-btn {
  background: var(--gold-accent);
  color: #000;
  font-weight: 800;
  padding: 4px 10px;
  min-width: 56px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
  white-space: nowrap;
  font-size: 0.76rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}
.copy-btn:hover, .copy-btn:active {
  background: #fff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.45);
}
.voucher-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.voucher-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.voucher-perks li span {
  color: var(--neon-emerald);
}

/* ==========================================================================
   LIVE PAYOUT TICKER MARQUEE
   ========================================================================== */
.live-ticker-section {
  padding: 14px 0;
  background: rgba(12, 6, 28, 0.65);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.ticker-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-emerald);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-emerald);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}
.ticker-scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 10px 18px 10px;
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 36px), transparent 100%);
}
.ticker-scroll-container::-webkit-scrollbar {
  display: none;
}
.payout-card {
  flex: 0 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}
.payout-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #000;
}
.payout-info {
  display: flex;
  flex-direction: column;
}
.payout-user {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}
.payout-amount {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--neon-emerald);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-wrapper {
  padding: clamp(40px, 6vw, 65px) 0;
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(25px, 4vw, 40px);
}
.section-tag {
  color: var(--neon-emerald);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: inline-block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  color: var(--text-muted);
}

/* ==========================================================================
   GAMES GRID & 3D CARDS
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(14px, 2.5vw, 20px);
  padding: 0;
  margin: 0;
  align-items: start;
  width: 100%;
  max-width: 100%;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  height: auto;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}
.game-thumb-wrapper {
  height: 155px;
  background: linear-gradient(135deg, #190a3b 0%, #29125e 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.game-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #ff2a5f 0%, #e11d48 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 14px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: var(--radius-md);
  box-shadow: -3px 4px 16px rgba(225, 29, 72, 0.55);
  letter-spacing: 0.5px;
  z-index: 5;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}
.game-category-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}
.game-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.game-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.game-multiplier {
  font-size: 0.8rem;
  color: var(--gold-accent);
  font-weight: 700;
  margin-bottom: 5px;
}
.game-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}
.game-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  width: 100%;
}
.game-actions .btn {
  flex: 1 1 0%;
  min-width: 0;
  padding: 7px 8px;
  font-size: 0.78rem;
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   INTERACTIVE WINGO 30s SIMULATOR
   ========================================================================== */
.wingo-simulator-card {
  background: linear-gradient(145deg, rgba(23, 11, 52, 0.9) 0%, rgba(10, 5, 26, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}
.wingo-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 20px;
}
.wingo-title-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wingo-timer-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}
.timer-count {
  font-family: monospace;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-accent);
}
.wingo-balance-box {
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid rgba(0, 245, 155, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--neon-emerald);
}
.color-bet-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.btn-bet-color {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.btn-bet-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.btn-bet-violet {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.btn-bet-red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.btn-bet-color:hover, .btn-bet-color:focus, .btn-bet-color:active {
  transform: scale(1.02);
}
.btn-bet-green:hover, .btn-bet-green:focus, .btn-bet-green:active, .btn-bet-green.selected {
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}
.btn-bet-violet:hover, .btn-bet-violet:focus, .btn-bet-violet:active, .btn-bet-violet.selected {
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.5);
}
.btn-bet-red:hover, .btn-bet-red:focus, .btn-bet-red:active, .btn-bet-red.selected {
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
}
.btn-bet-color.selected {
  outline: 3px solid #fff;
}
.color-ratio {
  font-size: 0.7rem;
  opacity: 0.85;
}
.number-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}
.btn-bet-num {
  aspect-ratio: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.btn-bet-num:hover, .btn-bet-num.selected {
  background: var(--gold-accent);
  color: #000;
  border-color: var(--gold-accent);
  transform: scale(1.06);
}
/* Promotions Grid & Cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 3vw, 24px);
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(16px);
  position: relative;
}
.promo-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 245, 155, 0.15);
}
.promo-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold-accent);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.promo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.promo-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.bet-amount-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(0, 0, 0, 0.35);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.simulator-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1 1 260px;
  min-width: 0;
  max-width: 100%;
}
.simulator-actions .btn {
  flex: 1 1 0%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  padding: 10px 8px;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.download-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

/* Demo Games Suite Styling */
.demo-nav-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.demo-nav-bar::-webkit-scrollbar {
  display: none;
}
.demo-nav-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.demo-nav-btn:hover {
  border-color: rgba(0, 245, 155, 0.3);
  color: #fff;
}
.demo-nav-btn.active {
  background: var(--neon-emerald);
  color: #000;
  border-color: var(--neon-emerald);
  box-shadow: 0 4px 14px rgba(0, 245, 155, 0.4);
}
.demo-chip-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
}
.download-btn-group .btn {
  flex: 1 1 200px;
  min-width: 0;
  justify-content: center;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.88rem;
  white-space: nowrap;
}
@media (max-width: 580px) {
  .download-btn-group .btn {
    flex: 1 1 100%;
    width: 100%;
  }
}
.chip-amounts {
  display: flex;
  gap: 8px;
  padding: 4px 2px;
}
.chip-btn {
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.chip-btn.active {
  background: var(--neon-emerald);
  color: #000;
  border-color: var(--neon-emerald);
  box-shadow: 0 4px 16px rgba(0, 245, 155, 0.5);
  transform: translateY(-1px);
}
.sim-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 0.82rem;
}
.sim-history-table th {
  text-align: left;
  padding: 8px 10px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--glass-border);
}
.sim-history-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.result-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.72rem;
}
.result-green { background: #10b981; color: #000; }
.result-violet { background: #8b5cf6; color: #fff; }
.result-red { background: #ef4444; color: #fff; }

/* ==========================================================================
   VIP COMMISSION CALCULATOR
   ========================================================================== */
.calculator-card {
  background: linear-gradient(145deg, rgba(25, 12, 58, 0.9) 0%, rgba(12, 6, 30, 0.95) 100%);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}
.calc-slider-group {
  margin-bottom: 20px;
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.calc-val {
  color: var(--gold-accent);
  font-size: 0.95rem;
}
.calc-range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-accent);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-glow);
}
.calc-results-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 20px;
  text-align: center;
}
.calc-res-item h4 {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.calc-res-amount {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--neon-emerald);
}

/* ==========================================================================
   PROMOTIONS & VIP CARDS
   ========================================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(16px, 3vw, 24px);
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
}
.promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-gold);
}
.promo-tag {
  background: rgba(251, 191, 36, 0.12);
  color: var(--gold-accent);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 12px;
}
.promo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.promo-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ==========================================================================
   APK DOWNLOAD STEPS WIZARD
   ========================================================================== */
.apk-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 25px;
}
.apk-step-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  backdrop-filter: blur(14px);
}
.step-num {
  width: 32px;
  height: 32px;
  background: var(--neon-emerald);
  color: #000;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.25s ease;
  backdrop-filter: blur(14px);
}
.faq-question {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(0.88rem, 1.8vw, 0.98rem);
  color: #fff;
  user-select: none;
}
.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--neon-emerald);
}
.faq-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
.faq-item.active {
  border-color: rgba(0, 245, 155, 0.35);
}
.faq-item.active .faq-answer {
  padding: 0 18px 16px;
  max-height: 300px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   FOOTER & MOBILE BOTTOM BAR
   ========================================================================== */
.site-footer {
  background: #04020a;
  border-top: 1px solid var(--glass-border);
  padding: clamp(40px, 6vw, 60px) 0 90px;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(20px, 4vw, 35px);
  margin-bottom: 30px;
}
.footer-brand p {
  color: var(--text-muted);
  margin: 12px 0;
  max-width: 300px;
  font-size: 0.84rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a:hover {
  color: var(--neon-emerald);
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.age-badge {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: var(--danger-accent);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.7rem;
}

/* Mobile Fixed Bottom Nav */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(18, 9, 42, 0.95) 0%, rgba(7, 3, 18, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-top: 1px solid rgba(0, 245, 155, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.8), 0 -2px 14px rgba(0, 245, 155, 0.18);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  position: relative;
  text-decoration: none;
}
.bottom-nav-item.active {
  color: var(--neon-emerald);
  transform: translateY(-2px);
}
.bottom-nav-item.active .bottom-nav-icon {
  filter: drop-shadow(0 0 8px rgba(0, 245, 155, 0.65));
}
.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 3px;
  background: var(--neon-emerald);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--neon-emerald);
}
.bottom-nav-icon {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   MODALS & TOASTS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}
.modal-overlay.active {
  display: flex;
}
.modal-card {
  background: linear-gradient(145deg, #1a0c3c 0%, #0c051e 100%);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 30px);
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  animation: modalScale 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalScale {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: var(--danger-accent);
  transform: rotate(90deg);
}
.modal-close .svg-icon, .more-pop-close .svg-icon {
  width: 13px;
  height: 13px;
  margin: auto;
  display: block;
  stroke-width: 2.5px;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 75px;
  right: 18px;
  background: #059669;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 2001;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & CLEAN ERGONOMICS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  .site-header {
    height: 58px;
  }
  .header-inner {
    height: 58px;
  }
  .brand-logo {
    font-size: 1.12rem;
    gap: 6px;
  }
  .logo-icon {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
    border-radius: 6px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn {
    padding: 6px 10px;
    font-size: 0.78rem;
    border-radius: 6px;
  }
  
  /* Mobile More Menu - Sleek, Aligned, Never Overflowing */
  .more-pop-menu {
    position: fixed;
    top: 62px;
    right: 10px;
    left: auto;
    width: 265px;
    max-width: calc(100vw - 20px);
    padding: 12px;
    border-radius: var(--radius-md);
  }
  .more-pop-header {
    font-size: 0.76rem;
    padding-bottom: 6px;
    margin-bottom: 8px;
  }
  .more-pop-grid {
    max-height: 170px;
    gap: 5px;
    padding-right: 2px;
    margin-bottom: 8px;
  }
  .more-item {
    padding: 6px 8px;
    gap: 6px;
    border-radius: 6px;
  }
  .more-item-icon {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }
  .more-item-info strong {
    font-size: 0.78rem;
  }
  .more-item-info small {
    font-size: 0.65rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .hero-deposit-promo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .top-announcement-bar {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
  .top-announcement-content {
    gap: 6px;
  }
  .sim-history-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .color-bet-buttons {
    grid-template-columns: 1fr;
  }
  .number-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 380px) {
  .brand-logo .logo-text {
    font-size: 0.95rem;
  }
  .header-actions .btn {
    padding: 5px 8px;
    font-size: 0.74rem;
  }
  .more-pop-menu {
    width: 250px;
    right: 6px;
  }
}
