@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); }
    80% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

.float-decoration {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 4s ease-in-out infinite;
    z-index: -1;
}

.hero-kids {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.hero-kids h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-kids .display-4 span {
    display: inline-block;
    animation: bounceIn 1s ease;
}

.hero-kids p span {
    animation: wobble 2s ease-in-out infinite;
}

.hero-decoration-1 {
    font-size: 8rem;
}

.hero-decoration-2 {
    font-size: 6rem;
}

.section-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.category-card {
    transition: all .3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,.1) !important;
}

.category-img-wrapper {
    height: 120px;
    overflow: hidden;
}

.category-img-wrapper img {
    object-fit: cover;
}

.category-img-wrapper .badge-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.category-icon {
    font-size: 2.5rem;
    color: var(--bs-primary);
}

.quiz-card {
    transition: all .3s ease;
}

.quiz-card:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 32px rgba(0,0,0,.15) !important;
}

.quiz-emoji {
    font-size: 3rem;
}

.quiz-listen-bg {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
}

.quiz-spell-bg {
    background: linear-gradient(135deg, #facc15 0%, #f97316 100%);
}
