@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1e1b4b;
  --navy-mid: #312e81;
  --navy-light: #4338ca;
  --rose: #e8a87c;
  --rose-light: #f0c4a0;
  --rose-dark: #c68b5c;
  --bg: #0f0d2e;
  --surface: #1a1747;
  --text: #e8e4f5;
  --text-muted: #a09bc0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: var(--rose); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--rose-light); }

/* Header */
.top-bar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(15, 13, 46, 0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 168, 124, 0.12);
}

.top-bar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.35rem; color: var(--rose);
  text-transform: uppercase; letter-spacing: 2px;
}
.logo svg { width: 32px; height: 32px; }

.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a {
  color: var(--text-muted); font-weight: 500; font-size: 0.88rem;
  letter-spacing: 0.3px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--rose); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--rose);
  border-radius: 2px; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero - centered */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 20px 60px;
  background: radial-gradient(ellipse at 50% 30%, rgba(67, 56, 202, 0.25), transparent 70%),
              var(--bg);
}

.hero-inner { max-width: 720px; }

.hero h1 {
  font-size: 3.5rem; font-weight: 900; line-height: 1.1;
  margin-bottom: 24px; color: var(--rose);
}

.hero p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 36px; }

.cta-btn {
  display: inline-block; padding: 16px 48px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: var(--navy); font-weight: 700; border-radius: 60px;
  font-size: 1.05rem; transition: all 0.3s; border: none; cursor: pointer;
}
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 10px 35px rgba(232, 168, 124, 0.35); color: var(--navy); }

/* Alert badges */
.alert-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  padding: 32px 20px; background: var(--surface);
  border-top: 1px solid rgba(232, 168, 124, 0.1);
  border-bottom: 1px solid rgba(232, 168, 124, 0.1);
}

.alert-badge {
  background: rgba(232, 168, 124, 0.08); border: 1px solid rgba(232, 168, 124, 0.15);
  border-radius: 40px; padding: 10px 24px; display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--rose-light);
}

.alert-badge .ic { font-size: 1.2rem; }

/* Rounded sections */
.block {
  max-width: 1100px; margin: 0 auto; padding: 80px 20px;
}

.block-title {
  font-size: 2rem; font-weight: 800; text-align: center; color: var(--rose);
  margin-bottom: 12px;
}
.block-desc {
  text-align: center; color: var(--text-muted); max-width: 650px;
  margin: 0 auto 48px; font-size: 1rem;
}

/* Game embed */
.game-container {
  max-width: 940px; margin: 0 auto; border-radius: 24px; overflow: hidden;
  border: 2px solid var(--navy-mid); box-shadow: 0 0 80px rgba(67, 56, 202, 0.2);
  background: #000;
}
.game-container iframe { width: 100%; height: 580px; border: none; display: block; }

/* Pillars */
.pillars {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

.pillar {
  background: var(--surface); border-radius: 20px; padding: 36px 30px;
  border: 1px solid rgba(232, 168, 124, 0.08);
  transition: transform 0.3s, border-color 0.3s;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(232, 168, 124, 0.25); }

.pillar-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.pillar h3 { font-size: 1.15rem; font-weight: 700; color: var(--rose-light); margin-bottom: 10px; }
.pillar p { color: var(--text-muted); font-size: 0.93rem; }

/* Numbers */
.number-row {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px;
  padding: 60px 20px; max-width: 1000px; margin: 0 auto;
}

.num-box { text-align: center; }
.num-val { font-size: 2.8rem; font-weight: 900; color: var(--rose); display: block; }
.num-lbl { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

/* About */
.about-block {
  background: var(--surface); border-radius: 24px; padding: 48px 40px;
  max-width: 900px; margin: 0 auto; text-align: center;
  border: 1px solid rgba(232, 168, 124, 0.08);
}
.about-block h2 { font-size: 1.8rem; color: var(--rose); margin-bottom: 20px; }
.about-block p { color: var(--text-muted); font-size: 1rem; margin-bottom: 14px; }

/* Footer */
.bottom-bar {
  background: #080620; padding: 48px 20px; text-align: center;
  border-top: 1px solid rgba(232, 168, 124, 0.06);
}

.bottom-nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.bottom-nav a { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }
.bottom-nav a:hover { color: var(--rose); }

.bottom-responsible { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(232, 168, 124, 0.06); }
.bottom-responsible p { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 10px; }
.resp-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.resp-links a { color: var(--rose); font-size: 0.83rem; text-decoration: underline; }

.bottom-copy { margin-top: 20px; font-size: 0.75rem; color: rgba(160, 155, 192, 0.4); }

/* Age modal */
.age-gate {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.age-gate.hidden { display: none; }

.age-panel {
  background: var(--surface); border: 2px solid var(--rose);
  border-radius: 24px; padding: 44px 36px; max-width: 400px;
  width: 100%; text-align: center;
}
.age-panel h2 { font-size: 1.5rem; color: var(--rose); margin-bottom: 14px; }
.age-panel p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.93rem; }

.age-btns { display: flex; gap: 14px; justify-content: center; }
.age-btns button {
  padding: 12px 32px; border-radius: 40px; font-weight: 700;
  font-size: 0.95rem; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.3s;
}
.btn-confirm { background: var(--rose); color: var(--navy); border: 2px solid var(--rose); }
.btn-confirm:hover { background: var(--rose-light); }
.btn-deny { background: transparent; color: var(--rose); border: 2px solid var(--rose); }
.btn-deny:hover { background: rgba(232, 168, 124, 0.1); }

/* Content pages */
.pg-header {
  padding: 110px 20px 50px; text-align: center;
  background: radial-gradient(ellipse at 50% 80%, rgba(67, 56, 202, 0.2), transparent 60%), var(--bg);
}
.pg-header h1 { font-size: 2.4rem; font-weight: 900; color: var(--rose); margin-bottom: 8px; }
.pg-header p { color: var(--text-muted); font-size: 1rem; }

.pg-body { max-width: 840px; margin: 0 auto; padding: 60px 20px; }
.pg-body h2 { font-size: 1.4rem; font-weight: 700; color: var(--rose); margin: 32px 0 12px; }
.pg-body h2:first-child { margin-top: 0; }
.pg-body p, .pg-body ul, .pg-body li { color: var(--text-muted); margin-bottom: 12px; font-size: 0.96rem; }
.pg-body ul { padding-left: 22px; }
.pg-body li { margin-bottom: 6px; }

/* Play page */
.play-wrap { padding: 100px 20px 60px; max-width: 1060px; margin: 0 auto; }
.play-wrap h1 { text-align: center; font-size: 2.2rem; color: var(--rose); margin-bottom: 10px; font-weight: 800; }
.play-info { text-align: center; color: var(--text-muted); margin-bottom: 32px; font-size: 0.93rem; }

@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .game-container iframe { height: 400px; }
  .number-row { gap: 16px; }
}

@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; width: 100%;
    flex-direction: column; background: rgba(15, 13, 46, 0.98);
    padding: 20px; gap: 14px;
  }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .block-title { font-size: 1.6rem; }
  .game-container iframe { height: 320px; }
  .alert-row { gap: 10px; }
  .alert-badge { font-size: 0.8rem; padding: 8px 16px; }
  .pg-header h1 { font-size: 1.8rem; }
}
