/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --white: #f8fafc;
    --white-dark: #e2e8f0;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f43f5e 50%, #f59e0b 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-hero: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Advanced Background Animation */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.05;
    }
    25% {
        transform: scale(1.1) rotate(90deg);
        opacity: 0.08;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.05;
    }
    75% {
        transform: scale(1.1) rotate(270deg);
        opacity: 0.08;
    }
}

.particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 20s infinite ease-in-out;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 4s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 6s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { top: 70%; left: 30%; animation-delay: 10s; }
.particle:nth-child(7) { top: 40%; left: 60%; animation-delay: 12s; }
.particle:nth-child(8) { top: 90%; left: 40%; animation-delay: 14s; }
.particle:nth-child(9) { top: 50%; left: 90%; animation-delay: 16s; }
.particle:nth-child(10) { top: 15%; left: 35%; animation-delay: 18s; }
.particle:nth-child(11) { top: 85%; left: 15%; animation-delay: 1s; }
.particle:nth-child(12) { top: 45%; left: 85%; animation-delay: 3s; }
.particle:nth-child(13) { top: 75%; left: 55%; animation-delay: 5s; }
.particle:nth-child(14) { top: 25%; left: 75%; animation-delay: 7s; }
.particle:nth-child(15) { top: 55%; left: 25%; animation-delay: 9s; }
.particle:nth-child(16) { top: 35%; left: 45%; animation-delay: 11s; }
.particle:nth-child(17) { top: 65%; left: 65%; animation-delay: 13s; }
.particle:nth-child(18) { top: 5%; left: 95%; animation-delay: 15s; }
.particle:nth-child(19) { top: 95%; left: 5%; animation-delay: 17s; }
.particle:nth-child(20) { top: 40%; left: 40%; animation-delay: 19s; }

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-100vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-120vh) scale(0);
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 0.02;
    animation: floatCard 25s infinite ease-in-out;
}

.card-1 {
    width: 200px;
    height: 280px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 30s;
}

.card-2 {
    width: 150px;
    height: 210px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    animation-duration: 35s;
}

.card-3 {
    width: 180px;
    height: 252px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 25s;
}

.card-4 {
    width: 220px;
    height: 308px;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
    animation-duration: 40s;
}

.card-5 {
    width: 160px;
    height: 224px;
    bottom: 10%;
    right: 20%;
    animation-delay: 20s;
    animation-duration: 30s;
}

.card-6 {
    width: 190px;
    height: 266px;
    top: 50%;
    left: 40%;
    animation-delay: 25s;
    animation-duration: 35s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.02;
    }
    25% {
        transform: translateY(-40px) rotate(10deg) scale(1.1);
        opacity: 0.04;
    }
    50% {
        transform: translateY(0) rotate(-5deg) scale(1.05);
        opacity: 0.02;
    }
    75% {
        transform: translateY(40px) rotate(8deg) scale(1.08);
        opacity: 0.04;
    }
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.02;
    border-radius: 50% 50% 0 0;
    animation: waveMotion 20s infinite ease-in-out;
}

.wave-1 {
    animation-delay: 0s;
    animation-duration: 20s;
}

.wave-2 {
    animation-delay: 5s;
    animation-duration: 25s;
    opacity: 0.015;
}

.wave-3 {
    animation-delay: 10s;
    animation-duration: 30s;
    opacity: 0.01;
}

@keyframes waveMotion {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-25%) translateY(-20px);
    }
    50% {
        transform: translateX(-50%) translateY(0);
    }
    75% {
        transform: translateX(-25%) translateY(20px);
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Premium Header */
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

.brand-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.brand-section:hover {
    transform: scale(1.05);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    font-size: 1.75rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    filter: blur(20px);
}

.brand-logo:hover .logo-glow {
    opacity: 0.3;
}

.logo-icon {
    font-size: 2rem;
    animation: logoPulse 2s infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.brand-tagline {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
    margin-left: 3.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 1.1rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 3rem;
    height: 3rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(51, 65, 85, 0.8);
    transform: scale(1.1);
    border-color: var(--primary);
}

.theme-icon {
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 3rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.5;
    animation: heroGradient 20s ease-in-out infinite;
}

@keyframes heroGradient {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-3xl);
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search */
.hero-search {
    margin-bottom: 2rem;
    position: relative;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: var(--radius-2xl);
    filter: blur(30px);
    transition: var(--transition);
}

.search-container:hover .search-glow {
    opacity: 0.2;
}

.search-wrapper {
    display: flex;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: scale(1.02);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--gray);
}

.search-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    margin: 0.5rem;
    font-weight: 600;
}

.search-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.search-icon {
    font-size: 1.2rem;
}

.search-text {
    font-size: 1rem;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    overflow: hidden;
    font-family: inherit;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    filter: blur(20px);
    border-radius: inherit;
}

.action-btn:hover .btn-glow {
    opacity: 0.3;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.secondary-btn {
    background: rgba(30, 41, 59, 0.9);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.secondary-btn:hover {
    background: rgba(51, 65, 85, 0.9);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-2xl);
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Genre Showcase */
.genre-showcase {
    margin-bottom: 3rem;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.genre-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    text-align: center;
    overflow: hidden;
    min-height: 120px;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    filter: blur(20px);
}

.genre-card:hover .card-glow {
    opacity: 0.2;
}

.genre-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.genre-card.active {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.genre-card.active .card-glow {
    opacity: 0.4;
}

.genre-icon {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    position: relative;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.genre-content {
    position: relative;
    z-index: 1;
}

.genre-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.genre-desc {
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 500;
}

.genre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.genre-card:hover .genre-overlay {
    opacity: 1;
}

/* Loading Section */
.loading-section {
    margin-bottom: 2rem;
}

.loading-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skeleton-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.skeleton-image {
    height: 350px;
    background: linear-gradient(90deg, rgba(51, 65, 85, 0.8) 0%, rgba(71, 85, 105, 0.8) 50%, rgba(51, 65, 85, 0.8) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 1.5rem;
}

.skeleton-line {
    height: 1rem;
    background: linear-gradient(90deg, rgba(51, 65, 85, 0.8) 0%, rgba(71, 85, 105, 0.8) 50%, rgba(51, 65, 85, 0.8) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.skeleton-line.short {
    width: 60%;
}

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

/* Movies Showcase */
.movies-showcase {
    margin-bottom: 3rem;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.movie-card {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(20px);
}

.movie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.movie-card:hover::before {
    opacity: 0.1;
}

.movie-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.movie-poster {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.movie-card:hover .movie-poster {
    transform: scale(1.08);
}

.movie-info {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.movie-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.movie-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.movie-year {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Performance Badges */
.performance-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-lg);
    margin-top: 0.5rem;
    text-align: center;
    animation: badgePulse 2s infinite;
}

.performance-badge.hit {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 197, 94, 0.2));
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.performance-badge.flop {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(248, 113, 113, 0.2));
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.performance-badge.moderate {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.2));
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Financial Section */
.financial-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

.financial-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.financial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.financial-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.financial-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.financial-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.financial-value.budget {
    color: var(--warning);
}

.financial-value.revenue {
    color: var(--success);
}

.financial-value.profit {
    color: var(--success);
}

.financial-value.loss {
    color: var(--error);
}

/* Performance Status */
.performance-status {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    margin-top: 1rem;
    text-align: center;
    animation: statusGlow 2s infinite;
}

.performance-status.hit {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(34, 197, 94, 0.3));
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.performance-status.flop {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(248, 113, 113, 0.3));
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.performance-status.moderate {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(251, 191, 36, 0.3));
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.5);
}

.performance-status-large.flop {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(248, 113, 113, 0.3));
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.performance-status-large.moderate {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(251, 191, 36, 0.3));
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.5);
}

.performance-status-large.no-data {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.3), rgba(156, 163, 175, 0.3));
    color: var(--gray);
    border: 1px solid rgba(107, 114, 128, 0.5);
}

@keyframes statusGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

/* Refresh Button */
.refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    font-weight: 600;
}

.refresh-btn:hover {
    background: rgba(51, 65, 85, 0.8);
    transform: scale(1.05);
    border-color: var(--primary);
}

.refresh-icon {
    animation: spin 2s linear infinite;
}

.refresh-btn:hover .refresh-icon {
    animation-duration: 1s;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* About Section */
.about-section {
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.no-results-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.no-results-text {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Premium About Sections */
section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.about-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(236, 72, 153, 0.05) 100%);
    animation: aboutGradient 25s ease-in-out infinite;
}

@keyframes aboutGradient {
    0%, 100% {
        opacity: 0.05;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.1;
        transform: scale(1.1) rotate(180deg);
    }
}

.about-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.feature-desc {
    color: var(--gray);
    line-height: 1.6;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 0;
    background: rgba(30, 41, 59, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.stat-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    filter: blur(20px);
}

.stat-card:hover .stat-glow {
    opacity: 0.2;
}

.about-footer {
    text-align: center;
    padding: 3rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
}

.about-text {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tech-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tech-item {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    border-radius: var(--radius-xl);
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Premium Footer */
.premium-footer {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.footer-logo .logo-icon {
    font-size: 1.8rem;
}

.footer-logo .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--gray);
    font-weight: 500;
}

.footer-info {
    text-align: right;
}

.footer-text {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-subtext {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.modal-content {
    position: relative;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    max-width: 1200px;
    max-height: 90vh;
    margin: 2rem auto;
    overflow: hidden;
    backdrop-filter: blur(20px);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.1);
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Movie Detail */
.movie-detail {
    display: grid;
    grid-template-columns: 400px 1fr;
    max-height: 80vh;
    overflow-y: auto;
}

.movie-poster-section {
    position: relative;
}

.modal-poster {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.movie-actions {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    right: 1rem;
}

.movie-info-section {
    padding: 2rem;
    overflow-y: auto;
}

.movie-header {
    margin-bottom: 2rem;
}

.movie-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.movie-overview {
    margin-bottom: 2rem;
}

.movie-overview h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.movie-overview p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Cast Section */
.cast-section {
    margin-bottom: 2rem;
}

.cast-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-2xl);
}

.cast-member {
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--radius-xl);
}

.cast-member:hover {
    background: rgba(51, 65, 85, 0.5);
    transform: scale(1.05);
}

.cast-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 2px solid var(--primary);
}

.cast-name {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.cast-character {
    color: var(--gray);
    font-size: 0.8rem;
    font-style: italic;
}

.cast-role {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Trailer Section */
.trailer-section {
    margin-bottom: 2rem;
}

.trailer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.trailer-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: rgba(30, 41, 59, 0.5);
}

.trailer-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-2xl);
}

/* Recommendations */
.recommendations-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-2xl);
}

.recommendation-card {
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.recommendation-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.recommendation-poster {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recommendation-info {
    padding: 1rem;
    background: rgba(30, 41, 59, 0.8);
}

.recommendation-title {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.recommendation-rating {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
}

/* Actor Detail */
.actor-detail {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.actor-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.actor-profile {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    border: 3px solid var(--primary);
}

.actor-name {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.actor-bio {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.actor-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.actor-stat {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    border: 1px solid rgba(99, 102, 241, 0.3);
    width: fit-content;
}

.actor-movies h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.actor-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-2xl);
}

/* Movie Detail Page */
.movie-detail-page {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 1rem;
}

.movie-header-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.movie-poster-container {
    position: relative;
}

.movie-poster-large {
    width: 100%;
    max-width: 300px;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.movie-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.movie-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.movie-title-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

.movie-meta-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.movie-meta-large .meta-item {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 0.9rem;
}

.performance-status-large {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    animation: statusGlow 2s infinite;
    align-self: flex-start;
}

.financial-section-large {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.financial-section-large h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.financial-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.financial-item-large {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movie-content-section {
    margin-top: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.content-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.overview-section h3,
.cast-section h3,
.trailer-section h3,
.recommendations-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.overview-section p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1rem;
}

.cast-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.cast-member-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
}

.cast-member-large:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.cast-photo-large {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 0.5rem;
}

.cast-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cast-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9rem;
}

.cast-character {
    color: var(--gray);
    font-size: 0.8rem;
}

.trailer-container-large {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.trailer-container-large iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.recommendations-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.recommendation-card-large {
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.recommendation-card-large:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.recommendation-poster-large {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recommendation-info {
    padding: 0.75rem;
}

.recommendation-title {
    font-weight: 600;
    color: var(--white);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.recommendation-rating {
    color: var(--gray);
    font-size: 0.7rem;
}

.error-container {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-container h2 {
    color: var(--error);
    margin-bottom: 1rem;
}

.error-container p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Responsive for movie detail page */
@media (max-width: 768px) {
    .movie-header-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .movie-poster-large {
        max-width: 250px;
        height: 375px;
        margin: 0 auto;
    }
    
    .movie-title-large {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .financial-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cast-grid-large {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Error Messages */
.error-message {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    margin: 2rem auto;
    max-width: 400px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-message h3 {
    color: var(--error);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.error-message p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .genre-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .movie-detail {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .actor-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .actor-profile {
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .genre-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .genre-card {
        padding: 1.5rem 1rem;
        min-height: 150px;
    }
    
    .genre-icon {
        font-size: 2rem;
    }
    
    .genre-name {
        font-size: 1rem;
    }
    
    .genre-desc {
        font-size: 0.8rem;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .movie-poster {
        height: 250px;
    }
    
    .movie-info {
        padding: 1.5rem;
    }
    
    .movie-title {
        font-size: 1.2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        flex-direction: column;
        align-items: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
