/* CATCHPLAY+ Custom Styling */

:root {
    --cp-bg: #0b0e14;
    --cp-surface: #121622;
    --cp-elevated: #171d2b;
    --cp-orange: #ff8a00;
    --cp-orange-hover: #ffa726;
    --cp-gold: #f59e0b;
}

body {
    background-color: var(--cp-bg);
    color: #f8fafc;
    overflow-x: hidden;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0b0e14;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff8a00;
}

/* Catchplay Card Hover Effects */
.cp-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.cp-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 138, 0, 0.25);
    border-color: rgba(255, 138, 0, 0.4);
}

/* Shimmer Loading Skeleton */
.shimmer {
    background: linear-gradient(90deg, #121622 25%, #1a2233 50%, #121622 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite linear;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Subtle Glows */
.cp-glow {
    box-shadow: 0 0 25px rgba(255, 138, 0, 0.35);
}

/* Fade in transitions */
.fade-in {
    animation: fadeIn 0.35s ease-out forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Aspect Ratio & Clean Controls */
.cinema-aspect {
    aspect-ratio: 16 / 9;
}
@media (max-width: 640px) {
    .cinema-aspect {
        aspect-ratio: 16 / 10;
    }
}

/* Responsive snap carousels */
.snap-carousel {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.snap-carousel > * {
    scroll-snap-align: start;
}
