@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Hind:wght@400;500;700&display=swap');

:root {
  --bg1: #fff8de;
  --bg2: #ffe6f0;
  --ink: #2a2145;
  --purple: #7557ff;
  --orange: #ff8c42;
  --teal: #24b8a5;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Hind', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
}

.page {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 1.05rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(255,248,222,0.9);
  border-bottom: 1px solid rgba(42,33,69,0.16);
}

.top {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
}

.logo img { width: 35px; height: 35px; }

.spacer { flex: 1; }

.nav-button {
  display: none;
  border: 1px solid rgba(42,33,69,0.24);
  background: #fff4d4;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.34rem 0.78rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
}

nav a:hover { background: rgba(117,87,255,0.15); }

.hero {
  padding: 2.1rem 0 1rem;
}

.hero-box {
  border: 1px solid rgba(42,33,69,0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 15%, rgba(36,184,165,0.26), transparent 35%),
    radial-gradient(circle at 12% 84%, rgba(255,140,66,0.24), transparent 40%),
    #fff7ec;
  padding: 1.45rem;
}

.hero h1 {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1;
}

.hero p { max-width: 72ch; }

.notices {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notices span {
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  font-weight: 700;
  color: #fff;
}

.notices span:nth-child(1) { background: var(--purple); }
.notices span:nth-child(2) { background: var(--orange); }
.notices span:nth-child(3) { background: var(--teal); }

.layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 1rem;
  padding-bottom: 2.3rem;
}

.stage {
  border: 1px solid rgba(42,33,69,0.16);
  border-radius: 22px;
  background: #1f1a33;
  padding: 0.7rem;
}

.stage iframe {
  width: 100%;
  min-height: 680px;
  border: 0;
  border-radius: 12px;
}

.cards {
  display: grid;
  gap: 0.8rem;
}

.card {
  border: 1px solid rgba(42,33,69,0.15);
  border-radius: 16px;
  background: #fff7ec;
  padding: 0.95rem;
}

.card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.06rem;
  color: #4b3f78;
}

.docs {
  padding: 2rem 0 2.9rem;
}

.doc {
  max-width: 980px;
  border: 1px solid rgba(42,33,69,0.16);
  border-radius: 20px;
  background: #fff7ec;
  padding: 1.35rem;
}

.doc h1 {
  margin-top: 0;
  font-family: 'Baloo 2', cursive;
  color: #4b3f78;
}

footer { border-top: 1px solid rgba(42,33,69,0.15); }

.foot {
  padding: 1rem 0 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.foot a { color: #7557ff; }

.age {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  background: rgba(42,33,69,0.78);
  padding: 1rem;
}

.age.hide { display: none; }

.age-box {
  width: min(520px, 100%);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  background: #fff7ec;
  padding: 1.1rem;
}

.age-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
}

.age-actions button {
  border: 0;
  border-radius: 8px;
  padding: 0.52rem 0.78rem;
  font-weight: 700;
}

.age-actions .yes { background: #7557ff; color: #fff; }
.age-actions .no { background: #e9defa; color: #4b3f78; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-button { display: inline-flex; }
  .top { flex-wrap: wrap; }
  nav {
    display: none;
    width: 100%;
    border-top: 1px solid rgba(42,33,69,0.15);
    padding-top: 0.5rem;
  }
  nav.visible { display: block; }
  nav ul { flex-direction: column; }
  .stage iframe { min-height: 470px; }
}