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

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

:root {
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --bg-white: #fafafa;
  --bg-light: #f1f5f9;
  --bg-section: #e2e8f0;
  --text-dark: #1e293b;
  --text-mid: #475569;
  --text-light: #64748b;
  --border: #cbd5e1;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

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

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }

/* HEADER */
.header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(250, 250, 250, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-wrap {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 1.5rem;
}

.logo-area { display: flex; align-items: center; gap: 0.6rem; }
.logo-area svg { width: 32px; height: 32px; }
.logo-name { font-weight: 700; font-size: 1.1rem; color: var(--text-dark); letter-spacing: -0.5px; }

.main-nav { display: flex; gap: 1.8rem; list-style: none; }
.main-nav a { color: var(--text-light); font-size: 0.88rem; font-weight: 500; }
.main-nav a:hover, .main-nav a.on { color: var(--teal); }

.ham-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.ham-btn span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 1px; transition: all 0.3s; }
.ham-btn.toggled span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.ham-btn.toggled span:nth-child(2) { opacity: 0; }
.ham-btn.toggled span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .ham-btn { display: flex; }
  .main-nav {
    position: fixed; top: 54px; left: 0; right: 0;
    flex-direction: column; background: rgba(250,250,250,0.98);
    padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform 0.3s;
  }
  .main-nav.revealed { transform: translateY(0); }
}

/* HERO */
.intro-hero {
  padding: 8rem 1.5rem 4rem;
  background: var(--bg-light);
  text-align: center;
}

.intro-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -1px;
  color: var(--text-dark); margin-bottom: 1.2rem;
  line-height: 1.15;
}

.intro-hero p {
  font-size: 1.1rem; color: var(--text-mid);
  max-width: 660px; margin: 0 auto 2rem;
}

.teal-btn {
  display: inline-block; padding: 0.75rem 2rem;
  background: var(--teal); color: #fff;
  font-weight: 600; font-size: 0.95rem;
  border-radius: 8px; transition: all 0.25s;
}
.teal-btn:hover { background: var(--teal-dark); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* INFO CARDS */
.info-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1200px; margin: -2rem auto 0; padding: 0 1.5rem;
  position: relative; z-index: 2;
}
@media (max-width: 768px) { .info-cards { grid-template-columns: 1fr; margin-top: 2rem; } }

.info-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 1.8rem;
  box-shadow: var(--shadow); transition: box-shadow 0.3s;
}
.info-card:hover { box-shadow: var(--shadow-md); }
.info-card .ic-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.info-card p { color: var(--text-light); font-size: 0.92rem; }

/* GAME */
.game-block {
  max-width: 1200px; margin: 3rem auto; padding: 0 1.5rem;
}
.game-block h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; text-align: center; margin-bottom: 1.5rem; letter-spacing: -0.5px; }
.game-window {
  max-width: 960px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; background: #000; box-shadow: var(--shadow-md);
}
.game-window iframe { display: block; width: 100%; height: 600px; border: none; }
@media (max-width: 768px) { .game-window iframe { height: 380px; } }

/* PERKS */
.perks-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 1200px; margin: 3rem auto; padding: 0 1.5rem;
}
.perk { padding: 1.5rem; background: var(--bg-light); border-radius: 10px; }
.perk h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
.perk p { color: var(--text-light); font-size: 0.9rem; }

/* ABOUT */
.overview-section {
  max-width: 1200px; margin: 3rem auto; padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.overview-section h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; margin-bottom: 1rem; }
.overview-section p { color: var(--text-mid); max-width: 800px; margin: 0 auto 1rem; font-size: 1rem; }

/* CONTENT PAGE */
.text-page {
  max-width: 820px; margin: 0 auto; padding: 6.5rem 1.5rem 3rem;
}
.text-page h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 1.2rem; letter-spacing: -0.5px; }
.text-page h2 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 0.6rem; color: var(--teal-dark); }
.text-page p, .text-page li { color: var(--text-mid); margin-bottom: 0.7rem; font-size: 0.95rem; }
.text-page ul, .text-page ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* PLAY */
.play-zone { max-width: 1200px; margin: 0 auto; padding: 6.5rem 1.5rem 3rem; }
.play-zone h1 { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 0.8rem; }
.play-zone .usage { text-align: center; color: var(--text-mid); max-width: 660px; margin: 0 auto 2rem; }

/* FOOTER */
.site-foot {
  background: var(--bg-light); border-top: 1px solid var(--border);
  padding: 3rem 1.5rem; margin-top: 4rem;
}
.foot-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem;
}
.foot-col p { color: var(--text-light); font-size: 0.88rem; margin-top: 0.3rem; }
.foot-col h4 { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.7rem; color: var(--text-dark); }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 0.3rem; }
.foot-col a { color: var(--text-light); font-size: 0.88rem; }
.foot-col a:hover { color: var(--teal); }
.foot-bottom { text-align: center; color: var(--text-light); font-size: 0.82rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* AGE POPUP */
.age-wall {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.age-wall.away { display: none; }
.age-card {
  background: #fff; border-radius: 16px; padding: 2.5rem;
  text-align: center; max-width: 420px; width: 92%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.age-card .age-badge { font-size: 3rem; margin-bottom: 0.8rem; }
.age-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem; }
.age-card p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 1.5rem; }
.age-row { display: flex; gap: 0.8rem; justify-content: center; }
.age-ok {
  padding: 0.65rem 1.8rem; background: var(--teal); color: #fff;
  border: none; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: background 0.2s;
}
.age-ok:hover { background: var(--teal-dark); }
.age-nope {
  padding: 0.65rem 1.8rem; background: #fff; color: var(--text-light);
  border: 1px solid var(--border); border-radius: 8px; font-weight: 600;
  font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.age-nope:hover { border-color: #ef4444; color: #ef4444; }
