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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sunny: #FFD700; --ziggy: #3B9EFF; --luna: #B56FFF; 
  --blaze: #FF6B2B; --iris: #FF5BA3; --white: #FFFFFF;
  --bg: #0D0B2E; --card-bg: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: white;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── STARS ── */
.stars { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.star { position: absolute; border-radius: 50%; animation: twinkle var(--d, 3s) ease-in-out infinite; }
@keyframes twinkle { 0%,100%{opacity:.2;transform:scale(.8)} 50%{opacity:1;transform:scale(1.2)} }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(13,11,46,.9); backdrop-filter: blur(12px);
  padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid rgba(255,215,0,.2);
}
.nav-logo { font-family: 'Fredoka One', cursive; font-size: 1.8rem; background: linear-gradient(90deg,#FFD700,#FF5BA3,#3B9EFF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: white; text-decoration: none; font-weight: 700; font-size: 1rem; transition: color .3s; }
.nav-links a:hover { color: var(--sunny); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 2rem 4rem; position: relative; z-index: 1;
}
.hero-title {
  font-family: 'Fredoka One', cursive; font-size: clamp(3.5rem, 10vw, 8rem);
  background: linear-gradient(135deg, #FFD700 0%, #FF6B2B 25%, #FF5BA3 50%, #B56FFF 75%, #3B9EFF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255,215,0,.4));
  animation: glow 3s ease-in-out infinite;
  line-height: 1.1; margin-bottom: 1rem;
}
@keyframes glow { 0%,100%{filter:drop-shadow(0 0 20px rgba(255,215,0,.3))} 50%{filter:drop-shadow(0 0 50px rgba(255,215,0,.7))} }

.hero-tagline { font-size: clamp(1.3rem, 3vw, 2rem); color: rgba(255,255,255,.85); font-weight: 700; margin-bottom: 2.5rem; }

.hero-chars { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; font-size: 3rem; }
.hero-char { animation: bounce var(--d, 1.5s) ease-in-out infinite; display: inline-block; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }

.btn-primary {
  display: inline-block; padding: 1.2rem 3rem; border-radius: 50px;
  background: linear-gradient(135deg, #FFD700, #FF6B2B);
  color: white; font-family: 'Fredoka One', cursive; font-size: 1.4rem;
  text-decoration: none; box-shadow: 0 8px 30px rgba(255,107,43,.5);
  transition: transform .3s, box-shadow .3s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 15px 40px rgba(255,107,43,.7); }

/* ── SECTIONS ── */
section { padding: 5rem 2rem; position: relative; z-index: 1; }
.section-title { font-family: 'Fredoka One', cursive; font-size: clamp(2rem, 5vw, 3.5rem); text-align: center; margin-bottom: 1rem; }
.section-sub { text-align: center; font-size: 1.1rem; color: rgba(255,255,255,.7); margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── CHARACTERS ── */
.chars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }

.char-card {
  background: var(--card-bg); border-radius: 24px; padding: 2rem 1.5rem;
  text-align: center; border: 2px solid var(--c, white);
  transition: transform .3s, box-shadow .3s;
  backdrop-filter: blur(10px);
}
.char-card:hover { transform: translateY(-8px) rotate(1deg); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.char-emoji { font-size: 4rem; display: block; margin-bottom: 1rem; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.char-name { font-family: 'Fredoka One', cursive; font-size: 1.8rem; color: var(--c, white); margin-bottom: .5rem; }
.char-role { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: .8rem; font-style: italic; }
.char-topics { font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.6; margin-bottom: 1rem; }
.char-catchphrase { font-size: .85rem; color: var(--c, white); background: rgba(255,255,255,.1); border-radius: 12px; padding: .5rem 1rem; font-weight: 700; }

/* ── COUNTDOWN ── */
.countdown-section { background: rgba(255,255,255,.03); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.countdown-wrap { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.countdown-item { text-align: center; background: rgba(255,255,255,.08); border-radius: 20px; padding: 1.5rem 2rem; min-width: 110px; border: 2px solid rgba(255,215,0,.3); }
.countdown-num { font-family: 'Fredoka One', cursive; font-size: 3.5rem; color: var(--sunny); display: block; line-height: 1; }
.countdown-label { font-size: .85rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; margin-top: .3rem; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.feature-card { background: rgba(255,255,255,.06); border-radius: 20px; padding: 2rem; text-align: center; border: 1px solid rgba(255,255,255,.1); }
.feature-icon { font-size: 2.8rem; margin-bottom: 1rem; display: block; }
.feature-title { font-family: 'Fredoka One', cursive; font-size: 1.3rem; margin-bottom: .7rem; color: var(--sunny); }
.feature-text { font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.7; }

/* ── FOOTER ── */
footer { background: rgba(0,0,0,.4); padding: 3rem 2rem; text-align: center; border-top: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1; }
.footer-logo { font-family: 'Fredoka One', cursive; font-size: 2.5rem; background: linear-gradient(90deg,#FFD700,#FF5BA3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: .5rem; }
.footer-tagline { color: rgba(255,255,255,.5); margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; transition: color .3s; }
.footer-links a:hover { color: var(--sunny); }
.footer-copy { color: rgba(255,255,255,.3); font-size: .85rem; }

/* ── RESPONSIVE ── */
@media(max-width:768px) {
  nav { padding: .8rem 1.2rem; }
  .nav-links { display: none; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .countdown-wrap { gap: 1rem; }
  .countdown-item { padding: 1rem 1.2rem; min-width: 80px; }
  .countdown-num { font-size: 2.5rem; }
}
