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

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

:root {
  --bg-deep: #0b0b1a;
  --bg-card: #141428;
  --bg-surface: #1c1c3a;
  --gold: #e0c97f;
  --gold-light: #f5e6b8;
  --text: #d4d4e0;
  --text-muted: #8888a0;
  --accent: #7b68ee;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11,11,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224,201,127,0.15);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 4rem 60px;
  background: radial-gradient(ellipse at 20% 50%, rgba(123,104,238,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(224,201,127,0.1) 0%, transparent 50%);
  position: relative;
}

.hero-content { max-width: 800px; }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold), #c9a84c);
  color: var(--bg-deep);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(224,201,127,0.3);
}

/* NOTICES */
.notices-strip {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 4rem;
  background: var(--bg-card);
  border-top: 1px solid rgba(224,201,127,0.08);
  border-bottom: 1px solid rgba(224,201,127,0.08);
  flex-wrap: wrap;
  justify-content: center;
}

.notice-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notice-badge .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(224,201,127,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* GAME SECTION */
.game-section {
  padding: 5rem 4rem;
  text-align: center;
}

.game-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.game-section p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.game-embed {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border: 2px solid rgba(224,201,127,0.15);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.game-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* INFO GRID */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 5rem 4rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid rgba(224,201,127,0.08);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.info-card:hover {
  border-color: rgba(224,201,127,0.3);
  transform: translateY(-4px);
}

.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

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

/* ABOUT */
.about-section {
  padding: 5rem 4rem;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-text { flex: 1; }

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.about-visual {
  flex: 1;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
  border-radius: 12px;
  border: 1px solid rgba(224,201,127,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* STATS */
.stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 3rem 4rem;
  background: var(--bg-card);
  border-top: 1px solid rgba(224,201,127,0.06);
  border-bottom: 1px solid rgba(224,201,127,0.06);
}

.stat-item { text-align: center; }
.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-item .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 1px; }

/* PAGE CONTENT (inner pages) */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 2rem 60px;
}

.page-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 2rem 0 1rem;
}

.page-content p { margin-bottom: 1rem; color: var(--text); }

.page-content ul, .page-content ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text);
}

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

/* FOOTER */
.site-footer {
  padding: 3rem 4rem;
  background: var(--bg-card);
  border-top: 1px solid rgba(224,201,127,0.1);
  text-align: center;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-responsible {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(224,201,127,0.06);
}

.footer-responsible p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

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

.responsible-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.responsible-links a:hover { color: var(--gold); }

.copyright {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* AGE POPUP */
.age-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-popup {
  background: var(--bg-surface);
  border: 1px solid rgba(224,201,127,0.2);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}

.age-popup h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.age-popup p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.age-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s;
}

.age-btn.yes {
  background: linear-gradient(135deg, var(--gold), #c9a84c);
  color: var(--bg-deep);
}

.age-btn.no {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
}

.age-btn:hover { transform: scale(1.05); }

.age-blocked {
  color: #ff6b6b;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
}

/* PLAY PAGE */
.play-section {
  padding: 100px 4rem 60px;
  text-align: center;
}

.play-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.play-section .play-note {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.play-game-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border: 2px solid rgba(224,201,127,0.15);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.play-game-wrap iframe { width: 100%; height: 100%; border: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
  .about-section { flex-direction: column; }
  .hero h1 { font-size: 2.5rem; }
  .hero { padding: 120px 2rem 40px; }
  .notices-strip { padding: 2rem; }
  .game-section, .info-grid, .about-section, .stats-bar, .site-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(11,11,26,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(224,201,127,0.15);
  }
  .nav-links.open { display: flex; }
  .stats-bar { flex-direction: column; gap: 1.5rem; }
  .page-content { padding: 100px 1.2rem 40px; }
  .play-section { padding: 90px 1.2rem 40px; }
}
