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

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

:root {
  --deep-violet: #1a0a2e;
  --midnight: #0d0221;
  --gold-accent: #d4a843;
  --pale-gold: #f0d68a;
  --nebula-pink: #c44b8b;
  --star-white: #f0eef6;
  --soft-gray: #b8b0c8;
  --card-bg: rgba(30, 15, 60, 0.85);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--midnight);
  color: var(--star-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  color: var(--pale-gold);
}

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

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, var(--midnight) 70%, transparent);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-area svg {
  width: 40px;
  height: 40px;
}

.logo-area span {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pale-gold);
  letter-spacing: 2px;
}

.desktop-nav { display: flex; gap: 1.8rem; }
.desktop-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--soft-gray);
}
.desktop-nav a:hover { color: var(--pale-gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold-accent);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(13, 2, 33, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--pale-gold);
}
.mobile-nav .close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--gold-accent);
  cursor: pointer;
}

/* HERO */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: radial-gradient(ellipse at 50% 30%, #2a0f4e, var(--midnight) 70%);
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='1' cy='1' r='0.6' fill='rgba(240,214,138,0.15)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-section h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(212,168,67,0.4);
}

.hero-section p {
  max-width: 700px;
  font-size: 1.15rem;
  color: var(--soft-gray);
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-accent), var(--nebula-pink));
  color: #fff;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(196,75,139,0.4);
  color: #fff;
}

/* NOTICES */
.notice-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(90deg, var(--deep-violet), #120630, var(--deep-violet));
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.notice-item .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--midnight);
  flex-shrink: 0;
}

/* GAME SECTION */
.game-wrapper {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--midnight);
}

.game-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.game-frame-container {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 0 40px rgba(212,168,67,0.15);
}

.game-frame-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* INFO CARDS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.info-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
}

.info-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.info-card p {
  color: var(--soft-gray);
  font-size: 0.95rem;
}

/* WIDGETS SECTION */
.widgets-section {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--deep-violet), var(--midnight));
}

.widgets-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.widget-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.widget-box {
  flex: 1 1 300px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.8rem;
  border-left: 4px solid var(--nebula-pink);
}

.widget-box h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: var(--gold-accent);
}

.widget-box p, .widget-box ul {
  color: var(--soft-gray);
  font-size: 0.93rem;
}

.widget-box ul { list-style: none; }
.widget-box ul li::before {
  content: '\2726 ';
  color: var(--gold-accent);
}

/* CONTENT PAGE */
.page-content {
  padding: 7rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--gold-accent);
  padding-bottom: 0.8rem;
}

.page-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content p {
  margin-bottom: 1.2rem;
  color: var(--soft-gray);
}

.page-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--soft-gray);
}

.page-content ul li { margin-bottom: 0.5rem; }

/* FOOTER */
.site-footer {
  background: #080115;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(212,168,67,0.15);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--soft-gray);
}

.footer-responsible {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--soft-gray);
}

.footer-responsible a {
  margin: 0 0.5rem;
  color: var(--gold-accent);
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(184,176,200,0.5);
}

/* AGE GATE */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,2,33,0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-box {
  background: var(--deep-violet);
  border: 2px solid var(--gold-accent);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}

.age-box h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.age-box p {
  color: var(--soft-gray);
  margin-bottom: 2rem;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-buttons button {
  padding: 0.8rem 2rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-yes {
  background: var(--gold-accent);
  color: var(--midnight);
}
.btn-yes:hover { background: var(--pale-gold); }

.btn-no {
  background: transparent;
  border: 2px solid var(--nebula-pink) !important;
  color: var(--nebula-pink);
}
.btn-no:hover { background: rgba(196,75,139,0.15); }

.age-blocked {
  display: none;
  color: var(--nebula-pink);
  margin-top: 1.5rem;
  font-weight: 600;
}

/* PLAY PAGE */
.play-hero {
  padding: 7rem 2rem 2rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 20%, #2a0f4e, var(--midnight) 70%);
}

.play-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.play-note {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--soft-gray);
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }

  .hero-section h1 { font-size: 2rem; }
  .hero-section { padding: 5rem 1.2rem 3rem; }

  .info-grid { grid-template-columns: 1fr; }

  .game-frame-container iframe { height: 400px; }

  .notice-strip { flex-direction: column; align-items: center; gap: 1rem; }

  .page-content { padding: 5rem 1.2rem 3rem; }
  .page-content h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-section h1 { font-size: 1.6rem; }
  .game-frame-container iframe { height: 300px; }
  .age-box { padding: 2rem 1.5rem; }
}
