:root {
  --bg: #fff8ef;
  --surface: rgba(255, 255, 255, 0.74);
  --text: #1e1f2d;
  --muted: #4f5368;
  --accent: #ff6a3d;
  --accent-2: #007a78;
  --accent-3: #ffd23f;
  --ring: rgba(0, 122, 120, 0.34);
  --shadow: 0 20px 50px rgba(19, 24, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, #fff7b4 0, rgba(255, 247, 180, 0) 40%),
    radial-gradient(circle at 90% 20%, #b8ffe8 0, rgba(184, 255, 232, 0) 35%),
    linear-gradient(135deg, #fff8ef 0%, #ffe9d9 42%, #ffeef5 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.64;
  animation: float 14s ease-in-out infinite;
}

.bg-shape-a {
  width: 220px;
  height: 220px;
  background: var(--accent);
  border-radius: 39% 61% 66% 34% / 44% 41% 59% 56%;
  top: 8%;
  right: -60px;
}

.bg-shape-b {
  width: 260px;
  height: 260px;
  background: var(--accent-2);
  border-radius: 73% 27% 38% 62% / 37% 53% 47% 63%;
  bottom: 5%;
  left: -90px;
  animation-delay: -5s;
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-3);
  color: #523c00;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.74rem;
}

h1 {
  margin: 0;
  font-family: "Rubik Puddles", "Comic Sans MS", cursive;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 1;
  color: #18335e;
  text-wrap: balance;
}

h1 span {
  display: block;
  margin-top: 0.75rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  color: var(--muted);
}

.lead {
  max-width: 65ch;
  margin: 1.3rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.45rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0.72rem 1rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 26px rgba(255, 106, 61, 0.28);
}

.btn-ghost {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.5);
}

.card {
  margin: 1.2rem 0;
  padding: 1.3rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.4rem, 4.4vw, 2rem);
  color: #202a44;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid article {
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.fun-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.fun-list li {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 6px solid var(--accent-2);
}

.quote {
  margin: 1.5rem 0 2rem;
}

blockquote {
  margin: 0;
  padding: 1.3rem;
  font-size: clamp(1.08rem, 2.4vw, 1.36rem);
  font-weight: 700;
  border-radius: 18px;
  background: linear-gradient(135deg, #18335e, #144545);
  color: #fff8df;
  box-shadow: var(--shadow);
}

footer {
  padding: 0 0 2.3rem;
  color: var(--muted);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.99);
}

.reveal.visible {
  animation: rise-in 620ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-16px) rotate(4deg);
  }
}

@media (max-width: 880px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100% - 1rem));
  }

  .hero {
    padding-top: 3.2rem;
  }

  .card {
    padding: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-shape,
  .reveal.visible {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
