:root {
  --sunny: #ffd23f;
  --tangerine: #ff8c42;
  --berry: #ef476f;
  --grape: #7b2cbf;
  --sky: #4cc9f0;
  --ink: #2b2440;
  --cream: #fff8ec;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(43, 36, 64, 0.18);
  --radius: 22px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 15%, #fff2c2 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, #ffd9c2 0%, transparent 40%),
    linear-gradient(160deg, var(--cream), #ffe9c7);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sparkles span {
  position: absolute;
  opacity: 0;
  animation: float 6s linear infinite;
}
@keyframes float {
  0%   { transform: translateY(20px) scale(0.6); opacity: 0; }
  20%  { opacity: 0.9; }
  100% { transform: translateY(-120px) scale(1.1); opacity: 0; }
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(820px, 92vw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0 2rem;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.wordmark {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 6rem);
  line-height: 0.95;
  margin: 1.2rem 0 0;
  color: var(--grape);
  text-shadow: 0 4px 0 rgba(123, 44, 191, 0.18);
}
.wordmark .spark {
  display: block;
  color: var(--tangerine);
}

.tagline {
  font-family: "Baloo 2", cursive;
  font-weight: 600;
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  color: var(--berry);
  margin: 0.6rem 0 0;
}

.blurb {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 34rem;
  margin: 1rem auto 0;
  color: #4a4360;
}

.book-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 2.6rem auto 0;
  padding: 1.6rem;
  display: flex;
  gap: 1.4rem;
  align-items: center;
  text-align: left;
  max-width: 38rem;
}

.book-cover {
  flex: 0 0 110px;
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--sky), var(--grape));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.12);
}

.book-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tangerine);
  margin: 0 0 0.3rem;
}
.book-title {
  font-family: "Baloo 2", cursive;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.book-desc {
  margin: 0;
  color: #4a4360;
  font-size: 0.98rem;
}

.footnote {
  margin: 2.4rem 0 0;
  color: #8a829c;
  font-size: 0.9rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.4rem;
  color: #8a829c;
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .book-card { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sparkles span { animation: none; display: none; }
}
