/* static/style.css - kompletní aktualizované CSS */

:root {
    /* Základní barvy - Netflix paleta */
    --netflix-red: #e50914;
    --netflix-red-dark: #b20710;
    --netflix-red-light: #f40612;
    --netflix-dark: #141414;
    --netflix-darker: #0a0a0a;
    --netflix-gray: #333;
    --netflix-gray-light: #404040;
    --netflix-light-gray: #8c8c8c;
    --netflix-white: #fff;
    --netflix-white-dim: #e5e5e5;
    --netflix-card-bg: #2b2b2b;
    --netflix-success: #46d369;
    --netflix-blue: #54b9c5;
    --netflix-yellow: #ffa00a;
    --netflix-purple: #9b59b6;
    --netflix-orange: #ff6b00;
    
    /* Gradients */
    --gradient-red: linear-gradient(135deg, #e50914, #b20710);
    --gradient-red-hover: linear-gradient(135deg, #f40612, #d30811);
    --gradient-dark: linear-gradient(145deg, #222, #2a2a2a);
    --gradient-card: linear-gradient(to bottom, rgba(43, 43, 43, 0.95), rgba(33, 33, 33, 0.98));
    --gradient-hero: linear-gradient(to bottom, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.85) 50%, 
        #141414 100%);
    --gradient-header: linear-gradient(to bottom, 
        rgba(20, 20, 20, 0.98) 0%,
        rgba(20, 20, 20, 0.95) 50%,
        rgba(20, 20, 20, 0.9) 100%);
    
    /* Shadows */
    --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 25px 50px rgba(229, 9, 20, 0.2);
    --shadow-button: 0 6px 20px rgba(229, 9, 20, 0.4);
    --shadow-button-hover: 0 10px 25px rgba(229, 9, 20, 0.6);
    --shadow-search: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-warning: 0 4px 15px rgba(229, 9, 20, 0.3);
    
    /* Borders */
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--netflix-dark);
    color: var(--netflix-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px; /* Space for fixed header */
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ===== UTILITY CLASSES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: linear-gradient(45deg, #fff, var(--netflix-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-red {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== WARNING BANNER ===== */
.warning-banner {
    background: linear-gradient(135deg, 
        rgba(229, 9, 20, 0.95), 
        rgba(180, 7, 16, 0.95));
    color: white;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-warning);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.warning-banner p {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.5;
}

.warning-banner strong {
    color: #ffd700;
}

/* ===== HEADER ===== */
.netflix-header {
    background: var(--gradient-header);
    padding: 0 60px;
    position: fixed;
    top: 44px; /* Height of warning banner */
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-header);
    transition: all var(--transition-normal);
}

.netflix-header.scrolled {
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(30px);
    border-bottom-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
}

.netflix-logo {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--netflix-red);
    letter-spacing: -2px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-normal);
}

.netflix-logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.netflix-logo::before {
    content: "";
    width: 40px;
    height: 40px;
    background: var(--gradient-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    position: relative;
    overflow: hidden;
}

.netflix-logo::after {
    content: "S";
    position: absolute;
    left: 10px;
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    z-index: 1;
}

.netflix-logo-text {
    position: relative;
    padding-left: 10px;
}

.netflix-logo-text::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 10px;
    right: 0;
    height: 3px;
    background: var(--gradient-red);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.netflix-logo:hover .netflix-logo-text::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.search-trigger {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--netflix-white);
    font-size: 1.2rem;
}

.search-trigger:hover {
    background: rgba(229, 9, 20, 0.2);
    border-color: var(--netflix-red);
    transform: scale(1.1);
    color: var(--netflix-red);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.user-profile:hover {
    background: rgba(229, 9, 20, 0.1);
    border-color: var(--netflix-red);
    transform: translateY(-2px);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

.user-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--netflix-white-dim);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    height: 75vh;
    min-height: 600px;
    background: 
        var(--gradient-hero),
        url('https://images.unsplash.com/photo-1536440136628-849c177e76a1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 0 60px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(229, 9, 20, 0.15) 0%,
        transparent 60%
    );
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    background: linear-gradient(45deg, #fff, var(--netflix-red), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine 3s ease-in-out infinite alternate;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 40px;
    color: var(--netflix-white-dim);
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 300;
    max-width: 600px;
}

/* ===== SEARCH CONTAINER ===== */
.search-container {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-2xl);
    padding: 50px;
    margin: -80px 60px 80px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-search);
    border-image: linear-gradient(45deg, var(--netflix-red), transparent) 1;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-container::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(229, 9, 20, 0.1) 25%, 
        rgba(229, 9, 20, 0.05) 50%, 
        transparent 100%);
    border-radius: var(--border-radius-2xl);
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.search-form {
    display: flex;
    gap: 20px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper::before {
    content: "🔍";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.5;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 22px 25px 22px 60px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    color: var(--netflix-white);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    font-weight: 400;
}

.search-input:focus {
    outline: none;
    border-color: var(--netflix-red);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 5px rgba(229, 9, 20, 0.15);
    padding-left: 65px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.search-button {
    padding: 0 50px;
    background: var(--gradient-red);
    color: var(--netflix-white);
    border-radius: var(--border-radius-xl);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.search-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.7s;
}

.search-button:hover {
    background: var(--gradient-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(229, 9, 20, 0.4);
}

.search-button:hover::before {
    left: 100%;
}

.search-button i {
    font-size: 1.3rem;
    transition: transform var(--transition-normal);
}

.search-button:hover i {
    transform: scale(1.1);
}

.search-info {
    margin-top: 25px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--netflix-light-gray);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.search-info i {
    color: var(--netflix-red);
    font-size: 1rem;
}

.search-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.search-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--netflix-light-gray);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.search-tag:hover {
    background: rgba(229, 9, 20, 0.1);
    color: var(--netflix-white);
    border-color: var(--netflix-red);
    transform: translateY(-2px);
}

/* ===== VIDEO RESULTS SECTION ===== */
.video-rows {
    padding: 0 60px 100px;
}

.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.row-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--netflix-white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.row-title::before {
    content: "";
    width: 45px;
    height: 5px;
    background: var(--gradient-red);
    border-radius: 3px;
}

.row-count {
    color: var(--netflix-light-gray);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.row-count::before {
    content: "🎬";
    font-size: 1.2rem;
}

/* ===== VIDEO GRID ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

/* ===== VIDEO CARD ===== */
.video-card {
    background: var(--gradient-dark);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
}

@keyframes cardAppear {
    to {
        opacity: 1;
    }
}

.video-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(229, 9, 20, 0.4);
    z-index: 10;
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.video-thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.video-card:hover .video-thumbnail::before {
    opacity: 1;
}

.video-thumbnail::after {
    content: "🎬";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5rem;
    opacity: 0.1;
    transition: all var(--transition-normal);
    z-index: 1;
}

.video-card:hover .video-thumbnail::after {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Video Tags */
.video-tags {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 2;
}

.video-tag {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-card:hover .video-tag {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.video-tag.duration {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.95), rgba(180, 7, 16, 0.95));
}

.video-tag.quality {
    background: linear-gradient(135deg, rgba(70, 211, 105, 0.95), rgba(56, 168, 83, 0.95));
}

.video-tag.size {
    background: linear-gradient(135deg, rgba(84, 185, 197, 0.95), rgba(66, 146, 155, 0.95));
}

.video-tag.likes {
    background: linear-gradient(135deg, rgba(255, 160, 10, 0.95), rgba(204, 128, 8, 0.95));
}

/* Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--gradient-red);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-slow);
    z-index: 3;
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.25);
}

.video-play-btn::after {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.3);
    animation: pulse 2s infinite;
}

.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-play-btn i {
    color: white;
    font-size: 1.6rem;
    margin-left: 3px;
    transition: transform var(--transition-normal);
}

.video-card:hover .video-play-btn i {
    transform: scale(1.2);
}

/* Video Content */
.video-content {
    padding: 25px;
    background: var(--gradient-card);
    position: relative;
}

.video-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--netflix-red), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.video-card:hover .video-content::before {
    opacity: 1;
}

.video-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--netflix-white);
    height: 55px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
}

.video-card:hover .video-title {
    background: linear-gradient(45deg, #fff, var(--netflix-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Video Info */
.video-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--netflix-light-gray);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
}

.video-card:hover .info-item {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    border-color: rgba(229, 9, 20, 0.2);
}

.info-item i {
    color: var(--netflix-red);
    font-size: 1.1rem;
    transition: transform var(--transition-normal);
}

.video-card:hover .info-item i {
    transform: scale(1.2);
    color: var(--netflix-red-light);
}

/* Action Buttons */
.video-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    flex: 1;
    padding: 15px 0;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-slow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.action-btn.watch {
    background: var(--gradient-red);
    color: var(--netflix-white);
    box-shadow: var(--shadow-button);
}

.action-btn.watch:hover {
    background: var(--gradient-red-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-button-hover);
}

.action-btn.download {
    background: transparent;
    color: var(--netflix-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

.action-btn.download:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--netflix-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-xl);
    margin: 60px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.no-results-icon {
    font-size: 6rem;
    color: var(--netflix-light-gray);
    margin-bottom: 30px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.no-results h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--netflix-white);
    background: linear-gradient(45deg, #fff, var(--netflix-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-results p {
    color: var(--netflix-light-gray);
    font-size: 1.3rem;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.no-results .search-tags {
    justify-content: center;
    margin-top: 30px;
}

/* ===== PROGRESS CONTAINER ===== */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(20px);
}

.progress-content {
    background: rgba(20, 20, 20, 0.95);
    padding: 50px;
    border-radius: var(--border-radius-xl);
    text-align: center;
    max-width: 450px;
    width: 90%;
    animation: fadeIn 0.4s ease;
    border: 1px solid rgba(229, 9, 20, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.progress-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--netflix-white);
    font-weight: 500;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid transparent;
    border-top-color: var(--netflix-red);
    border-right-color: var(--netflix-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}

/* ===== FOOTER ===== */
.netflix-footer {
    padding: 80px 60px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: var(--netflix-white-dim);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-red);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--netflix-light-gray);
    font-size: 1rem;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--netflix-white);
    transform: translateX(8px);
}

.footer-links a i {
    width: 24px;
    text-align: center;
    color: var(--netflix-red);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    color: var(--netflix-light-gray);
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-credit {
    font-size: 0.9rem;
    color: var(--netflix-light-gray);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.7;
}

.footer-credit i {
    color: var(--netflix-red);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--netflix-darker);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--netflix-gray), var(--netflix-gray-light));
    border-radius: 6px;
    border: 3px solid var(--netflix-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--netflix-gray-light), var(--netflix-red));
}

::-webkit-scrollbar-thumb:active {
    background: var(--gradient-red);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .netflix-header,
    .hero-banner,
    .search-container,
    .video-rows,
    .netflix-footer {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .search-container {
        margin: -60px 40px 60px;
        padding: 40px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .netflix-header,
    .hero-banner,
    .search-container,
    .video-rows,
    .netflix-footer {
        padding: 0 30px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .warning-banner {
        padding: 12px 15px;
        font-size: 0.8rem;
    }
    
    .netflix-header {
        height: 70px;
        top: 39px;
    }
    
    .netflix-logo {
        font-size: 2.2rem;
        gap: 8px;
    }
    
    .netflix-logo::before {
        width: 32px;
        height: 32px;
    }
    
    .netflix-logo::after {
        font-size: 1.4rem;
        left: 8px;
    }
    
    .header-actions {
        gap: 20px;
    }
    
    .search-trigger {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .user-profile {
        padding: 6px 12px;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .user-name {
        font-size: 0.9rem;
        display: none;
    }
    
    .hero-banner {
        height: 65vh;
        min-height: 500px;
        background-attachment: scroll;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
    
    .search-container {
        margin: -40px 30px 40px;
        padding: 30px;
    }
    
    .search-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-button {
        padding: 20px 0;
        min-width: auto;
    }
    
    .search-input {
        padding: 20px 25px 20px 50px;
    }
    
    .search-input-wrapper::before {
        left: 20px;
    }
    
    .row-title {
        font-size: 1.8rem;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .video-content {
        padding: 20px;
    }
    
    .netflix-footer {
        padding: 60px 30px 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .netflix-header,
    .hero-banner,
    .search-container,
    .video-rows,
    .netflix-footer {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-container {
        margin: -30px 20px 30px;
        padding: 25px;
        border-radius: var(--border-radius-xl);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-thumbnail {
        height: 220px;
    }
    
    .video-tags {
        top: 15px;
        left: 15px;
        gap: 8px;
    }
    
    .video-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .video-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 400px) {
    .warning-banner p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .netflix-logo {
        font-size: 1.8rem;
    }
    
    .netflix-logo::before {
        width: 28px;
        height: 28px;
    }
    
    .netflix-logo::after {
        font-size: 1.2rem;
        left: 6px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .search-container {
        margin: -25px 15px 25px;
        padding: 20px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .video-title {
        font-size: 1.2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card {
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

/* ===== JAVASCRIPT ENHANCEMENTS ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== CUSTOM SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 124px; /* Warning banner + header */
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-red);
    width: 0%;
    transition: width 0.3s ease;
}