@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #6b21a8;
  --primary-dark: #4c1d95;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --bg-dark: #1a0a2e;
  --bg-card: #2d1b4e;
  --text: #f0e6ff;
  --text-muted: #c4b5d9;
  --gradient-hero: linear-gradient(135deg, #1a0a2e 0%, #3b1a6e 50%, #1a0a2e 100%);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-light); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 10, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 33, 168, 0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 1px;
}

.logo svg { width: 40px; height: 40px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
  padding: 100px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { max-width: 900px; position: relative; z-index: 2; }

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--accent), #d97706);
  color: #1a0a2e;
  font-weight: 700;
  border-radius: 50px;
  font-size: 1.05rem;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
  color: #1a0a2e;
}

/* Notices */
.notices-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 28px 24px;
  background: var(--primary-dark);
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-light);
}

.notice-item .icon { font-size: 1.4rem; }

/* Sections */
.section {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* Game embed */
.game-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--primary);
  box-shadow: 0 0 60px rgba(107, 33, 168, 0.3);
}

.game-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid rgba(107, 33, 168, 0.3);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(107, 33, 168, 0.25);
}

.feature-icon { font-size: 2.8rem; margin-bottom: 16px; display: block; }

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--accent-light);
}

.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-box {
  text-align: center;
  padding: 32px 16px;
  background: linear-gradient(145deg, var(--bg-card), var(--primary-dark));
  border-radius: 16px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: #0f0620;
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid rgba(107, 33, 168, 0.2);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-responsible {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(107, 33, 168, 0.15);
}

.footer-responsible p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.responsible-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.responsible-links a {
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: underline;
}

.footer-copy {
  margin-top: 24px;
  font-size: 0.8rem;
  color: rgba(196, 181, 217, 0.5);
}

/* Age Modal */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-overlay.hidden { display: none; }

.age-box {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.age-box h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.age-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.age-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.age-buttons button {
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid var(--accent);
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s;
}

.btn-yes {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-yes:hover { background: var(--accent-light); }

.btn-no {
  background: transparent;
  color: var(--accent);
}

.btn-no:hover { background: rgba(245, 158, 11, 0.1); }

/* Content pages */
.page-hero {
  padding: 120px 24px 60px;
  text-align: center;
  background: var(--gradient-hero);
}

.page-hero h1 {
  font-size: 2.6rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-hero p { color: var(--text-muted); font-size: 1.1rem; }

.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.content-section h2 {
  font-size: 1.6rem;
  color: var(--accent);
  margin: 36px 0 16px;
}

.content-section h2:first-child { margin-top: 0; }

.content-section p, .content-section ul, .content-section li {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.content-section ul { padding-left: 24px; }
.content-section li { margin-bottom: 8px; }

/* Play page */
.play-section {
  padding: 100px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.play-section h1 {
  text-align: center;
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.play-note {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .game-wrapper iframe { height: 450px; }
}

@media (max-width: 640px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(26, 10, 46, 0.98);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.3);
  }

  .nav-links.open { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.7rem; }
  .game-wrapper iframe { height: 350px; }
  .notices-bar { gap: 16px; }
  .notice-item { font-size: 0.85rem; }
  .page-hero h1 { font-size: 2rem; }
}
