:root {
    --cream-canvas: #fffdf8;
    --storybook-pink: #ffd8e8;
    --storybook-sky: #d9f1ff;
    --storybook-butter: #fff1bd;
    --ink-dark: #262b3d;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(145deg, #fffdf8 0%, #fff6fa 48%, #f2faff 100%);
    color: var(--ink-dark);
}

h1, h2, h3, h4, nav a {
    font-family: 'Fredoka', sans-serif;
}

.bg-storybook-hero {
    background: linear-gradient(135deg, #fff6ea 0%, #ffe8f1 48%, #e6f6ff 100%);
}

.bg-storybook-band {
    background: linear-gradient(180deg, #fffaf2 0%, #ffffff 50%, #f1fbf7 100%);
}

.bg-storybook-cta {
    background: linear-gradient(125deg, #ffe7f0 0%, #fff4cc 52%, #e1f6ff 100%);
}

.bg-storybook-footer {
    background-color: #1e2235;
    background-image: linear-gradient(135deg, #1e2235 0%, #2c2745 55%, #1c353d 100%);
    color: #f8fafc;
}

.bg-storybook-footer p,
.bg-storybook-footer li,
.bg-storybook-footer span {
    color: #f1f5f9;
}

.bg-storybook-footer a {
    color: #f8fafc;
}

.bg-storybook-footer a:hover {
    color: #fde68a;
}

/* Arch / Storybook Window Top Shape */
.shape-arch-card {
    border-top-left-radius: 7rem;
    border-top-right-radius: 7rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

/* Hero Spring Entrance + Gradient Shimmer & Underline Highlight */
@keyframes heroSpringEntrance {
    0% {
        opacity: 1;
        transform: translateY(18px) scale(0.95);
    }
    65% {
        opacity: 1;
        transform: translateY(-3px) scale(1.015);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientShimmerFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes underlinePulseGrow {
    0%, 100% { transform: scaleX(0.92); opacity: 0.85; }
    50% { transform: scaleX(1.03); opacity: 1; }
}

.hero-spring-1 {
    opacity: 1 !important;
    animation: heroSpringEntrance 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-spring-2 {
    opacity: 1 !important;
    animation: heroSpringEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.hero-spring-3 {
    opacity: 1 !important;
    animation: heroSpringEntrance 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.hero-shimmer-text {
    background: linear-gradient(90deg, #ec4899, #f59e0b, #0ea5e9, #ec4899);
    background-size: 240% 240%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShimmerFlow 5s ease infinite;
}

.hero-underline-bar {
    display: block;
    height: 6px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #f9a8d4, #fde047, #7dd3fc);
    transform-origin: left center;
    animation: underlinePulseGrow 3.6s ease-in-out infinite;
}

/* Toy Box Bounce-In, Sticker Hover, Cloud/Star Float & Badge Hop */
@keyframes toyBoxBounceIn {
    0% {
        opacity: 1;
        transform: scale(0.92) translateY(10px);
    }
    65% {
        opacity: 1;
        transform: scale(1.02) translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes gentleCloudStarFloat {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-9px) translateX(5px) rotate(4deg); }
}

@keyframes badgeHop {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.06); }
}

.toy-bounce-in {
    opacity: 1 !important;
    animation: toyBoxBounceIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sticker-card-hover {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.sticker-card-hover:hover {
    transform: translateY(-6px) rotate(-2deg);
    box-shadow: 0 18px 30px -12px rgba(38, 43, 61, 0.18);
}

.cloud-star-float {
    animation: gentleCloudStarFloat 7.5s ease-in-out infinite;
}

.offer-badge-pop {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.group:hover .offer-badge-pop,
.offer-card:hover .offer-badge-pop {
    animation: badgeHop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Unconditional Section & Element Visibility */
section,
.reveal-on-scroll,
.reveal-on-scroll.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}