@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  --bg-deep: #070d1a;
  --bg-card: #0c1c30;
  --bg-card2: #0f2340;
  --border: #1a3a60;
  --border-light: #244a70;
  --gold: #f5c542;
  --gold-dark: #c9a100;
  --gold-light: #ffd966;
  --teal: #0ab4cc;
  --teal-dark: #0890a4;
  --green: #22c55e;
  --red: #ef4444;
  --text: #e4edf8;
  --text-secondary: #7a9bbf;
  --text-muted: #4a6a8a;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow-gold: 0 0 24px rgba(245,197,66,0.25);
  --shadow-glow-teal: 0 0 24px rgba(10,180,204,0.25);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-size: 0.95rem; line-height: 1.7; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0e1a;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0e1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-teal);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(7,13,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,58,96,0.5);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(7,13,26,0.97); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.nav-logo-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; color: var(--text); }
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-card); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-coins {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(7,13,26,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 899;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--text); background: var(--bg-card); }

/* ===== HERO ===== */
.hero {
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(10,180,204,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 85% 50%, rgba(245,197,66,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 15% 70%, rgba(10,36,66,0.4) 0%, transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.2;
}
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10,180,204,0.1);
  border: 1px solid rgba(10,180,204,0.3);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.hero-title { margin-bottom: 20px; }
.hero-title .line1 { display: block; color: var(--text); }
.hero-title .line2 { display: block; background: linear-gradient(135deg, var(--gold), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-item { }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-card); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(245,197,66,0.1);
  border: 1px solid rgba(245,197,66,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-title span { color: var(--teal); }
.section-desc { color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ===== GAMES SECTION ===== */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.game-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow-glow-gold); }
.game-card-preview {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card-preview.slots-preview { background: linear-gradient(135deg, #1a0a2e, #2a1a4e); }
.game-card-preview.roulette-preview { background: linear-gradient(135deg, #0a2e1a, #1a4e2a); }
.game-card-preview.blackjack-preview { background: linear-gradient(135deg, #0a1e2e, #1a3a4e); }
.game-preview-icon { font-size: 5rem; opacity: 0.8; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.game-preview-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
}
.game-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-hot { background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.5); color: #ef4444; }
.badge-new { background: rgba(10,180,204,0.2); border: 1px solid rgba(10,180,204,0.5); color: var(--teal); }
.badge-popular { background: rgba(245,197,66,0.2); border: 1px solid rgba(245,197,66,0.5); color: var(--gold); }
.game-card-body { padding: 24px; }
.game-card-body h3 { margin-bottom: 8px; }
.game-card-body p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 16px; }
.game-meta { display: flex; gap: 16px; margin-bottom: 20px; }
.game-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--text-muted); }
.game-meta-item span:first-child { font-size: 1rem; }

/* ===== BENEFITS ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.benefit-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}
.benefit-icon.gold { background: rgba(245,197,66,0.12); border: 1px solid rgba(245,197,66,0.25); }
.benefit-icon.teal { background: rgba(10,180,204,0.12); border: 1px solid rgba(10,180,204,0.25); }
.benefit-icon.green { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); }
.benefit-icon.blue { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); }
.benefit-card h3 { margin-bottom: 10px; }
.benefit-card p { color: var(--text-secondary); font-size: 0.88rem; }

/* ===== FOOTER ===== */
.footer {
  background: #050a14;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; margin: 16px 0 20px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text-secondary); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: rgba(5,10,20,0.8);
}
.disclaimer-box {
  background: rgba(10,20,36,0.8);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.disclaimer-box h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); margin-bottom: 10px; }
.disclaimer-box p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }
.disclaimer-box p a { color: var(--teal); }
.disclaimer-box p a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===== AGE MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }
.age-modal {
  background: var(--bg-card2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.age-modal-icon { font-size: 3.5rem; margin-bottom: 20px; }
.age-modal h2 { margin-bottom: 12px; }
.age-modal p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 28px; }
.age-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  cursor: pointer;
}
.age-checkbox-wrap input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 2px;
}
.age-checkbox-wrap label { font-size: 0.88rem; color: var(--text-secondary); cursor: pointer; }
.age-confirm-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0e1a;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.age-confirm-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.age-confirm-btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-gold); }
.age-modal-footer { margin-top: 16px; font-size: 0.78rem; color: var(--text-muted); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 9000;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-icon { font-size: 1.8rem; flex-shrink: 0; }
.cookie-text h5 { font-size: 0.9rem; margin-bottom: 6px; }
.cookie-text p { font-size: 0.78rem; color: var(--text-secondary); }
.cookie-text a { color: var(--teal); }
.cookie-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.cookie-btn-accept { padding: 8px 18px; background: var(--gold); color: #0a0e1a; border: none; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.cookie-btn-accept:hover { background: var(--gold-light); }
.cookie-btn-decline { padding: 8px 18px; background: transparent; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 8px; font-size: 0.82rem; cursor: pointer; transition: all 0.2s; }
.cookie-btn-decline:hover { border-color: var(--text-secondary); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(10,180,204,0.07) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(10,180,204,0.1);
  border: 1px solid rgba(10,180,204,0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-secondary); max-width: 600px; font-size: 1rem; }
.divider { height: 1px; background: var(--border); }

/* ===== INFO SECTIONS ===== */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.info-card h3 { color: var(--gold); margin-bottom: 12px; font-size: 1rem; }
.info-card p, .info-card ul { color: var(--text-secondary); font-size: 0.88rem; }
.info-card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-card2); }
.faq-question .arrow { transition: transform 0.3s; color: var(--teal); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 24px 18px; background: var(--bg-card); color: var(--text-secondary); font-size: 0.88rem; }
.faq-item.open .faq-answer { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .age-modal { padding: 28px 20px; }
  .cookie-banner { flex-direction: column; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.fade-in-up-2 { animation: fadeInUp 0.6s 0.1s ease both; }
.fade-in-up-3 { animation: fadeInUp 0.6s 0.2s ease both; }
.fade-in-up-4 { animation: fadeInUp 0.6s 0.3s ease both; }

/* ===== DIVIDER LINE ===== */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-light), transparent); margin: 0 20px; }
