/* Global Styles */
body {
    background-color: #0b0b0b;
    color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Hide Scrollbar */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Fade Animation */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(to top, #0b0b0b 0%, transparent 60%, rgba(0,0,0,0.7) 100%);
}

/* Movie Card Hover Effect */
.movie-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

/* Loading Spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #dc2626;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Video Container */
.video-container {
    width: 100%;
    height: 100%;
    background: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Category Badge */
.category-badge {
    background: rgba(220, 38, 38, 0.8);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Stats Bar */
.stats-bar {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px;
    display: flex;
    gap: 24px;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-label {
    color: #9ca3af;
}

.stat-value {
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    #navbar {
        padding: 16px;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .movie-card {
        width: 150px !important;
    }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
