/**
 * Eva Casino - Premium Lounge Theme CSS
 * Mobile-First, Modern Glassmorphism, Fast & SEO Optimized
 */

:root {
  --bg-base: #041614;
  --bg-surface: #07201c;
  --bg-surface-elevated: #0c2b26;
  --bg-card: rgba(10, 39, 35, 0.75);
  --bg-card-hover: rgba(16, 58, 52, 0.95);
  --border-glass: rgba(34, 197, 94, 0.15);
  --border-active: #00e676;
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-primary: #ffffff;
  --text-secondary: #9cb3af;
  --text-muted: #627d78;
  --text-gold: #e5b869;

  --accent-gold: #e5b869;
  --accent-gold-dark: #c89540;
  --accent-gold-glow: rgba(229, 184, 105, 0.35);
  --accent-emerald: #00e676;
  --accent-emerald-dark: #16a34a;
  --accent-emerald-glow: rgba(0, 230, 118, 0.25);
  --accent-purple: #8b5cf6;
  --accent-magenta: #ec4899;
  --accent-cyan: #06b6d4;

  --grad-gold: linear-gradient(135deg, #f4d084 0%, #e5b869 50%, #c89540 100%);
  --grad-gold-hover: linear-gradient(135deg, #fae0a2 0%, #f0c57c 50%, #d8a44d 100%);
  --grad-emerald: linear-gradient(135deg, #00e676 0%, #16a34a 100%);
  --grad-vip: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --grad-card: linear-gradient(180deg, rgba(14, 51, 45, 0.85) 0%, rgba(6, 26, 23, 0.95) 100%);
  --grad-hero: linear-gradient(180deg, rgba(4, 22, 20, 0.2) 0%, rgba(4, 22, 20, 0.8) 75%, #041614 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(229, 184, 105, 0.4);
  --shadow-emerald: 0 4px 20px rgba(0, 230, 118, 0.3);

  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', 'Unbounded', system-ui, sans-serif;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #0a332d 0%, var(--bg-base) 70%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
}

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

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

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.main-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.content-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 22, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s ease;
}

.sidebar-toggle-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.site-logo:hover {
  transform: scale(1.04);
}

.site-logo img,
.site-logo-img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(229, 184, 105, 0.45));
  transition: filter 0.2s ease;
}

.site-logo:hover img,
.site-logo:hover .site-logo-img {
  filter: drop-shadow(0 0 16px rgba(229, 184, 105, 0.7));
}

.header-quick-links {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 992px) {
  .header-quick-links {
    display: flex;
  }
}

.nav-pill-link {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-pill-link:hover, .nav-pill-link.active {
  color: #fff;
  background: var(--bg-card);
  border-color: var(--border-glass);
}

.nav-pill-link .badge-tag {
  background: var(--grad-gold);
  color: #041614;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  line-height: 1;
}

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

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary-gold {
  background: var(--grad-gold);
  color: #041614;
  box-shadow: var(--shadow-gold);
}

.btn-primary-gold:hover {
  background: var(--grad-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(229, 184, 105, 0.6);
  color: #000;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.btn-emerald {
  background: var(--grad-emerald);
  color: #041614;
  box-shadow: var(--shadow-emerald);
}

.btn-emerald:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 230, 118, 0.5);
  color: #041614;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   SIDEBAR (Desktop & Mobile Drawer)
   ========================================================================== */
.site-sidebar {
  width: 280px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 99;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--bg-surface);
  transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
  .site-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    z-index: 1000;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8);
  }
  .site-sidebar.drawer-open {
    transform: translateX(0);
  }
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.sidebar-overlay.active {
  display: block;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-close-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .sidebar-close-btn {
    display: block;
  }
}

/* VIP / Gamification Widget */
.sidebar-gamification {
  padding: 16px;
  border-bottom: 1px solid var(--border-glass);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.15) 0%, transparent 100%);
}

.eva-date-card {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.eva-date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.eva-date-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.eva-date-badge {
  background: var(--grad-vip);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  color: #fff;
}

.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  background: var(--grad-vip);
  border-radius: var(--radius-pill);
  width: 15%;
}

.eva-date-sub {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.sidebar-wheel-cta {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(229, 184, 105, 0.2) 0%, rgba(200, 149, 64, 0.05) 100%);
  border: 1px solid rgba(229, 184, 105, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-wheel-cta:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.sidebar-wheel-cta img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  animation: spinSlow 15s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sidebar-wheel-text h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
}

.sidebar-wheel-text p {
  font-size: 10px;
  color: var(--text-secondary);
}

/* Sidebar Menu List */
.sidebar-menu-section {
  padding: 16px;
  flex: 1;
}

.sidebar-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-left: 8px;
}

.sidebar-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sidebar-nav-item a .nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-nav-item a .nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  color: var(--accent-gold);
}

.sidebar-nav-item a:hover,
.sidebar-nav-item.active a {
  background: var(--bg-card);
  color: #fff;
  border-left: 3px solid var(--accent-gold);
  padding-left: 9px;
}

.sidebar-footer-box {
  padding: 16px;
  border-top: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.2);
}

.support-pill-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
}

.support-pill-link:hover {
  border-color: var(--accent-emerald);
  color: #fff;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* ==========================================================================
   LIVE WIN TICKER (Real-time payout simulation)
   ========================================================================== */
.live-ticker-wrap {
  background: rgba(7, 32, 28, 0.98);
  border-bottom: 1px solid var(--border-glass);
  padding: 6px 0;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ticker-label-wrap {
  flex-shrink: 0;
  z-index: 10;
  background: rgba(7, 32, 28, 0.98);
  padding-right: 14px;
  box-shadow: 12px 0 20px rgba(7, 32, 28, 0.98);
  display: flex;
  align-items: center;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-emerald);
  padding: 3px 10px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 25px, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 25px, black 95%, transparent 100%);
}

.ticker-items {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.ticker-item .win-user {
  color: #fff;
  font-weight: 600;
}

.ticker-item .win-amount {
  color: var(--accent-gold);
  font-weight: 700;
}

.ticker-item .win-game {
  color: var(--text-muted);
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HERO LOUNGE SECTION (Modern Asymmetric Presentation)
   ========================================================================== */
.hero-lounge-section {
  position: relative;
  padding: 40px 0 30px;
  overflow: hidden;
}

.hero-main-card {
  background: radial-gradient(ellipse at 80% 50%, rgba(16, 85, 75, 0.6) 0%, rgba(4, 22, 20, 0.95) 70%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-main-card {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 50px 60px;
  }
}

.hero-text-side {
  z-index: 2;
}

.hero-super-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(229, 184, 105, 0.12);
  border: 1px solid rgba(229, 184, 105, 0.35);
  border-radius: var(--radius-pill);
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 46px;
  }
}

.hero-title .text-gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-lead-text {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-bonus-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.bonus-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 39, 35, 0.8);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
}

.bonus-chip .chip-icon {
  font-size: 16px;
}

.bonus-chip strong {
  color: #fff;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-visual-side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-eva-mascot {
  max-height: 380px;
  width: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
  animation: floatEva 6s ease-in-out infinite;
}

@keyframes floatEva {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-floating-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--bg-card-hover);
  border: 1px solid var(--accent-gold);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-floating-badge .badge-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
}

.hero-floating-badge .badge-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* 4 Quick Promo Cards */
.quick-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .quick-promo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.promo-action-card {
  background: var(--grad-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.promo-action-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(229, 184, 105, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-action-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.promo-action-card:hover::before {
  opacity: 1;
}

.promo-icon-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.promo-action-card:hover .promo-icon-wrap img {
  transform: scale(1.12);
}

.promo-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.promo-card-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* ==========================================================================
   CATEGORY TABS & SEARCH BAR
   ========================================================================== */
.lobby-filter-bar {
  padding: 24px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .lobby-filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.category-pills-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.category-pills-list::-webkit-scrollbar {
  display: none;
}

.category-pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.category-pill-btn:hover {
  background: var(--bg-card-hover);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.category-pill-btn.active {
  background: var(--grad-gold);
  color: #041614;
  border-color: var(--accent-gold);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(229, 184, 105, 0.4);
}

.category-pill-btn .pill-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.lobby-search-box {
  position: relative;
  min-width: 240px;
}

.lobby-search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 8px 16px 8px 38px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
}

.lobby-search-input:focus {
  border-color: var(--accent-gold);
  background: var(--bg-surface-elevated);
  box-shadow: 0 0 12px rgba(229, 184, 105, 0.2);
}

.search-icon-pos {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

/* ==========================================================================
   GAMES GRID & GAME CARDS
   ========================================================================== */
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 18px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .title-badge {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-emerald);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--font-main);
}

.section-link-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link-more:hover {
  text-decoration: underline;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 576px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1200px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.game-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #020b0a;
}

.game-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-thumb-wrap img {
  transform: scale(1.08);
}

.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--grad-gold);
  color: #041614;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.game-rtp-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: var(--accent-emerald);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* Hover Action Overlay */
.game-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 22, 20, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 3;
  padding: 12px;
}

.game-card:hover .game-hover-overlay {
  opacity: 1;
  pointer-events: auto;
}

.game-info {
  padding: 10px;
  background: var(--bg-surface);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-provider {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   INTERACTIVE BONUS CALCULATOR
   ========================================================================== */
.bonus-calculator-box {
  background: radial-gradient(circle at 50% 0%, rgba(16, 75, 65, 0.5) 0%, rgba(7, 32, 28, 0.9) 70%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .bonus-calculator-box {
    padding: 40px;
  }
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .calculator-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.calc-input-group {
  margin-bottom: 20px;
}

.calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.calc-slider {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-gold);
}

.calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.calc-chip-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.calc-chip-btn:hover, .calc-chip-btn.active {
  border-color: var(--accent-gold);
  color: #fff;
}

.calc-result-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 184, 105, 0.4);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.calc-result-total {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--accent-gold);
  margin: 10px 0;
}

.calc-breakdown {
  display: flex;
  justify-content: space-around;
  margin: 16px 0 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-breakdown-item h5 {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calc-breakdown-item p {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   PROVIDERS & TOURNAMENTS
   ========================================================================== */
.providers-scroller {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.providers-scroller::-webkit-scrollbar {
  display: none;
}

.provider-logo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  min-width: 140px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.provider-logo-card:hover {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.provider-logo-card img {
  max-height: 36px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(30%) brightness(1.1);
  transition: filter 0.2s ease;
}

.provider-logo-card:hover img {
  filter: grayscale(0%) brightness(1.2);
}

/* Tournaments Grid */
.tournaments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .tournaments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tournament-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.tournament-banner-wrap {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.tournament-banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tournament-prize-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--grad-gold);
  color: #041614;
  font-weight: 900;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

.tournament-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   VIP CLUB / LOYALTY TIERS
   ========================================================================== */
.vip-tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px 0;
}

@media (min-width: 576px) {
  .vip-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .vip-tiers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vip-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.vip-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.vip-card-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.vip-tier-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.vip-tier-cashback {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.vip-perks-list {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.vip-perks-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-perks-list li::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: bold;
}

/* ==========================================================================
   ARTICLE & SEO CONTENT STYLES
   ========================================================================== */
.article-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  margin: 40px 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .article-content {
    padding: 50px 40px;
  }
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: var(--font-heading);
  color: #fff;
  margin-top: 30px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-content h1 { font-size: 28px; }
.article-content h2 { font-size: 22px; border-bottom: 1px solid var(--border-glass); padding-bottom: 8px; }
.article-content h3 { font-size: 18px; color: var(--accent-gold); }

.article-content p {
  margin-bottom: 18px;
  font-size: 15px;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  color: #fff;
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  background: var(--bg-card);
}

.data-table th {
  background: var(--bg-surface-elevated);
  color: var(--accent-gold);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-glass);
}

.data-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-chevron {
  font-size: 14px;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* Breadcrumbs */
.breadcrumbs-nav {
  padding: 14px 0;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  font-size: 12px;
}

.breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-item a:hover {
  color: var(--accent-gold);
}

.breadcrumb-item.active {
  color: var(--text-secondary);
}

.breadcrumb-separator {
  margin: 0 8px;
  color: var(--text-muted);
}

/* Star Rating */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent-gold);
  font-size: 14px;
}

.rating-value {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #020e0d;
  border-top: 1px solid var(--border-glass);
  padding: 50px 0 100px; /* Extra bottom padding for mobile sticky bar */
  margin-top: auto;
  font-size: 13px;
  color: var(--text-muted);
}

@media (min-width: 992px) {
  .site-footer {
    padding-bottom: 50px;
  }
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand-col p {
  margin: 14px 0;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-payment-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.pay-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.footer-bottom-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .footer-bottom-disclaimer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  font-weight: 800;
  font-size: 12px;
}

/* ==========================================================================
   MOBILE STICKY BOTTOM BAR
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(4, 22, 20, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  flex: 1;
  height: 100%;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--accent-gold);
}

.mobile-nav-icon {
  font-size: 18px;
}

.mobile-cta-fab {
  transform: translateY(-12px);
  background: var(--grad-gold);
  color: #041614 !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 20px rgba(229, 184, 105, 0.6);
  border: 2px solid #041614;
}

/* Modal Popup (Wheel & Promo) */
.eva-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.eva-modal.active {
  display: flex;
}

.eva-modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 30px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-wheel-img {
  width: 180px;
  height: 180px;
  margin: 10px auto 20px;
  object-fit: contain;
  transition: transform 3.5s cubic-bezier(0.17, 0.89, 0.32, 1.28);
}
