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

:root {
  --sunny: #fbbf24;
  --orange: #f97316;
  --red-warm: #ef4444;
  --bg-light: #fffbeb;
  --bg-cream: #ffffff;
  --dark: #292524;
  --muted: #78716c;
  --border: #fed7aa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--bg-light);
  color: var(--dark);
  line-height: 1.8;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 2rem;
  background: var(--bg-cream);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.h-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.h-logo svg { width: 34px; height: 34px; }

.h-logo span {
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  color: var(--orange);
}

.h-menu {
  display: flex;
  gap: 1.3rem;
  list-style: none;
}

.h-menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.h-menu a:hover { color: var(--orange); }

.h-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.h-burger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--orange);
  margin: 4px 0;
  border-radius: 3px;
}

.h-drawer {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: var(--bg-cream);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  z-index: 999;
  padding: 1rem 2rem;
}

.h-drawer.open { display: block; }

.h-drawer a {
  display: block;
  padding: 0.6rem 0;
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.fun-zone {
  background: linear-gradient(145deg, var(--sunny), var(--orange));
  padding: 4.5rem 2rem;
  text-align: center;
  border-radius: 0 0 40px 40px;
}

.fun-zone h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--bg-cream);
  margin-bottom: 0.8rem;
}

.fun-zone p {
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 1.8rem;
  font-size: 1rem;
  font-weight: 600;
}

.fun-tags {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.fun-tag {
  background: rgba(255,255,255,0.3);
  color: var(--bg-cream);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.game-block {
  padding: 3rem 2rem;
  text-align: center;
}

.game-block h2 {
  font-family: 'Fredoka One', cursive;
  color: var(--orange);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.game-window {
  max-width: 920px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--sunny);
  box-shadow: 0 10px 30px rgba(249,115,22,0.15);
}

.game-window iframe {
  width: 100%;
  height: 570px;
  border: none;
  display: block;
}

.bubble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bubble {
  background: var(--bg-cream);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  text-align: center;
  border: 2px solid var(--border);
}

.bubble .b-emoji { font-size: 2.2rem; margin-bottom: 0.5rem; }

.bubble h3 {
  font-family: 'Fredoka One', cursive;
  color: var(--red-warm);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.bubble p {
  color: var(--muted);
  font-size: 0.87rem;
}

.counter-strip {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--orange), var(--red-warm));
  border-radius: 20px;
  margin: 0 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.counter {
  text-align: center;
  color: var(--bg-cream);
}

.counter .cv {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
}

.counter .cl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.play-cta {
  text-align: center;
  padding: 3rem 2rem;
}

.play-cta h2 {
  font-family: 'Fredoka One', cursive;
  color: var(--dark);
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.play-cta p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 1.3rem;
}

.sunny-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--sunny), var(--orange));
  color: var(--bg-cream);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  transition: transform 0.2s;
}

.sunny-btn:hover { transform: scale(1.05); }

.content-area {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content-area h1 {
  font-family: 'Fredoka One', cursive;
  color: var(--orange);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.content-area h2 {
  font-family: 'Fredoka One', cursive;
  color: var(--red-warm);
  font-size: 1.15rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.content-area p { color: var(--muted); margin-bottom: 0.7rem; }
.content-area ul { padding-left: 1.5rem; margin-bottom: 0.7rem; }
.content-area li { color: var(--muted); margin-bottom: 0.3rem; }

.tip-box {
  max-width: 920px;
  margin: 1.2rem auto 0;
  background: var(--bg-cream);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
}

.tip-box p { color: var(--muted); font-size: 0.85rem; margin: 0; }

.foot {
  background: var(--dark);
  padding: 2rem;
  text-align: center;
  border-radius: 20px 20px 0 0;
}

.foot-row {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.foot-row a {
  color: var(--sunny);
  text-decoration: none;
  font-size: 0.82rem;
}

.foot-row a:hover { text-decoration: underline; }

.foot small { color: rgba(255,255,255,0.4); font-size: 0.7rem; }

.age-splash {
  position: fixed;
  inset: 0;
  background: rgba(41,37,36,0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-bubble {
  background: var(--bg-cream);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  max-width: 380px;
  width: 90%;
}

.age-bubble h2 {
  font-family: 'Fredoka One', cursive;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.age-bubble p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.3rem;
}

.age-picks {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
}

.age-picks button {
  padding: 0.65rem 1.5rem;
  border-radius: 20px;
  border: none;
  font-family: 'Fredoka One', cursive;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.age-picks .yep {
  background: linear-gradient(135deg, var(--sunny), var(--orange));
  color: var(--bg-cream);
}

.age-picks .nah {
  background: #f5f5f4;
  color: var(--dark);
}

.age-picks button:hover { transform: scale(1.04); }

@media (max-width: 768px) {
  .h-menu { display: none; }
  .h-burger { display: block; }
  .bubble-grid { grid-template-columns: 1fr; }
  .game-window iframe { height: 380px; }
  .fun-zone { padding: 3rem 1.5rem; border-radius: 0 0 24px 24px; }
}
