@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Professional Theme */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --bg-card: #0f0f0f;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-tertiary: #808080;
    --accent: #e50914;
    --accent-hover: #f40612;
    --accent-gradient: linear-gradient(135deg, #b20710 0%, #e50914 100%);
    --border: #1a1a1a;
    --success: #10b981;
    --warning: #f59e0b;
    --gold: #ffd700;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}


.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Premium Header */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: 1920px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-icon {
    border-radius: 6px;
}

.nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    padding: 0.65rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-btn.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Search Section */
.search-section {
    padding: 2rem 3rem;
    background: linear-gradient(180deg, rgba(21, 24, 36, 0.6) 0%, transparent 100%);
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-tertiary);
    pointer-events: none;
    z-index: 2;
}

#search-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 3.25rem;
    background: rgba(26, 29, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

#search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: rgba(26, 29, 46, 0.95);
}

#search-input::placeholder {
    color: var(--text-tertiary);
}

.clear-btn {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    z-index: 2;
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Netflix-Style Hero Banner Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(15, 17, 29, 0.3) 20%,
        rgba(15, 17, 29, 0.7) 50%,
        rgba(15, 17, 29, 0.95) 80%,
        var(--bg-primary) 100%
    );
    pointer-events: none;
    z-index: 5;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 35%,
        transparent 70%
    ),
    linear-gradient(
        to top,
        rgba(15, 17, 29, 1) 0%,
        rgba(15, 17, 29, 0.5) 30%,
        transparent 60%
    );
}

.hero-content {
    position: absolute;
    left: 3rem;
    bottom: 25%;
    max-width: 600px;
    z-index: 10;
    animation: heroFadeIn 0.8s ease-out;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.8);
    letter-spacing: -1px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 1.3rem;
    text-shadow: 0 0 12px var(--gold);
}

.hero-rating i {
    color: var(--gold);
    filter: drop-shadow(0 0 6px var(--gold));
}

.hero-overview {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-btn-play {
    background: white;
    color: #000;
}

.hero-btn-play:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.05);
}

.hero-btn-info {
    background: rgba(109, 109, 110, 0.7);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-btn-info:hover {
    background: rgba(109, 109, 110, 0.5);
    transform: scale(1.05);
}

.hero-controls {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-dot:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-dot.active {
    background: white;
    border-color: white;
    width: 32px;
    border-radius: 6px;
}

/* Main Content */
.main-content {
    padding: 0 3rem 4rem;
    min-height: 70vh;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.05);
}

.filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Premium Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .header-content,
    .main-content,
    .search-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Premium Cards */
.card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    will-change: transform;
}



.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.card-poster {
    position: relative;
    width: 100%;
    padding-top: 150%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    overflow: hidden;
}

.card-poster::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(26, 29, 46, 0.9) 0%, transparent 100%);
    z-index: 1;
}

.card-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-poster img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-badge svg {
    width: 12px;
    height: 12px;
}

.card-badge.rating-high {
    color: var(--gold);
    text-shadow: 0 0 8px var(--gold);
}

.card-badge.rating-medium {
    color: var(--warning);
}

.card-badge.rating-low {
    color: var(--text-tertiary);
}

.card-content {
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.card-type {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    margin-bottom: 1.5rem;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(37, 99, 235, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-tertiary);
}

.empty-state svg {
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.1rem;
}

/* Premium Modal - Windowed */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    animation: fadeIn 0.3s;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg) scale(1.1);
}

.modal-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}

/* Cinematic Modal Backdrop */
.modal-backdrop-image {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.modal-backdrop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--bg-secondary) 0%,
        rgba(21, 24, 36, 0.85) 35%,
        rgba(21, 24, 36, 0.5) 60%,
        transparent 100%
    );
}

.modal-backdrop-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        rgba(15, 17, 29, 0.3) 100%
    );
}

.modal-header {
    padding: 2.5rem;
    position: relative;
    margin-top: -120px;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.modal-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gold);
    text-shadow: 0 0 12px var(--gold);
}

.modal-rating svg {
    color: var(--gold);
    filter: drop-shadow(0 0 6px var(--gold));
}

.modal-tagline {
    font-style: italic;
    color: var(--text-secondary);
    margin: 1rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Netflix-Style Action Buttons */
.netflix-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
    flex-wrap: wrap;
}

.netflix-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.netflix-btn-play {
    background: white;
    color: #000;
}

.netflix-btn-play:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.05);
}

.netflix-btn-info {
    background: rgba(109, 109, 110, 0.7);
    color: white;
    backdrop-filter: blur(10px);
}

.netflix-btn-info:hover {
    background: rgba(109, 109, 110, 0.5);
    transform: scale(1.05);
}

.netflix-btn-disabled {
    background: rgba(180, 180, 180, 0.3);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

.netflix-btn i {
    font-size: 1.3rem;
}

.modal-body {
    padding: 0 2.5rem 2.5rem;
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-overview {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1rem;
}

.genres {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.genre-tag {
    padding: 0.5rem 1.1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.3s;
}

.genre-tag:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--accent);
    transform: translateY(-2px);
}

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

.cast-member {
    text-align: center;
    transition: transform 0.3s;
}

.cast-member:hover {
    transform: translateY(-5px);
}

.cast-avatar {
    width: 100%;
    padding-top: 100%;
    position: relative;
    border-radius: 50%;
    background: var(--bg-tertiary);
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.cast-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cast-character {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.trailer-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Premium Download Section */
.downloads-section-wrapper {
    margin-top: 2rem;
}

/* Browse Downloads Button */
.browse-downloads-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.browse-downloads-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s;
}

.browse-downloads-btn:hover::before {
    left: 100%;
}

.browse-downloads-btn:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.browse-downloads-btn > i:first-child {
    font-size: 2.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.browse-downloads-text {
    flex: 1;
    text-align: left;
}

.browse-downloads-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.browse-downloads-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.browse-downloads-btn > i:last-child {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s;
}

.browse-downloads-btn:hover > i:last-child {
    opacity: 1;
    transform: translateX(5px);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s;
}

.download-card:hover::before {
    left: 100%;
}

.download-card:hover {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.download-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 8px;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.download-details {
    flex: 1;
    min-width: 0;
}

.download-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.download-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.download-size {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.download-action {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.download-card:hover .download-action {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.downloads-unavailable {
    text-align: center;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
}

.unavailable-message {
    color: var(--text-tertiary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Recommendations Section */
.recommendations-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.recommendation-card {
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.recommendation-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.recommendation-poster {
    position: relative;
    width: 100%;
    padding-top: 150%;
    background: var(--bg-secondary);
    overflow: hidden;
}

.recommendation-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.recommendation-card:hover .recommendation-poster img {
    transform: scale(1.1);
}

.recommendation-poster .no-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.recommendation-badge {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
}

.recommendation-badge.rating-high {
    color: var(--gold);
}

.recommendation-badge.rating-medium {
    color: var(--warning);
}

.recommendation-badge.rating-low {
    color: var(--text-tertiary);
}

.recommendation-info {
    padding: 0.85rem;
}

.recommendation-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.recommendation-year {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .modal-backdrop-image {
        height: 300px;
    }

    .modal-header {
        margin-top: -80px;
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.75rem;
    }

    .modal-body {
        padding: 0 1.5rem 1.5rem;
    }

    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .recommendations-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    /* Hero Banner Responsive */
    .hero-section {
        height: 60vh;
        min-height: 500px;
        margin-bottom: 2rem;
    }

    .hero-content {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 15%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-meta {
        font-size: 0.9rem;
        gap: 1rem;
    }

    .hero-rating {
        font-size: 1rem;
    }

    .hero-overview {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }

    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-controls {
        bottom: 1rem;
        right: 1.5rem;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 24px;
    }
}
