/* ============================================
   FUNUP CASINO – LUXURY NEON GOLD THEME
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --neon-green: #00ff88;
  --neon-green-dim: #00cc66;
  --gold: #ffcc00;
  --gold-dark: #e6a800;
  --dark-bg: #0b0f1a;
  --dark-card: #111827;
  --dark-card2: #0d1520;
  --accent-purple: #8b5cf6;
  --accent-red: #ff4444;
  --text-primary: #f0f0f0;
  --text-muted: #94a3b8;
  --border-glow: rgba(0, 255, 136, 0.2);
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Orbitron', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: var(--neon-green); }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,255,136,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,204,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(139,92,246,0.05) 0%, transparent 50%);
  z-index: 0;
  animation: bgShift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes bgShift {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

/* ===== PARTICLES BG ===== */
#particles-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}

@keyframes floatParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* ===== FLOATING ELEMENTS (COINS) ===== */
.floating-elements {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-coin {
  position: absolute;
  font-size: 1.4rem;
  animation: coinFloat linear infinite;
  opacity: 0;
  filter: drop-shadow(0 0 6px var(--gold));
}

@keyframes coinFloat {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.5; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ===== LIVE TICKER ===== */
.live-ticker-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #0a0e1a 0%, #111827 100%);
  border-bottom: 1px solid rgba(0,255,136,0.25);
  height: 36px;
  overflow: hidden;
}

.ticker-label {
  background: var(--neon-green);
  color: #000;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ticker-item {
  padding: 0 30px;
  border-right: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.ticker-item .t-amount { color: var(--gold); font-weight: 700; }
.ticker-item .t-name   { color: var(--neon-green); }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,204,0,0.12);
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(6, 8, 15, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
}

.logo-fun { color: var(--gold); text-shadow: 0 0 20px var(--gold); }
.logo-up  { color: var(--neon-green); text-shadow: 0 0 20px var(--neon-green); }

.logo-badge {
  font-size: 0.55rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 1px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--text-muted);
  transition: all 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  transition: width 0.3s;
  box-shadow: 0 0 8px var(--neon-green);
}

.nav-links a:hover { color: var(--neon-green); }
.nav-links a:hover::after { width: 100%; }

.sound-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.sound-toggle:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 12px rgba(0,255,136,0.3);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dim));
  color: #000;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0,255,136,0.4), 0 4px 15px rgba(0,0,0,0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.btn-primary:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 0 40px rgba(0,255,136,0.7), 0 8px 25px rgba(0,0,0,0.4);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 0 15px rgba(0,255,136,0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after { opacity: 1; }

.btn-pulse {
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,255,136,0.4), 0 4px 15px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 50px rgba(0,255,136,0.8), 0 0 80px rgba(0,255,136,0.3), 0 4px 15px rgba(0,0,0,0.3); }
}

.btn-secondary {
  background: transparent;
  color: var(--neon-green);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border: 2px solid var(--neon-green);
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0,255,136,0.2);
}

.btn-secondary:hover {
  background: rgba(0,255,136,0.1);
  box-shadow: 0 0 30px rgba(0,255,136,0.5);
  transform: scale(1.04);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.btn-outline:hover {
  background: rgba(255,204,0,0.1);
  box-shadow: 0 0 20px rgba(255,204,0,0.4);
  transform: scale(1.03);
}

.btn-sparkle {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  border-radius: 50px;
  transition: all 0.4s;
}

.btn-primary:active .btn-sparkle {
  transform: scale(3);
  opacity: 0;
}

/* Ripple Effect */
.ripple-fx {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 40px 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,255,136,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(255,204,0,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark-bg) 0%, #070a12 100%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-green), var(--gold), transparent);
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-content {
  max-width: 640px;
  z-index: 2;
}

.hero-badge-top {
  margin-bottom: 20px;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,136,0.12);
  border: 1px solid rgba(0,255,136,0.35);
  color: var(--neon-green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulseDot 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--neon-green);
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.6; }
}

.hero-title {
  margin-bottom: 20px;
  line-height: 1.1;
}

.title-line1 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.title-line2 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1;
  animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255,204,0,0.5)); }
  50% { filter: drop-shadow(0 0 50px rgba(255,204,0,0.9)); }
}

.title-line3 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

.gold-glow {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255,204,0,0.8), 0 0 60px rgba(255,204,0,0.4);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-hero {
  font-size: 1.1rem;
  padding: 18px 36px;
  align-self: flex-start;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust span {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-trust span i { color: var(--neon-green); }

.hero-scarcity {
  background: rgba(255,68,68,0.1);
  border: 1px solid rgba(255,68,68,0.3);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.84rem;
  color: #ff8888;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.hero-scarcity strong { color: #ff4444; }

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-wheel-teaser {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s;
}

.hero-wheel-teaser:hover { transform: scale(1.05); }

.wheel-glow-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(255,204,0,0.4), inset 0 0 20px rgba(255,204,0,0.1);
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 20px rgba(255,204,0,0.4); }
  50% { transform: scale(1.08); opacity: 1; box-shadow: 0 0 50px rgba(255,204,0,0.8); }
}

.wheel-preview {
  font-size: 5rem;
  color: var(--gold);
  filter: drop-shadow(0 0 20px rgba(255,204,0,0.8));
}

.wheel-preview i { animation: spinSlow 8s linear infinite; }

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

.hero-wheel-teaser p {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 2px;
  margin-top: 12px;
  text-shadow: 0 0 10px rgba(255,204,0,0.6);
  animation: textBlink 1.5s ease-in-out infinite;
}

@keyframes textBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== STATS SECTION ===== */
.stats-section {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, rgba(0,255,136,0.03), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,255,136,0.12);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover { 
  border-color: rgba(0,255,136,0.3); 
  transform: translateY(-4px);
  background: rgba(0,255,136,0.05);
}

.stat-card:hover::before { opacity: 1; }

.stat-icon {
  font-size: 1.8rem;
  color: var(--neon-green);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px rgba(0,255,136,0.6));
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255,204,0,0.5);
  margin-bottom: 6px;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--gold), #fff, var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255,204,0,0.3));
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ===== GAMES SECTION ===== */
.games-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.game-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0,255,136,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,255,136,0.15);
}

.game-card.featured-game {
  border-color: rgba(255,204,0,0.3);
  box-shadow: 0 0 30px rgba(255,204,0,0.1);
}

.game-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-hot {
  background: linear-gradient(135deg, #ff4444, #ff2200);
  color: #fff;
  box-shadow: 0 0 15px rgba(255,68,68,0.5);
  animation: badgePulse 1.5s ease-in-out infinite;
}

.badge-popular {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  box-shadow: 0 0 15px rgba(255,204,0,0.5);
  animation: badgePulse 1.8s ease-in-out infinite;
}

.badge-new {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  box-shadow: 0 0 15px rgba(139,92,246,0.5);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.featured-crown {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  text-shadow: 0 0 8px rgba(255,204,0,0.8);
}

.game-img-wrap {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.game-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-sweet-bonanza {
  background: linear-gradient(135deg, #ff6b9d, #c44569, #f5a2d5, #7c5cbf);
}

.game-fortune-tiger {
  background: linear-gradient(135deg, #ff8c00, #ff4500, #ffd700, #8b0000);
}

.game-fortune-ox {
  background: linear-gradient(135deg, #1a237e, #283593, #3949ab, #5c6bc0);
}

.game-icon {
  font-size: 4rem;
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.5));
  z-index: 2;
  position: relative;
}

.game-emoji {
  font-size: 5rem;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  animation: emojiFloat 3s ease-in-out infinite;
}

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

.game-overlay-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 70%);
  background-size: 200% 200%;
  background-position: -100% -100%;
  transition: background-position 0.6s ease;
  z-index: 3;
}

.game-card:hover .game-overlay-shine {
  background-position: 200% 200%;
}

.game-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.game-info {
  padding: 18px;
}

.game-info h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.game-rtp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.game-rtp i { color: var(--neon-green); margin-right: 3px; }

.game-multiplier {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255,204,0,0.5);
}

.game-players {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}

.dot-green {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-green);
  animation: pulseDot 1.5s ease-in-out infinite;
}

.btn-game {
  width: 100%;
  justify-content: center;
}

.games-cta {
  text-align: center;
}

/* ===== BONUS SECTION ===== */
.bonus-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(255,204,0,0.03), transparent);
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 20px;
}

.bonus-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}

.bonus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(255,204,0,0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.bonus-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,204,0,0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 25px rgba(255,204,0,0.1);
}

.bonus-main {
  background: linear-gradient(135deg, rgba(255,204,0,0.08), rgba(0,255,136,0.05));
  border-color: rgba(255,204,0,0.25);
  box-shadow: 0 0 30px rgba(255,204,0,0.08);
}

.bonus-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bonus-icon {
  font-size: 2.5rem;
  margin: 16px 0 10px;
  filter: drop-shadow(0 0 10px rgba(255,204,0,0.4));
}

.bonus-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.bonus-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,204,0,0.6);
  margin-bottom: 6px;
  line-height: 1;
}

.bonus-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.bonus-card p strong { color: var(--text-primary); }

.bonus-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.countdown-timer {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0,255,136,0.5);
  letter-spacing: 1px;
}

/* ===== HOW SECTION ===== */
.how-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  max-width: 280px;
  position: relative;
  transition: all 0.4s;
}

.step-card:hover {
  border-color: rgba(0,255,136,0.3);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 20px rgba(0,255,136,0.1);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,255,136,0.1);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 2rem;
  color: var(--neon-green);
  filter: drop-shadow(0 0 10px rgba(0,255,136,0.6));
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.4rem;
  color: rgba(0,255,136,0.4);
  padding: 0 16px;
  flex-shrink: 0;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,255,136,0.08) 0%, transparent 70%),
    radial-gradient(ellipse at 20% 80%, rgba(255,204,0,0.06) 0%, transparent 50%);
  z-index: -1;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.final-cta-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
}

.final-cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.final-badge {
  display: inline-block;
  background: rgba(255,68,68,0.12);
  border: 1px solid rgba(255,68,68,0.3);
  color: #ff8888;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: urgencyPulse 1.5s ease-in-out infinite;
}

@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255,68,68,0.2); }
  50% { box-shadow: 0 0 20px rgba(255,68,68,0.4); }
}

.final-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.final-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.final-sub strong { color: var(--neon-green); }

.final-urgency {
  background: rgba(255,68,68,0.1);
  border: 1px solid rgba(255,68,68,0.25);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: #ff8888;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.btn-final {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark), #ff9900);
  color: #000;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 1px;
  padding: 22px 44px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255,204,0,0.5), 0 8px 30px rgba(0,0,0,0.4);
  animation: finalPulse 2s ease-in-out infinite;
}

@keyframes finalPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255,204,0,0.5), 0 8px 30px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 80px rgba(255,204,0,0.9), 0 0 120px rgba(255,204,0,0.3), 0 8px 30px rgba(0,0,0,0.4); }
}

.btn-final:hover {
  transform: scale(1.06) translateY(-3px);
}

.btn-final:active { transform: scale(0.97); }

.final-trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.final-trust-badges span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.final-trust-badges span i { color: var(--neon-green); }

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--neon-green); }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  padding: 12px 16px 16px;
  background: linear-gradient(0deg, rgba(11,15,26,0.98), transparent);
}

.btn-sticky {
  width: 100%;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dim));
  color: #000;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  box-shadow: 0 -4px 30px rgba(0,255,136,0.4);
}

/* ===== SPIN WHEEL POPUP ===== */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: overlayIn 0.3s ease;
}

.overlay.active {
  display: flex;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.spin-popup {
  background: linear-gradient(135deg, #0d1520, #111827);
  border: 1px solid rgba(255,204,0,0.3);
  border-radius: 24px;
  padding: 30px;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 60px rgba(255,204,0,0.2), 0 30px 80px rgba(0,0,0,0.7);
  animation: popupIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupIn {
  from { transform: scale(0.7) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.spin-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.3s;
  z-index: 10;
}

.spin-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.spin-header {
  text-align: center;
  margin-bottom: 20px;
}

.spin-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.spin-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,204,0,0.6);
  margin-bottom: 6px;
}

.spin-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spin-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.spin-wheel-wrap {
  position: relative;
  width: 300px;
  height: 300px;
}

.spin-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(255,204,0,0.8));
  z-index: 10;
}

#wheelCanvas {
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255,204,0,0.3), 0 0 80px rgba(255,204,0,0.1);
  animation: wheelGlow 2s ease-in-out infinite;
}

@keyframes wheelGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(255,204,0,0.3); }
  50% { box-shadow: 0 0 60px rgba(255,204,0,0.6); }
}

.wheel-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(255,204,0,0.6), 0 4px 15px rgba(0,0,0,0.4);
  z-index: 10;
  transition: all 0.3s;
  animation: centerPulse 1.5s ease-in-out infinite;
}

@keyframes centerPulse {
  0%, 100% { box-shadow: 0 0 25px rgba(255,204,0,0.6); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 45px rgba(255,204,0,0.9); transform: translate(-50%, -50%) scale(1.06); }
}

.wheel-center-btn span {
  font-size: 0.65rem;
  font-weight: 900;
  color: #000;
  font-family: var(--font-display);
  letter-spacing: 1px;
}

.wheel-center-btn:hover { transform: translate(-50%, -50%) scale(1.08); }

.spin-urgency {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.spin-cd {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  color: var(--accent-red);
  text-shadow: 0 0 10px rgba(255,68,68,0.5);
}

.spin-fine-print {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
}

/* Spin Result */
.spin-result {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1520, #0a1228);
  border-radius: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 36px;
  z-index: 5;
}

.spin-result.show {
  display: flex;
  animation: resultIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes resultIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.result-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,255,136,0.1) 0%, transparent 70%);
  animation: resultGlowAnim 2s ease-in-out infinite;
}

@keyframes resultGlowAnim {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 10px;
  animation: resultBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
}

@keyframes resultBounce {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.spin-result h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 30px rgba(0,255,136,0.8);
  margin-bottom: 8px;
}

.spin-result p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.result-prize {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255,204,0,0.8);
  margin-bottom: 4px;
  animation: prizeShine 1s ease-in-out infinite;
}

@keyframes prizeShine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

.result-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-claim {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dim));
  color: #000;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1rem;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0,255,136,0.5);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.btn-claim:hover {
  transform: scale(1.04);
  box-shadow: 0 0 50px rgba(0,255,136,0.8);
}

.result-timer {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.result-cd {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--accent-red);
  font-size: 0.9rem;
}

/* ===== WIN NOTIFICATIONS ===== */
#win-notifications {
  position: fixed;
  bottom: 20px;
  left: 16px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.win-notif {
  background: rgba(13, 21, 32, 0.95);
  border: 1px solid rgba(0,255,136,0.3);
  border-left: 3px solid var(--neon-green);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 15px rgba(0,255,136,0.1);
  backdrop-filter: blur(10px);
  animation: notifSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.win-notif.gold-notif {
  border-left-color: var(--gold);
  border-color: rgba(255,204,0,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255,204,0,0.1);
}

@keyframes notifSlideIn {
  from { transform: translateX(-120%) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes notifSlideOut {
  from { transform: translateX(0) scale(1); opacity: 1; max-height: 100px; margin-bottom: 10px; }
  to { transform: translateX(-120%) scale(0.9); opacity: 0; max-height: 0; margin-bottom: 0; padding: 0; }
}

.win-notif.leaving {
  animation: notifSlideOut 0.4s ease forwards;
}

.notif-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dim));
  color: #000;
}

.win-notif.gold-notif .notif-avatar {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.notif-text {
  font-size: 0.8rem;
  line-height: 1.5;
  flex: 1;
}

.notif-text strong { color: var(--neon-green); font-size: 0.88rem; }
.win-notif.gold-notif .notif-text strong { color: var(--gold); }

.notif-text .notif-amount {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.88rem;
}

.notif-time {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  display: block;
  margin-top: 2px;
}

/* ===== UTILITY ===== */
.blink {
  animation: blinkAnim 1s ease-in-out infinite;
}

@keyframes blinkAnim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== FLASH OVERLAY ===== */
.flash-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,255,136,0.2) 0%, transparent 70%);
  opacity: 0;
  animation: flashAnim 0.5s ease;
}

@keyframes flashAnim {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bonus-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .navbar { padding: 10px 16px; top: 36px; }

  .hero {
    flex-direction: column;
    padding: 100px 20px 60px;
    text-align: center;
    gap: 40px;
  }

  .hero-cta-group { align-items: center; }
  .btn-hero { align-self: center; }
  .hero-trust { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .games-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 32px; }
  .bonus-grid { grid-template-columns: 1fr; }

  .steps-grid { flex-direction: column; align-items: stretch; gap: 16px; }
  .step-arrow { display: none; }
  .step-card { max-width: 100%; }

  .final-trust-badges { gap: 12px; }
  .btn-final { font-size: 0.95rem; padding: 18px 24px; }

  .footer { padding: 40px 0 100px; }

  .sticky-cta { display: block; }

  #win-notifications {
    max-width: calc(100vw - 32px);
    bottom: 80px;
  }

  .spin-popup { padding: 20px 16px; }
  .spin-header h2 { font-size: 1.4rem; }
  .spin-wheel-wrap { width: 260px; height: 260px; }
  #wheelCanvas { width: 260px; height: 260px; }

  .hero-visual { order: -1; }
}

@media (max-width: 480px) {
  .title-line2 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.1rem; }
  .bonus-amount { font-size: 1.8rem; }
}
