/* 
   KidsTeca Design System v2.0
   Premium UI/UX for Kids
*/

:root {
    /* Color Palette - Modern HSL */
    --primary: 217 91% 60%;
    /* Blue */
    --primary-light: 217 91% 95%;
    --secondary: 330 81% 60%;
    /* Pink */
    --accent: 45 93% 58%;
    /* Yellow/Gold */
    --success: 142 71% 45%;
    /* Green */
    --warning: 35 92% 50%;
    /* Orange */
    --surface: 0 0% 100%;
    --background: 140 33% 98%;
    /* Very Light Greenish */

    /* Effects */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-colored: 0 20px 40px -15px hsla(var(--primary), 0.2);
}

/* Base Styles */
body {
    background-color: hsl(var(--background));
    color: #334155;
    font-family: 'Baloo 2', cursive;
    overflow-x: hidden;
}

/* Premium Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

/* Modern Buttons */
.btn-premium {
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 8px 0 0 rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.85));
    color: white;
    box-shadow: 0 8px 0 0 hsla(var(--primary), 0.3);
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 0 hsla(var(--primary), 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--secondary) / 0.85));
    color: white;
    box-shadow: 0 8px 0 0 hsla(var(--secondary), 0.3);
}

.btn-secondary:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 0 hsla(var(--secondary), 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent) / 0.85));
    color: #78350f;
    box-shadow: 0 8px 0 0 hsla(var(--accent), 0.3);
}

.btn-accent:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 0 hsla(var(--accent), 0.3);
}

/* Dynamic Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Interactive Cards */
.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 6px solid transparent;
}

.card-hover-effect:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
    border-bottom-width: 6px;
}

/* Wave Shapes */
.wave-container {
    position: relative;
    background: hsl(var(--primary));
    padding-bottom: 50px;
}

.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-shape .shape-fill {
    fill: hsl(var(--background));
}

/* Premium Inputs */
.input-premium {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    outline: none;
}

.input-premium:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 4px hsla(var(--primary), 0.1);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}