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

:root {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f29;
    --bg-card: #1e2530;
    --text-primary: #ffffff;
    --text-secondary: #a0aab8;
    --accent-color: #5a7aa0;
    --accent-hover: #6d8db3;
    --border-color: #2a3240;
}

/* Lazy Loading Images */
img[loading="lazy"],
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded,
img.loaded {
    opacity: 1;
}

img[data-src]:not([src]) {
    background: linear-gradient(90deg, #1a2332 25%, #1e2938 50%, #1a2332 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background-color: var(--bg-secondary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-colored {
    color: var(--accent-color);
}

.logo-white {
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    transition: transform 0.3s;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    max-height: 320px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding-left: 25px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border-radius: 6px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    min-width: 280px;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    width: 100%;
    font-size: 14px;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-box button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    display: flex;
    align-items: center;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
}

.search-box button:hover {
    color: var(--text-primary);
}

/* Live Search Dropdown */
.live-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.live-search-dropdown::-webkit-scrollbar {
    width: 8px;
}

.live-search-dropdown::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.live-search-dropdown::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

.live-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Loader */
.live-search-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 15px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.live-search-loader span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Empty State */
.live-search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.live-search-empty svg {
    color: var(--text-secondary);
    margin-bottom: 15px;
    opacity: 0.5;
}

.live-search-empty p {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.live-search-empty span {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Results */
.live-search-results {
    padding: 10px;
}

.live-search-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.live-search-item:hover {
    background-color: var(--bg-secondary);
}

.live-search-poster {
    position: relative;
    width: 60px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.live-search-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-search-quality {
    position: absolute;
    top: 4px;
    left: 4px;
    background-color: #2563eb;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.live-search-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.live-search-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-search-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.live-search-type {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.film-badge {
    background-color: #2563eb;
    color: #ffffff;
}

.series-badge {
    background-color: #16a34a;
    color: #ffffff;
}

.live-search-year {
    color: var(--text-secondary);
    font-size: 13px;
}

.live-search-rating {
    color: #fbbf24;
    font-size: 13px;
    font-weight: 600;
}

/* Footer */
.live-search-footer {
    padding: 12px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.live-search-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.live-search-view-all:hover {
    background-color: var(--bg-card);
}

.live-search-view-all svg {
    transition: transform 0.2s;
}

.live-search-view-all:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .live-search-dropdown {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        max-height: 70vh;
    }
    
    .live-search-poster {
        width: 50px;
        height: 75px;
    }
    
    .live-search-title {
        font-size: 14px;
    }
    
    .live-search-meta {
        gap: 8px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding: 40px 0 0 0;
}

.content-section {
    margin-bottom: 40px;
}

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

.section-title {
    font-size: 24px;
    font-weight: 700;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.view-all {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--accent-color);
}

/* Movies Grid */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* Carousel Sections */
.carousel-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.movies-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
}

.movies-carousel .movie-card {
    flex: 0 0 200px;
    min-width: 200px;
}

/* Carousel Card (Large format with backdrop) */
.carousel-card {
    flex: 0 0 400px;
    min-width: 400px;
    height: 225px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: scale(1.05);
}

.carousel-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    z-index: 1;
}

.carousel-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.carousel-type-badge {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.carousel-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.carousel-card-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card {
    /* Removed transition from card */
}

.movie-poster {
    transition: transform 0.3s;
}

.movie-card:hover .movie-poster {
    transform: translateY(-5px);
}

.movie-poster {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 2/3;
    background-color: var(--bg-card);
}

.movie-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
}

.movie-card:hover .movie-backdrop {
    opacity: 0.4;
}

.movie-poster > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

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

.play-icon {
    font-size: 48px;
    color: var(--text-primary);
}

.quality-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #2563eb;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quality-badge.new {
    background-color: #22c55e;
    color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.type-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.imdb-rating {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
}

.movie-info {
    padding: 12px 0;
}

.movie-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.movie-meta span,
.movie-meta a {
    white-space: nowrap;
    display: inline-block;
}

.movie-meta a.year {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.movie-meta a.year:hover {
    color: var(--accent-color);
}

.movie-meta .genre {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.footer-disclaimer {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.footer-disclaimer p {
    color: var(--text-secondary);
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--border-color);
        display: none;
        align-items: flex-start;
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown .nav-link {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        padding: 0;
        border: none;
        background-color: transparent;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 350px;
        padding: 10px 0;
        overflow-y: auto;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-box {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    /* Carousel on mobile */
    .carousel-card {
        flex: 0 0 280px;
        min-width: 280px;
        height: 160px;
    }
    
    .carousel-card-content {
        padding: 15px;
    }
    
    .carousel-card-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .carousel-card-description {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    /* Hide cast text on mobile */
    .cast-inline .cast-info {
        display: none;
    }
    
    .cast-inline {
        gap: 15px;
    }
    
    .cast-inline .cast-item img {
        width: 45px;
        height: 45px;
    }
    
    /* Movie meta on mobile - smaller tags to fit on one line */
    .movie-meta-main {
        gap: 6px;
    }
    
    .movie-meta-main .info-tag {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .views-tag svg {
        width: 14px;
        height: 14px;
    }
    
    /* Action buttons on mobile - Vizionează Acum full width, Trailer and Distribuie on second line */
    .movie-actions {
        gap: 10px;
    }
    
    .btn-watch {
        width: 100%;
        justify-content: center;
    }
    
    .btn-trailer,
    .btn-share {
        flex: 1;
        justify-content: center;
    }
    
    /* Poster ad button on mobile */
    .poster-ad-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .poster-ad-btn svg {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .movie-title {
        font-size: 13px;
    }
    
    .movie-meta {
        font-size: 11px;
    }
    
    .hero-content h1 {
        font-size: 20px;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--border-color);
}


/* Breadcrumb */
.breadcrumb {
    background-color: var(--bg-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.breadcrumb::-webkit-scrollbar {
    display: none;
}

.breadcrumb .container {
    white-space: nowrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.3s;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: var(--text-secondary);
    margin: 0 8px;
    font-size: 14px;
}

/* Movie Details */
.movie-details {
    padding: 40px 0 0 0;
    position: relative;
}

.details-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    max-height: 550px;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.details-backdrop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(15, 20, 25, 0.7) 0%,
        rgba(15, 20, 25, 0.85) 30%,
        rgba(15, 20, 25, 0.95) 60%,
        var(--bg-primary) 100%
    );
    z-index: 2;
}

.details-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: blur(0px);
}

.movie-details .container {
    position: relative;
    z-index: 1;
}

.details-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.details-poster {
    position: relative;
    display: flex;
    flex-direction: column;
}

.details-poster img {
    width: 100%;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: block;
}

.poster-ad-btn {
    width: 100%;
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 0 0 4px 4px;
    font-weight: 500;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: none;
    border: 1px solid var(--border-color);
    border-top: none;
    margin: 0;
}

.poster-ad-btn:hover {
    text-decoration: underline;
}

.poster-ad-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.5s ease;
}

.poster-ad-btn:hover svg {
    transform: rotate(360deg);
}

.poster-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
}

.poster-imdb-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
}

.badge-quality,
.badge-year {
    background-color: #2563eb;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.badge-year {
    background-color: rgba(0,0,0,0.9);
    color: #ffffff;
}

.details-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.movie-title-main {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}

.movie-title-secondary {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0;
    margin-top: -8px;
}

.movie-meta-main {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    flex-wrap: wrap;
}

.series-meta-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    flex-wrap: wrap;
    margin-top: -4px;
}

.rating-circle {
    position: relative;
    width: 50px;
    height: 50px;
}

.rating-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.rating-bg {
    fill: none;
    stroke: var(--bg-card);
    stroke-width: 6;
}

.rating-progress {
    fill: none;
    stroke: #00d856;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--rating)) / 100);
    transition: stroke-dashoffset 1s ease;
}

.rating-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-imdb {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #2563eb;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
}

.rating-imdb svg {
    color: #ffd700;
}

.movie-genres {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.genre-tag {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.genre-tag:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.movie-info-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.info-tag {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid var(--border-color);
}

.mpaa-rating {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
}

.status-tag {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 600;
}

.status-tag.ongoing {
    background-color: #28a745;
    border-color: #28a745;
    font-weight: 600;
}

.views-tag {
    display: flex;
    align-items: center;
    gap: 6px;
}

.views-tag svg {
    flex-shrink: 0;
}

.movie-description h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.movie-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.movie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-watch {
    background-color: #2563eb;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-watch:hover {
    background-color: #1d4ed8;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.btn-trailer,
.btn-share {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-trailer:hover,
.btn-share:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-color);
}

/* Details Grid */
.details-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.details-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.details-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.details-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.details-sidebar {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-section {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.info-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 30px;
}

/* Cast Section */
.cast-section {
    padding: 20px 30px;
}

/* Cast Inline (in header) */
.cast-inline {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.cast-inline .cast-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cast-inline .cast-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.cast-inline .cast-item:hover img {
    border-color: var(--accent-color);
}

.cast-inline .cast-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-primary);
    line-height: 1.2;
}

.cast-inline .cast-info p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.2;
}

/* Cast Grid */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 25px;
}

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

.cast-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: block;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s;
}

.cast-item:hover img {
    border-color: var(--accent-color);
}

.cast-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cast-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Trailer */
.trailer-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.trailer-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Similar Movies Carousel */
.similar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.similar-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
}

.similar-carousel .movie-card {
    flex: 0 0 180px;
    min-width: 180px;
}

@media (max-width: 768px) {
    .similar-carousel .movie-card {
        flex: 0 0 140px;
        min-width: 140px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}

/* Sidebar */
.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.sidebar-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

/* Tags */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.tag:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Episodes Section */
.season-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.season-btn {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    min-height: 48px;
}

.season-btn:hover {
    background-color: var(--bg-primary);
}

.season-btn.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.episodes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 10px;
}

.episodes-list::-webkit-scrollbar {
    width: 8px;
}

.episodes-list::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 4px;
}

.episodes-list::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.episodes-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.episode-item {
    display: grid;
    grid-template-columns: 40px 150px 1fr 50px;
    gap: 20px;
    align-items: center;
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.episode-item:hover {
    background-color: var(--bg-primary);
    border-color: var(--accent-color);
}

.episode-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
}

.episode-thumb {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.episode-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.episode-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.episode-item:hover .episode-play {
    opacity: 1;
}

.episode-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.episode-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.episode-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

.episode-watch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transition: all 0.3s;
}

.episode-watch:hover {
    background-color: var(--accent-hover);
    transform: scale(1.1);
}

.episode-watch svg {
    color: white;
}

/* Responsive Details */
@media (max-width: 1024px) {
    .details-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .details-sidebar {
        width: 100%;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .details-header {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .details-poster {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .movie-title-main {
        font-size: 28px;
    }
    
    .movie-meta-main {
        flex-wrap: wrap;
        font-size: 14px;
    }
    
    .info-section {
        padding: 20px;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .episode-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .episode-number {
        position: absolute;
        top: 15px;
        left: 15px;
        background-color: rgba(0,0,0,0.8);
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
    
    .episode-thumb {
        width: 100%;
    }
    
    .episode-watch {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    border: none;
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    line-height: 1;
}

.modal-close:hover {
    background-color: #2563eb;
    transform: rotate(90deg);
}

.modal-body {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
}

/* Comments Section */
.comment-form {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

/* Alert Messages */
.alert {
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    border: 1px solid !important;
    animation: slideDown 0.3s ease-out !important;
    display: block !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1) !important;
    border-color: rgba(40, 167, 69, 0.3) !important;
    color: #4ade80 !important;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
    color: #f87171 !important;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: #fbbf24 !important;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1) !important;
    border-color: rgba(23, 162, 184, 0.3) !important;
    color: #60a5fa !important;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 95, 127, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.captcha-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.captcha-group input {
    flex: 1;
    margin-bottom: 0;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fbbf24;
    user-select: none;
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.captcha-refresh:hover {
    color: #fbbf24;
}

.btn-submit-comment {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit-comment:hover {
    background-color: #1d4ed8;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.comment-meta {
    flex: 1;
}

.comment-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.comment-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.comment-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-box {
        justify-content: space-between;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .comment-item {
        padding: 15px;
    }
    
    /* Episodes on mobile - compact layout */
    .episode-item {
        grid-template-columns: 50px 1fr;
        gap: 15px;
        padding: 15px;
        position: relative;
    }
    
    .episode-number {
        display: block;
        font-size: 20px;
        position: static;
        width: auto;
        height: auto;
        background: none;
        border-radius: 0;
    }
    
    .episode-thumb {
        display: none;
    }
    
    .episode-play {
        display: none;
    }
    
    .episode-info h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    .episode-info p {
        display: none;
    }
    
    .episode-meta {
        font-size: 12px;
    }
    
    .episode-watch {
        display: none;
    }
}


/* Player Page */
.player-page {
    padding: 40px 0;
}

.player-wrapper {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.player-header {
    margin-bottom: 25px;
}

.episode-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.episode-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Server Selection */
.server-list {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.server-btn {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 48px;
}

.server-btn:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.server-btn.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.mobile-servers {
    display: none;
    margin-bottom: 20px;
}

.server-select {
    width: 100%;
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.server-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Video Player */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Episode Navigation */
.episode-navigation {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.nav-btn {
    flex: 1;
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
}

.nav-btn:hover:not(:disabled) {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn.prev-episode {
    justify-content: flex-start;
}

.nav-btn.next-episode {
    justify-content: flex-end;
}

/* Episodes List (Player Page) */
.player-episodes {
    margin-top: 40px;
}

.episodes-container {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.episodes-list-player {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 580px;
    overflow-y: auto;
    padding-right: 10px;
}

.episodes-list-player::-webkit-scrollbar {
    width: 8px;
}

.episodes-list-player::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 4px;
}

.episodes-list-player::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.episodes-list-player::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.episode-item-player {
    display: grid;
    grid-template-columns: 40px 150px 1fr 50px;
    gap: 20px;
    align-items: center;
    background-color: var(--bg-secondary);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-decoration: none;
}

.episode-item-player:hover {
    background-color: var(--bg-card);
    border-color: var(--accent-color);
}

.episode-item-player.active {
    border-color: #2563eb;
    background-color: var(--bg-card);
}

.episode-number-player {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
}

.episode-thumb-player {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.episode-thumb-player img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.episode-play-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.episode-item-player:hover .episode-play-player {
    opacity: 1;
}

.episode-info-player h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.episode-info-player p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.episode-meta-player {
    font-size: 13px;
    color: var(--text-secondary);
}

.episode-watch-player {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transition: all 0.3s;
}

.episode-watch-player:hover {
    background-color: var(--accent-hover);
    transform: scale(1.1);
}

.episode-watch-player svg {
    color: white;
}

/* Responsive Player */
@media (max-width: 768px) {
    .player-wrapper {
        padding: 20px;
    }
    
    .episode-title {
        font-size: 22px;
    }
    
    .episode-subtitle {
        font-size: 16px;
    }
    
    .desktop-servers {
        display: none;
    }
    
    .mobile-servers {
        display: block;
    }
    
    .episode-navigation {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
    }
    
    /* Episodes container on mobile */
    .episodes-container {
        padding: 20px;
    }
    
    /* Episodes list on mobile - simplified */
    .episode-item-player {
        grid-template-columns: 50px 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .episode-number-player {
        display: block;
        font-size: 20px;
    }
    
    .episode-thumb-player {
        display: none;
    }
    
    .episode-play-player {
        display: none;
    }
    
    .episode-info-player h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    .episode-info-player p {
        display: none;
    }
    
    .episode-meta-player {
        font-size: 12px;
    }
    
    .episode-watch-player {
        display: none;
    }
}


/* Search Page */
.search-form-page {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.search-input-wrapper {
    display: flex;
    gap: 15px;
}

.search-input-wrapper input {
    flex: 1;
    padding: 14px 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-input-wrapper input::placeholder {
    color: var(--text-secondary);
}

.btn-search {
    background-color: #2563eb;
    color: #ffffff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-search:hover {
    background-color: #1d4ed8;
}

.results-section {
    margin-bottom: 50px;
}

.results-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.no-results-box {
    background-color: var(--bg-secondary);
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.no-results-box h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.no-results-box p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 10px;
}

.no-results-hint {
    margin-top: 25px;
    font-weight: 600;
    color: var(--text-primary);
}

.no-results-tips {
    list-style: none;
    margin-top: 15px;
    display: inline-block;
    text-align: left;
}

.no-results-tips li {
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.no-results-tips li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 20px;
}

/* Years Page */
.year-selector {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    overflow-x: auto;
}

.year-selector-scroll {
    display: flex;
    gap: 10px;
    min-width: min-content;
}

.year-btn {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 48px;
}

.year-btn:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.year-btn.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Actor Page */
.actor-header {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-bottom: 50px;
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.actor-profile {
    position: relative;
}

.actor-profile img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.actor-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    background-color: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 700;
    color: var(--accent-color);
}

.actor-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.actor-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
}

.actor-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.actor-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.character-name {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 4px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.pagination .current {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 20px;
}

/* Responsive - Search, Years, Actor Pages */
@media (max-width: 768px) {
    .search-form-page {
        padding: 20px;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .btn-search {
        justify-content: center;
    }
    
    .no-results-box {
        padding: 40px 20px;
    }
    
    .no-results-icon {
        font-size: 48px;
    }
    
    .no-results-box h2 {
        font-size: 20px;
    }
    
    .year-selector {
        padding: 15px;
    }
    
    .year-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .actor-header {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 25px;
    }
    
    .actor-profile {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .actor-name {
        font-size: 28px;
        text-align: center;
    }
    
    .actor-bio {
        text-align: center;
    }
    
    .actor-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .results-title {
        font-size: 18px;
    }
    
    .pagination {
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 13px;
    }
}


/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

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

.modal-body {
    padding: 0;
}

.modal-body iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.share-modal.active {
    opacity: 1;
    visibility: visible;
}

.share-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.share-modal.active .share-modal-content {
    transform: scale(1);
}

.share-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.share-modal-close:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.share-modal-content h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.share-option.facebook {
    background-color: #1877f2;
    border-color: #1877f2;
}

.share-option.facebook:hover {
    background-color: #145dbf;
}

.share-option.twitter {
    background-color: #1da1f2;
    border-color: #1da1f2;
}

.share-option.twitter:hover {
    background-color: #0c85d0;
}

.share-option.whatsapp {
    background-color: #25d366;
    border-color: #25d366;
}

.share-option.whatsapp:hover {
    background-color: #1da851;
}

.share-option.telegram {
    background-color: #0088cc;
    border-color: #0088cc;
}

.share-option.telegram:hover {
    background-color: #006ba3;
}

.share-link {
    display: flex;
    gap: 10px;
}

.share-link input {
    flex: 1;
    padding: 12px 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
}

.share-link input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-copy-link {
    padding: 12px 20px;
    background-color: #2563eb;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
}

.btn-copy-link:hover {
    background-color: #1d4ed8;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-body iframe {
        height: 300px;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
        top: 10px;
        right: 10px;
    }
    
    .share-modal-content {
        width: 95%;
        padding: 25px 20px;
    }
    
    .share-modal-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .share-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .share-option {
        padding: 12px;
        font-size: 14px;
    }
    
    .share-link {
        flex-direction: column;
    }
    
    .btn-copy-link {
        width: 100%;
    }
}


/* Trailer Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-body {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.share-modal-content {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.share-modal.active .share-modal-content {
    transform: scale(1);
}

.share-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.share-modal-close:hover {
    color: var(--text-primary);
}

.share-modal-content h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--text-primary);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: var(--bg-card);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.share-option:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.share-option svg {
    width: 24px;
    height: 24px;
}

.share-option.facebook:hover {
    background-color: #1877f2;
}

.share-option.twitter:hover {
    background-color: #1da1f2;
}

.share-option.whatsapp:hover {
    background-color: #25d366;
}

.share-option.telegram:hover {
    background-color: #0088cc;
}

.share-link {
    display: flex;
    gap: 10px;
}

.share-link input {
    flex: 1;
    padding: 10px 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
}

.btn-copy-link {
    padding: 10px 20px;
    background-color: #2563eb;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-copy-link:hover {
    background-color: #1d4ed8;
}

@media (max-width: 768px) {
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .share-link {
        flex-direction: column;
    }
    
    .btn-copy-link {
        width: 100%;
    }
}

/* Cast items ca link-uri */
a.cast-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

a.cast-item:hover {
    transform: translateX(5px);
}

a.cast-item:hover .cast-info h4 {
    color: var(--accent-color);
}

/* Info tags ca link-uri */
a.info-tag {
    transition: background-color 0.3s ease, color 0.3s ease;
}

a.info-tag:hover {
    background-color: #2563eb;
    color: #ffffff;
}

/* No Results Box */
.no-results-box {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin: 40px 0;
}

.no-results-icon {
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-icon svg {
    width: 80px;
    height: 80px;
    stroke: currentColor;
}

.no-results-box h2 {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 10px;
}

.no-results-box p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 10px;
}

.no-results-hint {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

/* Page Content Styles */
.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.text-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.text-content h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.text-content p {
    margin-bottom: 15px;
}

.text-content ul,
.text-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.text-content li {
    margin-bottom: 10px;
}

.text-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.text-content a:hover {
    color: var(--accent-hover);
}

.last-updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    font-style: italic;
    color: var(--text-secondary);
}

/* Notice Box */
.notice-box {
    background-color: rgba(90, 122, 160, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.notice-box p {
    margin: 0;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form {
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.captcha-display {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    padding: 12px 24px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    min-width: 120px;
    text-align: center;
}

.captcha-code {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.captcha-group input {
    flex: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.alert svg {
    flex-shrink: 0;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Contact Info Section */
.contact-info-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-info-section h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-methods {
    display: grid;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-method svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

.contact-method strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-method p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-info {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 20px 0;
}

.contact-info p {
    margin: 0;
    color: var(--text-primary);
}

/* Responsive - Page Content */
@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .text-content h2 {
        font-size: 20px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        gap: 12px;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-links a {
        font-size: 13px;
        padding: 3px 8px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .footer-disclaimer p {
        font-size: 11px;
        line-height: 1.5;
    }
    
    .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-display {
        width: 100%;
    }
}

/* Request Form Styles */
.request-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    cursor: pointer;
}

.request-form select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.request-form select option {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.request-info {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.request-info h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
}

.info-steps {
    display: grid;
    gap: 20px;
}

.info-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.info-step:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.step-content h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.step-content a:hover {
    text-decoration: underline;
}

.step-content strong {
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    background-color: rgba(90, 122, 160, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Responsive - Request Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .request-info h2 {
        font-size: 20px;
    }
    
    .step-content h3 {
        font-size: 16px;
    }
}

/* Ads Styles */

/* Poster Ad - overlay peste poster */
.details-poster {
    position: relative;
}

.poster-ad-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Backdrop Ad - overlay înainte de player */
.backdrop-ad-overlay {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.backdrop-ad-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.backdrop-ad-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 20, 25, 0.3), rgba(15, 20, 25, 0.8));
    z-index: 1;
}

.backdrop-ad-play-btn {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 50px;
    background: rgba(90, 122, 160, 0.9);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.backdrop-ad-play-btn:hover {
    background: rgba(90, 122, 160, 1);
    transform: scale(1.05);
}

.backdrop-ad-play-btn svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.backdrop-ad-play-btn span {
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Ads */
@media (max-width: 768px) {
    .backdrop-ad-overlay {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .backdrop-ad-play-btn {
        padding: 20px 30px;
    }
    
    .backdrop-ad-play-btn svg {
        width: 60px;
        height: 60px;
    }
    
    .backdrop-ad-play-btn span {
        font-size: 16px;
    }
}


/* ============================================================================
   GLOBAL MESSAGES (ANUNȚURI)
   ============================================================================ */

.global-messages-container {
    position: relative;
    z-index: 100;
}

.global-message {
    padding: 15px 0;
    animation: fadeIn 0.4s ease-out;
}

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

.global-message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.global-message-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.global-message-close {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
    opacity: 0.7;
}

.global-message-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

/* Tipuri de mesaje */
.global-message-info {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

.global-message-success {
    background: linear-gradient(135deg, #5a7aa0 0%, #4a5f7f 100%);
    color: #ffffff;
}

.global-message-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.global-message-error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .global-message {
        padding: 12px 0;
    }
    
    .global-message-text {
        font-size: 14px;
    }
    
    .global-message-content {
        gap: 10px;
    }
}
