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

:root {
  --navy: #0f2d52;
  --navy-dark: #081c34;
  --navy-mid: #163a6b;
  --gold: #e8a020;
  --gold-light: #f5c04a;
  --coral: #e84545;
  --coral-light: #ff6b6b;
  --green: #1fa363;
  --green-light: #27c97a;
  --bg: #f5f7fa;
  --bg-card: #ffffff;
  --text: #1a2332;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(15,45,82,0.08);
  --shadow-md: 0 8px 24px rgba(15,45,82,0.12);
  --shadow-lg: 0 20px 48px rgba(15,45,82,0.16);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-width: 320px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  color: var(--text);
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,0.4); text-decoration: none; }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; color: #888; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); text-decoration: none; color: #fff; }

.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 10px; }
.btn-full { width: 100%; }

.btn-outline-sm {
  padding: 8px 18px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-sm:hover { background: rgba(255,255,255,0.1); }

.btn-primary-sm {
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--gold);
  border: none;
  color: var(--navy-dark);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary-sm:hover { background: var(--gold-light); }

.btn-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  width: 100%;
  margin-top: 16px;
}
.btn-game:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; color: #fff; }
.btn-game-featured { background: var(--gold); color: var(--navy-dark); }
.btn-game-featured:hover { background: var(--gold-light); color: var(--navy-dark); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,28,52,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-overlay.hidden { display: none; }

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.modal-logo .logo-icon { font-size: 28px; color: var(--gold); }
.modal-logo .logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.modal-logo .logo-text strong { color: var(--gold); }

.modal-box h2 { font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.modal-box > p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.modal-disclaimer {
  background: #fff8e6;
  border: 1px solid #f5c04a;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.modal-disclaimer p { margin: 0; color: #7a5c00; font-size: 13px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  user-select: none;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 2px;
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--navy);
  border-color: var(--navy);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.modal-footer-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  color: #fff;
  z-index: 9990;
  padding: 16px 24px;
  transition: transform 0.3s ease;
}
.cookie-banner.hidden { display: none; }
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-content p {
  flex: 1;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  min-width: 260px;
  line-height: 1.5;
  margin: 0;
}
.cookie-content a { color: var(--gold-light); }
.cookie-actions { display: flex; gap: 10px; align-items: center; }

/* ===== NAVIGATION ===== */
.site-nav {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo .logo-icon { font-size: 22px; color: var(--gold); }
.nav-logo .logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.nav-logo .logo-text span { color: var(--gold); }
.nav-logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--gold-light); color: var(--navy-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #0d3d6e 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-card {
  position: absolute;
  font-size: 120px;
  opacity: 0.04;
  font-weight: 900;
  animation: floatCard 8s ease-in-out infinite;
}
.card-1 { top: 10%; left: 5%; animation-delay: 0s; color: var(--gold); }
.card-2 { top: 20%; right: 8%; animation-delay: 2s; color: var(--coral); }
.card-3 { bottom: 15%; left: 12%; animation-delay: 4s; color: var(--gold); }
.card-4 { bottom: 25%; right: 5%; animation-delay: 6s; color: var(--coral); }

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.04; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 0.07; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.4);
  color: var(--gold-light);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 .highlight { color: var(--gold); }
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 800; color: #fff; }
.stat span { font-size: 13px; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-tag {
  display: inline-block;
  background: rgba(232,160,32,0.12);
  color: var(--gold);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; color: var(--navy); }
.section-header p { color: var(--text-mid); font-size: 16px; line-height: 1.7; }

/* ===== GAMES SECTION ===== */
.games-section { padding: 96px 0; background: var(--bg); }

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

.game-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.game-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-md);
}
.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.game-card-icon {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}
.slots-icon { background: linear-gradient(135deg, #0f2d52, #163a6b); }
.roulette-icon { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.blackjack-icon { background: linear-gradient(135deg, #1a0a0a, #3d1414); }

.game-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.game-tag {
  display: inline-block;
  background: rgba(15,45,82,0.08);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.game-card-body h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.game-card-body p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.game-features { list-style: none; margin-bottom: 4px; }
.game-features li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 4px 0 4px 22px;
  position: relative;
}
.game-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== BENEFITS ===== */
.benefits-section { padding: 96px 0; background: var(--navy-dark); }
.benefits-section .section-header h2 { color: #fff; }
.benefits-section .section-header p { color: rgba(255,255,255,0.65); }
.benefits-section .section-tag { background: rgba(232,160,32,0.2); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}
.benefit-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.benefit-icon { font-size: 32px; margin-bottom: 14px; }
.benefit-card h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.benefit-card p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; }

/* ===== CTA ===== */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--gold) 0%, #c87a10 100%);
}
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(26px, 4vw, 40px); color: var(--navy-dark); margin-bottom: 16px; }
.cta-inner p { color: rgba(8,28,52,0.75); font-size: 17px; margin-bottom: 36px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-actions .btn-primary { background: var(--navy-dark); color: #fff; }
.cta-actions .btn-primary:hover { background: var(--navy); box-shadow: 0 6px 20px rgba(8,28,52,0.3); }
.cta-disclaimer { font-size: 12px; color: rgba(8,28,52,0.6); }

/* ===== FOOTER ===== */
.site-footer { background: #05111f; color: rgba(255,255,255,0.7); }
.footer-top { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 600;
}
.footer-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-contact-icon { font-size: 14px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold-light); text-decoration: none; }

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); text-decoration: none; }

.footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
}
.footer-disclaimer p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 8px; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }

/* ===== INFO PAGES ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 600px; margin: 0 auto; }

.page-content { padding: 64px 0 80px; }
.content-wrap { max-width: 860px; margin: 0 auto; }

.content-wrap h2 {
  font-size: 24px;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 14px;
  border-left: 4px solid var(--gold);
  padding-left: 16px;
}
.content-wrap h2:first-child { margin-top: 0; }
.content-wrap h3 { font-size: 18px; color: var(--navy); margin-top: 24px; margin-bottom: 10px; }
.content-wrap p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.content-wrap ul, .content-wrap ol { padding-left: 24px; margin-bottom: 16px; }
.content-wrap li { color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.content-wrap strong { color: var(--text); }

.info-card {
  background: #f0f7ff;
  border: 1px solid #c3daf9;
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.info-card p { margin: 0; color: #1a5294; }

.warning-card {
  background: #fff8e6;
  border: 1px solid #f5c04a;
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.warning-card p { margin: 0; color: #7a5c00; }

/* ===== GAMES PAGES ===== */
.game-page {
  min-height: calc(100vh - 64px);
  background: var(--navy-dark);
  padding: 40px 0 60px;
}
.game-page-title { text-align: center; color: #fff; font-size: 28px; margin-bottom: 8px; }
.game-page-sub { text-align: center; color: rgba(255,255,255,0.6); margin-bottom: 32px; font-size: 15px; }

.coins-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 24px;
  margin: 0 auto 32px;
  max-width: 600px;
  flex-wrap: wrap;
}
.coins-bar .coin-display { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; color: var(--gold-light); }
.coins-bar .coin-label { font-size: 13px; color: rgba(255,255,255,0.5); }
.coins-bar .btn-refill {
  padding: 6px 16px;
  background: rgba(232,160,32,0.2);
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}
.coins-bar .btn-refill:hover { background: rgba(232,160,32,0.35); }

.message-box {
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  margin: 16px auto;
  max-width: 500px;
  min-height: 44px;
  transition: all 0.3s;
}
.message-win { background: rgba(31,163,99,0.2); border: 1px solid var(--green); color: var(--green-light); }
.message-lose { background: rgba(232,69,69,0.2); border: 1px solid var(--coral); color: var(--coral-light); }
.message-neutral { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }

/* ===== SLOTS ===== */
.slots-machine {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 36px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(232,160,32,0.15), var(--shadow-lg);
}
.reels-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  background: rgba(0,0,0,0.4);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}
.reel {
  background: #fff;
  border-radius: 12px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}
.reel.spinning { animation: reelSpin 0.12s linear infinite; }
@keyframes reelSpin {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
.reel-highlight {
  position: absolute;
  left: 4px; right: 4px; top: 50%;
  transform: translateY(-50%);
  height: 64px;
  border: 3px solid rgba(232,160,32,0.6);
  border-radius: 8px;
  pointer-events: none;
}

.bet-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.bet-selector label { color: rgba(255,255,255,0.6); font-size: 13px; }
.bet-btn {
  padding: 5px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}
.bet-btn:hover { background: rgba(255,255,255,0.15); }
.bet-display { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: var(--gold-light); min-width: 60px; text-align: center; }

.slot-win-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.paytable-toggle {
  font-size: 13px;
  color: var(--gold-light);
  cursor: pointer;
  text-align: center;
  margin-bottom: 16px;
  text-decoration: underline;
  background: none;
  border: none;
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.paytable { display: none; background: rgba(0,0,0,0.3); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.paytable.open { display: block; }
.paytable-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.paytable-row:last-child { border: none; }
.paytable-symbols { font-size: 16px; letter-spacing: 2px; }
.paytable-payout { color: var(--gold-light); font-weight: 600; }

.spin-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--gold) 0%, #c87a10 100%);
  border: none;
  border-radius: 12px;
  color: var(--navy-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(232,160,32,0.4);
}
.spin-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,160,32,0.5); }
.spin-btn:active { transform: translateY(0); }
.spin-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== ROULETTE ===== */
.roulette-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
  align-items: start;
}
.roulette-wheel-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wheel-canvas-wrap { position: relative; width: 260px; height: 260px; margin: 0 auto 16px; }
#wheelCanvas { border-radius: 50%; box-shadow: 0 0 30px rgba(0,0,0,0.4); }
.wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid var(--gold);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  z-index: 10;
}
.wheel-result { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 800; color: #fff; margin: 8px 0 4px; }
.wheel-result-label { font-size: 13px; color: rgba(255,255,255,0.5); }

.roulette-panel { display: flex; flex-direction: column; gap: 16px; }
.bet-panel-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px;
}
.bet-panel-box h4 { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }

.bet-types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bet-type-btn {
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.bet-type-btn:hover { background: rgba(255,255,255,0.12); }
.bet-type-btn.active { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.bet-type-btn.red-btn { background: rgba(220,38,38,0.25); border-color: rgba(220,38,38,0.4); color: #fca5a5; }
.bet-type-btn.red-btn.active { background: #dc2626; border-color: #dc2626; color: #fff; }
.bet-type-btn.black-btn { background: rgba(30,30,30,0.5); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }
.bet-type-btn.black-btn.active { background: #111; border-color: #666; color: #fff; }
.bet-type-btn.green-btn { background: rgba(31,163,99,0.2); border-color: rgba(31,163,99,0.4); color: #6ee7b7; }
.bet-type-btn.green-btn.active { background: var(--green); border-color: var(--green); color: #fff; }

.number-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  max-height: 160px;
  overflow-y: auto;
}
.num-btn {
  padding: 5px 2px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}
.num-btn.red-num { background: rgba(220,38,38,0.3); color: #fca5a5; }
.num-btn.black-num { background: rgba(30,30,30,0.6); color: rgba(255,255,255,0.8); }
.num-btn.zero-num { background: rgba(31,163,99,0.3); color: #6ee7b7; }
.num-btn.selected { outline: 2px solid var(--gold); outline-offset: 1px; }
.num-btn:hover { transform: scale(1.1); }

.spin-controls { display: flex; flex-direction: column; gap: 10px; }
.spin-controls label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.bet-input-row { display: flex; align-items: center; gap: 8px; }
.bet-input-row input[type="range"] { flex: 1; accent-color: var(--gold); }
.bet-input-row span { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--gold-light); font-size: 15px; min-width: 50px; text-align: right; }

.spin-roulette-btn {
  padding: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, #c87a10 100%);
  border: none;
  border-radius: 10px;
  color: var(--navy-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(232,160,32,0.3);
}
.spin-roulette-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,160,32,0.4); }
.spin-roulette-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.recent-results { display: flex; gap: 6px; flex-wrap: wrap; }
.result-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.result-dot.red { background: #dc2626; color: #fff; }
.result-dot.black { background: #222; color: #fff; border: 1px solid #444; }
.result-dot.green { background: var(--green); color: #fff; }

/* ===== BLACKJACK ===== */
.bj-table {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0d4a2e 0%, #0a3d24 100%);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.bj-zone { margin-bottom: 20px; }
.bj-zone-label { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; font-weight: 600; }
.bj-cards { display: flex; gap: 10px; flex-wrap: wrap; min-height: 88px; align-items: center; }
.bj-card {
  width: 60px;
  height: 84px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 7px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: dealCard 0.3s ease;
}
@keyframes dealCard {
  from { opacity: 0; transform: scale(0.8) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.bj-card.red { color: #dc2626; }
.bj-card.black { color: #111; }
.bj-card.hidden-card {
  background: linear-gradient(135deg, #1a2744, #0f3460);
  border: 1px solid rgba(255,255,255,0.2);
}
.bj-card .card-suit { font-size: 18px; align-self: flex-end; }
.bj-score { font-family: 'Poppins', sans-serif; font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 6px; font-weight: 600; }
.bj-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 4px 0 20px; }

.bj-bet-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.bj-bet-row label { font-size: 13px; color: rgba(255,255,255,0.6); }
.bj-chip-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 2px solid;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.chip-10 { background: rgba(232,69,69,0.2); border-color: var(--coral); color: var(--coral-light); }
.chip-25 { background: rgba(31,163,99,0.2); border-color: var(--green); color: var(--green-light); }
.chip-50 { background: rgba(232,160,32,0.2); border-color: var(--gold); color: var(--gold-light); }
.chip-100 { background: rgba(99,102,241,0.2); border-color: #818cf8; color: #c7d2fe; }
.bj-chip-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.bj-current-bet { margin-left: auto; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; color: var(--gold-light); }

.bj-streak { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.streak-count { color: var(--gold-light); font-weight: 700; font-size: 15px; }

.bj-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bj-btn {
  flex: 1;
  padding: 11px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
}
.bj-btn:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.bj-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.bj-btn-deal { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.bj-btn-deal:hover { background: var(--gold-light); }
.bj-btn-hit { background: rgba(31,163,99,0.3); border-color: var(--green); }
.bj-btn-hit:hover { background: rgba(31,163,99,0.5); }
.bj-btn-stand { background: rgba(232,69,69,0.3); border-color: var(--coral); }
.bj-btn-stand:hover { background: rgba(232,69,69,0.5); }
.bj-btn-double { background: rgba(99,102,241,0.25); border-color: #818cf8; }
.bj-btn-double:hover { background: rgba(99,102,241,0.4); }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  background: var(--bg-card);
  transition: background 0.2s;
}
.faq-question:hover { background: #f8faff; }
.faq-question h4 { font-size: 15px; color: var(--navy); font-weight: 600; margin: 0; padding-right: 16px; }
.faq-arrow { font-size: 12px; color: var(--text-light); transition: transform 0.3s; min-width: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 16px 20px; color: var(--text-mid); font-size: 14px; line-height: 1.7; margin: 0; border-top: 1px solid var(--border); background: var(--bg); }

/* ===== COMMUNITY PAGE ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.community-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.community-card .cc-icon { font-size: 32px; margin-bottom: 12px; }
.community-card h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.community-card p { color: var(--text-mid); font-size: 14px; line-height: 1.6; }

/* ===== BACK LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.2s;
  text-decoration: none;
}
.back-link:hover { color: var(--gold-light); text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .roulette-layout { grid-template-columns: 1fr; }
  .roulette-wheel-wrap { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .games-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-dark); padding: 16px; gap: 4px; z-index: 200; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
  .bj-actions { gap: 8px; }
  .bj-bet-row { gap: 8px; }
  .slots-machine { padding: 20px; }
  .bj-table { padding: 20px; }
  .roulette-wheel-wrap { padding: 20px; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 24px 18px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .reels-container { gap: 8px; padding: 14px; }
  .reel { height: 90px; font-size: 42px; }
  .number-grid { grid-template-columns: repeat(6, 1fr); }
}
