@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --gold: #ffd700;
  --gold-dark: #b8960c;
  --purple: #6a0dad;
  --bg: #12091e;
  --bg-alt: #1a0f2e;
  --card: #1f1535;
  --text: #f0e6d3;
  --text-dim: #a89b8a;
  --border: rgba(255, 215, 0, 0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; }
a { color: var(--gold); text-decoration: none; transition: 0.3s; }
a:hover { color: #fff; }

/* NAV */
.topbar {
  position: fixed; top: 0; width: 100%; z-index: 900;
  background: rgba(18, 9, 30, 0.95);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem);
  height: 64px;
  border-bottom: 1px solid var(--border);
}
.brand {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 1px;
}
.menu { display: flex; gap: 1.5rem; list-style: none; }
.menu a { color: var(--text-dim); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.menu a:hover { color: var(--gold); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger div { width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* BANNER */
.banner {
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #2a1050 0%, var(--bg) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 2rem 60px;
}
.banner h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}
.banner h1 .highlight { color: var(--gold); }
.banner p {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.cta {
  display: inline-block;
  padding: 15px 42px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: 0.3s;
}
.cta:hover { background: #fff; color: var(--bg); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(255, 215, 0, 0.25); }

/* PANELS */
.panels {
  display: flex;
  gap: 1.5rem;
  padding: 60px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.panel {
  flex: 1; min-width: 280px;
  background: var(--card);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border-left: 4px solid var(--gold);
  transition: 0.3s;
}
.panel:hover { transform: translateY(-3px); }
.panel h3 { color: var(--gold); font-size: 1.15rem; margin-bottom: 0.6rem; }
.panel p { color: var(--text-dim); font-size: 0.95rem; }

/* GAME AREA */
.game-area {
  padding: 60px 2rem;
  background: var(--bg-alt);
}
.game-area h2 { text-align: center; font-size: 2rem; margin-bottom: 0.6rem; }
.game-area .sub { text-align: center; color: var(--text-dim); margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.game-frame {
  max-width: 900px;
  margin: 0 auto;
  border: 3px solid rgba(255, 215, 0, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(106, 13, 173, 0.15);
}
.game-frame iframe { width: 100%; height: 580px; border: none; background: #000; }

/* FEATURES */
.features {
  padding: 80px 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.features h2 { text-align: center; font-size: 2rem; margin-bottom: 2.5rem; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feat {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.feat h3 { color: var(--gold); margin-bottom: 0.5rem; }
.feat p { color: var(--text-dim); font-size: 0.95rem; }

/* FOOTER */
.bottom-bar {
  background: var(--bg-alt);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.resp-links { margin-bottom: 1rem; }
.resp-links a { color: var(--text-dim); margin: 0 1rem; font-size: 0.9rem; }
.resp-links a:hover { color: var(--gold); }
.copy { color: var(--text-dim); font-size: 0.8rem; }

/* AGE GATE */
.age-gate {
  position: fixed; inset: 0; background: rgba(0,0,0,0.94);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.age-dialog {
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 420px; width: 90%;
}
.age-dialog h2 { margin-bottom: 0.8rem; color: var(--gold); }
.age-dialog p { color: var(--text-dim); margin-bottom: 2rem; font-size: 0.95rem; }
.age-actions { display: flex; gap: 1rem; justify-content: center; }
.age-actions button {
  padding: 12px 30px; border-radius: 8px; font-weight: 700;
  cursor: pointer; border: 2px solid var(--gold); font-size: 0.95rem; transition: 0.3s;
}
.btn-confirm { background: var(--gold); color: var(--bg); }
.btn-confirm:hover { background: #fff; }
.btn-deny { background: transparent; color: var(--gold); }
.btn-deny:hover { background: rgba(255,215,0,0.1); }

.gone { display: none !important; }

/* TEXT PAGES */
.text-page {
  max-width: 860px; margin: 0 auto;
  padding: 110px 2rem 80px;
}
.text-page h1 { font-size: 2.4rem; margin-bottom: 1.5rem; color: var(--gold); }
.text-page h2 { font-size: 1.4rem; margin: 2rem 0 0.8rem; color: var(--purple); }
.text-page p { color: var(--text-dim); margin-bottom: 1rem; }
.text-page ul { color: var(--text-dim); margin: 1rem 0 1rem 1.5rem; }
.text-page li { margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  .burger { display: block; }
  .menu {
    position: fixed; top: 64px; right: 0; width: 70%;
    background: rgba(18, 9, 30, 0.98);
    flex-direction: column;
    padding: 2rem;
    height: calc(100vh - 64px);
    transform: translateX(100%);
    transition: 0.3s;
  }
  .menu.open { transform: translateX(0); }
  .banner h1 { font-size: 2rem; }
  .game-frame iframe { height: 380px; }
}
