/* ============================================
   Jollycastle - Kids Education Website
   Fun, Colorful, Playful Design
   ============================================ */

:root {
    /* Fun Color Palette */
    --color-primary: #FF8C42;
    --color-secondary: #FFD93D;
    --color-accent-1: #6BCB77;
    --color-accent-2: #4D96FF;
    --color-accent-3: #FF6B6B;
    --color-accent-4: #C9B1FF;
    
    --color-bg: #FFFDF7;
    --color-bg-alt: #FFF5E6;
    --color-bg-card: #FFFFFF;
    
    --color-text: #2D3436;
    --color-text-light: #636E72;
    
    /* Fonts */
    --font-display: 'Fredoka', cursive;
    --font-body: 'Nunito', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Effects */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 253, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--color-secondary);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 44px;
    height: 44px;
}

.logo-icon.small {
    width: 36px;
    height: 36px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-ltd {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    background: var(--color-secondary);
    padding: 2px 8px;
    border-radius: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-item {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-light);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 4px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-item.active,
.nav-item:hover {
    color: var(--color-primary);
}

.nav-item.active::after,
.nav-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1) 0%, rgba(255, 217, 61, 0.1) 100%);
    border-radius: 8px;
    padding: 8px 16px;
}

.nav-item.active::after {
    display: none;
}

.nav-decor {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
}

.decor-star {
    animation: twinkle 2s ease-in-out infinite;
}

.decor-rocket {
    animation: float 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 640px) {
    .nav-menu {
        display: none;
    }
    
    .nav-decor {
        display: none;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 0;
    overflow: hidden;
    background: linear-gradient(180deg, #E3F2FD 0%, #FFF8E1 50%, var(--color-bg) 100%);
}

/* Sky Elements */
.hero-sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    pointer-events: none;
}

.cloud {
    position: absolute;
    font-size: 4rem;
    opacity: 0.8;
    animation: drift 20s linear infinite;
}

.cloud-1 { top: 10%; left: 5%; animation-delay: 0s; }
.cloud-2 { top: 20%; right: 10%; animation-delay: -7s; font-size: 5rem; }
.cloud-3 { top: 35%; left: 20%; animation-delay: -14s; font-size: 3rem; }

@keyframes drift {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

.sun {
    position: absolute;
    top: 60px;
    right: 80px;
    font-size: 5rem;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.balloon {
    position: absolute;
    font-size: 3rem;
    animation: balloon-float 8s ease-in-out infinite;
}

.balloon-1 { top: 30%; left: 15%; animation-delay: 0s; }
.balloon-2 { top: 45%; right: 20%; animation-delay: -4s; }

@keyframes balloon-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Hero Content */
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-content {
    max-width: 550px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--color-primary);
}

.badge-star {
    font-size: 1.2rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text);
}

.title-fun {
    display: block;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-3), var(--color-secondary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .hero-features {
        justify-content: center;
    }
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    font-size: 0.95rem;
}

.tag-icon {
    font-size: 1.2rem;
}

/* Hero Visual - Castle */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.castle-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.castle {
    position: relative;
    z-index: 1;
}

.castle svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    animation: float-around 4s ease-in-out infinite;
}

.float-1 { top: -10%; left: 10%; animation-delay: 0s; }
.float-2 { top: 20%; right: 0; animation-delay: 0.8s; }
.float-3 { bottom: 30%; left: -5%; animation-delay: 1.6s; }
.float-4 { top: 40%; right: -5%; animation-delay: 2.4s; }
.float-5 { bottom: 10%; left: 20%; animation-delay: 3.2s; }

@keyframes float-around {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* Ground */
.hero-ground {
    position: relative;
    margin-top: -50px;
}

.grass {
    height: 100px;
    background: linear-gradient(180deg, #95E1D3 0%, #6BCB77 100%);
    border-radius: 50% 50% 0 0 / 20px 20px 0 0;
}

.decorations {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: -30px;
    padding-bottom: 20px;
}

.ground-item {
    font-size: 2rem;
    animation: wiggle 2s ease-in-out infinite;
}

.ground-item:nth-child(2) { animation-delay: 0.4s; }
.ground-item:nth-child(3) { animation-delay: 0.8s; }
.ground-item:nth-child(4) { animation-delay: 1.2s; }
.ground-item:nth-child(5) { animation-delay: 1.6s; }

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* ============================================
   Section Common
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-icon {
    display: inline-block;
    font-size: 3rem;
    margin-bottom: 16px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   Age Groups Section
   ============================================ */
.age-groups {
    padding: var(--section-padding) 0;
    background: var(--color-bg-alt);
}

.age-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .age-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .age-cards {
        grid-template-columns: 1fr;
    }
}

.age-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 4px solid transparent;
}

.age-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.card-preschool { border-color: #FFB6C1; }
.card-elementary { border-color: #FFD93D; }
.card-middle { border-color: #4D96FF; }
.card-high { border-color: #95E1D3; }

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.age-emoji {
    font-size: 3rem;
}

.age-range {
    background: var(--color-bg-alt);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.age-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.age-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.age-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subject-tag {
    background: var(--color-bg-alt);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-padding) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   Fun Facts Section
   ============================================ */
.fun-facts {
    padding: 60px 0;
}

.facts-cloud {
    background: linear-gradient(135deg, #E3F2FD 0%, #FFF8E1 100%);
    border-radius: var(--radius-xl);
    padding: 8px;
}

.facts-inner {
    background: white;
    border-radius: calc(var(--radius-xl) - 8px);
    padding: 48px 32px;
    text-align: center;
}

.facts-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.fact-icon {
    font-size: 2.5rem;
}

.fact-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.fact-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.fact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--color-bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.about-badge span:first-child {
    font-size: 1.5rem;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.value-icon {
    font-size: 2rem;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* About Visual */
.about-visual {
    display: flex;
    justify-content: center;
}

.story-illustration {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
}

.illu-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    opacity: 0.2;
}

.illu-items {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 40px;
}

.illu-item {
    font-size: 3.5rem;
    animation: float 3s ease-in-out infinite;
}

.illu-item:nth-child(2) { animation-delay: 0.5s; }
.illu-item:nth-child(3) { animation-delay: 1s; }
.illu-item:nth-child(4) { animation-delay: 1.5s; }
.illu-item:nth-child(5) { animation-delay: 2s; }

.established {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.est-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 2px;
}

.est-year {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* ============================================
   Team Section
   ============================================ */
.team {
    padding: var(--section-padding) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--color-bg-alt);
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-text);
}

.team-role {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-text);
    color: white;
    padding: 48px 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 640px) {
    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

.footer-brand .logo-text {
    color: white;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

.footer-fun {
    display: flex;
    gap: 16px;
    font-size: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-love {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.6);
}

.back-to-top:active {
    transform: translateY(-4px) scale(1.05);
}

.back-to-top .rocket {
    font-size: 1.8rem;
    animation: rocket-float 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@keyframes rocket-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-4px) rotate(5deg); }
}

.back-to-top .tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--color-text);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.back-to-top .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-text);
}

.back-to-top:hover .tooltip {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Launch animation */
.back-to-top.launching .rocket {
    animation: rocket-launch 0.8s ease-out forwards;
}

@keyframes rocket-launch {
    0% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(10px) rotate(-10deg); }
    100% { transform: translateY(-100px) rotate(0deg); opacity: 0; }
}

/* Trail effect */
.back-to-top::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(to top, var(--color-secondary), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: none;
}

.back-to-top.launching::before {
    animation: trail 0.8s ease-out forwards;
}

@keyframes trail {
    0% { height: 0; opacity: 1; }
    100% { height: 80px; opacity: 0; }
}

@media (max-width: 640px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top .rocket {
        font-size: 1.5rem;
    }
    
    .back-to-top .tooltip {
        display: none;
    }
}

/* ============================================
   Animations
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Confetti-like background for sections */
.age-groups::before,
.features::before,
.team::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--color-primary) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, var(--color-secondary) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, var(--color-accent-1) 2px, transparent 2px);
    background-size: 100px 100px;
}
