/* Minidols public site — shared styles.
   Brand: deep-purple stage (#1a0b2e), pink #ff5fae, cyan #5ce1ff, gold #ffe58a, violet #a45cff.
   Warm for kids, calm and legible for parents. */

:root {
  --purple-deep: #1a0b2e;
  --purple-deeper: #0d0420;
  --violet: #a45cff;
  --pink: #ff5fae;
  --cyan: #5ce1ff;
  --gold: #ffe58a;
  --ink: #241b34;
  --muted: #5b5470;
  --paper: #fbf7ff;
  --card: #ffffff;
  --line: #ece4f6;
  --link: #7b3ff2;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.65 "Fredoka", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Baloo 2", "Fredoka", sans-serif; line-height: 1.15; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ---- top bar ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 20px; max-width: 900px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.25rem; color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.topbar.dark .brand { color: #fff; }
.topbar nav a { color: rgba(255,255,255,0.88); font-weight: 600; margin-left: 18px; font-size: 1rem; }
.topbar nav a:hover { color: #fff; }

/* ---- hero (dark stage) ---- */
.hero {
  background:
    radial-gradient(120% 90% at 50% -10%, #3a1560 0%, var(--purple-deep) 45%, var(--purple-deeper) 100%);
  color: #fff;
  text-align: center;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}
.hero .stars { position: absolute; inset: 0; pointer-events: none; opacity: 0.6; }
.hero .glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.45; pointer-events: none; }
.hero .glow.g1 { width: 340px; height: 340px; background: var(--pink); top: -80px; left: -60px; }
.hero .glow.g2 { width: 300px; height: 300px; background: var(--cyan); top: -40px; right: -60px; }
.hero-inner { position: relative; padding: 28px 20px 0; max-width: 720px; margin: 0 auto; }
.hero .mark { width: 92px; height: 92px; border-radius: 22px; margin: 8px auto 18px; display: block; box-shadow: 0 10px 40px rgba(255,95,174,0.35); }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); margin: 0 0 12px; font-weight: 800; }
.hero .tagline { font-size: clamp(1.1rem, 3.2vw, 1.4rem); color: rgba(255,255,255,0.92); margin: 0 auto 8px; max-width: 34ch; }
.hero .sub { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 42ch; margin: 14px auto 0; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px auto 0; max-width: 620px; }
.pill {
  display: inline-block; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; border-radius: 999px; padding: 7px 15px; font-size: 0.92rem; font-weight: 600;
}

.cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  background: linear-gradient(180deg, #ff7bbd, var(--pink)); color: #fff; font-weight: 700;
  font-family: "Baloo 2", sans-serif; padding: 13px 26px; border-radius: 999px; font-size: 1.05rem;
  box-shadow: 0 8px 26px rgba(255,95,174,0.4); }
.cta:hover { text-decoration: none; transform: translateY(-1px); }
.cta.soon { background: rgba(255,255,255,0.12); box-shadow: none; border: 1px solid rgba(255,255,255,0.25); cursor: default; }
.hero .note { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 12px; }

/* ---- content sections ---- */
section.body { padding: 52px 0; }
section.body.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2.section { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 6px; text-align: center; }
.lead { color: var(--muted); text-align: center; max-width: 52ch; margin: 0 auto 32px; }

.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.room {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  box-shadow: 0 3px 14px rgba(80,40,120,0.05);
}
.room .emoji { font-size: 1.8rem; }
.room h3 { margin: 8px 0 4px; font-size: 1.15rem; }
.room p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---- trust row ---- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 14px; margin-top: 8px; }
.trust .t { text-align: center; padding: 14px; }
.trust .t .big { font-size: 1.7rem; }
.trust .t h3 { margin: 6px 0 2px; font-size: 1.05rem; }
.trust .t p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---- generic doc page (support / privacy) ---- */
.doc { padding: 40px 0 72px; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 0 0 6px; }
.doc .sub { color: var(--muted); margin: 0 0 4px; }
.doc .eff { color: var(--muted); font-size: 0.95rem; margin: 0 0 8px; }
.doc h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.doc h3 { font-size: 1.08rem; margin: 22px 0 6px; }
.doc .card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; box-shadow: 0 3px 14px rgba(80,40,120,0.05); }
.doc ul { padding-left: 22px; }
.doc li { margin: 7px 0; }
.doc .qa { margin: 18px 0; }
.doc .qa h3 { color: var(--ink); }
.doc .badge { display:inline-block; background: rgba(123,63,242,0.10); color: var(--link); border:1px solid rgba(123,63,242,0.25); border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; font-weight:600; margin: 4px 6px 4px 0; }
strong { color: var(--ink); }

/* ---- footer ---- */
footer.site {
  background: var(--purple-deep); color: rgba(255,255,255,0.7); padding: 34px 20px; text-align: center; font-size: 0.92rem;
}
footer.site a { color: var(--cyan); }
footer.site .links { margin-bottom: 12px; }
footer.site .links a { margin: 0 10px; font-weight: 600; }

@media (max-width: 520px) {
  body { font-size: 17px; }
  .topbar nav a { margin-left: 12px; font-size: 0.95rem; }
}
