/* Reset and Base Styles */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #141414;
    color: #ffffff;
    line-height: 1.6;
}

/* Coming Soon Placeholder */
.coming-soon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.coming-soon-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.coming-soon-text {
    font-size: 14px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
    text-align: center;
}

.coming-soon-icon {
    font-size: 24px;
    color: #666;
    margin-bottom: 8px;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #e50914;
    text-decoration: none;
}

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

.nav-link {
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e50914;
}

.x-logo {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    transition: color 0.3s ease;
    position: relative;
    top: -4px;
}

.nav-link:hover .x-logo {
    color: #e50914;
}

.nav-icon-align {
    display: inline-flex;
    align-items: center;
    height: 24px;
    font-size: 20px;
    vertical-align: middle;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.6) 50%,
        rgba(20,20,20,0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 5%;
    max-width: 600px;
    z-index: 2;
}

.show-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.show-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.show-meta span {
    padding: 2px 8px;
    border-radius: 3px;
}

.rating {
    background-color: rgba(255,255,255,0.2);
}

.duration, .year, .quality {
    color: #46d369;
}

.show-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-play {
    background-color: #ffffff;
    color: #000000;
}

.btn-play:hover {
    background-color: rgba(255,255,255,0.8);
}

.btn-more, .btn-episodes {
    background-color: rgba(109, 109, 110, 0.7);
    color: #ffffff;
}

.btn-more:hover, .btn-episodes:hover {
    background-color: rgba(109, 109, 110, 0.4);
}

/* Content Sections */
.content {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Episodes Section */
.episodes-section {
    margin-bottom: 60px;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.episode-card {
    background-color: #2f2f2f;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.episode-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.episode-thumbnail {
    position: relative;
    height: 169px;
    overflow: hidden;
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.episode-overlay i {
    font-size: 48px;
    color: #ffffff;
}

.episode-info {
    padding: 20px;
}

.episode-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.episode-info p {
    color: #b3b3b3;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.episode-duration {
    color: #46d369;
    font-size: 14px;
    font-weight: 600;
}

/* More Like This Section */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.show-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.show-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.show-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

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

.show-card-overlay i {
    font-size: 36px;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 10%;
    }
    
    .show-title {
        font-size: 2.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
    }
    
    .shows-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .show-title {
        font-size: 2rem;
    }
    
    .show-description {
        font-size: 16px;
    }
    
    .content {
        padding: 20px 10px;
    }
}

/* Episodes Page Styles */
.episodes-header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(20,20,20,0.9) 100%);
    padding: 120px 20px 40px;
    margin-top: 60px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.back-btn-row {
    display: flex;
    align-items: center;
}

.back-btn {
    background: rgba(0,0,0,0.6);
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, background 0.3s ease;
    padding: 8px 18px;
    border-radius: 24px;
    z-index: 10;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.back-btn:hover {
    color: #e50914;
    background: rgba(0,0,0,0.8);
}

.episodes-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.season-selector select {
    background-color: #333;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

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

.episode-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #2f2f2f;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.episode-item:hover {
    background-color: #404040;
}

.episode-number {
    font-size: 24px;
    font-weight: bold;
    color: #e50914;
    min-width: 40px;
}

.episode-thumbnail-small {
    position: relative;
    width: 160px;
    height: 90px;
    overflow: hidden;
    border-radius: 4px;
}

.episode-thumbnail-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.episode-details {
    flex: 1;
}

.episode-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.episode-details p {
    color: #b3b3b3;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.episode-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
}

.episode-meta span {
    color: #46d369;
}

.episode-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-play-small, .btn-download, .btn-twitter {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    vertical-align: middle;
}

.btn-play-small:hover, .btn-download:hover, .btn-twitter:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-play-small i {
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-twitter .x-logo {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    transition: color 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    transform: translateY(2px);
}

.btn-twitter:hover .x-logo {
    color: #1da1f2;
}

/* Show Details Page Styles */
.show-details-header {
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.6) 50%,
        rgba(20,20,20,0.9) 100%
    ),
    url('https://via.placeholder.com/1920x1080/1a1a1a/ffffff?text=Dark+Background') center/cover;
}

.show-info-detailed {
    position: absolute;
    bottom: 20%;
    left: 5%;
    max-width: 600px;
    z-index: 2;
}

.show-info-detailed h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.show-meta-detailed {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    flex-wrap: wrap;
}

.show-meta-detailed span {
    padding: 2px 8px;
    border-radius: 3px;
}

.show-description-detailed {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.action-buttons-detailed {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-trailer, .btn-add {
    background-color: rgba(109, 109, 110, 0.7);
    color: #ffffff;
}

.btn-trailer:hover, .btn-add:hover {
    background-color: rgba(109, 109, 110, 0.4);
}

.show-details-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.details-grid {
    display: grid;
    gap: 40px;
}

.cast-section, .episodes-section-detailed, .details-section, .more-like-this-detailed {
    background-color: #2f2f2f;
    border-radius: 8px;
    padding: 30px;
}

.cast-container {
    margin-top: 20px;
}

.cast-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
    justify-items: center;
}

.cast-row:first-child {
    grid-template-columns: repeat(5, 1fr);
}

.cast-row:last-child {
    grid-template-columns: repeat(5, 1fr);
}

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

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

.cast-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.cast-member h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.cast-member p {
    color: #b3b3b3;
    font-size: 14px;
}

.season-selector-detailed {
    margin-bottom: 20px;
}

.season-selector-detailed select {
    background-color: #333;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.episodes-list-detailed {
    display: grid;
    gap: 20px;
}

.episode-item-detailed {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #404040;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.episode-item-detailed:hover {
    background-color: #505050;
}

.episode-thumbnail-detailed {
    position: relative;
    width: 200px;
    height: 113px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

.episode-thumbnail-detailed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay-detailed {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.episode-info-detailed {
    flex: 1;
}

.episode-info-detailed h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.episode-info-detailed p {
    color: #b3b3b3;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.episode-meta-detailed {
    display: flex;
    gap: 15px;
    font-size: 12px;
}

.episode-meta-detailed span {
    color: #46d369;
}

.details-info {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    gap: 10px;
}

.detail-label {
    font-weight: 600;
    min-width: 120px;
    color: #b3b3b3;
}

.detail-value {
    color: #ffffff;
}

.shows-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.show-card-detailed {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.show-card-detailed img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.show-card-overlay-detailed {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

.show-card-detailed:hover .show-card-overlay-detailed {
    opacity: 1;
}

.show-card-overlay-detailed i {
    font-size: 36px;
    color: #ffffff;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .episode-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .episode-thumbnail-small {
        width: 100%;
        height: 200px;
    }
    
    .episode-item-detailed {
        flex-direction: column;
        gap: 15px;
    }
    
    .episode-thumbnail-detailed {
        width: 100%;
        height: 200px;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .shows-grid-detailed {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

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

::-webkit-scrollbar-track {
    background: #141414;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
} 

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.back-button-container {
    position: absolute;
    top: 80px;
    left: 5%;
    z-index: 9999;
}

.simple-back-btn {
    background: rgba(0,0,0,0.6);
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.simple-back-btn:hover {
    background: rgba(0,0,0,0.8);
} 