@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Lora:wght@400;500;600&display=swap');

:root {
  --royal-purple: #2d1b69;
  --deep-violet: #1a0e3e;
  --gold: #d4af37;
  --light-gold: #f0d77b;
  --cream: #faf5e4;
  --soft-white: #f8f6f0;
  --charcoal: #1e1e2f;
  --text-light: #e8e0d0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Lora', serif;
  background: var(--deep-violet);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--light-gold); }

.site-header {
  background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
  border-bottom: 2px solid var(--gold);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg { width: 40px; height: 40px; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}

.hero-section {
  display: flex;
  min-height: 85vh;
  align-items: center;
  padding: 4rem 3rem;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 60%),
              var(--deep-violet);
}

.hero-text { flex: 1; max-width: 600px; padding-right: 3rem; }

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-game { flex: 1; display: flex; justify-content: center; }

.game-frame-wrapper {
  width: 100%;
  max-width: 760px;
  background: var(--charcoal);
  border: 2px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(212,175,55,0.15);
}

.game-frame-wrapper iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #b8960f);
  color: var(--deep-violet);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.4);
  color: var(--deep-violet);
}

.notices-strip {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 2rem;
  background: var(--royal-purple);
  border-top: 1px solid rgba(212,175,55,0.2);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.notice-item {
  text-align: center;
  max-width: 280px;
}

.notice-item .notice-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.notice-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.notice-item p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.content-section {
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-section p {
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-align: center;
  opacity: 0.85;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(145deg, rgba(45,27,105,0.6), rgba(26,14,62,0.8));
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.feature-card .card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.feature-card p { font-size: 0.95rem; opacity: 0.8; }

.about-block {
  background: linear-gradient(to right, var(--royal-purple), var(--deep-violet));
  padding: 5rem 3rem;
}

.about-block .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.about-block p { font-size: 1.05rem; margin-bottom: 1.2rem; opacity: 0.85; }

.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-align: center;
}

.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--light-gold);
  margin: 2.5rem 0 1rem;
}

.page-content p, .page-content li {
  font-size: 1.02rem;
  margin-bottom: 1rem;
  opacity: 0.88;
}

.page-content ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }

.play-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.play-wrapper h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.play-wrapper p { margin-bottom: 2rem; opacity: 0.85; }

.play-wrapper .game-frame-wrapper { margin: 0 auto; }

.site-footer {
  background: var(--charcoal);
  border-top: 2px solid var(--gold);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-links a:hover { opacity: 1; color: var(--gold); }

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.5;
}

.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-box {
  background: var(--royal-purple);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}

.age-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.age-box p { margin-bottom: 2rem; font-size: 1rem; opacity: 0.85; }

.age-btns { display: flex; gap: 1rem; justify-content: center; }

.age-btns button {
  padding: 12px 36px;
  border: 2px solid var(--gold);
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-yes {
  background: var(--gold);
  color: var(--deep-violet);
}

.btn-yes:hover { background: var(--light-gold); }

.btn-no {
  background: transparent;
  color: var(--gold);
}

.btn-no:hover { background: rgba(212,175,55,0.15); }

.blocked-msg {
  text-align: center;
  padding: 5rem 2rem;
}

.blocked-msg h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
}

@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: var(--deep-violet);
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    border-left: 2px solid var(--gold);
    transition: right 0.35s ease;
  }

  .nav-links.open { right: 0; }

  .hero-section {
    flex-direction: column;
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .hero-text { padding-right: 0; text-align: center; margin-bottom: 2rem; }
  .hero-text h1 { font-size: 2.2rem; }

  .notices-strip { flex-direction: column; align-items: center; gap: 1.5rem; }

  .features-grid { grid-template-columns: 1fr; }

  .game-frame-wrapper iframe { height: 350px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.8rem; }
  .site-header { padding: 0 1rem; }
  .content-section { padding: 3rem 1.5rem; }
  .game-frame-wrapper iframe { height: 280px; }
}
