@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --royal-purple: #2D1B69;
  --deep-violet: #1A0E3E;
  --gold-accent: #D4A843;
  --gold-light: #F2D680;
  --cream: #FFF8E7;
  --text-light: #E8E0F0;
  --text-dark: #1A0E3E;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--deep-violet);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

a { color: var(--gold-accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

/* HEADER */
.site-header {
  background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold-accent);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg { width: 36px; height: 36px; }

.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gold-accent);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero-section {
  background: linear-gradient(160deg, var(--royal-purple) 0%, #3B1F8E 50%, var(--deep-violet) 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(212,168,67,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(212,168,67,0.05) 0%, transparent 40%);
  animation: shimmer 15s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero-content h1 {
  font-size: 3.2rem;
  color: var(--gold-accent);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* NOTICES */
.notices-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: rgba(212,168,67,0.1);
  border-top: 1px solid rgba(212,168,67,0.2);
  border-bottom: 1px solid rgba(212,168,67,0.2);
}
.notice-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 700;
}
.notice-item .icon { font-size: 1.3rem; }

/* GAME EMBED */
.game-wrapper {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.game-container {
  background: #0D0722;
  border: 2px solid var(--gold-accent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(212,168,67,0.15);
}
.game-container iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
}

/* CONTENT SECTIONS */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: linear-gradient(145deg, rgba(45,27,105,0.7), rgba(26,14,62,0.9));
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212,168,67,0.1);
}
.info-card h3 {
  color: var(--gold-accent);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}
.info-card p { opacity: 0.85; font-size: 0.95rem; }

.section-title {
  font-size: 2.2rem;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 1rem;
}
.section-subtitle {
  text-align: center;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* WIDGET BAR */
.widget-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 2rem;
}
.widget-box {
  background: rgba(45,27,105,0.5);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.widget-box .w-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold-accent);
  font-weight: 900;
}
.widget-box .w-label {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.3rem;
}

/* PAGE CONTENT */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.page-content h1 {
  color: var(--gold-accent);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.page-content h2 {
  color: var(--gold-light);
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
}
.page-content p {
  margin-bottom: 1rem;
  opacity: 0.9;
}
.page-content ul {
  margin: 1rem 0 1rem 2rem;
  opacity: 0.9;
}
.page-content ul li { margin-bottom: 0.5rem; }

/* PLAY PAGE */
.play-intro {
  text-align: center;
  padding: 3rem 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.play-intro h1 {
  color: var(--gold-accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.play-note {
  background: rgba(212,168,67,0.1);
  border-left: 4px solid var(--gold-accent);
  padding: 1rem 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
}

/* FOOTER */
.site-footer {
  background: #0D0722;
  border-top: 2px solid var(--gold-accent);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--gold-accent);
  font-size: 0.9rem;
}
.footer-copy {
  opacity: 0.5;
  font-size: 0.8rem;
}

/* AGE GATE */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,5,30,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.age-box {
  background: linear-gradient(145deg, var(--royal-purple), var(--deep-violet));
  border: 2px solid var(--gold-accent);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}
.age-box h2 {
  color: var(--gold-accent);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.age-box p {
  margin-bottom: 2rem;
  opacity: 0.85;
}
.age-buttons { display: flex; gap: 1rem; justify-content: center; }
.btn-yes, .btn-no {
  padding: 0.8rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: all 0.3s;
}
.btn-yes {
  background: var(--gold-accent);
  color: var(--text-dark);
}
.btn-yes:hover { background: var(--gold-light); }
.btn-no {
  background: transparent;
  border: 2px solid var(--gold-accent);
  color: var(--gold-accent);
}
.btn-no:hover { background: rgba(212,168,67,0.1); }

.age-blocked {
  display: none;
  text-align: center;
  color: #ff6b6b;
  margin-top: 1.5rem;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--deep-violet);
    flex-direction: column;
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--gold-accent);
  }
  .nav-links.open { display: flex; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .widget-row { grid-template-columns: repeat(2, 1fr); }
  .game-container iframe { height: 400px; }
  .header-inner { position: relative; }
}

@media (max-width: 480px) {
  .widget-row { grid-template-columns: 1fr; }
  .notices-bar { flex-direction: column; align-items: center; gap: 0.8rem; }
  .hero-content h1 { font-size: 1.7rem; }
}
