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

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

:root {
  --teal: #00bcd4;
  --teal-soft: #4dd0e1;
  --magenta: #e91e63;
  --bg: #080f14;
  --bg-alt: #0c1820;
  --card: #111e28;
  --text: #e4eff5;
  --muted: #7a9aad;
  --border: rgba(0, 188, 212, 0.1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Quicksand', sans-serif; font-weight: 700; }
a { color: var(--teal); text-decoration: none; transition: 0.25s; }
a:hover { color: #fff; }

/* TOPBAR */
.topbar {
  position: fixed; top: 0; width: 100%; z-index: 900;
  background: rgba(8, 15, 20, 0.94);
  backdrop-filter: blur(14px);
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700; font-size: 1.5rem;
  color: var(--teal);
}
.nav { display: flex; gap: 1.6rem; list-style: none; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.nav a:hover { color: var(--teal); }

.toggle-nav { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.toggle-nav span { display: block; width: 24px; height: 2px; background: var(--teal); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* HERO - card-style centered */
.main-hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 50%, rgba(0,188,212,0.06), transparent 60%), var(--bg);
  padding: 90px 2rem 60px;
}
.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 800px;
  width: 100%;
  text-align: center;
}
.hero-card h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.2rem;
}
.hero-card h1 .pop { color: var(--teal); }
.hero-card h1 .pop2 { color: var(--magenta); }
.hero-card p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.primary-btn {
  display: inline-block;
  padding: 14px 38px;
  background: var(--teal);
  color: var(--bg);
  font-weight: 700;
  border-radius: 12px;
  font-size: 1rem;
  transition: 0.3s;
}
.primary-btn:hover { background: #fff; color: var(--bg); transform: translateY(-2px); }

/* BADGES */
.badge-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  padding: 60px 2rem;
  max-width: 1100px; margin: 0 auto;
}
.badge-item {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
}
.badge-item .icon { font-size: 2.2rem; margin-bottom: 0.8rem; }
.badge-item h3 { color: var(--teal); font-size: 1.1rem; margin-bottom: 0.4rem; }
.badge-item p { color: var(--muted); font-size: 0.9rem; }

/* GAME */
.game-block {
  padding: 70px 2rem;
  background: var(--bg-alt);
}
.game-block h2 { text-align: center; font-size: 2rem; margin-bottom: 0.5rem; }
.game-block .sub { text-align: center; color: var(--muted); max-width: 500px; margin: 0 auto 2rem; }
.game-iframe-wrap {
  max-width: 920px; margin: 0 auto;
  border-radius: 18px; overflow: hidden;
  border: 2px solid rgba(0,188,212,0.15);
  box-shadow: 0 0 40px rgba(0,188,212,0.05);
}
.game-iframe-wrap iframe { width: 100%; height: 580px; border: none; background: #000; }

/* PERKS */
.perks {
  padding: 70px 2rem;
  max-width: 1100px; margin: 0 auto;
}
.perks h2 { text-align: center; font-size: 1.8rem; margin-bottom: 2rem; }
.perks-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.perk {
  background: var(--card);
  padding: 1.8rem;
  border-radius: 14px;
  border-bottom: 3px solid var(--magenta);
}
.perk h3 { color: var(--teal-soft); margin-bottom: 0.4rem; font-size: 1.05rem; }
.perk p { color: var(--muted); font-size: 0.92rem; }

/* FOOTER */
.footer-bar {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-bar .rg a { color: var(--muted); margin: 0 0.8rem; font-size: 0.88rem; }
.footer-bar .rg a:hover { color: var(--teal); }
.footer-bar .sm { color: var(--muted); font-size: 0.78rem; margin-top: 0.8rem; }

/* AGE */
.age-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: flex; align-items: center; justify-content: center;
}
.age-dialog {
  background: var(--card);
  border: 2px solid var(--teal);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  max-width: 420px; width: 90%;
}
.age-dialog h2 { color: var(--teal); margin-bottom: 0.6rem; }
.age-dialog p { color: var(--muted); margin-bottom: 1.8rem; font-size: 0.93rem; }
.age-dialog .actions { display: flex; gap: 1rem; justify-content: center; }
.age-dialog button {
  padding: 11px 28px; border-radius: 12px; font-weight: 700;
  cursor: pointer; border: 2px solid var(--teal); font-size: 0.93rem;
  font-family: 'Quicksand', sans-serif; transition: 0.3s;
}
.age-dialog .y { background: var(--teal); color: var(--bg); }
.age-dialog .y:hover { background: #fff; border-color: #fff; }
.age-dialog .n { background: transparent; color: var(--teal); }
.age-dialog .n:hover { background: rgba(0,188,212,0.08); }
.bye { display: none !important; }

/* TEXT */
.txt-page {
  max-width: 870px; margin: 0 auto; padding: 105px 2rem 80px;
}
.txt-page h1 { font-size: 2.3rem; margin-bottom: 1.5rem; color: var(--teal); }
.txt-page h2 { font-size: 1.3rem; margin: 1.8rem 0 0.7rem; color: var(--magenta); }
.txt-page p { color: var(--muted); margin-bottom: 1rem; }
.txt-page ul { color: var(--muted); margin: 1rem 0 1rem 1.5rem; }
.txt-page li { margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  .toggle-nav { display: block; }
  .nav {
    position: fixed; top: 62px; right: 0; width: 70%;
    background: rgba(8,15,20,0.98);
    flex-direction: column; padding: 2rem; gap: 1rem;
    height: calc(100vh - 62px);
    transform: translateX(100%); transition: 0.3s;
  }
  .nav.open { transform: translateX(0); }
  .badge-row { grid-template-columns: 1fr; }
  .game-iframe-wrap iframe { height: 380px; }
}
