/* Global Styles for KidFlix AI */
:root {
    --netflix-red: #e84118;
    --disney-blue: #0097e6;
    --khan-green: #34c759;
    --bg-dark: #141414;
    --bg-card: #2d2d2d;
    --text-light: #f5f5f5;
    --text-muted: #8c8c8c;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-card);
}

::-webkit-scrollbar-thumb {
    background: var(--netflix-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--disney-blue);
}

/* Progress Bar */
.progress-bar {
    height: 6px;
    background: #2d2d2d;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--disney-blue), var(--netflix-red));
    border-radius: 3px;
    transition: width 0.5s ease;
}
/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, #3a3a3a 50%, var(--bg-card) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
    transform-origin: center;
}

.card-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(232, 65, 24, 0.3);
    z-index: 10;
}

/* Progress Circle */
.progress-ring {
    transform: rotate(-90deg);
}

/* Responsive Grid */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Netflix-like Gradient Overlay */
.gradient-overlay {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(20, 20, 20, 0.8) 60%,
        rgba(20, 20, 20, 1) 100%
    );
}

/* Custom Button Styles */
.btn-netflix {
    background: linear-gradient(45deg, var(--netflix-red), #ff6b6b);
    transition: all 0.3s ease;
}

.btn-netflix:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 65, 24, 0.4);
}

.btn-disney {
    background: linear-gradient(45deg, var(--disney-blue), #00bcdd);
    transition: all 0.3s ease;
}

.btn-disney:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 151, 230, 0.4);
}

/* Responsive Typography */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 1.25rem;
        line-height: 1.4;
    }
}

/* Animation Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Custom Form Styles */
.input-kidflix {
    background: var(--bg-card);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.input-kidflix:focus {
    border-color: var(--disney-blue);
    box-shadow: 0 0 0 3px rgba(0, 151, 230, 0.1);
}

/* Badge Styles */
.badge-kidflix {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-age-4 {
    background: linear-gradient(45deg, var(--khan-green), #4cd964);
    color: white;
}

.badge-age-8 {
    background: linear-gradient(45deg, var(--disney-blue), #5ac8fa);
    color: white;
}

.badge-age-12 {
    background: linear-gradient(45deg, var(--netflix-red), #ff6b6b);
    color: white;
}