@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky-blue: #e8f4fd;
  --accent-blue: #3a7bd5;
  --deep-blue: #1a3a5c;
  --pastel-lavender: #f0e6ff;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-mid: #5a6d7e;
  --coral-accent: #e07c5a;
  --soft-shadow: 0 4px 20px rgba(58,123,213,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans Pro', sans-serif;
  background: var(--sky-blue);
  color: var(--text-dark);
  line-height: 1.75;
}

.site-header {
  background: var(--white);
  box-shadow: var(--soft-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 65px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--accent-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo svg { width: 36px; height: 36px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--coral-accent); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 3px;
  transition: 0.3s;
}

main { min-height: 80vh; }

/* HERO - centered card style */
.hero {
  padding: 5rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--sky-blue) 100%);
}

.hero-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: var(--soft-shadow);
}

.hero-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--deep-blue);
  margin-bottom: 1rem;
  font-weight: 900;
}

.hero-card p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-btn {
  display: inline-block;
  background: var(--coral-accent);
  color: var(--white);
  padding: 13px 38px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.hero-btn:hover {
  background: #c96844;
  transform: translateY(-2px);
}

/* BADGES */
.badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--white);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  text-align: center;
  width: 280px;
  box-shadow: var(--soft-shadow);
  border-top: 4px solid var(--accent-blue);
}

.badge .badge-icon { font-size: 2.2rem; margin-bottom: 0.6rem; }

.badge h3 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-blue);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.badge p { color: var(--text-mid); font-size: 0.88rem; }

/* GAME */
.game-area {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.game-area h2 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-blue);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.game-frame {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  max-width: 960px;
  margin: 0 auto;
}

.game-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* ABOUT STRIP */
.about-strip {
  background: var(--white);
  padding: 4rem 2rem;
  margin: 3rem 0;
}

.about-strip-inner {
  max-width: 900px;
  margin: 0 auto;
}

.about-strip h2 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-blue);
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.about-strip p {
  color: var(--text-mid);
  margin-bottom: 1rem;
}

/* HIGHLIGHTS */
.highlights {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.highlights h2 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-blue);
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.highlight-box {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--soft-shadow);
  text-align: center;
}

.highlight-box .hl-icon { font-size: 2rem; margin-bottom: 0.8rem; }

.highlight-box h3 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-blue);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.highlight-box p { color: var(--text-mid); font-size: 0.88rem; }

/* CONTENT */
.content-page {
  padding: 4rem 2rem;
  max-width: 850px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--soft-shadow);
}

.content-page h1 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-blue);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--sky-blue);
}

.content-page h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-blue);
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
}

.content-page p, .content-page li {
  color: var(--text-mid);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.content-page ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }

/* PLAY PAGE */
.play-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(180deg, var(--white), var(--sky-blue));
}

.play-header h1 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-blue);
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.play-header p { color: var(--text-mid); max-width: 550px; margin: 0 auto; }

.play-container {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.play-tips {
  background: var(--white);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-mid);
  font-size: 0.88rem;
  box-shadow: var(--soft-shadow);
}

/* FOOTER */
.site-footer {
  background: var(--deep-blue);
  padding: 2.5rem 2rem;
  text-align: center;
  color: #a8c4db;
}

.footer-links { margin-bottom: 1rem; }

.footer-links h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #a8c4db;
  text-decoration: none;
  margin: 0 0.7rem;
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--coral-accent); }

.footer-note { font-size: 0.78rem; color: #7a9ab5; }

/* AGE MODAL */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,58,92,0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-box {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.age-box h2 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.age-box p { color: var(--text-mid); margin-bottom: 1.5rem; font-size: 0.95rem; }

.age-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-actions button {
  padding: 11px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--accent-blue);
  transition: 0.3s;
}

.age-confirm {
  background: var(--accent-blue);
  color: var(--white);
}

.age-confirm:hover { background: #2d6ac0; }

.age-deny {
  background: var(--white);
  color: var(--accent-blue);
}

.age-deny:hover { background: var(--sky-blue); }

.age-rejected {
  color: #e74c3c;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 65px;
    right: 0;
    width: 260px;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: translateX(0); }
  .hero-card h1 { font-size: 1.8rem; }
  .hero-card { padding: 2rem 1.5rem; }
  .badges { flex-direction: column; align-items: center; }
  .highlight-row { grid-template-columns: 1fr; }
  .game-frame iframe { height: 350px; }
  .site-header { padding: 0 1.5rem; }
}
