:root {
  --bg: #fffdf7;
  --ink: #1f1147;
  --muted: #5b5478;
  --purple: #7c3aed;
  --pink: #ff3d94;
  --orange: #ff7a1a;
  --yellow: #ffd23f;
  --teal: #00c2a8;
  --blue: #2b7fff;
  --red: #ff2d2d;
  --radius: 22px;
  --shadow: 0 6px 0 var(--ink);
  --font: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 1.1rem; line-height: 1.55; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 4px solid var(--ink); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font-weight: 700; font-size: 1.35rem; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pink); color: #fff; border: 3px solid var(--ink); }
.menu { display: flex; gap: 6px; align-items: center; }
.menu a { text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.menu a:hover { background: var(--yellow); }
.menu a.pill { background: var(--purple); color: #fff; border: 3px solid var(--ink); }
.menu a.pill:hover { background: var(--pink); }
.burger { display: none; width: 48px; height: 48px; border: 3px solid var(--ink); border-radius: 14px; background: var(--yellow); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 1.1rem; text-decoration: none; padding: 12px 24px; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 0 5px 0 var(--ink); cursor: pointer; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn-red { background: var(--red); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-yellow { background: var(--yellow); }
.btn-ghost { background: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff1b8 0%, #ffd0e8 55%, #d5c4ff 100%); border-bottom: 4px solid var(--ink); padding: 40px 0 56px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hello { display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 4px 16px; margin: 0 0 12px; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: 1; margin: 0 0 8px; }
.grad { background: linear-gradient(90deg, var(--purple), var(--pink), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 700; margin: 0 0 12px; color: var(--purple); }
.lead { font-size: 1.25rem; max-width: 34ch; margin: 0 0 24px; }
.cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.portrait { width: min(540px, 94vw); height: auto; overflow: visible; touch-action: pan-y; }
.portrait .bd { filter: drop-shadow(8px 8px 0 var(--ink)); }
.sticker { position: absolute; font-size: 2.6rem; width: 76px; height: 76px; display: grid; place-items: center; background: #fff; border: 4px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); animation: bob 3s ease-in-out infinite; }
.s1 { top: 2%; left: 0; transform: rotate(-10deg); }
.s2 { bottom: 6%; left: 0; animation-delay: .6s; transform: rotate(8deg); }
.s3 { top: 8%; right: 0; animation-delay: 1.2s; transform: rotate(12deg); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.blob { position: absolute; border-radius: 50%; opacity: .55; }
.b1 { width: 220px; height: 220px; background: var(--teal); top: -70px; right: 12%; }
.b2 { width: 140px; height: 140px; background: var(--orange); bottom: -40px; left: 8%; }
.b3 { width: 90px; height: 90px; background: var(--blue); top: 40%; left: 46%; }

/* Ticker */
.ticker { background: var(--ink); color: var(--yellow); overflow: hidden; white-space: nowrap; padding: 12px 0; font-weight: 700; letter-spacing: .1em; }
.ticker-track { display: inline-flex; gap: 48px; animation: scroll 24s linear infinite; padding-left: 48px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 72px 0; }
.tint-pink { background: #ffe0ef; border-block: 4px solid var(--ink); }
.tint-orange { background: #ffe8cf; border-block: 4px solid var(--ink); }
.tint-blue { background: #d9ebff; border-top: 4px solid var(--ink); }
.title { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 8px; display: inline-block; position: relative; }
.title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 14px; background: var(--yellow); z-index: -1; border-radius: 8px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin: 24px 0 40px; align-items: start; }
.about-copy p { margin: 0 0 14px; font-size: 1.2rem; }
.fact { background: var(--teal); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; transform: rotate(1.5deg); }
.fact-label { font-weight: 700; margin: 0; }
.fact-text { font-size: 1.3rem; font-weight: 600; margin: 8px 0 16px; min-height: 4.2em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; color: #fff; transition: transform .15s; }
.card:hover { transform: translateY(-6px) rotate(-1deg); }
.card.purple { background: var(--purple); } .card.orange { background: var(--orange); color: var(--ink); } .card.pink { background: var(--pink); }
.card.blue { background: var(--blue); } .card.teal { background: var(--teal); color: var(--ink); }
.card .ico { font-size: 3rem; line-height: 1; }
.card h3 { margin: 8px 0 4px; font-size: 1.6rem; }
.card p { margin: 0; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video { background: #fff; border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--purple), var(--pink)); display: grid; place-items: center; width: 100%; border: 0; padding: 0; cursor: pointer; font: inherit; }
.video-frame iframe, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.play { position: relative; width: 70px; height: 70px; border-radius: 50%; background: var(--red); border: 4px solid #fff; display: grid; place-items: center; color: #fff; font-size: 1.8rem; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.video-info { padding: 14px 18px 18px; }
.video-info h3 { margin: 0 0 6px; font-size: 1.2rem; }
.tag { display: inline-block; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 0 12px; font-size: .9rem; font-weight: 600; }

/* Games */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.game { border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; background: #fff; }
.game:nth-child(5n+1) { background: #e3d6ff; } .game:nth-child(5n+2) { background: #ffd9ea; } .game:nth-child(5n+3) { background: #cffaf2; }
.game:nth-child(5n+4) { background: #fff0b3; } .game:nth-child(5n+5) { background: #d9ebff; }
.game .ico { font-size: 2.6rem; }
.game h3 { margin: 4px 0; }
.game p { margin: 0; }

/* Fitness */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; margin-bottom: 24px; }
.day { position: relative; text-align: center; background: #fff; border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 8px; cursor: pointer; font: inherit; color: inherit; transition: transform .15s, background .15s; }
.day:hover { transform: translateY(-4px); }
.day .d { font-weight: 700; display: block; }
.day .i { font-size: 2.2rem; display: block; }
.day .m { font-size: .95rem; display: block; line-height: 1.2; }
.day .check { display: block; margin-top: 6px; font-weight: 700; color: var(--muted); }
.day[aria-pressed="true"] { background: var(--teal); }
.day[aria-pressed="true"] .check { color: var(--ink); }
.meter { margin-bottom: 20px; }
.meter-bar { height: 28px; background: #fff; border: 4px solid var(--ink); border-radius: 999px; overflow: hidden; }
.meter-fill { height: 100%; width: 0; background: repeating-linear-gradient(45deg, var(--pink), var(--pink) 14px, var(--orange) 14px, var(--orange) 28px); transition: width .4s; }
.meter-text { font-weight: 700; margin: 8px 0 0; }

/* News */
.news { display: grid; gap: 20px; margin-top: 24px; }
.post { display: grid; grid-template-columns: auto 1fr; gap: 20px; background: #fff; border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; }
.date { background: var(--purple); color: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 8px 14px; text-align: center; font-weight: 700; align-self: start; line-height: 1.2; }
.post h3 { margin: 0 0 4px; }
.post p { margin: 0; }

/* Social */
.social { display: flex; flex-wrap: wrap; gap: 16px; }
.soc { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; padding: 12px 22px 12px 14px; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 0 5px 0 var(--ink); color: #fff; transition: transform .12s; }
.soc:hover { transform: translateY(-3px); }
.soc svg { width: 32px; height: 32px; background: #fff; border-radius: 50%; padding: 5px; color: var(--ink); flex: none; }
.soc.youtube { background: var(--red); } .soc.tiktok { background: #111; } .soc.instagram { background: var(--pink); }
.soc.twitch { background: var(--purple); } .soc.roblox { background: var(--blue); } .soc.discord { background: #5865f2; } .soc.other { background: var(--teal); color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: #fff; text-align: center; padding: 32px 0; }
.footer p { margin: 0 0 6px; }
.small { font-size: .9rem; opacity: .8; }
.noscript { text-align: center; background: var(--yellow); padding: 12px; margin: 0; }
.error { background: #ffe0e0; border: 3px solid var(--red); border-radius: 14px; padding: 12px 16px; }

/* Mobile */
@media (max-width: 860px) {
  .hero-inner, .about-grid, .cards { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  .hero-art { min-height: 0; }
  .week { grid-template-columns: repeat(2, 1fr); }
  .day:last-child { grid-column: span 2; }
  .burger { display: flex; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 4px solid var(--ink); padding: 8px 16px 16px; display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 14px; font-size: 1.2rem; }
  .menu a.pill { text-align: center; }
  .section { padding: 52px 0; }
  .post { grid-template-columns: 1fr; gap: 10px; }
  .date { justify-self: start; }
  .fact { transform: none; }
  .btn { width: 100%; text-align: center; }
  .cta { flex-direction: column; }
  .soc { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
