/* ============================================
   NEON ENTERTAINMENT LOUNGE - styles.css
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --neon-blue: #00d4ff;
  --neon-pink: #ff2d95;
  --neon-cyan: #00fff7;
  --neon-purple: #7b2dff;
  --deep-purple: #1a0033;
  --neon-yellow: #ffe600;
  --neon-green: #39ff14;
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-alt: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0cc;
  --border-glow: rgba(0, 212, 255, 0.3);
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Courier New', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--neon-pink);
}

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

/* Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Glow Effects */
.glow-blue {
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 212, 255, 0.1);
}

.glow-pink {
  box-shadow: 0 0 15px rgba(255, 45, 149, 0.4), 0 0 30px rgba(255, 45, 149, 0.1);
}

.glow-text-blue {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 212, 255, 0.4);
}

.glow-text-pink {
  text-shadow: 0 0 10px rgba(255, 45, 149, 0.8), 0 0 20px rgba(255, 45, 149, 0.4);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-glow);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo span {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--neon-cyan);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-pink), #ff6b3d);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-bottom: 1px solid var(--border-glow);
  z-index: 999;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav ul a {
  color: var(--text-secondary);
  font-size: 1.1rem;
  display: block;
  padding: 8px 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(255, 45, 149, 0.05) 0%, transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--neon-blue) 50%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.5);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--neon-pink);
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 45, 149, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 45, 149, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 45, 149, 0.4);
  color: var(--neon-pink);
}

/* ============================================
   GAME ARENA
   ============================================ */
.game-arena {
  padding: 60px 0;
}

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

.game-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.game-panel:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.game-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
}

.game-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.game-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.game-score {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-item {
  text-align: center;
}

.score-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.score-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--neon-yellow);
  font-family: var(--font-mono);
}

/* Higher/Lower Card Game */
.card-game-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  min-height: 220px;
}

.playing-card {
  width: 120px;
  height: 170px;
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.3s ease;
}

.playing-card:hover {
  transform: scale(1.03);
}

.card-face-display {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
  border: 2px solid var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.05);
  position: relative;
  z-index: 2;
}

.card-face-display.card-hidden {
  opacity: 0;
  pointer-events: none;
}

.card-face-display.card-revealed {
  opacity: 1;
  animation: cardReveal 0.4s ease;
}

@keyframes cardReveal {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.card-back-display {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--neon-purple), var(--deep-purple));
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 20px rgba(255, 45, 149, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.card-back-display.hidden {
  display: none;
}

.card-back-mark {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 800;
}

.card-value {
  font-size: 2.2rem;
  font-weight: 800;
}

.card-suit {
  font-size: 1.8rem;
  margin-top: 4px;
}

.card-red { color: #ff4466; }
.card-black { color: #fff; }

.vs-divider {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neon-yellow);
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.5);
}

.card-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-higher, .btn-lower {
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-higher {
  background: linear-gradient(135deg, #00c853, #009624);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

.btn-higher:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 200, 83, 0.5);
}

.btn-lower {
  background: linear-gradient(135deg, #ff5252, #d32f2f);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 82, 82, 0.3);
}

.btn-lower:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 82, 82, 0.5);
}

.game-result-banner {
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 16px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.result-win {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.4);
  color: #69f0ae;
}

.result-loss {
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.4);
  color: #ff8a80;
}

.result-neutral {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--neon-cyan);
}

.card-history {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.history-card {
  width: 36px;
  height: 50px;
  background: var(--bg-card-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.history-card .h-value { font-size: 0.8rem; }
.history-card .h-suit { font-size: 0.7rem; }

/* Slot Machine Game */
.slot-machine {
  margin: 20px 0;
}

.reels-container {
  background: linear-gradient(135deg, #0d0d1a, #1a1a2e);
  border: 2px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.reels-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  z-index: 2;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.reel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reel-cell {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.reel-cell.winning {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 15px rgba(255, 230, 0, 0.4);
  animation: winPulse 0.5s ease-in-out infinite alternate;
}

@keyframes winPulse {
  0% { box-shadow: 0 0 10px rgba(255, 230, 0, 0.3); }
  100% { box-shadow: 0 0 25px rgba(255, 230, 0, 0.6); }
}

.reel-cell.spinning {
  animation: spinCell 0.1s linear infinite;
}

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

.slot-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.btn-spin {
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--neon-yellow), #ff9900);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(255, 230, 0, 0.3);
}

.btn-spin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 230, 0, 0.5);
}

.btn-spin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.auto-spin-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auto-spin-toggle input[type="checkbox"] {
  appearance: none;
  width: 40px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}

.auto-spin-toggle input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}

.auto-spin-toggle input[type="checkbox"]:checked {
  background: var(--neon-blue);
}

.auto-spin-toggle input[type="checkbox"]:checked::after {
  transform: translateX(18px);
}

.slot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.slot-stat {
  text-align: center;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
}

.slot-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.slot-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

/* Win History */
.win-history {
  margin-top: 12px;
  max-height: 80px;
  overflow-y: auto;
}

.win-history-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.win-history-item.is-win {
  color: var(--neon-green);
}

/* ============================================
   STATISTICS
   ============================================ */
.stats-section {
  padding: 60px 0;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-blue);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--neon-cyan);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-yellow);
  font-family: var(--font-mono);
}

.stat-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============================================
   PLAYER JOURNEY
   ============================================ */
.timeline-section {
  padding: 60px 0;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-blue), var(--neon-pink), var(--neon-purple));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.timeline-item:hover {
  border-color: var(--border-glow);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.timeline-step {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--neon-blue);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================
   CHALLENGES
   ============================================ */
.challenges-section {
  padding: 60px 0;
}

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

.challenge-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}

.challenge-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-pink);
  box-shadow: 0 8px 30px rgba(255, 45, 149, 0.15);
}

.challenge-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.15), rgba(123, 45, 255, 0.15));
  border-radius: 50%;
  border: 1px solid rgba(255, 45, 149, 0.3);
}

.challenge-icon svg {
  width: 28px;
  height: 28px;
}

.challenge-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.challenge-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.challenge-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-yellow);
  background: rgba(255, 230, 0, 0.1);
  border: 1px solid rgba(255, 230, 0, 0.3);
  border-radius: 50px;
}

/* ============================================
   LIVE ACTIVITY FEED
   ============================================ */
.activity-section {
  padding: 60px 0;
}

.activity-feed {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  overflow: hidden;
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

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

.activity-header-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.activity-list {
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background var(--transition);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(-10px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.activity-item:hover {
  background: rgba(0, 212, 255, 0.03);
}

.activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.activity-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.activity-text strong {
  color: var(--text-primary);
}

.activity-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 60px 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--bg-card);
  transition: background var(--transition);
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
}

.faq-question:hover {
  background: var(--bg-card-alt);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  stroke: var(--neon-cyan);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

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

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   VIP BANNER
   ============================================ */
.vip-section {
  padding: 60px 0;
}

.vip-banner {
  background: linear-gradient(135deg, rgba(123, 45, 255, 0.2), rgba(255, 45, 149, 0.2));
  border: 1px solid rgba(123, 45, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vip-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(123, 45, 255, 0.1) 0%, transparent 50%);
  animation: vipGlow 6s ease-in-out infinite alternate;
}

@keyframes vipGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(5%, 5%); }
}

.vip-banner h2 {
  position: relative;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--neon-yellow), #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vip-banner p {
  position: relative;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.vip-banner .btn {
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080810;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.responsible-gaming {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.responsible-gaming-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-pink);
  margin-bottom: 16px;
  font-weight: 700;
  text-align: center;
}

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

.responsible-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.responsible-link:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  background: rgba(255, 45, 149, 0.05);
}

.footer-disclaimer {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

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

/* ============================================
   SECONDARY PAGES
   ============================================ */
.page-header {
  padding: 120px 0 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--neon-cyan);
}

.page-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text-primary);
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-content ul {
  color: var(--text-secondary);
  margin: 12px 0 16px 24px;
  line-height: 1.8;
}

.page-content a {
  color: var(--neon-cyan);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--neon-cyan);
}

.modal p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-game-area {
    gap: 20px;
  }

  .playing-card {
    width: 90px;
    height: 130px;
  }

  .card-value {
    font-size: 1.8rem;
  }

  .card-suit {
    font-size: 1.4rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .challenges-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .responsible-links {
    flex-direction: column;
    align-items: center;
  }

  .vip-banner {
    padding: 30px 20px;
  }

  .vip-banner h2 {
    font-size: 1.6rem;
  }

  .game-panel {
    padding: 20px;
  }

  .reels-grid {
    gap: 4px;
  }

  .reel-cell {
    font-size: 1.3rem;
  }

  .slot-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .card-game-area {
    gap: 12px;
  }

  .playing-card {
    width: 75px;
    height: 110px;
  }

  .card-value {
    font-size: 1.5rem;
  }

  .card-suit {
    font-size: 1.2rem;
  }

  .card-controls {
    flex-direction: column;
    align-items: center;
  }

  .btn-higher, .btn-lower {
    width: 100%;
    max-width: 200px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .timeline {
    padding-left: 30px;
  }

  .slot-controls {
    flex-direction: column;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.5);
}
