/* Movie Page Styles */
.movie-container {
    min-height: calc(100vh - 68px);
    margin-top: 68px;
    background-color: #141414;
    padding: 40px 20px;
}

.movie-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Movie Poster Styles */
.movie-poster {
    flex: 0 0 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.movie-poster img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2/3;
    object-fit: cover;
}

/* Movie Details Styles */
.movie-details {
    flex: 1;
    color: white;
    padding: 20px 0;
}

.movie-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.movie-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.movie-meta i {
    color: #e50914;
}

.movie-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #e5e5e5;
}

.movie-description p {
    font-size: 1rem;
    margin: 0;
    margin-bottom: 15px;
}

/* Report Link Styles */
.report-link {
    display: inline-block;
    color: #e50914;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 15px;
    padding: 8px 15px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.report-link:hover {
    color: #fff;
    background: rgba(229, 9, 20, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Episode Info and Action Buttons */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.movie-actions {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    margin: 0;
}

.episode-info {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.episode-info span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    flex: 0 1 auto;
    min-width: 120px;
    justify-content: center;
}

.btn-play {
    background-color: #e50914;
    color: #fff;
}

.btn-play:hover {
    background-color: #f40612;
    transform: translateY(-2px);
}

.btn-download {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-download:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Back Button Styles */
.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.back-button i {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .movie-wrapper {
        gap: 30px;
    }

    .movie-poster {
        flex: 0 0 280px;
    }

    .movie-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .movie-container {
        padding: 20px;
    }

    .movie-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .movie-poster {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .movie-details {
        width: 100%;
        text-align: center;
    }

    .movie-meta {
        justify-content: center;
    }

    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .movie-actions {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .report-link {
        display: block;
        text-align: center;
        margin: 20px auto;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .movie-container {
        padding: 15px;
    }

    .movie-poster {
        max-width: 250px;
    }

    .movie-title {
        font-size: 1.8rem;
    }

    .movie-meta {
        gap: 10px;
    }

    .movie-meta span {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .report-link {
        font-size: 0.85rem;
        padding: 10px;
    }
}

/* Skeleton Loading Screen */
.skeleton-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #141414;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

/* Navbar Skeleton */
.skeleton-navbar {
    height: 68px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.skeleton-logo {
    width: 120px;
    height: 30px;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-nav-links {
    display: flex;
    gap: 5px;
    margin-left: 25px;
}

.skeleton-nav-link {
    width: 60px;
    height: 24px;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.skeleton-back-button {
    width: 100px;
    height: 30px;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

/* Movie Container Skeleton */
.skeleton-movie-container {
    padding: 2rem 4%;
    margin-top: 68px;
}

.skeleton-movie-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Movie Poster Skeleton */
.skeleton-movie-poster {
    width: 300px;
    height: 450px;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Movie Details Skeleton */
.skeleton-movie-details {
    flex: 1;
}

.skeleton-title {
    height: 40px;
    width: 60%;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.skeleton-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.skeleton-meta-item {
    height: 24px;
    width: 100px;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-description {
    height: 100px;
    width: 100%;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: 2rem;
    border-radius: 4px;
}

/* Episodes Skeleton */
.skeleton-episodes {
    display: grid;
    gap: 1rem;
}

.skeleton-episode {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.skeleton-episode-info {
    height: 24px;
    width: 150px;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-episode-buttons {
    display: flex;
    gap: 1rem;
}

.skeleton-button {
    height: 36px;
    width: 120px;
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .skeleton-movie-wrapper {
        gap: 1.5rem;
    }

    .skeleton-movie-poster {
        width: 250px;
        height: 375px;
    }
}

@media (max-width: 768px) {
    .skeleton-nav-links {
        display: none;
    }

    .skeleton-movie-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .skeleton-movie-poster {
        width: 200px;
        height: 300px;
    }

    .skeleton-movie-details {
        width: 100%;
    }

    .skeleton-title {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .skeleton-meta {
        justify-content: center;
    }

    .skeleton-description {
        height: 80px;
    }

    .skeleton-episode {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .skeleton-episode-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .skeleton-movie-poster {
        width: 160px;
        height: 240px;
    }

    .skeleton-title {
        width: 90%;
    }

    .skeleton-meta-item {
        width: 80px;
    }

    .skeleton-episode-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .skeleton-button {
        width: 100%;
    }
}

/* Hide main content initially */
.navbar, .movie-container {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Show main content after loading */
.content-loaded .navbar,
.content-loaded .movie-container {
    opacity: 1;
}

/* Disclaimer Styles */
.disclaimer {
    text-align: center;
    padding: 20px;
    margin: 30px auto;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.disclaimer a:hover {
    color: #e50914;
    text-decoration: underline;
}

/* Responsive Styles for Report Link and Disclaimer */
@media (max-width: 768px) {
    .disclaimer {
        margin: 20px 15px;
        padding: 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .disclaimer {
        margin: 15px 10px;
        padding: 12px;
        font-size: 0.75rem;
    }
}

/* Video Player Overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.video-overlay.active {
    display: flex;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.close-video:hover {
    color: #e50914;
    transform: scale(1.1);
}

/* Responsive Video Player */
@media (max-width: 768px) {
    .video-container {
        width: 95%;
    }
    
    .close-video {
        top: -35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .video-container {
        width: 100%;
        height: auto;
    }
    
    .close-video {
        top: -30px;
        font-size: 18px;
    }
} 