/* ===== 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: #0d0020;
  color: #f0e6ff;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: #c084fc; text-decoration: none; transition: color .2s; }
a:hover { color: #f0abfc; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --pink: #ec4899;
  --gold: #f59e0b;
  --dark: #0d0020;
  --card-bg: #1a0533;
  --border: rgba(168,85,247,.25);
  --radius: 14px;
  --shadow: 0 8px 32px rgba(124,58,237,.25);
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #1a0533;
  border-top: 2px solid var(--purple);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  box-shadow: 0 -4px 24px rgba(124,58,237,.4);
}
#cookie-banner p { font-size: .9rem; flex: 1 1 300px; }
#cookie-banner .cb-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--purple); color: #fff; border: none;
  padding: 8px 20px; border-radius: 8px; cursor: pointer; font-weight: 600;
  transition: background .2s;
}
.btn-cookie-accept:hover { background: var(--purple-light); }
.btn-cookie-decline {
  background: transparent; color: #c084fc; border: 1px solid var(--purple);
  padding: 8px 20px; border-radius: 8px; cursor: pointer; font-weight: 600;
  transition: all .2s;
}
.btn-cookie-decline:hover { background: rgba(124,58,237,.15); }

/* ===== 18+ MODAL ===== */
#age-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.age-modal-box {
  background: linear-gradient(135deg, #1a0533 0%, #2d0a5e 100%);
  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,.5);
}
.age-modal-box .age-icon { font-size: 3.5rem; margin-bottom: 12px; }
.age-modal-box h2 { font-size: 2rem; color: #fff; margin-bottom: 8px; }
.age-modal-box p { color: #c4b5fd; margin-bottom: 28px; font-size: .95rem; }
.age-modal-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-age-yes {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; border: none; padding: 14px 36px;
  border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(236,72,153,.4);
}
.btn-age-yes:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(236,72,153,.5); }
.btn-age-no {
  background: transparent; color: #c084fc;
  border: 2px solid var(--purple); padding: 14px 36px;
  border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all .2s;
}
.btn-age-no:hover { background: rgba(124,58,237,.2); }

/* ===== HEADER / NAV ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,0,32,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  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: #fff; text-decoration: none;
}
.logo span { color: var(--purple-light); }
.logo-icon { font-size: 1.8rem; }
nav ul {
  display: flex; gap: 4px; align-items: center;
}
nav ul li a {
  color: #d8b4fe; padding: 8px 16px; border-radius: 8px;
  font-weight: 500; font-size: .95rem; transition: all .2s;
}
nav ul li a:hover, nav ul li a.active {
  background: rgba(124,58,237,.25); color: #fff;
}
.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--pink)) !important;
  color: #fff !important; font-weight: 700 !important;
  padding: 8px 20px !important; border-radius: 50px !important;
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #d8b4fe; border-radius: 2px; transition: all .3s;
}
.mobile-nav {
  display: none;
  background: rgba(13,0,32,.97);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { flex-direction: column; gap: 4px; }
.mobile-nav ul li a {
  display: block; padding: 10px 16px;
  color: #d8b4fe; border-radius: 8px;
}

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('hero.jpg');
  background-size: cover; background-position: center;
  filter: brightness(.35);
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 760px; padding: 40px 24px;
}
.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,.35);
  border: 1px solid var(--purple);
  color: #c084fc; padding: 6px 18px;
  border-radius: 50px; font-size: .85rem; font-weight: 600;
  margin-bottom: 20px; letter-spacing: .05em;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900; color: #fff; line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--purple-light), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.15rem; color: #d8b4fe;
  margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; border: none; padding: 15px 36px;
  border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(124,58,237,.5);
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(124,58,237,.6); color: #fff; }
.btn-secondary {
  background: transparent; color: #c084fc;
  border: 2px solid var(--purple); padding: 15px 36px;
  border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block;
}
.btn-secondary:hover { background: rgba(124,58,237,.2); color: #fff; }

/* ===== SECTIONS ===== */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block; color: var(--purple-light);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff; margin-bottom: 16px;
}
.section-sub { color: #c4b5fd; font-size: 1.05rem; max-width: 600px; }

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px; margin-top: 48px;
}
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.game-card-img { height: 200px; overflow: hidden; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.game-card:hover .game-card-img img { transform: scale(1.06); }
.game-card-body { padding: 24px; }
.game-tag {
  display: inline-block; background: rgba(124,58,237,.25);
  color: var(--purple-light); font-size: .75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
  letter-spacing: .06em; text-transform: uppercase;
}
.game-card-body h3 { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.game-card-body p { color: #c4b5fd; font-size: .9rem; margin-bottom: 18px; }
.btn-play {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; border: none; padding: 10px 24px;
  border-radius: 50px; font-weight: 700; font-size: .9rem;
  cursor: pointer; transition: transform .2s;
  text-decoration: none; display: inline-block;
}
.btn-play:hover { transform: translateY(-2px); color: #fff; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; margin-top: 48px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  transition: transform .3s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.4rem; margin-bottom: 14px; }
.feature-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: #c4b5fd; font-size: .88rem; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, #1a0533 0%, #2d0a5e 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
}
.newsletter-inner h2 { font-size: 2rem; color: #fff; margin-bottom: 12px; }
.newsletter-inner p { color: #c4b5fd; margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input[type="email"] {
  flex: 1 1 260px; padding: 14px 20px;
  background: rgba(255,255,255,.08); border: 1px solid var(--border);
  border-radius: 50px; color: #fff; font-size: .95rem; outline: none;
  transition: border-color .2s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--purple-light); }
.newsletter-form input::placeholder { color: #9ca3af; }
.newsletter-form button {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; border: none; padding: 14px 32px;
  border-radius: 50px; font-weight: 700; cursor: pointer;
  transition: transform .2s; white-space: nowrap;
}
.newsletter-form button:hover { transform: translateY(-2px); }
.form-msg { margin-top: 14px; font-size: .9rem; min-height: 20px; }
.form-msg.success { color: #6bcb77; }
.form-msg.error { color: #ff6b6b; }

/* ===== LOCATIONS ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 48px;
}
.location-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .3s;
}
.location-card:hover { transform: translateY(-4px); }
.location-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.location-city { color: var(--purple-light); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.location-card p { color: #c4b5fd; font-size: .88rem; line-height: 1.5; }
.location-card .loc-icon { font-size: 1.6rem; margin-bottom: 10px; }

/* ===== FOOTER ===== */
footer {
  background: #080015;
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand p { color: #9ca3af; font-size: .88rem; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #9ca3af; font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: #c084fc; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: #6b7280; font-size: .82rem; }
.footer-bottom .footer-links { display: flex; gap: 16px; }
.footer-bottom .footer-links a { color: #6b7280; font-size: .82rem; }
.footer-bottom .footer-links a:hover { color: #c084fc; }
.disclaimer {
  background: rgba(124,58,237,.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 32px;
  color: #9ca3af; font-size: .8rem; line-height: 1.6;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #1a0533 0%, #2d0a5e 100%);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin-bottom: 12px; }
.page-hero p { color: #c4b5fd; font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ===== GAMES PAGE ===== */
.game-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}
.game-section h2 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.game-section > p { color: #c4b5fd; margin-bottom: 28px; }

/* ===== WHEEL GAME ===== */
.wheel-wrapper {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
#wheelCanvas { border-radius: 50%; box-shadow: 0 0 40px rgba(124,58,237,.6); }
.wheel-pointer {
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid #f59e0b;
  filter: drop-shadow(0 2px 6px rgba(245,158,11,.7));
}
#spinBtn {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; border: none; padding: 14px 48px;
  border-radius: 50px; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(124,58,237,.5);
}
#spinBtn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,.6); }
#spinBtn:disabled { opacity: .6; cursor: not-allowed; }
#wheelResult {
  font-size: 1.2rem; font-weight: 700; color: #f59e0b;
  min-height: 32px; text-align: center;
}

/* ===== SLOTS GAME ===== */
.slots-machine {
  background: linear-gradient(135deg, #0d0020, #1a0533);
  border: 3px solid var(--purple);
  border-radius: 20px; padding: 32px;
  max-width: 480px; margin: 0 auto;
  box-shadow: 0 0 40px rgba(124,58,237,.4);
}
.slots-reels {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 24px;
}
.reel {
  width: 90px; height: 90px;
  background: rgba(255,255,255,.06);
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  transition: all .1s;
  overflow: hidden;
}
.reel.spinning { animation: reelSpin .08s linear infinite; }
@keyframes reelSpin {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-8px); opacity: .5; }
  100% { transform: translateY(0); opacity: 1; }
}
.slots-controls { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#spinSlotsBtn {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; border: none; padding: 14px 48px;
  border-radius: 50px; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: transform .2s;
  box-shadow: 0 4px 24px rgba(124,58,237,.5);
}
#spinSlotsBtn:hover:not(:disabled) { transform: translateY(-2px); }
#spinSlotsBtn:disabled { opacity: .6; cursor: not-allowed; }
#slotsResult {
  font-size: 1.1rem; font-weight: 700; min-height: 28px;
  text-align: center; color: #f59e0b;
}

/* ===== FORFEIT GAME ===== */
.forfeit-wrapper { max-width: 600px; margin: 0 auto; text-align: center; }
.forfeit-card {
  background: linear-gradient(135deg, #1a0533, #2d0a5e);
  border: 2px solid var(--purple);
  border-radius: 20px; padding: 40px 32px;
  margin-bottom: 24px; min-height: 160px;
  display: flex; align-items: center; justify-content: center;
}
.forfeit-card p {
  font-size: 1.4rem; font-weight: 700; color: #fff;
  line-height: 1.4;
}
.forfeit-card p.placeholder { color: #6b7280; font-size: 1rem; font-weight: 400; }
#drawForfeitBtn {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; border: none; padding: 14px 48px;
  border-radius: 50px; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: transform .2s;
  box-shadow: 0 4px 24px rgba(124,58,237,.5);
}
#drawForfeitBtn:hover { transform: translateY(-2px); }

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-top: 48px;
}
.about-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 380px; object-fit: cover; }
.about-text h2 { color: #fff; font-size: 1.8rem; margin-bottom: 16px; }
.about-text p { color: #c4b5fd; margin-bottom: 16px; }
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px;
}
.stat-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; text-align: center;
}
.stat-card .stat-num { font-size: 2rem; font-weight: 900; color: var(--purple-light); }
.stat-card .stat-label { color: #9ca3af; font-size: .85rem; margin-top: 4px; }
.team-section { margin-top: 80px; }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; margin-top: 40px;
}
.team-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.team-avatar { font-size: 3rem; margin-bottom: 12px; }
.team-card h3 { color: #fff; margin-bottom: 4px; }
.team-card .role { color: var(--purple-light); font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.team-card p { color: #9ca3af; font-size: .85rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  align-items: start; margin-top: 48px;
}
.contact-info h2 { color: #fff; font-size: 1.6rem; margin-bottom: 16px; }
.contact-info p { color: #c4b5fd; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
}
.contact-item .ci-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item h4 { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.contact-item p { color: #9ca3af; font-size: .88rem; margin: 0; }
.contact-form-box {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}
.contact-form-box h2 { color: #fff; font-size: 1.4rem; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: #c4b5fd; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  border-radius: 10px; color: #fff; font-size: .95rem; outline: none;
  transition: border-color .2s; font-family: inherit;
}
.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: #1a0533; }
.contact-form-box button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; border: none; padding: 14px;
  border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: transform .2s;
}
.contact-form-box button[type="submit"]:hover { transform: translateY(-2px); }
#contactMsg { margin-top: 14px; text-align: center; font-size: .9rem; min-height: 20px; }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 860px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.policy-content h1 { color: #fff; font-size: 2rem; margin-bottom: 8px; }
.policy-content .updated { color: #9ca3af; font-size: .85rem; margin-bottom: 40px; }
.policy-content h2 { color: #e9d5ff; font-size: 1.25rem; margin: 32px 0 12px; }
.policy-content p { color: #c4b5fd; margin-bottom: 14px; line-height: 1.7; }
.policy-content ul { margin: 10px 0 14px 20px; }
.policy-content ul li { color: #c4b5fd; margin-bottom: 6px; list-style: disc; }
.policy-content a { color: var(--purple-light); }
.policy-content a:hover { color: #f0abfc; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .game-section { padding: 24px 16px; }
  .slots-machine { padding: 20px 12px; }
  .reel { width: 72px; height: 72px; font-size: 2.2rem; }
}
