/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0d0a1a;
  color: #e8e0f5;
  min-height: 100vh;
  line-height: 1.6;
}
a { color: #c084fc; text-decoration: none; }
a:hover { color: #ffd700; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --gold: #ffd700;
  --dark: #0d0a1a;
  --dark2: #1a1030;
  --dark3: #251848;
  --text: #e8e0f5;
  --text-muted: #9d8ec0;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(124,58,237,0.3);
}

/* ===== AGE GATE POPUP ===== */
#age-gate {
  position: fixed; inset: 0;
  background: rgba(10,6,25,0.97);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.age-gate-box {
  background: linear-gradient(135deg, #1a1030, #251848);
  border: 2px solid var(--purple);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 60px rgba(124,58,237,0.5);
}
.age-gate-box .age-icon { font-size: 56px; margin-bottom: 16px; }
.age-gate-box h2 { font-size: 1.8rem; color: var(--gold); margin-bottom: 12px; }
.age-gate-box p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }
.age-gate-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-yes, .btn-no {
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-yes { background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: #fff; }
.btn-yes:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,0.5); }
.btn-no { background: transparent; border: 2px solid #555; color: var(--text-muted); }
.btn-no:hover { border-color: #888; color: #ccc; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1a1030;
  border-top: 1px solid var(--purple);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  z-index: 8888;
}
#cookie-banner p { font-size: 0.88rem; color: var(--text-muted); flex: 1; min-width: 200px; }
#cookie-banner p a { color: var(--purple-light); }
#cookie-accept {
  background: var(--purple); color: #fff;
  border: none; padding: 10px 24px;
  border-radius: 50px; cursor: pointer; font-weight: 600;
  white-space: nowrap;
}
#cookie-accept:hover { background: var(--purple-light); }

/* ===== HEADER / NAV ===== */
header {
  background: rgba(13,10,26,0.95);
  border-bottom: 1px solid rgba(124,58,237,0.3);
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(12px);
}
nav {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.logo span { color: var(--purple-light); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-muted); font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.45);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,10,26,0.7) 0%, rgba(37,24,72,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,0.3);
  border: 1px solid var(--purple);
  color: var(--purple-light);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content h1 .highlight { color: var(--gold); }
.hero-content p {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 560px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; padding: 16px 36px;
  border-radius: 50px; font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,0.5); color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--purple-light);
  color: var(--purple-light);
  padding: 14px 34px;
  border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ===== SECTIONS ===== */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.section-header h2 .highlight { color: var(--gold); }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== GAMES GRID ===== */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.game-card {
  background: var(--dark2);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.game-card img { width: 100%; height: 200px; object-fit: cover; }
.game-card-body { padding: 20px; }
.game-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--gold); }
.game-card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.game-tag {
  display: inline-block;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--purple-light);
  padding: 3px 10px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  margin-bottom: 14px;
}
.btn-play {
  display: block; width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; padding: 12px;
  border-radius: 8px; font-weight: 700;
  text-align: center; border: none; cursor: pointer;
  transition: opacity 0.2s;
}
.btn-play:hover { opacity: 0.85; color: #fff; }

/* ===== SPIN WHEEL GAME ===== */
#wheel-section { background: var(--dark2); }
.wheel-game-wrap {
  display: flex; gap: 48px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.wheel-canvas-wrap {
  position: relative;
  width: 360px; height: 360px;
  flex-shrink: 0;
}
.wheel-canvas-wrap canvas { border-radius: 50%; }
.wheel-pointer {
  position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 32px solid var(--gold);
  filter: drop-shadow(0 2px 6px rgba(255,215,0,0.6));
  z-index: 10;
}
.wheel-info { flex: 1; min-width: 260px; }
.wheel-info h3 { font-size: 1.8rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.wheel-info p { color: var(--text-muted); margin-bottom: 24px; }
#spin-btn {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; padding: 16px 48px;
  border-radius: 50px; font-size: 1.1rem; font-weight: 800;
  border: none; cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
#spin-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,0.6); }
#spin-btn:disabled { opacity: 0.6; cursor: not-allowed; }
#wheel-result {
  margin-top: 20px; padding: 16px 24px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 10px;
  font-size: 1.1rem; font-weight: 700;
  color: var(--gold);
  min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}

/* ===== SLOTS GAME ===== */
#slots-section { background: var(--dark3); }
.slots-machine {
  max-width: 520px; margin: 0 auto;
  background: linear-gradient(180deg, #1e1040, #0d0a1a);
  border: 3px solid var(--purple);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 0 48px rgba(124,58,237,0.4), inset 0 0 24px rgba(0,0,0,0.5);
  text-align: center;
}
.slots-machine h3 { font-size: 1.6rem; color: var(--gold); font-weight: 800; margin-bottom: 24px; }
.slots-reels {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 24px;
}
.reel {
  width: 110px; height: 110px;
  background: #0a0618;
  border: 2px solid rgba(124,58,237,0.5);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.2rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 16px rgba(0,0,0,0.6);
}
.reel-symbol {
  transition: transform 0.1s;
  line-height: 1;
}
.reel.spinning .reel-symbol {
  animation: reelSpin 0.12s linear infinite;
}
@keyframes reelSpin {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-20px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}
.slots-info {
  display: flex; justify-content: space-between;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px; padding: 12px 20px;
}
.slots-info-item { text-align: center; }
.slots-info-item label { display: block; font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }
.slots-info-item span { font-size: 1.3rem; font-weight: 800; color: var(--gold); }
#slots-spin-btn {
  background: linear-gradient(135deg, #e53e3e, #fc8181);
  color: #fff; padding: 16px 56px;
  border-radius: 50px; font-size: 1.1rem; font-weight: 800;
  border: none; cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(229,62,62,0.4);
  margin-bottom: 16px;
}
#slots-spin-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(229,62,62,0.5); }
#slots-spin-btn:disabled { opacity: 0.6; cursor: not-allowed; }
#slots-result {
  min-height: 40px;
  font-size: 1rem; font-weight: 700;
  color: var(--gold);
  padding: 8px;
}
.slots-paytable {
  margin-top: 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px; padding: 16px;
  text-align: left;
}
.slots-paytable h4 { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.slots-paytable table { width: 100%; font-size: 0.85rem; }
.slots-paytable td { padding: 4px 8px; color: var(--text-muted); }
.slots-paytable td:first-child { font-size: 1.1rem; }
.slots-paytable td:last-child { color: var(--purple-light); font-weight: 600; text-align: right; }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 360px; object-fit: cover; }
.about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.about-text h2 .highlight { color: var(--gold); }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-features { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-feature {
  display: flex; align-items: center; gap: 12px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 10px; padding: 12px 16px;
}
.about-feature .icon { font-size: 1.4rem; flex-shrink: 0; }
.about-feature p { color: var(--text); font-size: 0.9rem; margin: 0; }

/* ===== LOCATIONS ===== */
#locations { background: var(--dark2); }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.location-card {
  background: var(--dark3);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s;
}
.location-card:hover { transform: translateY(-3px); }
.location-card h4 { color: var(--gold); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.location-card .loc-type { color: var(--purple-light); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.location-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }
.location-card .loc-icon { font-size: 1.8rem; margin-bottom: 12px; }

/* ===== NEWSLETTER ===== */
#newsletter { background: linear-gradient(135deg, var(--dark3), #1a0a3a); }
.newsletter-wrap {
  max-width: 600px; margin: 0 auto; text-align: center;
}
.newsletter-wrap h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.newsletter-wrap p { color: var(--text-muted); margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 240px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 50px;
  padding: 14px 24px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
}
.newsletter-form input[type="email"]:focus { border-color: var(--purple-light); }
.newsletter-form input[type="email"]::placeholder { color: var(--text-muted); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; padding: 14px 32px;
  border-radius: 50px; font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.2s;
}
.newsletter-form button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,0.4); }
#newsletter-msg { margin-top: 16px; font-size: 0.9rem; color: #4ade80; min-height: 24px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-item .ci-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item div { color: var(--text-muted); font-size: 0.9rem; }
.contact-item strong { color: var(--text); display: block; margin-bottom: 2px; }
.contact-form { background: var(--dark2); border: 1px solid rgba(124,58,237,0.2); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: var(--gold); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--purple-light); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark2); }
.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff; padding: 14px;
  border-radius: 8px; font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.2s;
}
.form-submit:hover { opacity: 0.9; transform: translateY(-1px); }
#contact-msg { margin-top: 12px; font-size: 0.9rem; color: #4ade80; min-height: 24px; }

/* ===== FOOTER ===== */
footer {
  background: #080514;
  border-top: 1px solid rgba(124,58,237,0.2);
  padding: 56px 24px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.footer-col h4 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom .disclaimer { font-size: 0.78rem; color: #5a4e7a; max-width: 600px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
  border-bottom: 1px solid rgba(124,58,237,0.2);
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--gold); margin-bottom: 10px; }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== POLICY CONTENT ===== */
.policy-content {
  max-width: 860px; margin: 0 auto;
  padding: 60px 24px;
}
.policy-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--gold); margin: 36px 0 12px; }
.policy-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--purple-light); margin: 24px 0 8px; }
.policy-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.75; }
.policy-content ul { padding-left: 20px; margin-bottom: 14px; }
.policy-content ul li { color: var(--text-muted); margin-bottom: 6px; list-style: disc; }
.policy-content a { color: var(--purple-light); }
.policy-updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 32px; }

/* ===== GAMES PAGE ===== */
.games-page-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.game-page-card {
  background: var(--dark2);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius);
  overflow: hidden;
}
.game-page-card img { width: 100%; height: 220px; object-fit: cover; }
.game-page-card-body { padding: 24px; }
.game-page-card-body h3 { color: var(--gold); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.game-page-card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }

/* ===== WIN ANIMATION ===== */
@keyframes winPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.3); }
  50% { box-shadow: 0 0 40px rgba(255,215,0,0.8); }
}
.win-glow { animation: winPulse 0.8s ease-in-out 3; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wheel-canvas-wrap { width: 300px; height: 300px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); padding: 20px 24px; gap: 16px; border-bottom: 1px solid rgba(124,58,237,0.2); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .slots-reels { gap: 8px; }
  .reel { width: 88px; height: 88px; font-size: 2.6rem; }
  .wheel-canvas-wrap { width: 280px; height: 280px; }
}
