/* ==========================================================================
   FUNHUB555 - MASTER LUXURY STYLESHEET
   Design System: Dark Emerald Luxury (Black & Emerald Green)
   Comprehensive styling for ALL pages (Home, Slot, Baccarat, Casino,
   Jackpot, Sports, FAQ, Login, About, Privacy, Terms, Responsible Gaming)
   ========================================================================== */

:root {
  --emerald-primary: #10b981;
  --emerald-light: #6ee7b7;
  --emerald-dark: #047857;
  --emerald-gradient: linear-gradient(135deg, #a7f3d0 0%, #10b981 50%, #065f46 100%);
  --emerald-glow: rgba(16, 185, 129, 0.45);
  --emerald-subtle: rgba(16, 185, 129, 0.15);

  /* Legacy color aliases mapped to Emerald Green */
  --gold-primary: #10b981;
  --gold-light: #6ee7b7;
  --gold-dark: #047857;
  --gold-gradient: linear-gradient(135deg, #a7f3d0 0%, #10b981 50%, #065f46 100%);
  --gold-glow: rgba(16, 185, 129, 0.45);
  --gold-subtle: rgba(16, 185, 129, 0.15);

  --white: #fafafa;
  --black: #09090b;
  --dark-card: #18181b;
  --dark-border: #27272a;
  --dark-light: #202023;
  --red-accent: #ef4444;
  --blue-accent: #3b82f6;
  --green-accent: #10b981;
  --text-muted: #9ca3af;
  --transition-smooth: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ── GLOBAL RESETS & TYPOGRAPHY ── */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: 'Kanit', sans-serif;
  background-color: var(--black);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.8;
  padding-bottom: 95px; /* Spacing for fixed mobile bottom nav */
}

.font-brand {
  font-family: 'Cinzel', serif;
}

.text-gold, .text-emerald {
  color: var(--emerald-light) !important;
}

.text-gold-light, .text-emerald-light {
  color: var(--emerald-light) !important;
}

.bg-dark-card {
  background-color: var(--dark-card) !important;
}

.bg-dark-light {
  background-color: var(--dark-light) !important;
}

.site-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}

/* ── BRAND LOGO ── */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
  margin-right: 1.5rem;
}

.brand-img-logo {
  height: 44px;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.6));
  transition: var(--transition-smooth);
}

.navbar-brand:hover .brand-img-logo {
  filter: drop-shadow(0 0 16px rgba(110, 231, 183, 0.9));
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .brand-img-logo {
    height: 38px;
    max-height: 38px;
  }
}

.logo-svg-brand, .logo-brand-svg {
  overflow: visible !important;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.45));
  transition: var(--transition-smooth);
}

.navbar-brand:hover .logo-svg-brand, .navbar-brand:hover .logo-brand-svg {
  filter: drop-shadow(0 0 12px rgba(110, 231, 183, 0.8));
  transform: scale(1.03);
}

/* ── NAVBAR (DESKTOP) ── */
.navbar {
  background-color: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--emerald-primary);
  padding: 0.8rem 1rem;
  z-index: 1030;
}

.navbar-toggler {
  border: 1px solid var(--emerald-primary);
  padding: 6px 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--emerald-glow);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2310b981' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  transition: var(--transition-smooth);
  letter-spacing: 0.03em;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--emerald-light) !important;
  text-shadow: 0 0 8px var(--emerald-glow);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--emerald-gradient);
  border-radius: 2px;
}

/* ── BREADCRUMB ── */
.breadcrumb-wrap {
  background: var(--dark-card);
  border-bottom: 1.5px solid var(--dark-border);
  padding: 0.75rem 0;
}

.breadcrumb {
  margin: 0;
  font-size: 0.88rem;
}

.breadcrumb-item a {
  color: var(--emerald-light);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb-item.active {
  color: #9ca3af;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--emerald-primary);
}

/* ── HERO SECTION ── */
.hero-section, .page-hero {
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.14) 0%, rgba(9, 9, 11, 1) 75%), 
              linear-gradient(180deg, #18181b 0%, #09090b 100%);
  border-bottom: 3px solid var(--emerald-primary);
  padding: 30px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-section::before, .page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border: 3px solid rgba(16, 185, 129, 0.18);
  transform: rotate(30deg);
  pointer-events: none;
}

.hero-section::after, .page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 260px; height: 260px;
  border: 2px solid rgba(16, 185, 129, 0.1);
  transform: rotate(15deg);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-gradient);
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px var(--emerald-glow);
}

.hero-section h1, .page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.hero-section h1 span, .page-hero h1 span { 
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.hero-section p.lead, .hero-sub {
  color: #d1d5db;
  font-size: 1.1rem;
  max-width: 620px;
  font-weight: 300;
}

.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── BUTTONS ── */
.btn-hero-primary, .btn-cta-primary {
  background: var(--emerald-gradient);
  color: var(--black) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  transition: var(--transition-bounce);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--emerald-glow);
  cursor: pointer;
}

.btn-hero-primary:hover, .btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--emerald-glow);
  color: var(--black) !important;
}

.btn-hero-secondary, .btn-cta-secondary {
  background: rgba(24, 24, 27, 0.85);
  color: var(--emerald-light) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 32px;
  border: 2px solid var(--emerald-primary);
  border-radius: 50px;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-hero-secondary:hover, .btn-cta-secondary:hover {
  background: var(--emerald-gradient);
  color: var(--black) !important;
  border-color: transparent;
  transform: translateY(-3px);
}

.btn-jp-play {
  display: inline-block;
  width: 100%;
  background: var(--emerald-gradient);
  color: var(--black) !important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 12px var(--emerald-glow);
  font-size: 0.85rem;
}

.btn-jp-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--emerald-glow);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat-item, .hero-stat-card { 
  text-align: left;
  border-left: 3px solid var(--emerald-primary);
  padding-left: 12px;
}

.hero-stat-item .stat-num, .hero-stat-card .stat-num {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--emerald-light);
  display: block;
  line-height: 1.2;
}

.hero-stat-item .stat-label, .hero-stat-card .stat-label {
  font-size: 0.82rem;
  color: #9ca3af;
}

.hero-display-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 460px;
  margin: 0 auto;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 25px rgba(16, 185, 129, 0.35));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-display-img:hover {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 35px rgba(16, 185, 129, 0.55));
}

@media (min-width: 992px) {
  .hero-display-img {
    max-width: 520px;
    margin-right: 0;
    margin-left: auto;
  }
}

/* ── COMMON SECTIONS ── */
section { padding: 40px 0; }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-title span { 
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: #9ca3af;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.gold-line, .emerald-line {
  width: 80px;
  height: 3px;
  background: var(--emerald-gradient);
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}

.gold-line.center, .emerald-line.center {
  margin: 1rem auto 1.5rem;
}

.gold-top, .emerald-top {
  border-top: 3px solid var(--emerald-primary) !important;
}

/* ── SLOT REEL DECORATION ── */
.reel-deco-svg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
  padding: 8px 16px;
  background: rgba(24, 24, 27, 0.8);
  border: 1.5px solid var(--dark-border);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.reel-deco-svg svg {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reel-deco-svg svg:hover {
  transform: scale(1.2) rotate(6deg);
}

/* ── INFINITE SLIDING MARQUEE ── */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background: radial-gradient(circle at center, rgba(39, 39, 42, 0.6) 0%, rgba(9, 9, 11, 1) 100%);
  border-top: 1.5px solid var(--dark-border);
  border-bottom: 1.5px solid var(--dark-border);
}

.marquee-container {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: infiniteSeamlessLoop 35s linear infinite;
}

.marquee-wrapper:hover .marquee-container {
  animation-play-state: paused;
}

@keyframes infiniteSeamlessLoop {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ── SLOT GAME CARDS ── */
.slot-game-card {
  width: 200px;
  height: 290px;
  background: linear-gradient(180deg, #1f1f23 0%, #0e0e11 100%);
  border: 1.5px solid var(--dark-border);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.slot-game-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--emerald-primary);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.35);
}

.slot-card-image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.slot-card-png {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slot-game-card:hover .slot-card-png {
  transform: scale(1.12);
}

.slot-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 9, 11, 0.95) 75%);
  padding: 16px 12px 12px;
  z-index: 2;
  text-align: center;
}

.slot-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-card-rtp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
}

/* ── GAME CONTROLS & SEARCH ── */
.game-controls-wrap {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--emerald-primary);
  font-size: 1.1rem;
}

.game-search-input {
  width: 100%;
  background: #09090b;
  border: 1.5px solid var(--dark-border);
  border-radius: 50px;
  padding: 10px 16px 10px 44px;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.game-search-input:focus {
  outline: none;
  border-color: var(--emerald-primary);
  box-shadow: 0 0 15px var(--emerald-glow);
}

.filter-tab-btn {
  background: #1f1f23;
  border: 1px solid var(--dark-border);
  color: #d1d5db;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.filter-tab-btn:hover, .filter-tab-btn.active {
  background: var(--emerald-gradient);
  color: var(--black);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--emerald-glow);
}

/* ── PREMIUM SERVICES ── */
.premium-service-card {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.85) 0%, rgba(9, 9, 11, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 20px;
  padding: 2rem 1.4rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.premium-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--emerald-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-service-card:hover {
  transform: translateY(-8px);
  border-color: var(--emerald-primary);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 35, 24, 0.9) 0%, rgba(9, 9, 11, 0.98) 100%);
}

.premium-service-card:hover::before {
  opacity: 1;
}

.premium-service-icon-wrap {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  width: 76px; height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition-smooth);
  box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.08);
}

.premium-service-card:hover .premium-service-icon-wrap {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-primary);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.4);
  transform: scale(1.08) rotate(3deg);
}

.premium-service-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--black);
  background: var(--emerald-gradient);
  padding: 2px 9px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.premium-service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.premium-service-card:hover .premium-service-title {
  color: var(--emerald-light);
}

.premium-service-desc {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.premium-service-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.premium-service-card:hover .premium-service-btn {
  color: var(--white);
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* ── VIP CARDS ── */
.vip-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 2.5rem 1.8rem;
  text-align: center;
  height: 100%;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.vip-card:hover { 
  transform: translateY(-8px);
  border-color: var(--emerald-primary);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2);
}

.vip-card.featured {
  border: 2px solid var(--emerald-primary);
  background: linear-gradient(160deg, #0e2216 0%, #18181b 100%);
}

.vip-card .vip-badge {
  position: absolute;
  top: 15px; right: -30px;
  background: var(--emerald-gradient);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 30px;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.vip-card .vip-icon { font-size: 3rem; margin-bottom: 1rem; color: var(--emerald-light); }
.vip-card h4 { font-weight: 700; font-size: 1.35rem; margin-bottom: 0.5rem; }
.vip-card .vip-price {
  font-family: 'Kanit', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--emerald-light);
  margin-bottom: 1.5rem;
}

.vip-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.vip-card ul li, .vip-detail-item {
  font-size: 0.92rem;
  color: #d1d5db;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-card ul li i, .vip-detail-item i { color: var(--emerald-primary); }

/* ── BONUS SECTION ── */
.bonus-section {
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.18) 0%, rgba(24, 24, 27, 1) 70%),
              linear-gradient(135deg, #18181b 0%, #202023 100%);
  border-top: 3px solid var(--emerald-primary);
  border-bottom: 3px solid var(--emerald-primary);
  position: relative;
}

.bonus-amount {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.bonus-label {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

.bonus-terms {
  padding-left: 1.2rem;
}

.bonus-terms li {
  font-size: 0.92rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.bonus-terms li::marker { color: var(--emerald-primary); }

/* ── JACKPOT SECTION ── */
.jackpot-section {
  background: radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12) 0%, rgba(9, 9, 11, 1) 70%),
              linear-gradient(135deg, #09090b 0%, #18181b 100%);
  border-top: 3px solid var(--emerald-primary);
}

.jackpot-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-left: 5px solid var(--emerald-primary);
  padding: 1.8rem;
  text-align: center;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.jackpot-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.jackpot-amount {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--emerald-light);
  text-shadow: 0 0 10px var(--emerald-glow);
}

.jackpot-winner, .winner-name {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

.jackpot-game {
  font-size: 1.2rem;
  color: var(--emerald-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.jp-game-card {
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.jp-game-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald-primary);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.jp-game-icon-container { width: 70px; height: 70px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; }
.jp-game-svg-icon { width: 100%; height: 100%; }
.jp-game-name { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.jp-game-desc { font-size: 0.85rem; color: #9ca3af; line-height: 1.5; }
.jp-game-tag { display: inline-block; background: rgba(16, 185, 129, 0.12); border: 1px solid var(--emerald-primary); color: var(--emerald-light); font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: 50px; margin-bottom: 0.5rem; }
.jp-game-amount { font-family: 'Cinzel', serif; font-size: 1.35rem; font-weight: 800; color: var(--emerald-light); margin-bottom: 0.6rem; text-shadow: 0 0 10px var(--emerald-glow); }
.jackpot-ticker-box, .live-ticker-box { background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(24, 24, 27, 0.9) 100%); border: 2px solid var(--emerald-primary); border-radius: 16px; padding: 1.5rem; text-align: center; margin-bottom: 2rem; }
.ticker-label { font-size: 0.88rem; color: #9ca3af; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }
.ticker-amount { font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--emerald-light); text-shadow: 0 0 12px var(--emerald-glow); }
.ticker-text { font-size: 0.88rem; color: #d1d5db; }
.ticker-meta { font-size: 0.78rem; color: #9ca3af; }

/* ── SECURITY BADGES ── */
.security-badge, .security-badges {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 3px solid var(--emerald-primary);
  padding: 1.8rem 1.2rem;
  text-align: center;
  height: 100%;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.security-badge:hover, .security-badges:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-5px);
}

.security-badge i, .sec-badge i {
  font-size: 2.2rem;
  color: var(--emerald-light);
  display: block;
  margin-bottom: 0.8rem;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--emerald-primary);
  color: var(--emerald-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.sec-num {
  font-weight: 800;
  color: var(--emerald-light);
}

.security-badge h6 {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.security-badge p {
  font-size: 0.82rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.6;
}

.ssl-lock-svg {
  width: 55px;
  height: 55px;
  display: block;
  margin: 0 auto 0.8rem;
  filter: drop-shadow(0 0 5px var(--emerald-glow));
  animation: lockGlow 2s infinite alternate ease-in-out;
}

@keyframes lockGlow {
  0% { transform: scale(1); filter: drop-shadow(0 0 4px var(--emerald-glow)); }
  100% { transform: scale(1.08); filter: drop-shadow(0 0 12px var(--emerald-primary)); }
}

/* ── LOYALTY PROGRAM & POINTS ── */
.loyalty-card {
  padding: 2.2rem 1.8rem;
  text-align: center;
  height: 100%;
  border-radius: 16px;
  border: 1px solid var(--dark-border);
  transition: var(--transition-smooth);
}

.loyalty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.loyalty-card.bronze { background: linear-gradient(160deg, #1c140c 0%, #18181b 100%); border-color: #854d0e; }
.loyalty-card.silver { background: linear-gradient(160deg, #202023 0%, #18181b 100%); border-color: #71717a; }
.loyalty-card.gold, .loyalty-card.emerald { background: linear-gradient(160deg, #0e2417 0%, #18181b 100%); border-color: var(--emerald-primary); }
.loyalty-card .tier-icon { font-size: 3rem; margin-bottom: 0.8rem; color: var(--emerald-light); }
.loyalty-card h4 { font-weight: 700; font-size: 1.25rem; margin-bottom: 0.4rem; }
.loyalty-card .tier-pts { font-size: 0.88rem; color: #9ca3af; margin-bottom: 12px; font-weight: 500; }
.loyalty-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.loyalty-card ul li {
  font-size: 0.88rem;
  color: #d1d5db;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}
.loyalty-card ul li i { color: var(--emerald-light); }

.point-card-container {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.9) 0%, rgba(9, 9, 11, 0.95) 100%);
  border: 2px solid var(--emerald-primary);
  padding: 2.2rem;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.point-card {
  background: linear-gradient(135deg, rgba(39, 39, 42, 0.45) 0%, rgba(20, 20, 23, 0.6) 100%);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 16px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: var(--transition-bounce);
  height: 100%;
}

.point-card:hover {
  transform: translateY(-6px);
  border-color: var(--emerald-primary);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(39, 39, 42, 0.6) 0%, rgba(16, 32, 22, 0.85) 100%);
}

.point-card-icon {
  display: block;
  margin: 0 auto 1.2rem;
  height: 60px;
  filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.35));
}

.point-card h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.point-card .pts-value, .payout-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald-light);
  text-shadow: 0 0 8px rgba(110, 231, 183, 0.4);
}

/* ── ABOUT & STATS ── */
.about-section { 
  background: var(--dark-card); 
  border-top: 1px solid var(--dark-border); 
  border-bottom: 1px solid var(--dark-border); 
}

.about-stats-card, .stat-box {
  background: var(--black); 
  border: 1px solid var(--dark-border); 
  padding: 1.8rem; 
  text-align: center;
  border-radius: 16px;
  transition: var(--transition-smooth);
  height: 100%;
}

.about-stats-card:hover, .stat-box:hover {
  border-color: var(--emerald-primary);
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--emerald-light);
  margin-bottom: 0.2rem;
}

.stat-subtitle {
  font-size: 0.85rem;
  color: #9ca3af;
}

.shield-stats-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.info-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.88rem;
}

.info-stat-label, .lbl, .label { color: #9ca3af; font-size: 0.88rem; }
.info-stat-value, .val, .num { color: var(--emerald-light); font-weight: 700; }
.name, .author { color: var(--white); font-weight: 600; }
.limit { color: #9ca3af; font-size: 0.82rem; }
.role { color: var(--emerald-light); font-size: 0.82rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--emerald-primary); }
.stars { color: var(--emerald-light); }
.crown-icon { font-size: 2.5rem; color: var(--emerald-light); }

/* ── CONTACT CARD ── */
.contact-card, .contact-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-left: 5px solid var(--emerald-primary);
  padding: 1.8rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.contact-card:hover, .contact-item:hover {
  border-color: var(--emerald-primary);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.contact-card i, .contact-item i { color: var(--emerald-light); font-size: 1.6rem; margin-right: 12px; }

/* ── PRIVACY & AGE NOTICES ── */
.privacy-notice {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left: 5px solid var(--emerald-primary);
  padding: 1.2rem 1.8rem;
  border-radius: 12px;
  font-size: 0.92rem;
  color: #d1d5db;
}

.privacy-notice a { color: var(--emerald-light); text-decoration: underline; }
.privacy-notice a:hover { color: var(--white); }

.age-notice {
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid var(--emerald-primary);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--emerald-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── FAQ ACCORDION & LIST ── */
.faq-section { padding: 30px 0; }
.faq-sidebar { position: sticky; top: 90px; }
.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-q {
  font-weight: 600;
  color: var(--emerald-light);
  padding: 1.2rem 1.5rem;
  cursor: pointer;
}
.faq-a {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 0 1.5rem 1.5rem;
}

.accordion-item {
  background-color: var(--dark-card) !important;
  border: 1px solid var(--dark-border) !important;
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--dark-card) !important;
  color: var(--white) !important;
  font-weight: 500;
  padding: 1.2rem 1.5rem;
  font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
  color: var(--emerald-light) !important;
  background-color: #1a2920 !important;
  box-shadow: inset 0 -1px 0 var(--dark-border);
}

.accordion-button::after {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(95deg);
}

.accordion-body {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 1.5rem;
  background-color: var(--black);
}

/* ── SLOT TYPES GRID ── */
.slot-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.2rem;
}

.slot-type-item {
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-bottom: 3.5px solid var(--emerald-primary);
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.slot-type-item:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
}

.slot-type-item .type-icon-wrap {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-type-item .type-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.slot-type-item .type-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}

.slot-type-item .type-count, .cat-count {
  font-size: 0.75rem;
  color: var(--emerald-light);
  margin-top: 0.2rem;
}

/* ── PROVIDER CARDS ── */
.provider-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 4px solid var(--emerald-primary);
  padding: 1.8rem 1.4rem;
  border-radius: 16px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.provider-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald-primary);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.provider-card .provider-icon-wrap {
  width: 54px;
  height: 54px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.provider-card .provider-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.provider-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.provider-card p {
  font-size: 0.88rem;
  color: #9ca3af;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.provider-stat, .provider-pill {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.provider-stat span, .provider-pill span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--dark-border);
  color: #d1d5db;
}

.provider-stat span.hot, .provider-pill span.hot { border-color: #ef4444; color: #fca5a5; background: rgba(239, 68, 68, 0.1); }
.provider-stat span.new, .provider-pill span.new { border-color: var(--emerald-primary); color: var(--emerald-light); background: rgba(16, 185, 129, 0.1); }
.provider-stat span.top, .provider-pill span.top { border-color: var(--emerald-primary); color: var(--emerald-light); background: rgba(16, 185, 129, 0.15); }

/* ── GAME CARDS ── */
.game-card, .game-cat-card {
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover, .game-cat-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald-primary);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
}

.game-card .game-thumb {
  background: linear-gradient(135deg, #18181b, #09090b);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--dark-border);
  position: relative;
}

.game-card .game-thumb svg {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
}

.game-card:hover .game-thumb svg {
  transform: scale(1.1) rotate(4deg);
}

.game-card .game-rtp {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--emerald-gradient);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 30px;
}

.game-card .game-body { padding: 1rem; }
.game-card h5, .game-name { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.game-card .game-meta { font-size: 0.78rem; color: #9ca3af; }
.game-card .game-meta span { color: var(--emerald-light); font-weight: 700; }

/* ── RTP TABLE ── */
.rtp-table, .data-table, .payout-table, .winner-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.rtp-table thead tr, .data-table thead tr, .payout-table thead tr, .winner-table thead tr { background: var(--emerald-gradient); color: var(--black); }
.rtp-table thead th, .data-table thead th, .payout-table thead th, .winner-table thead th { padding: 0.9rem 1.2rem; font-weight: 700; letter-spacing: 0.03em; }
.rtp-table thead th:first-child, .data-table thead th:first-child, .payout-table thead th:first-child, .winner-table thead th:first-child { border-radius: 12px 0 0 0; }
.rtp-table thead th:last-child, .data-table thead th:last-child, .payout-table thead th:last-child, .winner-table thead th:last-child { border-radius: 0 12px 0 0; }
.rtp-table tbody tr, .data-table tbody tr, .payout-table tbody tr, .winner-table tbody tr { border-bottom: 1px solid var(--dark-border); transition: background 0.15s; }
.rtp-table tbody tr:hover, .data-table tbody tr:hover, .payout-table tbody tr:hover, .winner-table tbody tr:hover { background: var(--dark-light); }
.rtp-table tbody td, .data-table tbody td, .payout-table tbody td, .winner-table tbody td { padding: 0.8rem 1.2rem; color: #d1d5db; vertical-align: middle; }
.rtp-val, .amount { font-weight: 800; color: var(--emerald-light); }
.rtp-bar-wrap { background: #27272a; height: 8px; width: 120px; display: inline-block; vertical-align: middle; border-radius: 10px; overflow: hidden; }
.rtp-bar { background: var(--emerald-gradient); height: 100%; border-radius: 10px; }

/* ── STEP & INFO CARDS ── */
.step-card {
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-left: 5px solid var(--emerald-primary);
  padding: 1.8rem 1.4rem;
  border-radius: 14px;
  position: relative;
}

.step-card .step-num, .step-num-circle {
  position: absolute;
  top: -14px; left: 16px;
  background: var(--emerald-gradient);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 30px;
}

.step-card h5 { font-weight: 700; color: var(--emerald-light); margin-bottom: 0.5rem; margin-top: 0.4rem; }
.step-card p, .step-content { font-size: 0.9rem; color: #9ca3af; margin: 0; }

.info-card, .adv-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 4px solid var(--emerald-primary);
  padding: 2rem 1.6rem;
  border-radius: 16px;
  height: 100%;
  transition: all 0.3s ease;
}

.info-card:hover, .adv-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.info-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-left: 5px solid var(--emerald-primary);
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  color: #e5e7eb;
  font-size: 0.92rem;
  line-height: 1.7;
  height: auto !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.info-card .info-icon-wrap, .adv-card .adv-icon, .icon-wrap, .cat-icon {
  font-size: 2.2rem;
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  display: inline-block;
}

.info-card h5, .adv-card h5 { font-weight: 600; color: var(--emerald-light); font-size: 1.15rem; margin-bottom: 0.5rem; }
.info-card p, .adv-card p, .desc { font-size: 0.9rem; color: #9ca3af; margin: 0; line-height: 1.7; }

/* ── SIDEBAR CARDS & TIP CARDS ── */
.sidebar-box, .sidebar-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 3px solid var(--emerald-primary);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.tip-card {
  background: #121215;
  border: 1px solid var(--dark-border);
  border-left: 4px solid var(--emerald-primary);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.8rem;
  transition: var(--transition-smooth);
  text-align: left;
  height: auto;
}

.tip-card:hover {
  border-color: var(--emerald-primary);
  transform: translateX(4px);
  background: #1b1b20;
}

.tip-card .tip-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--emerald-light);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tip-card p {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.5;
}

.alert-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid var(--red-accent);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
  font-size: 0.88rem;
  color: #fca5a5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.alert-box i {
  font-size: 1.3rem;
  color: var(--red-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── LOGIN & FORM PANEL (FUNHUB555-LOGIN PAGE) ── */
.login-panel {
  background: linear-gradient(145deg, #132219 0%, #111114 100%);
  border: 2px solid var(--emerald-primary);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.25);
  position: relative;
}

.panel-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--emerald-light);
  margin-bottom: 0.3rem;
  text-align: center;
  font-family: 'Cinzel', 'Kanit', sans-serif;
}

.panel-sub {
  font-size: 0.82rem;
  color: #9ca3af;
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-label-custom {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  display: block;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--emerald-primary);
  font-size: 1.1rem;
  pointer-events: none;
}

.form-input-custom {
  width: 100%;
  background: #09090b !important;
  border: 1.5px solid var(--dark-border) !important;
  border-radius: 10px !important;
  padding: 12px 42px 12px 14px !important;
  color: var(--white) !important;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input-custom:focus {
  outline: none !important;
  border-color: var(--emerald-primary) !important;
  box-shadow: 0 0 15px var(--emerald-glow) !important;
}

.btn-login {
  width: 100%;
  background: var(--emerald-gradient);
  color: #000 !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--emerald-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--emerald-glow);
}

.divider-or {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.2rem 0;
  color: #6b7280;
  font-size: 0.82rem;
}

.divider-or::before, .divider-or::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--dark-border);
}

.divider-or:not(:empty)::before { margin-right: 0.8em; }
.divider-or:not(:empty)::after { margin-left: 0.8em; }

.btn-register-alt {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--emerald-primary);
  color: var(--emerald-light) !important;
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-register-alt:hover {
  background: var(--emerald-gradient);
  color: #000 !important;
  border-color: transparent;
}

.feature-card, .device-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 3px solid var(--emerald-primary);
  padding: 1.5rem;
  border-radius: 14px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover, .device-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-primary);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

/* ── BACCARAT BOARD & SIMULATION ── */
.gameboard-container {
  background: linear-gradient(135deg, #07190f 0%, #030a06 100%);
  border: 3px solid var(--emerald-primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  margin-top: 1.5rem;
}

.gameboard-inner {
  border: 1px dashed rgba(16, 185, 129, 0.35);
  padding: 1.5rem;
  border-radius: 16px;
}

.betting-areas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .betting-areas {
    grid-template-columns: 1fr;
  }
}

.bet-area {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--dark-border);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bet-area:hover {
  border-color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.15);
  transform: translateY(-3px);
}

.bet-area.player { border-color: rgba(59, 130, 246, 0.6); }
.bet-area.banker { border-color: rgba(239, 68, 68, 0.6); }
.bet-area.tie { border-color: rgba(16, 185, 129, 0.6); }

.bet-area h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.bet-area.player h5 { color: #60a5fa; }
.bet-area.banker h5 { color: #f87171; }
.bet-area.tie h5 { color: #34d399; }
.bet-payout { font-size: 0.8rem; color: #9ca3af; font-weight: 600; }
.placed-chips, .placed-chip-badge { margin-top: 6px; display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }

.chip-selectors {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.chip-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.chip-btn:hover, .chip-btn.active {
  transform: scale(1.18) translateY(-4px);
  box-shadow: 0 8px 20px var(--emerald-glow);
}

.chip-100 { background: radial-gradient(circle, #3b82f6, #1d4ed8); border-color: #93c5fd; }
.chip-500 { background: radial-gradient(circle, #ef4444, #b91c1c); border-color: #fca5a5; }
.chip-1000 { background: radial-gradient(circle, #10b981, #047857); border-color: #6ee7b7; }
.chip-5000 { background: radial-gradient(circle, #f59e0b, #b45309); border-color: #fde68a; color: #000; }

.card-slots-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
  .card-slots-container {
    grid-template-columns: 1fr;
  }
}

.card-slot-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}

.card-slot-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.card-slot-title.p-title { color: #60a5fa; }
.card-slot-title.b-title { color: #f87171; }
.card-hand { min-height: 90px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.score-badge-val, .b-score, .p-score { font-weight: 700; font-size: 0.9rem; margin-top: 6px; }

.score-board-container {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 1.2rem;
}

.score-board-title { font-size: 0.95rem; font-weight: 700; color: var(--emerald-light); margin-bottom: 1rem; }
.bead-grid-container { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; background: #000; padding: 8px; border-radius: 8px; overflow-x: auto; }
.roadmap-cell { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.roadmap-cell.p-win, .p-win { background: #3b82f6; }
.roadmap-cell.b-win, .b-win { background: #ef4444; }
.roadmap-cell.t-win, .t-win { background: #10b981; }

.room-card, .live-table-card {
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.room-card:hover, .live-table-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.room-header, .live-table-thumb { position: relative; height: 160px; overflow: hidden; background: #18181b; }
.room-header img, .live-table-thumb img { width: 100%; height: 100%; object-fit: cover; }
.room-badge, .live-badge { position: absolute; top: 10px; right: 10px; background: var(--emerald-gradient); color: #000; font-weight: 800; font-size: 0.72rem; padding: 3px 10px; border-radius: 50px; }
.room-body, .live-table-body { padding: 1.2rem; }
.room-limit { font-size: 0.8rem; color: #9ca3af; }
.room-icon-box { font-size: 2.2rem; color: var(--emerald-light); margin-bottom: 0.6rem; }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--emerald-light); font-weight: 700; text-transform: uppercase; }
.live-indicator::before { content: ''; width: 8px; height: 8px; background: var(--emerald-primary); border-radius: 50%; animation: livePulse 1.5s infinite; }

@keyframes livePulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.suit-deco { display: inline-flex; gap: 0.5rem; font-size: 1.8rem; margin-bottom: 1rem; }
.red-suit { color: var(--red-accent); }
.black-suit { color: var(--white); }

/* ── SPORTS & ODDS ── */
.sport-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
  transition: all 0.3s ease;
}

.sport-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.sport-icon-container { width: 54px; height: 54px; margin-bottom: 1rem; }
.sport-icon-container svg { width: 100%; height: 100%; }
.sport-title { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.sport-desc { font-size: 0.88rem; color: #9ca3af; line-height: 1.6; margin-bottom: 1rem; }
.sport-tag, .league-badge, .pay-badge { display: inline-block; background: rgba(16, 185, 129, 0.12); border: 1px solid var(--emerald-primary); color: var(--emerald-light); font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: 50px; }

.odds-table-card, .payout-table-card, .winner-table-card { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem; }
.odds-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.odds-table th { background: #1a2920; color: var(--emerald-light); padding: 0.8rem 1rem; font-weight: 700; border-bottom: 1px solid var(--dark-border); }
.odds-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--dark-border); vertical-align: middle; }
.odds-btn { background: #09090b; border: 1px solid var(--dark-border); color: var(--white); font-weight: 700; font-size: 0.85rem; padding: 6px 14px; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 6px; }
.odds-btn:hover, .odds-btn.active { background: var(--emerald-gradient); color: #000; border-color: transparent; box-shadow: 0 2px 10px var(--emerald-glow); }

.betslip-container { background: var(--dark-card); border: 2px solid var(--emerald-primary); border-radius: 16px; padding: 1.5rem; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.betslip-title { font-size: 1.1rem; font-weight: 700; color: var(--emerald-light); margin-bottom: 1rem; border-bottom: 1px solid var(--dark-border); padding-bottom: 0.6rem; }
.betslip-item { background: #09090b; border: 1px solid var(--dark-border); border-radius: 10px; padding: 0.8rem; margin-bottom: 0.8rem; position: relative; }
.betslip-input-group { margin-top: 6px; }
.betslip-input { background: #18181b; border: 1px solid var(--dark-border); border-radius: 6px; padding: 6px 10px; color: var(--white); font-size: 0.9rem; width: 100%; }
.betslip-close { cursor: pointer; color: #ef4444; }

/* ── FAQ & CHAT ── */
.faq-tabs-wrap { margin-bottom: 2rem; }
.faq-tab-list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.faq-category-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--emerald-light);
  margin: 2.2rem 0 1rem;
  padding-left: 10px;
  border-left: 4px solid var(--emerald-primary);
}

.sim-chat-box {
  background: var(--dark-card);
  border: 1.5px solid var(--emerald-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.sim-chat-header {
  background: #1a2920;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--dark-border);
}

.sim-chat-body {
  padding: 1.2rem;
  height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #09090b;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg.bot {
  align-self: flex-start;
  background: #18181b;
  border: 1px solid var(--dark-border);
  color: #d1d5db;
  border-bottom-left-radius: 2px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--emerald-gradient);
  color: #000;
  font-weight: 600;
  border-bottom-right-radius: 2px;
}

.sim-chat-footer {
  padding: 0.8rem;
  background: #18181b;
  border-top: 1px solid var(--dark-border);
  display: flex;
  gap: 8px;
}

.sim-chat-input {
  flex: 1;
  background: #09090b;
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--white);
}

.sim-chat-send {
  background: var(--emerald-gradient);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: #000;
  font-weight: 700;
  cursor: pointer;
}

/* ── ABOUT & TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--emerald-primary);
  margin: 2rem 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--emerald-gradient);
  border: 2px solid #000;
  box-shadow: 0 0 8px var(--emerald-glow);
}

.timeline-year {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--emerald-light);
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.timeline-body {
  font-size: 0.88rem;
  color: #9ca3af;
}

.team-card, .testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover, .testimonial-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--emerald-primary);
  object-fit: cover;
}

/* ── RESPONSIBLE GAMING, PRIVACY & TERMS ── */
.tips-section, .tools-section, .exclusion-section, .warning-section, .quiz-section {
  padding: 50px 0;
  position: relative;
}

.cta-section {
  padding: 60px 0;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.16) 0%, rgba(9, 9, 11, 1) 80%),
              linear-gradient(180deg, #18181b 0%, #09090b 100%);
  border-top: 2px solid var(--emerald-primary);
  border-bottom: 2px solid var(--emerald-primary);
  position: relative;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 1rem 0;
}

.cta-section h2 span {
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-section p {
  color: #d1d5db;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.toc-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 3px solid var(--emerald-primary);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 90px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li a, .sidebar-nav-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}

.toc-list li a:hover, .sidebar-nav-link:hover {
  color: var(--emerald-light);
  padding-left: 4px;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--dark-border);
}

.legal-section:last-child {
  border-bottom: none;
}

.highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--emerald-primary);
  padding: 1.2rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: #e5e7eb;
}

.warning-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid var(--red-accent);
  border-radius: 12px;
  padding: 1.2rem;
  margin: 1.5rem 0;
  color: #fca5a5;
}

.success-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 4px solid var(--emerald-primary);
  border-radius: 12px;
  padding: 1.2rem;
  margin: 1.5rem 0;
  color: #6ee7b7;
}

.quiz-card, .quiz-result-box {
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-radius: 16px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}

.quiz-item {
  background: #09090b;
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.quiz-num {
  background: var(--emerald-gradient);
  color: #000;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.quiz-text {
  font-size: 0.92rem;
  color: #d1d5db;
}

.tool-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 3px solid var(--emerald-primary);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-primary);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.tool-icon {
  font-size: 2.2rem;
  color: var(--emerald-light);
  margin-bottom: 0.8rem;
}

.tool-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-top: 0.6rem;
}

.age-gate-banner {
  background: linear-gradient(135deg, #091e12 0%, #09090b 100%);
  border: 2px solid var(--emerald-primary);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.age-gate-icon {
  font-size: 2.8rem;
  color: var(--emerald-light);
  flex-shrink: 0;
}

.age-gate-text {
  font-size: 0.92rem;
  color: #d1d5db;
  line-height: 1.6;
}

.responsible-bar {
  background: rgba(16, 185, 129, 0.15);
  border-top: 2px solid var(--emerald-primary);
  border-bottom: 2px solid var(--emerald-primary);
  padding: 1.2rem 0;
  font-size: 0.9rem;
  color: var(--emerald-light);
  text-align: center;
}

.responsible-bar a {
  color: var(--white);
  text-decoration: underline;
}

.promo-banner {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.9) 0%, rgba(9, 9, 11, 0.95) 100%);
  border: 2px solid var(--emerald-primary);
  border-left: 8px solid var(--emerald-primary);
  padding: 2.5rem;
  border-radius: 20px;
}

.promo-amount {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.prose h2 { font-size: 1.4rem; font-weight: 600; color: var(--white); margin: 2rem 0 0.8rem; padding-left: 0.8rem; border-left: 4px solid var(--emerald-primary); }
.prose h3 { font-size: 1.15rem; font-weight: 600; color: var(--emerald-light); margin: 1.5rem 0 0.5rem; }
.prose p { color: #d1d5db; font-size: 0.95rem; margin-bottom: 1.2rem; }
.prose ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.prose ul li { color: #d1d5db; font-size: 0.92rem; margin-bottom: 0.4rem; }
.prose ul li::marker { color: var(--emerald-primary); }

.strategy-card {
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-left: 4px solid var(--emerald-primary);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.strategy-card h5, .tip-title { font-size: 0.95rem; font-weight: 700; color: var(--emerald-light); margin-bottom: 0.4rem; }
.strategy-card p { font-size: 0.85rem; color: #d1d5db; margin: 0; }

.quick-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.rights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.right-item, .exclusion-step { background: #09090b; border: 1px solid var(--dark-border); border-radius: 12px; padding: 1.2rem; }
.last-updated { font-size: 0.82rem; color: #9ca3af; margin-bottom: 1rem; }
.minimized { opacity: 0.8; }
.custom-toast { position: fixed; z-index: 99999; }

/* ── FOOTER ── */
footer {
  background: #09090b;
  border-top: 3px solid var(--emerald-primary);
  padding: 40px 0 20px;
}

footer .footer-brand { font-size: 0.95rem; color: #9ca3af; line-height: 1.8; }
footer .footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--emerald-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--dark-border);
}

footer .footer-link {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: var(--transition-smooth);
}

footer .footer-link:hover { 
  color: var(--emerald-light); 
  padding-left: 4px;
}

footer .payment-badge {
  display: inline-block;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  color: #d1d5db;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  margin: 4px 2px;
  border-radius: 4px;
}

footer .footer-divider {
  border-color: var(--dark-border);
  margin: 2rem 0 1.5rem;
}

footer .footer-bottom {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ── FLOATING CONTACT BUTTONS ── */
.floating-contact-container {
  position: fixed;
  bottom: 95px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.contact-float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  font-size: 1.45rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  transition: var(--transition-bounce);
  border: 2px solid var(--white);
  text-decoration: none;
}

.contact-float-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.contact-float-btn.line-btn {
  background: #06C755;
}

.contact-float-btn.telegram-btn {
  background: #0088cc;
}

@media (max-width: 480px) {
  .contact-float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  .floating-contact-container {
    bottom: 85px;
    right: 15px;
    gap: 8px;
  }
}

/* ── CASINO MOBILE BOTTOM NAVBAR ── */
.cnb-wrapper {
  --cnb-bg: #111111;
  --cnb-gold: #10b981;
  --cnb-gold-dark: #047857;
  --cnb-text-active: #ffffff;
  --cnb-text-muted: #8e8e93;
  --cnb-border: rgba(16, 185, 129, 0.5);
  --cnb-height: 70px;

  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none; 
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom);
  pointer-events: none;
  z-index: 9999;
}

@media (max-width: 991.98px) {
  .cnb-wrapper {
    display: flex;
  }
}

.cnb-bar {
  pointer-events: auto;
  width: 100%;
  max-width: 726px; 
  height: var(--cnb-height);
  background: linear-gradient(180deg, #16161a 0%, #050507 100%);
  border-top: 2px solid var(--emerald-primary);
  box-shadow: 0 -8px 25px rgba(0,0,0,0.85);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 5px;
  position: relative;
  border-radius: 20px 20px 0 0; 
}

.cnb-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 185, 129, 0.18) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.4;
  pointer-events: none;
  border-radius: 20px 20px 0 0;
}

.cnb-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cnb-text-muted);
  text-decoration: none;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}

.cnb-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  stroke: currentColor;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s;
}

.cnb-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cnb-item.active {
  color: var(--emerald-light) !important;
}

.cnb-item:hover {
  color: var(--white);
}

.cnb-item.active .cnb-icon {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 6px var(--emerald-glow));
}

.cnb-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 44px;
  height: 22px;
  background: radial-gradient(ellipse at bottom, rgba(16, 185, 129, 0.45) 0%, transparent 75%);
  pointer-events: none;
}

.cnb-fab-wrapper {
  position: absolute;
  bottom: 20px; 
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
  z-index: 10000;
}

.cnb-fab {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--emerald-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--black) !important; 
  position: relative;
  transition: var(--transition-bounce);
  box-shadow: 
    0 8px 16px rgba(0,0,0,0.6), 
    inset 0 2px 4px rgba(255,255,255,0.4), 
    0 0 0 6px #09090b; 
}

.cnb-fab::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(9, 9, 11, 0.5);
  border-radius: 50%;
}

.cnb-fab-icon {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.2));
}

.cnb-fab:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 
    0 12px 24px rgba(16, 185, 129, 0.4),
    inset 0 2px 4px rgba(255,255,255,0.6),
    0 0 0 6px #09090b;
}

.cnb-fab:active {
  transform: scale(0.94);
}

.cnb-fab::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  z-index: -1;
  animation: cnbEmeraldPulse 2s infinite;
  pointer-events: none;
}

@keyframes cnbEmeraldPulse {
  0% { transform: scale(0.85); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── SOCIAL PROOF TOAST (LIVE PAYOUT NOTIFICATION) ── */
.payout-toast {
  position: fixed;
  bottom: 100px;
  left: 20px;
  background: rgba(24, 24, 27, 0.95);
  border: 1.5px solid var(--emerald-primary);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 1500;
  backdrop-filter: blur(8px);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.payout-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.payout-toast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--emerald-gradient);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.payout-toast-text {
  font-size: 0.85rem;
  line-height: 1.4;
}

.payout-toast-text strong {
  color: var(--emerald-light);
  display: block;
}
