/*
Theme Name:   xstore-child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/
/* ===== Series Archive ===== */
/* ============================================
   XStore Child Theme - Series Episodes Design
   Modern, Fully Responsive Layout
   ============================================ */

/* === Container & Base Styles === */
/*
Theme Name: XStore Child - 3isq.cam Style
Template: xstore
Version: 2.0.0
*/

/* ==========================================================================
   GLOBAL RESETS & BASE STYLES
   ========================================================================== */

   * {
    box-sizing: border-box;
}

.series-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
/*
Theme Name:   xstore-child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/
/* ===== Series Archive ===== */
/* ============================================
   XStore Child Theme - Series Episodes Design
   Modern, Fully Responsive Layout
   ============================================ */

/* === Container & Base Styles === */
/*
Theme Name: XStore Child - Golden Palette Style
Template: xstore
Version: 2.0.0
*/

/* ==========================================================================
   GLOBAL RESETS & BASE STYLES
   ========================================================================== */

* {
    box-sizing: border-box;
}

.series-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==========================================================================
   SERIES HERO SECTION
   ========================================================================== */

.series-hero-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 25, 20, 0.8) 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.series-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.series-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.no-poster {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border-radius: 12px;
}

.series-main-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.series-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.series-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.imdb-tag {
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
    font-weight: 700;
    border: none;
}

.star-icon {
    font-size: 16px;
}

.year-tag {
    background: rgba(234, 203, 102, 0.4);
    border-color: rgba(234, 203, 102, 0.6);
}

.country-tag {
    background: rgba(234, 232, 102, 0.2);
    border-color: rgba(234, 232, 102, 0.4);
}

.genre-tag {
    background: rgba(154, 116, 45, 0.3);
    border-color: rgba(154, 116, 45, 0.5);
}

.series-story {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    border-right: 4px solid #b18d4b;
}

.series-story h3 {
    font-size: 20px;
    color: #b18d4b;
    margin: 0 0 12px;
    font-weight: 700;
}

.series-story p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

.series-additional-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item strong {
    color: #b18d4b;
    margin-left: 8px;
}

.trailer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(154, 116, 45, 0.4);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.trailer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 141, 75, 0.6);
}

/* ==========================================================================
   EPISODES SECTION
   ========================================================================== */

.series-episodes-section {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
}

.episodes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.episodes-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.season-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.season-tab {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(234, 203, 102, 0.4);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.season-tab:hover {
    background: rgba(234, 203, 102, 0.4);
    border-color: rgba(234, 203, 102, 0.6);
    color: #fff;
}

.season-tab.active {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(154, 116, 45, 0.4);
}

.season-episodes {
    display: none;
}

.season-episodes.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   EPISODES GRID
   ========================================================================== */

.episodes-grid-3isq {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.episode-box {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.episode-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(177, 141, 75, 0.5);
}

.episode-link {
    text-decoration: none;
    display: block;
}

.episode-thumbnail {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.episode-box:hover .episode-thumbnail img {
    transform: scale(1.1);
}

.no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 203, 102, 0.4) 0%, rgba(234, 232, 102, 0.2) 100%);
}

.no-thumb .play-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.6);
}

.episode-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.episode-box:hover .episode-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #9a742d;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.episode-box:hover .play-button {
    transform: scale(1);
}

.quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.episode-details {
    padding: 15px;
}

.episode-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.episode-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.ep-date,
.ep-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   ARCHIVE PAGES
   ========================================================================== */

.series-archive-header,
.episodes-archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(234, 203, 102, 0.4) 0%, rgba(234, 232, 102, 0.2) 100%);
    border-radius: 16px;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.series-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.series-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(177, 141, 75, 0.5);
}

.series-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.series-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.series-card:hover .series-thumbnail img {
    transform: scale(1.08);
}

.series-content {
    padding: 20px;
}

.series-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}

.series-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.series-title a:hover {
    color: #b18d4b;
}

.series-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.series-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.episodes-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-series-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.view-series-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 141, 75, 0.5);
}

/* ==========================================================================
   SINGLE EPISODE PAGE
   ========================================================================== */

.episode-breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
}

.episode-breadcrumb a {
    color: #b18d4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.episode-breadcrumb a:hover {
    color: #9a742d;
}

.episode-breadcrumb .separator {
    margin: 0 10px;
}

.episode-breadcrumb .current {
    color: #fff;
}

.episode-header {
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(30, 25, 20, 0.7) 100%);
    padding: 30px;
    border-radius: 16px;
}

.episode-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.episode-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.season-episode-badge {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
}

.episode-meta-info .duration,
.episode-meta-info .release-date {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.episode-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.related-episodes {
    margin-bottom: 50px;
}

.related-episodes .section-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-series {
    text-align: center;
    margin: 40px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(234, 203, 102, 0.4);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154, 116, 45, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .series-hero-section {
        grid-template-columns: 250px 1fr;
        gap: 30px;
        padding: 25px;
    }

    .series-main-title {
        font-size: 32px;
    }

    .episodes-grid-3isq {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .series-hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .series-poster {
        max-width: 300px;
        margin: 0 auto;
    }

    .series-main-title {
        font-size: 28px;
    }

    .series-meta-tags {
        justify-content: center;
    }

    .trailer-btn {
        align-self: center;
    }

    .episodes-header {
        flex-direction: column;
        align-items: stretch;
    }

    .season-selector {
        justify-content: center;
    }

    .episodes-grid-3isq {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .series-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .episode-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .series-single-container {
        padding: 20px 10px;
    }

    .series-hero-section {
        padding: 20px;
    }

    .series-main-title {
        font-size: 24px;
    }

    .page-title {
        font-size: 28px;
    }

    .episodes-header h2 {
        font-size: 24px;
    }

    .season-tab {
        padding: 8px 18px;
        font-size: 13px;
    }

    .episodes-grid-3isq {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .episode-title {
        font-size: 14px;
    }

    .episode-details {
        padding: 10px;
    }

    .series-episodes-section {
        padding: 25px 15px;
    }

    .episode-content {
        padding: 20px;
    }
}

/* ==========================================================================
   SINGLE EPISODE PAGE - DETAILED
   ========================================================================== */

.episode-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.episode-header-box {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 25, 20, 0.8) 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.episode-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.episode-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.season-badge {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
}

.episode-badge {
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
}

.quality-badge-header {
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
}

.duration-badge-header,
.date-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.views-badge {
    background: rgba(234, 203, 102, 0.4);
    color: #fff;
    border: 1px solid rgba(234, 203, 102, 0.6);
}

.episode-video-section {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);

}

.video-player-wrapper {
    position: relative;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(234, 203, 102, 0.4);
}

.player-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.play-icon-header {
    font-size: 20px;
}

.player-controls {
    display: flex;
    gap: 10px;
}

.player-quality-btn {
    padding: 8px 18px;
    background: rgba(234, 203, 102, 0.4);
    border: 2px solid rgba(234, 203, 102, 0.6);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-quality-btn:hover {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    border-color: transparent;
    transform: translateY(-2px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background: #000;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.video-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 16px;
}

.video-share {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: rgba(234, 203, 102, 0.4);
    border-color: rgba(234, 203, 102, 0.6);
    transform: translateY(-2px);
}

.share-btn span:first-child {
    font-size: 16px;
}

/* Video Player Responsive */
@media (max-width: 768px) {
    .player-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        align-items: flex-start;
    }

    .player-title {
        font-size: 16px;
    }

    .video-info-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .video-stats {
        width: 100%;
    }

    .video-share {
        width: 100%;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .player-header {
        padding: 12px 15px;
    }

    .player-title {
        font-size: 14px;
    }

    .player-quality-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .video-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        font-size: 12px;
    }

    .video-info-bar {
        padding: 12px 15px;
    }
}

.episode-description-box {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border-right: 4px solid #667eea;
}

.description-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.episode-content-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 15px;
}

.episode-content-text p {
    margin: 0 0 15px;
}

.download-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.download-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.download-icon {
    font-size: 18px;
}

.episode-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.prev-btn,
.next-btn {
    min-width: 180px;
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-text small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.nav-text strong {
    font-size: 14px;
}

.nav-arrow {
    font-size: 20px;
}

.series-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.series-btn:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.nav-btn-placeholder {
    visibility: hidden;
}

.related-episodes-section {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
}

.related-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-episode-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.related-episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(102, 126, 234, 0.5);
}

.related-episode-link {
    text-decoration: none;
    display: block;
}

.related-thumb {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-episode-card:hover .related-thumb img {
    transform: scale(1.1);
}

.related-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.related-no-thumb span {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.6);
}

.related-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-episode-card:hover .related-overlay {
    opacity: 1;
}

.related-play {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #667eea;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.related-episode-card:hover .related-play {
    transform: scale(1);
}

.related-quality {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
}

.related-info {
    padding: 15px;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 6px;
}

.related-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   EPISODE PAGE RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .episode-main-title {
        font-size: 24px;
    }

    .episode-navigation {
        grid-template-columns: 1fr;
    }

    .nav-btn {
        width: 100%;
    }

    .nav-btn-placeholder {
        display: none;
    }

    .related-episodes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .download-links-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .episode-header-box {
        padding: 20px;
    }

    .episode-main-title {
        font-size: 20px;
    }

    .episode-meta-badges {
        justify-content: center;
    }

    .badge {
        padding: 6px 12px;
        font-size: 11px;
    }

    .episode-description-box,
    .download-section,
    .related-episodes-section {
        padding: 20px 15px;
    }

    .description-title,
    .download-title,
    .related-title {
        font-size: 18px;
    }

    .related-episodes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   LOADING ANIMATION
   ========================================================================== */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
/* ==========================================================================
   PAGINATION STYLES
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.page-numbers:hover {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.page-numbers.current {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.prev, .next {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.prev:hover, .next:hover {
    background: #9a742d;
    border-color: #9a742d;
}

/* Series Archive Pagination Styles */
.series-pagination {
    margin: 40px 0;
    padding: 20px 0;
}

.series-pagination .pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.series-pagination ul.page-numbers {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0px;
    flex-wrap: wrap;
    justify-content: center;
}

.series-pagination ul.page-numbers li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.series-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.series-pagination .page-numbers:hover {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.series-pagination .page-numbers.current {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
    font-weight: bold;
}

.series-pagination .prev, 
.series-pagination .next {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.series-pagination .prev:hover, 
.series-pagination .next:hover {
    background: #9a742d;
    border-color: #9a742d;
}

/* Breadcrumb styles for series pages */
.series-breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
}

.series-breadcrumb a {
    color: #b18d4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.series-breadcrumb a:hover {
    color: #9a742d;
}

.series-breadcrumb .separator {
    margin: 0 10px;
}

.series-breadcrumb .current {
    color: #fff;
}

.series-archive-breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
}

.series-archive-breadcrumb a {
    color: #b18d4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.series-archive-breadcrumb a:hover {
    color: #9a742d;
}

.series-archive-breadcrumb .separator {
    margin: 0 10px;
}

.series-archive-breadcrumb .current {
    color: #fff;
}

/* Next Episode Highlight */
.related-episode-card.next-episode-highlight {
    border: 2px solid #b18d4b;
    box-shadow: 0 0 0 2px rgba(177, 141, 75, 0.3);
    transform: scale(1.05);
    position: relative;
    z-index: 10;
}

.related-episode-card.next-episode-highlight .related-episode-link {
    background: rgba(177, 141, 75, 0.1);
}

.next-episode-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #b18d4b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 20;
    text-transform: uppercase;
}

.next-episode-label {
    display: inline-block;
    background: #b18d4b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
    font-weight: bold;
}
/* ==========================================================================
   HOME PAGE SERIES SECTION - MODERN & FULLY RESPONSIVE
   ========================================================================== */

.home-series-section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.home-series-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.home-series-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Header */
.home-series-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
    flex-wrap: wrap;
}

.home-series-header-content {
    flex: 1;
    min-width: 250px;
}

.home-series-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, rgba(234, 203, 102, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-series-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.home-series-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(154, 116, 45, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.home-series-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 141, 75, 0.6);
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
}

.view-all-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.home-series-view-all:hover .view-all-arrow {
    transform: translateX(5px);
}

/* Series Grid */
.home-series-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Series Card */
.home-series-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.home-series-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(177, 141, 75, 0.3), rgba(234, 203, 102, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.home-series-card:hover::before {
    opacity: 1;
}

.home-series-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(177, 141, 75, 0.3);
    border-color: rgba(177, 141, 75, 0.5);
}

.home-series-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* Thumbnail */
.home-series-thumbnail {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
}

.home-series-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.home-series-card:hover .home-series-image {
    transform: scale(1.15);
}

.home-series-no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 203, 102, 0.4) 0%, rgba(234, 232, 102, 0.2) 100%);
}

.no-poster-icon {
    font-size: 80px;
    opacity: 0.6;
}

/* Overlay */
.home-series-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.home-series-card:hover .home-series-overlay {
    opacity: 1;
}

/* Genre Tags on Image (bottom left) */
.home-series-genre-tags {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 3;
}

.home-series-genre-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

/* Rating Badge */
.home-series-rating-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.star-icon {
    font-size: 16px;
}

.rating-value {
    font-size: 15px;
}

/* Episodes Badge */
.home-series-episodes-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.episodes-icon {
    font-size: 16px;
}

.episodes-count {
    font-size: 14px;
}

/* Card Content */
.home-series-card-content {
    padding: 20px;
    background: transparent;
}

.home-series-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #b18d4b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 56px;
    transition: color 0.3s ease;
    text-align: center;
}

.home-series-card:hover .home-series-card-title {
    color: #eacb66;
}

.home-series-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-series-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.meta-icon {
    font-size: 14px;
}

.year-meta {
    background: rgba(234, 203, 102, 0.2);
    border-color: rgba(234, 203, 102, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.genre-meta {
    background: rgba(154, 116, 45, 0.2);
    border-color: rgba(154, 116, 45, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Empty State */
.home-series-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

/* Load More Button */
.home-series-load-more-wrapper {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
}

.home-series-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(154, 116, 45, 0.4);
}

.home-series-load-more-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 141, 75, 0.6);
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
}

.home-series-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-spinner {
    display: inline-block;
    font-size: 18px;
}

/* ==========================================================================
   RESPONSIVE DESIGN - HOME SERIES SECTION
   ========================================================================== */

@media (max-width: 1200px) {
    .home-series-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .home-series-section {
        padding: 50px 20px;
    }

    .home-series-title {
        font-size: 36px;
    }

    .home-series-subtitle {
        font-size: 16px;
    }

    .home-series-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .home-series-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .home-series-section {
        padding: 40px 15px;
    }

    .home-series-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .home-series-title {
        font-size: 32px;
    }

    .home-series-subtitle {
        font-size: 15px;
    }

    .home-series-view-all {
        width: 100%;
        justify-content: center;
    }

    .home-series-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .home-series-card-content {
        padding: 15px;
    }

    .home-series-card-title {
        font-size: 18px;
        min-height: 50px;
    }

    .home-series-genre-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .home-series-section {
        padding: 30px 10px;
    }

    .home-series-title {
        font-size: 28px;
    }

    .home-series-subtitle {
        font-size: 14px;
    }

    .home-series-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-series-card-title {
        font-size: 16px;
        min-height: 44px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .home-series-card-content {
        padding: 12px;
    }

    .home-series-genre-tags {
        bottom: 10px;
        left: 10px;
        gap: 6px;
    }

    .home-series-genre-tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    .home-series-load-more-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .home-series-view-all {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .home-series-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Animation for cards on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-series-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.home-series-card:nth-child(1) { animation-delay: 0.1s; }
.home-series-card:nth-child(2) { animation-delay: 0.2s; }
.home-series-card:nth-child(3) { animation-delay: 0.3s; }
.home-series-card:nth-child(4) { animation-delay: 0.4s; }
.home-series-card:nth-child(5) { animation-delay: 0.5s; }
.home-series-card:nth-child(6) { animation-delay: 0.6s; }
.home-series-card:nth-child(7) { animation-delay: 0.7s; }
.home-series-card:nth-child(8) { animation-delay: 0.8s; }
.home-series-card:nth-child(n+9) { animation-delay: 0.9s; }
/*
Theme Name:   xstore-child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/
/* ===== Series Archive ===== */
/* ============================================
   XStore Child Theme - Series Episodes Design
   Modern, Fully Responsive Layout
   ============================================ */

/* === Container & Base Styles === */
/*
Theme Name: XStore Child - 3isq.cam Style
Template: xstore
Version: 2.0.0
*/

/* ==========================================================================
   GLOBAL RESETS & BASE STYLES
   ========================================================================== */

   * {
    box-sizing: border-box;
}

.series-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
/*
Theme Name:   xstore-child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/
/* ===== Series Archive ===== */
/* ============================================
   XStore Child Theme - Series Episodes Design
   Modern, Fully Responsive Layout
   ============================================ */

/* === Container & Base Styles === */
/*
Theme Name: XStore Child - Golden Palette Style
Template: xstore
Version: 2.0.0
*/

/* ==========================================================================
   GLOBAL RESETS & BASE STYLES
   ========================================================================== */

* {
    box-sizing: border-box;
}

.series-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==========================================================================
   SERIES HERO SECTION
   ========================================================================== */

.series-hero-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 25, 20, 0.8) 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.series-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.series-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.no-poster {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border-radius: 12px;
}

.series-main-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.series-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.series-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.imdb-tag {
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
    font-weight: 700;
    border: none;
}

.star-icon {
    font-size: 16px;
}

.year-tag {
    background: rgba(234, 203, 102, 0.4);
    border-color: rgba(234, 203, 102, 0.6);
}

.country-tag {
    background: rgba(234, 232, 102, 0.2);
    border-color: rgba(234, 232, 102, 0.4);
}

.genre-tag {
    background: rgba(154, 116, 45, 0.3);
    border-color: rgba(154, 116, 45, 0.5);
}

.series-story {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    border-right: 4px solid #b18d4b;
}

.series-story h3 {
    font-size: 20px;
    color: #b18d4b;
    margin: 0 0 12px;
    font-weight: 700;
}

.series-story p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

.series-additional-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item strong {
    color: #b18d4b;
    margin-left: 8px;
}

.trailer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(154, 116, 45, 0.4);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.trailer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 141, 75, 0.6);
}

/* ==========================================================================
   EPISODES SECTION
   ========================================================================== */

.series-episodes-section {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
}

.episodes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.episodes-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.season-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.season-tab {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(234, 203, 102, 0.4);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.season-tab:hover {
    background: rgba(234, 203, 102, 0.4);
    border-color: rgba(234, 203, 102, 0.6);
    color: #fff;
}

.season-tab.active {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(154, 116, 45, 0.4);
}

.season-episodes {
    display: none;
}

.season-episodes.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   EPISODES GRID
   ========================================================================== */

.episodes-grid-3isq {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.episode-box {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.episode-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(177, 141, 75, 0.5);
}

.episode-link {
    text-decoration: none;
    display: block;
}

.episode-thumbnail {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.episode-box:hover .episode-thumbnail img {
    transform: scale(1.1);
}

.no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 203, 102, 0.4) 0%, rgba(234, 232, 102, 0.2) 100%);
}

.no-thumb .play-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.6);
}

.episode-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.episode-box:hover .episode-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #9a742d;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.episode-box:hover .play-button {
    transform: scale(1);
}

.quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.episode-details {
    padding: 15px;
}

.episode-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.episode-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.ep-date,
.ep-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   ARCHIVE PAGES
   ========================================================================== */

.series-archive-header,
.episodes-archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(234, 203, 102, 0.4) 0%, rgba(234, 232, 102, 0.2) 100%);
    border-radius: 16px;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.series-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.series-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(177, 141, 75, 0.5);
}

.series-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.series-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.series-card:hover .series-thumbnail img {
    transform: scale(1.08);
}

.series-content {
    padding: 20px;
}

.series-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}

.series-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.series-title a:hover {
    color: #b18d4b;
}

.series-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.series-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.episodes-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-series-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.view-series-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 141, 75, 0.5);
}

/* ==========================================================================
   SINGLE EPISODE PAGE
   ========================================================================== */

.episode-breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
}

.episode-breadcrumb a {
    color: #b18d4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.episode-breadcrumb a:hover {
    color: #9a742d;
}

.episode-breadcrumb .separator {
    margin: 0 10px;
}

.episode-breadcrumb .current {
    color: #fff;
}

.episode-header {
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(30, 25, 20, 0.7) 100%);
    padding: 30px;
    border-radius: 16px;
}

.episode-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.episode-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.season-episode-badge {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
}

.episode-meta-info .duration,
.episode-meta-info .release-date {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.episode-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.related-episodes {
    margin-bottom: 50px;
}

.related-episodes .section-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-series {
    text-align: center;
    margin: 40px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(234, 203, 102, 0.4);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154, 116, 45, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .series-hero-section {
        grid-template-columns: 250px 1fr;
        gap: 30px;
        padding: 25px;
    }

    .series-main-title {
        font-size: 32px;
    }

    .episodes-grid-3isq {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .series-hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .series-poster {
        max-width: 300px;
        margin: 0 auto;
    }

    .series-main-title {
        font-size: 28px;
    }

    .series-meta-tags {
        justify-content: center;
    }

    .trailer-btn {
        align-self: center;
    }

    .episodes-header {
        flex-direction: column;
        align-items: stretch;
    }

    .season-selector {
        justify-content: center;
    }

    .episodes-grid-3isq {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .series-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .episode-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .series-single-container {
        padding: 20px 10px;
    }

    .series-hero-section {
        padding: 20px;
    }

    .series-main-title {
        font-size: 24px;
    }

    .page-title {
        font-size: 28px;
    }

    .episodes-header h2 {
        font-size: 24px;
    }

    .season-tab {
        padding: 8px 18px;
        font-size: 13px;
    }

    .episodes-grid-3isq {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .episode-title {
        font-size: 14px;
    }

    .episode-details {
        padding: 10px;
    }

    .series-episodes-section {
        padding: 25px 15px;
    }

    .episode-content {
        padding: 20px;
    }
}

/* ==========================================================================
   SINGLE EPISODE PAGE - DETAILED
   ========================================================================== */

.episode-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.episode-header-box {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 25, 20, 0.8) 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.episode-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.episode-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.season-badge {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
}

.episode-badge {
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
}

.quality-badge-header {
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
}

.duration-badge-header,
.date-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.views-badge {
    background: rgba(234, 203, 102, 0.4);
    color: #fff;
    border: 1px solid rgba(234, 203, 102, 0.6);
}

.episode-video-section {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);

}

.video-player-wrapper {
    position: relative;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(234, 203, 102, 0.4);
}

.player-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.play-icon-header {
    font-size: 20px;
}

.player-controls {
    display: flex;
    gap: 10px;
}

.player-quality-btn {
    padding: 8px 18px;
    background: rgba(234, 203, 102, 0.4);
    border: 2px solid rgba(234, 203, 102, 0.6);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-quality-btn:hover {
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    border-color: transparent;
    transform: translateY(-2px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background: #000;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.video-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 16px;
}

.video-share {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: rgba(234, 203, 102, 0.4);
    border-color: rgba(234, 203, 102, 0.6);
    transform: translateY(-2px);
}

.share-btn span:first-child {
    font-size: 16px;
}

/* Video Player Responsive */
@media (max-width: 768px) {
    .player-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        align-items: flex-start;
    }

    .player-title {
        font-size: 16px;
    }

    .video-info-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .video-stats {
        width: 100%;
    }

    .video-share {
        width: 100%;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .player-header {
        padding: 12px 15px;
    }

    .player-title {
        font-size: 14px;
    }

    .player-quality-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .video-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        font-size: 12px;
    }

    .video-info-bar {
        padding: 12px 15px;
    }
}

.episode-description-box {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border-right: 4px solid #667eea;
}

.description-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.episode-content-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 15px;
}

.episode-content-text p {
    margin: 0 0 15px;
}

.download-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.download-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.download-icon {
    font-size: 18px;
}

.episode-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.prev-btn,
.next-btn {
    min-width: 180px;
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-text small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.nav-text strong {
    font-size: 14px;
}

.nav-arrow {
    font-size: 20px;
}

.series-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.series-btn:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.nav-btn-placeholder {
    visibility: hidden;
}

.related-episodes-section {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
}

.related-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-episode-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.related-episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(102, 126, 234, 0.5);
}

.related-episode-link {
    text-decoration: none;
    display: block;
}

.related-thumb {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-episode-card:hover .related-thumb img {
    transform: scale(1.1);
}

.related-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.related-no-thumb span {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.6);
}

.related-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-episode-card:hover .related-overlay {
    opacity: 1;
}

.related-play {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #667eea;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.related-episode-card:hover .related-play {
    transform: scale(1);
}

.related-quality {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
}

.related-info {
    padding: 15px;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 6px;
}

.related-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   EPISODE PAGE RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .episode-main-title {
        font-size: 24px;
    }

    .episode-navigation {
        grid-template-columns: 1fr;
    }

    .nav-btn {
        width: 100%;
    }

    .nav-btn-placeholder {
        display: none;
    }

    .related-episodes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .download-links-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .episode-header-box {
        padding: 20px;
    }

    .episode-main-title {
        font-size: 20px;
    }

    .episode-meta-badges {
        justify-content: center;
    }

    .badge {
        padding: 6px 12px;
        font-size: 11px;
    }

    .episode-description-box,
    .download-section,
    .related-episodes-section {
        padding: 20px 15px;
    }

    .description-title,
    .download-title,
    .related-title {
        font-size: 18px;
    }

    .related-episodes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   LOADING ANIMATION
   ========================================================================== */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
/* ==========================================================================
   PAGINATION STYLES
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.page-numbers:hover {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.page-numbers.current {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.prev, .next {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.prev:hover, .next:hover {
    background: #9a742d;
    border-color: #9a742d;
}

/* Series Archive Pagination Styles */
.series-pagination {
    margin: 40px 0;
    padding: 20px 0;
}

.series-pagination .pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.series-pagination ul.page-numbers {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0px;
    flex-wrap: wrap;
    justify-content: center;
}

.series-pagination ul.page-numbers li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.series-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.series-pagination .page-numbers:hover {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.series-pagination .page-numbers.current {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
    font-weight: bold;
}

.series-pagination .prev, 
.series-pagination .next {
    background: #AD8330;
    color: white;
    border-color: #AD8330;
}

.series-pagination .prev:hover, 
.series-pagination .next:hover {
    background: #9a742d;
    border-color: #9a742d;
}

/* Breadcrumb styles for series pages */
.series-breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
}

.series-breadcrumb a {
    color: #b18d4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.series-breadcrumb a:hover {
    color: #9a742d;
}

.series-breadcrumb .separator {
    margin: 0 10px;
}

.series-breadcrumb .current {
    color: #fff;
}

.series-archive-breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
}

.series-archive-breadcrumb a {
    color: #b18d4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.series-archive-breadcrumb a:hover {
    color: #9a742d;
}

.series-archive-breadcrumb .separator {
    margin: 0 10px;
}

.series-archive-breadcrumb .current {
    color: #fff;
}

/* Next Episode Highlight */
.related-episode-card.next-episode-highlight {
    border: 2px solid #b18d4b;
    box-shadow: 0 0 0 2px rgba(177, 141, 75, 0.3);
    transform: scale(1.05);
    position: relative;
    z-index: 10;
}

.related-episode-card.next-episode-highlight .related-episode-link {
    background: rgba(177, 141, 75, 0.1);
}

.next-episode-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #b18d4b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 20;
    text-transform: uppercase;
}

.next-episode-label {
    display: inline-block;
    background: #b18d4b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
    font-weight: bold;
}
/* ==========================================================================
   HOME PAGE SERIES SECTION - MODERN & FULLY RESPONSIVE
   ========================================================================== */

.home-series-section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.home-series-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.home-series-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Header */
.home-series-header {
    display: flex;
    justify-content: end;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
    flex-wrap: wrap;
}

.home-series-header-content {
    flex: 1;
    min-width: 250px;
	display: none
}

.home-series-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, rgba(234, 203, 102, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-series-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.home-series-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(154, 116, 45, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.home-series-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 141, 75, 0.6);
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
}

.view-all-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.home-series-view-all:hover .view-all-arrow {
    transform: translateX(5px);
}

/* Series Grid */
.home-series-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Series Card */
.home-series-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.home-series-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(177, 141, 75, 0.3), rgba(234, 203, 102, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.home-series-card:hover::before {
    opacity: 1;
}

.home-series-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(177, 141, 75, 0.3);
    border-color: rgba(177, 141, 75, 0.5);
}

.home-series-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* Thumbnail */
.home-series-thumbnail {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
}

.home-series-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.home-series-card:hover .home-series-image {
    transform: scale(1.15);
}

.home-series-no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 203, 102, 0.4) 0%, rgba(234, 232, 102, 0.2) 100%);
}

.no-poster-icon {
    font-size: 80px;
    opacity: 0.6;
}

/* Overlay */
.home-series-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.home-series-card:hover .home-series-overlay {
    opacity: 1;
}

/* Genre Tags on Image (bottom left) */
.home-series-genre-tags {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 3;
}

.home-series-genre-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

/* Rating Badge */
.home-series-rating-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.star-icon {
    font-size: 16px;
}

.rating-value {
    font-size: 15px;
}

/* Episodes Badge */
.home-series-episodes-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.episodes-icon {
    font-size: 16px;
}

.episodes-count {
    font-size: 14px;
}

/* Card Content */
.home-series-card-content {
    padding: 20px;
    background: transparent;
}

.home-series-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #b18d4b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 56px;
    transition: color 0.3s ease;
    text-align: center;
}

.home-series-card:hover .home-series-card-title {
    color: #eacb66;
}

.home-series-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-series-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.meta-icon {
    font-size: 14px;
}

.year-meta {
    background: rgba(234, 203, 102, 0.2);
    border-color: rgba(234, 203, 102, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.genre-meta {
    background: rgba(154, 116, 45, 0.2);
    border-color: rgba(154, 116, 45, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Empty State */
.home-series-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

/* Load More Button */
.home-series-load-more-wrapper {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
}

.home-series-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(154, 116, 45, 0.4);
}

.home-series-load-more-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 141, 75, 0.6);
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
}

.home-series-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-spinner {
    display: inline-block;
    font-size: 18px;
}

/* ==========================================================================
   RESPONSIVE DESIGN - HOME SERIES SECTION
   ========================================================================== */

@media (max-width: 1200px) {
    .home-series-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .home-series-section {
        padding: 50px 20px;
    }

    .home-series-title {
        font-size: 36px;
    }

    .home-series-subtitle {
        font-size: 16px;
    }

    .home-series-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .home-series-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .home-series-section {
        padding: 40px 15px;
    }

    .home-series-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .home-series-title {
        font-size: 32px;
    }

    .home-series-subtitle {
        font-size: 15px;
    }

    .home-series-view-all {
        width: 100%;
        justify-content: center;
    }

    .home-series-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .home-series-card-content {
        padding: 15px;
    }

    .home-series-card-title {
        font-size: 18px;
        min-height: 50px;
    }

    .home-series-genre-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .home-series-section {
        padding: 30px 10px;
    }

    .home-series-title {
        font-size: 28px;
    }

    .home-series-subtitle {
        font-size: 14px;
    }

    .home-series-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-series-card-title {
        font-size: 16px;
        min-height: 44px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .home-series-card-content {
        padding: 12px;
    }

    .home-series-genre-tags {
        bottom: 10px;
        left: 10px;
        gap: 6px;
    }

    .home-series-genre-tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    .home-series-load-more-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .home-series-view-all {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .home-series-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Animation for cards on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-series-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.home-series-card:nth-child(1) { animation-delay: 0.1s; }
.home-series-card:nth-child(2) { animation-delay: 0.2s; }
.home-series-card:nth-child(3) { animation-delay: 0.3s; }
.home-series-card:nth-child(4) { animation-delay: 0.4s; }
.home-series-card:nth-child(5) { animation-delay: 0.5s; }
.home-series-card:nth-child(6) { animation-delay: 0.6s; }
.home-series-card:nth-child(7) { animation-delay: 0.7s; }
.home-series-card:nth-child(8) { animation-delay: 0.8s; }
.home-series-card:nth-child(n+9) { animation-delay: 0.9s; }

.page-heading.bc-type-default.bc-effect-mouse.bc-color-white .container .row .col-md-12.a-center{
    display: none;
}
.et_b_dt_header-overlap .page-heading {
    padding-top: 5em !important;
}
::selection {
    background: #374ba1 !important;
}

/* ==========================================================================
   PLAY PAGES STYLES (Using same styles as series)
   ========================================================================== */

/* Play Archive Breadcrumb - Inherit from Series */
.play-archive-breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
}

.play-archive-breadcrumb a {
    color: #b18d4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.play-archive-breadcrumb a:hover {
    color: #9a742d;
}

.play-archive-breadcrumb .separator {
    margin: 0 10px;
}

.play-archive-breadcrumb .current {
    color: #fff;
}

/* Play Archive Header - Inherit from Series */
.play-archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(234, 203, 102, 0.4) 0%, rgba(234, 232, 102, 0.2) 100%);
    border-radius: 16px;
}

/* Play Grid - Inherit from Series Grid */
.play-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Play Card - Inherit from Series Card */
.play-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.play-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(177, 141, 75, 0.5);
}

/* Play Thumbnail - Inherit from Series Thumbnail */
.play-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.play-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.play-card:hover .play-thumbnail img {
    transform: scale(1.08);
}

/* Play Content - Inherit from Series Content */
.play-content {
    padding: 20px;
}

/* Play Title - Inherit from Series Title */
.play-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}

.play-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.play-title a:hover {
    color: #b18d4b;
}

/* Play Excerpt - Inherit from Series Excerpt */
.play-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Play Meta - Inherit from Series Meta */
.play-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.play-views,
.play-duration {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* View Play Button - Inherit from View Series Button */
.view-play-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.view-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 141, 75, 0.5);
}

/* No Play Found - Inherit from No Series Found */
.no-play-found {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

/* Play Single Container - Inherit from Series Single Container */
.play-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Play Breadcrumb - Inherit from Series Breadcrumb */
.play-breadcrumb {
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
}

.play-breadcrumb a {
    color: #b18d4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.play-breadcrumb a:hover {
    color: #9a742d;
}

.play-breadcrumb .separator {
    margin: 0 10px;
}

.play-breadcrumb .current {
    color: #fff;
}

/* Play Hero Section - Inherit from Series Hero Section */
.play-hero-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 25, 20, 0.8) 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Play Poster - Inherit from Series Poster */
.play-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.play-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Play Main Info - Inherit from Series Main Info */
.play-main-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Play Main Title - Inherit from Series Main Title */
.play-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

/* Play Meta Tags - Inherit from Series Meta Tags */
.play-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.play-type-tag,
.play-work-type-tag,
.play-date-tag,
.play-duration-tag,
.play-views-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.play-type-tag {
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
    font-weight: 700;
    border: none;
}

.play-work-type-tag {
    background: rgba(234, 203, 102, 0.4);
    border-color: rgba(234, 203, 102, 0.6);
}

.play-date-tag {
    background: rgba(234, 232, 102, 0.2);
    border-color: rgba(234, 232, 102, 0.4);
}

.play-duration-tag {
    background: rgba(154, 116, 45, 0.3);
    border-color: rgba(154, 116, 45, 0.5);
}

.play-views-tag {
    background: rgba(234, 203, 102, 0.4);
    border-color: rgba(234, 203, 102, 0.6);
}

/* Play Story - Inherit from Series Story */
.play-story {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    border-right: 4px solid #b18d4b;
}

.play-story h3 {
    font-size: 20px;
    color: #b18d4b;
    margin: 0 0 12px;
    font-weight: 700;
}

.play-story p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

/* Play Additional Info - Inherit from Series Additional Info */
.play-additional-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.play-additional-info .info-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.play-additional-info .info-item strong {
    color: #b18d4b;
    margin-left: 8px;
}

/* Play Video Section - Inherit from Episode Video Section */
.play-video-section {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

/* Play Description Box - Inherit from Episode Description Box */
.play-description-box {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border-right: 4px solid #667eea;
}

.play-description-box .description-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Play Content Text - Inherit from Episode Content Text */
.play-content-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 15px;
}

.play-content-text p {
    margin: 0 0 15px;
}

/* Related Plays Section - Inherit from Related Episodes Section */
.related-plays-section {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 16px;
    padding: 40px 30px;
}

.related-plays-section .related-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Related Plays Grid - Inherit from Related Episodes Grid */
.related-plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Related Play Card - Inherit from Related Episode Card */
.related-play-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.related-play-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(102, 126, 234, 0.5);
}

.related-play-card .related-episode-link {
    text-decoration: none;
    display: block;
}

.related-play-card .related-thumb {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.related-play-card .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-play-card:hover .related-thumb img {
    transform: scale(1.1);
}

.related-play-card .related-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-play-card:hover .related-overlay {
    opacity: 1;
}

.related-play-card .related-info {
    padding: 15px;
}

.related-play-card .related-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 6px;
}

/* Responsive Design for Play Pages */
@media (max-width: 1024px) {
    .play-hero-section {
        grid-template-columns: 250px 1fr;
        gap: 30px;
        padding: 25px;
    }

    .play-main-title {
        font-size: 32px;
    }

    .play-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .play-hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .play-poster {
        max-width: 300px;
        margin: 0 auto;
    }

    .play-main-title {
        font-size: 28px;
    }

    .play-meta-tags {
        justify-content: center;
    }

    .play-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .related-plays-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .play-single-container {
        padding: 20px 10px;
    }

    .play-hero-section {
        padding: 20px;
    }

    .play-main-title {
        font-size: 24px;
    }

    .play-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .related-plays-grid {
        grid-template-columns: 1fr 1fr;
    }
}