/*  =================================================================
    Bobur Khan 2026 | telegram: @iKhanUz / @boburxon | https://boburkhan.uz
    ================================================================= */
:root {
    --main-bg: #0f0f0f;
    --secondary-bg: #181818;
    --sidebar-bg: #121212;
    --text-main: #e0e0e0;
    --text-muted: #aaaaaa;
    --accent-color: #2ecc71;
    --accent-hover: #27ae60;
    --border-color: #2a2a2a;
    --card-radius: 6px;
}

*,
::before,
::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--main-bg);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: 0.2s;
}

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

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

/* ==================== HEADER ==================== */
.pirate-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-logo-area {
    width: 220px;
    /* 240px sidebar minus 20px padding */
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-right-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    line-height: 1;
    text-decoration: none;
}

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

.header-logo-img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.search-container {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.search-container form {
    width: 100%;
    max-width: 650px;
    position: relative;
    margin: 0;
}

.search-input {
    background: var(--main-bg);
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    padding: 9px 15px 9px 40px;
    width: 100%;
    transition: 0.3s;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 20px;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.2s;
    text-decoration: none;
    color: var(--text-main);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(46, 204, 113, 0.1);
    color: #fff;
}

.search-result-img {
    width: 40px;
    height: 55px;
    border-radius: 4px;
    object-fit: cover;
}

.search-result-info {
    flex-grow: 1;
    overflow: hidden;
}

.search-result-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* DLE ning o'zidan keladigan AJAX qidiruv elementlarini stillash */
.search-results-dropdown a {
    display: grid !important;
    grid-template-columns: 40px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 2px !important;
    padding: 10px 15px !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: 0.2s !important;
    text-decoration: none !important;
    color: var(--text-main) !important;
}

.search-results-dropdown a:last-child {
    border-bottom: none !important;
}

.search-results-dropdown a:hover {
    background: rgba(46, 204, 113, 0.1) !important;
    color: #fff !important;
}

.search-results-dropdown a img {
    grid-row: span 2 !important;
    width: 40px !important;
    height: 55px !important;
    border-radius: 4px !important;
    object-fit: cover !important;
    float: none !important;
    margin: 0 !important;
}

.search-results-dropdown .searchheading {
    grid-column: 2 !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.search-results-dropdown a span:not(.searchheading) {
    grid-column: 2 !important;
    display: block !important;
    font-size: 11px !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* DLE "Batafsil qidiruv" (searchelements) qismini stillash */
.search-results-dropdown .searchelements {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.search-results-dropdown .searchelements a {
    display: block !important;
    text-align: center !important;
    padding: 10px 15px !important;
    font-size: 12px !important;
    color: var(--accent-color) !important;
    font-weight: bold !important;
    background: rgba(255, 255, 255, 0.01) !important;
    border: none !important;
}

.search-results-dropdown .searchelements a:hover {
    background: rgba(46, 204, 113, 0.1) !important;
    color: #fff !important;
}



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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
    background: #000;
}

.telegram-btn {
    background: #229ED9;
    color: white !important;
    font-weight: bold;
    transition: 0.3s;
}

.telegram-btn:hover {
    background: #1c88ba;
    transform: translateY(-2px);
}

/* ==================== SIDEBAR ==================== */
.pirate-sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 240px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    z-index: 990;
    padding: 15px 0;
    transition: left 0.3s ease-in-out;
}

.menu-cat {
    font-size: 11px;
    font-weight: bold;
    color: #666;
    padding: 15px 20px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #bbb;
    font-weight: 500;
    border-left: 3px solid transparent;
    margin-bottom: 2px;
}

.menu-link:hover,
.menu-link.active {
    background: rgba(46, 204, 113, 0.08);
    color: #fff;
    border-left-color: var(--accent-color);
}

.menu-link i {
    width: 28px;
    font-size: 20px;
    transition: 0.2s;
}

.menu-link:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* ==================== CONTENT ==================== */
.main-wrapper {
    margin-top: 60px;
    margin-left: 240px;
    padding: 20px;
}

/* Hero Carousel (Swiper) */
.hero-swiper {
    width: 100%;
    padding-bottom: 40px;
    margin-bottom: 10px;
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    width: 80%;
    transition: all 0.4s ease;
    opacity: 0.4;
    transform: scale(0.9);
    border-radius: var(--card-radius);
    overflow: hidden;
    background: var(--secondary-bg);
}

.hero-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.slide-bg {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--card-radius);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 40%);
}

.hero-content-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    right: 20px;
}

.hero-content-box h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-meta span {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    color: #ddd;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-meta .hero-rating {
    background: var(--accent-color);
    color: #000;
    font-weight: 800;
}

.btn-play-hero {
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
    text-decoration: none;
}

.btn-play-hero:hover {
    background: var(--accent-hover);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

/* Pagination Dots */
.hero-swiper .swiper-pagination-bullet {
    background: #555;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: 0.3s;
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
    width: 25px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .hero-swiper .swiper-slide {
        width: 95%;
    }

    .slide-bg {
        height: 210px;
    }

    .hero-content-box h2 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .hero-meta {
        margin-bottom: 12px;
        gap: 6px;
    }

    .hero-meta span {
        font-size: 9px;
        padding: 3px 6px;
    }

    .btn-play-hero {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-content-box {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
}


/* Filter Buttons */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.filter-btn {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: #ccc;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    font-weight: bold;
}

/* ==================== POSTER GRID & WIDGET ==================== */
.content-with-widget {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-col {
    flex-grow: 1;
}

.widget-col {
    width: 100%;
}

@media (min-width: 1200px) {
    .content-with-widget {
        flex-direction: row;
    }

    .widget-col {
        width: 280px;
        flex-shrink: 0;
    }
}

.top10-widget {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 15px;
    counter-reset: top10-counter;
}

.top10-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.top10-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: 0.2s;
    counter-increment: top10-counter;
}

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

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

.top10-rank {
    font-size: 28px;
    font-weight: 900;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.top10-rank::before {
    content: counter(top10-counter);
}

.top10-item:nth-child(2) .top10-rank {
    color: #ffab00;
}

.top10-item:nth-child(3) .top10-rank {
    color: #9E9E9E;
}

.top10-item:nth-child(4) .top10-rank {
    color: #cd7f32;
}

.top10-poster {
    width: 45px;
    height: 65px;
    border-radius: 4px;
    object-fit: cover;
}

.top10-poster-link {
    display: block;
    flex-shrink: 0;
}

.top10-info {
    flex-grow: 1;
    overflow: hidden;
    min-width: 0;
}

.top10-name {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top10-name:hover {
    color: var(--accent-color);
}

.top10-meta {
    color: var(--text-muted);
    font-size: 11px;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.movie-item {
    position: relative;
    background: var(--secondary-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid transparent;
}

.movie-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.poster-box {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.poster-box a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.poster-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.movie-item:hover .poster-box img {
    transform: scale(1.05);
}

.quality-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent-color);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.year-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
    padding: 15px 8px;
    text-align: center;
}

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

.overlay-desc {
    font-size: 11px;
    color: #ccc;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.play-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 26px;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    transform: scale(0.8);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.movie-item:hover .play-icon {
    transform: scale(1);
}

.movie-details {
    padding: 10px;
}

.movie-title {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    color: #fff;
}

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

.rating-box {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 171, 0, 0.1);
    color: #ffab00;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.fs-12 {
    font-size: 12px;
}

.fs-16 {
    font-size: 16px;
}

/* ==================== PAGINATION & FOOTER ==================== */
.load-more-btn {
    background: transparent;
    border: 1px solid #444;
    color: var(--text-main);
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
}

.load-more-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(46, 204, 113, 0.05);
}

.pirate-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: #777;
}

.pirate-footer a {
    color: #aaa;
    margin: 0 10px;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .header-logo-area {
        width: auto;
    }

    .pirate-sidebar {
        left: -240px;
        top: 0;
        z-index: 1050;
    }

    .pirate-sidebar.active {
        left: 0;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .search-container {
        display: none;
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .sidebar-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-content-box h2 {
        font-size: 20px;
    }
}

/* ==================== MOVIE SHOW PAGE ==================== */
.player-container {
    width: 100%;
    background: #000;
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    aspect-ratio: 16/9;
}

.player-placeholder {
    width: 100%;
    height: 100%;
    background: url('https://image.tmdb.org/t/p/w1280/8rpDcsfLJypbO6vtecsmEZzDZsn.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.player-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.huge-play-btn {
    font-size: 80px;
    color: var(--accent-color);
    z-index: 2;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: 0 0 30px rgba(46, 204, 113, 0.8);
}

.huge-play-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.movie-header-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
    transition: 0.5s;
}

.movie-poster-large {
    width: 180px;
    border-radius: var(--card-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.movie-info-large {
    flex-grow: 1;
}

.movie-title-large {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.movie-meta-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.meta-chip {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.meta-chip.chip-rating {
    background: var(--accent-color);
    color: #000;
}

.movie-story {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.download-zone {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dl-btn {
    background: #2a2a2a;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #444;
    transition: 0.2s;
    text-decoration: none;
}

.dl-btn:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

body {
    transition: background 0.5s;
}

.pirate-header,
.pirate-sidebar,
.pirate-footer,
.similar-section {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.lights-out .pirate-header,
body.lights-out .pirate-sidebar,
body.lights-out .movie-header-details,
body.lights-out .pirate-footer,
body.lights-out .similar-section {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

body.lights-out {
    background: #000 !important;
}

.lights-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.lights-btn.active {
    background: var(--accent-color);
    color: #000;
}

.lights-btn:hover {
    background: var(--accent-color);
    color: #000;
}

@media (max-width: 991px) {
    .movie-poster-large {
        display: none;
    }

    .movie-title-large {
        font-size: 24px;
    }

    .pirate-sidebar {
        left: -240px;
        top: 0;
        z-index: 1050;
    }

    .pirate-sidebar.active {
        left: 0;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .search-container {
        display: none;
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .sidebar-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-content-box h2 {
        font-size: 20px;
    }
}

/* ================================================================
   SHOW PAGE — FULL COMPONENT STYLES
   ================================================================ */

/* Hero banner */
.show-hero {
    position: relative;
    background: #111116;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.show-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 24px;
}

.show-hero-row {
    display: flex;
    gap: 28px;
    align-items: center;
    width: 100%;
}

.show-hero-poster {
    width: 150px !important;
    height: 220px !important;
    flex: 0 0 150px !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f0f14;
}

.show-hero-poster img {
    width: 150px !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block;
}

.show-hero-info {
    flex: 1;
    min-width: 0;
}

/* Breadcrumb */
.show-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    color: #888;
}

.show-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.show-breadcrumb li:last-child {
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #bbb;
}

.show-breadcrumb li+li::before {
    content: '/';
    margin-right: 4px;
    color: #555;
}

.show-breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.show-breadcrumb a:hover {
    text-decoration: underline;
}

/* Badges */
.show-badges {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.show-badges li {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.show-badges .badge-imdb {
    background: #f5c518;
    color: #000;
    border-color: #f5c518;
}

.show-badges .badge-age {
    background: transparent;
    color: #f39c12;
    border-color: #f39c12;
}

.show-badges .badge-hd {
    background: rgba(46, 204, 113, 0.15);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Show title */
.show-title {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 8px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.show-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

/* Action buttons */
.show-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: #000;
    font-weight: 800;
    font-size: 15px;
    padding: 11px 26px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.btn-watch:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 22px rgba(46, 204, 113, 0.45);
    color: #000;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* Icon-only action buttons like bookmark and share */
.show-actions button.btn-action {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    flex-shrink: 0;
}

/* Player */
.player-box {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    margin-bottom: 12px;
}

.player-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .3s;
}

.player-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: opacity .3s;
}

.player-play-btn {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #000;
    animation: pulse-ring 2s infinite;
    transition: transform .25s;
}

.player-box:hover .player-play-btn {
    transform: scale(1.12);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55);
    }

    70% {
        box-shadow: 0 0 0 22px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.player-hint {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
}

/* Source bar */
.source-bar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.source-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    letter-spacing: .5px;
}

.source-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.source-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #bbb;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.source-btn.active,
.source-btn:hover {
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
}

.source-hint {
    font-size: 11px;
    color: #555;
    margin: 0;
    width: 100%;
}

/* Lights-out button */
.lights-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #ddd;
    font-size: 12px;
    padding: 6px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .2s, border-color .2s, color .2s;
}

.lights-btn:hover,
.lights-btn.active {
    background: rgba(46, 204, 113, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

body.lights-out .main-wrapper {
    background: #000 !important;
}

body.lights-out header {
    opacity: 0.1;
    pointer-events: none;
}

/* Content grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    margin-bottom: 48px;
}

/* Tabs */
.show-tabs {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.show-tabs::-webkit-scrollbar {
    display: none;
}

.show-tab {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s;
}

.show-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.show-tab:hover {
    color: #ddd;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Section headings inside tabs */
.section-heading {
    font-size: 16px;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 16px;
}

/* Movie description */
.movie-description {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

/* Info table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    font-size: 13px;
}

.info-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #888;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 10px 14px;
    white-space: nowrap;
    width: 140px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.info-table td {
    color: #ddd;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Download zone */
.download-zone {
    margin-top: 20px;
}

.zone-title {
    font-size: 15px;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zone-title i {
    color: var(--accent-color);
}

.dl-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #ccc;
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
}

.dl-btn small {
    font-weight: 400;
    color: #666;
}

.dl-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(46, 204, 113, 0.06);
}

.dl-btn--primary {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    font-weight: 800;
}

.dl-btn--primary small {
    color: rgba(0, 0, 0, 0.6);
}

.dl-btn--primary:hover {
    background: var(--accent-hover);
    color: #000;
}

.dl-btn--telegram {
    background: #229ED9;
    color: #fff;
    border-color: #229ED9;
}

.dl-btn--telegram:hover {
    background: #1b87bb;
    color: #fff;
}

/* Cast */
.cast-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.cast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 85px;
    text-align: center;
    flex-shrink: 0;
}

.cast-photo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color .2s;
}

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

.cast-name {
    font-size: 12px;
    font-weight: 600;
    color: #ddd;
    line-height: 1.2;
}

.cast-role {
    font-size: 11px;
    color: #777;
}

/* Trailer */
.trailer-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    background: #000;
}

.trailer-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: opacity .3s;
}

.trailer-box:hover .trailer-poster {
    opacity: 0.85;
}

.trailer-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trailer-play-btn {
    width: 60px;
    height: 60px;
    background: rgba(220, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    transition: transform .2s, background .2s;
}

.trailer-box:hover .trailer-play-btn {
    transform: scale(1.1);
    background: #e00;
}

.trailer-caption {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}

/* Rating block */
.rating-block {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 90px;
}

.rating-number {
    font-size: 40px;
    font-weight: 900;
    color: #f5c518;
    line-height: 1;
}

.rating-max {
    font-size: 15px;
    color: #666;
}

.rating-stars i {
    color: #f5c518;
    font-size: 15px;
}

.rating-count {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.rating-bars {
    flex: 1;
    min-width: 200px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rbar-label {
    font-size: 12px;
    color: #888;
    width: 28px;
    flex-shrink: 0;
}

.rbar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.rbar-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    width: var(--w, 0%);
}

.rbar-pct {
    font-size: 12px;
    color: #666;
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* Comments */
.comment-count {
    color: #666;
    font-weight: 500;
    font-size: 15px;
}

.comment-form-wrap {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
}

.comment-form-title {
    font-size: 14px;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 12px;
}

.comment-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    padding: 10px 14px;
    resize: none;
    font-size: 13px;
    margin-bottom: 12px;
    display: block;
    transition: border-color .2s, box-shadow .2s;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.comment-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    cursor: pointer;
    font-size: 13px;
    transition: background .2s;
}

.comment-submit-btn:hover {
    background: var(--accent-hover);
}

.comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-avatar-box img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(255, 255, 255, 0.05) !important;
    display: block !important;
}

.comment-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
}

.comment-card:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.comment-admin-btn {
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}

.comment-admin-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.comment-action-btn {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.comment-action-btn:hover {
    opacity: 1;
}

/* Style the mass action checkbox inside the header */
.comment-checkbox-wrapper input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: background 0.2s, border-color 0.2s !important;
}

.comment-checkbox-wrapper input[type="checkbox"]:checked {
    background: var(--accent-color, #2ecc71) !important;
    border-color: var(--accent-color, #2ecc71) !important;
}

.comment-checkbox-wrapper input[type="checkbox"]:checked::after {
    content: "✓" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #000 !important;
    font-size: 10px !important;
    font-weight: bold !important;
}

/* Style the mass action dropdown and execute button */
form[name="comments-form"] select,
#dle-comments-form select,
.comments-wrap select {
    background: #1a1c23 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    outline: none !important;
    font-size: 13px !important;
    cursor: pointer !important;
    font-family: inherit !important;
}

form[name="comments-form"] button,
form[name="comments-form"] input[type="submit"],
.comments-wrap button[type="submit"],
.comments-wrap input[type="submit"],
.comments-wrap select+input[type="button"],
.comments-wrap select+button {
    background: var(--accent-color, #2ecc71) !important;
    color: #000 !important;
    border: none !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
    margin-left: 8px !important;
    font-family: inherit !important;
}

form[name="comments-form"] button:hover,
form[name="comments-form"] input[type="submit"]:hover,
.comments-wrap button[type="submit"]:hover {
    opacity: 0.9 !important;
}

/* Widget (aside) */
.content-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
}

.widget-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #666;
    margin-bottom: 14px;
}

.widget-info-list {
    margin: 0;
}

.widget-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.widget-info-row:last-child {
    border-bottom: none;
}

.widget-info-row dt {
    color: #888;
    font-weight: 400;
}

.widget-info-row dd {
    color: #ddd;
    margin: 0;
    font-weight: 500;
}

.rating-imdb {
    color: #f5c518;
    font-weight: 700;
}

.rating-rt {
    color: #f15a29;
    font-weight: 700;
}

.quality-label {
    color: var(--accent-color);
    font-weight: 700;
}

.tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.07);
    color: #bbb;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

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

/* Similar section */
.similar-section {
    margin-top: 48px;
}

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

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #ddd;
    margin: 0;
}

.section-title i {
    color: var(--accent-color);
}

.section-more {
    font-size: 13px;
    color: var(--accent-color);
    text-decoration: none;
}

.section-more:hover {
    text-decoration: underline;
}

.quality-tag--cam {
    background: #e74c3c !important;
    color: #fff !important;
}

/* Footer */
.pirate-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    margin-bottom: 10px;
}

.pirate-footer nav a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
}

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

/* Responsive */
@media (max-width: 991px) {
    .content-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .content-main {
        order: 1;
    }

    .content-aside {
        order: 2;
    }

    .widget-info-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .widget-info-row {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 768px) {
    .show-title {
        font-size: 19px;
        line-height: 1.25;
    }

    .show-hero {
        min-height: auto;
    }

    .show-hero-inner {
        padding: 16px 14px 14px;
    }

    .show-hero-row {
        gap: 16px;
        align-items: flex-start;
    }

    .show-hero-poster {
        width: 100px !important;
        height: 150px !important;
        flex: 0 0 100px !important;
        border-radius: 8px;
        border-width: 1px;
    }

    .show-hero-poster img {
        width: 100px !important;
        height: 150px !important;
    }

    .show-breadcrumb {
        margin-bottom: 8px;
        flex-wrap: nowrap;
    }

    .show-breadcrumb li:last-child {
        display: none;
    }

    .show-badges {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 8px;
        margin-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .show-badges::-webkit-scrollbar {
        display: none;
    }

    .show-badges li {
        flex: 0 0 auto;
        font-size: 10px;
        padding: 3px 8px;
    }

    .info-table {
        font-size: 12px;
    }

    .info-table th {
        width: 110px;
    }

    .rating-block {
        flex-direction: column;
    }

    .widget-info-list {
        grid-template-columns: 1fr;
    }

    /* Mobile download zone improvements */
    .download-zone {
        display: block !important;
        width: 100%;
        margin-top: 24px;
    }

    .dl-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .dl-group .dl-btn {
        width: 100%;
        justify-content: center;
        height: 44px;
        font-size: 14px;
    }
}

/* Sidebar styles for show page */
.sidebar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.sidebar-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.menu-toggle-btn,
.mobile-search-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================================================
   SERIAL PAGE — SEASON & EPISODE SELECTOR
   ================================================================ */

.episodes-block {
    margin-top: 20px;
}

.season-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.season-btn {
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.06);
    color: #bbb;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}

.season-btn.active,
.season-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 8px;
}

.episode-grid a,
.episode-grid span,
.episode-grid b,
.episode-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0 4px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.06);
    color: #bbb;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s, transform .1s;
}

.episode-grid a.active,
.episode-grid span.active,
.episode-grid b,
.episode-grid a:hover,
.episode-btn.active,
.episode-btn:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #000 !important;
}

.episode-grid a:active,
.episode-btn:active {
    transform: scale(0.93);
}

/* Series navigation buttons */
.ep-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ep-nav-top span,
.ep-nav-top div {
    display: contents;
}

.ep-nav-top a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    height: 44px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
    cursor: pointer;
}

.ep-nav-top a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.ep-nav-top a:active {
    transform: scale(0.96);
}

.ep-nav-top span.disabled {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    height: 44px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

/* ================================================================
   INLINE STYLE REPLACEMENTS — extracted from HTML files
   ================================================================ */

/* Sidebar mobile header inner divider */
.sidebar-mobile-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
    padding: 12px 16px;
}

/* Mobile search box — hidden by default via JS toggle */
.mobile-search-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
}

/* Search icon inside mobile search field */
.mobile-search-nav .search-icon {
    left: 15px;
}

/* Section heading small (filter row title) */
.section-heading-sm {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}

/* Search results page title */
.search-results-title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}

/* Empty results box */
.empty-results-box {
    background: rgba(44, 62, 80, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Hero slider — background via CSS custom property */
.swiper-slide[style*="--slide-bg"] {
    background-image: var(--slide-bg);
    background-size: cover;
    background-position: center;
}

/* Active filter button */
.filter-btn.active {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: var(--accent-color);
}

/* Top10 widget meta badge */
.top10-meta-badge {
    background: var(--secondary-bg);
    color: #888;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
}

/* Category page: active filter highlight box */
.active-filter-box {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Search page: info panel box */
.info-panel-box {
    background: rgba(44, 62, 80, 0.4);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
}

/* Cast photo fallback background */
.cast-photo {
    background-color: var(--secondary-bg);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 30%, transparent 70%);
}

/* Responsive Action buttons for mobile viewports */
@media (max-width: 576px) {
    .show-subtitle {
        display: none !important;
    }

    .show-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px;
        width: 100%;
        margin-top: 14px;
    }

    .show-actions .btn-watch {
        flex: 1;
        width: auto;
        justify-content: center;
        height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

    .show-actions button.btn-action {
        width: 40px;
        height: 40px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #fff;
    }
}

/* ===== GLOBAL COMMENTS & ADDCOMMENTS STYLE ===== */
.premium-comments-section {
    animation: fadeIn 0.4s ease;
    width: 100%;
    margin-top: 20px;
}

.page__ac {
    margin-bottom: 25px;
}

.no-comments-msg {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted, #9ca3af);
    font-size: 15px;
    background: var(--bg-card, #1a1c23);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.05));
    border-radius: 12px;
}

.no-comments-msg i {
    margin-right: 8px;
    font-size: 18px;
}

.ac-form {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 24px !important;
}

.ac-form__header {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.ac-form__input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-main, #fff) !important;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease !important;
}

.ac-form__input:focus {
    border-color: var(--accent-color, #2ecc71) !important;
    background: rgba(0, 0, 0, 0.35) !important;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.15) !important;
}

.ac-form__editor {
    margin-bottom: 12px;
}

.ac-form__editor textarea,
.ac-form__editor .bb-editor {
    width: 100% !important;
    min-height: 120px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-main, #fff) !important;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease !important;
}

.ac-form__editor textarea:focus,
.ac-form__editor .bb-editor:focus {
    border-color: var(--accent-color, #2ecc71) !important;
    background: rgba(0, 0, 0, 0.35) !important;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.15) !important;
}

/* DLE Editor styling overrides */
.bb-editor {
    background: #0e0f13 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    color: #fff !important;
    overflow: hidden;
}

.bb-pane {
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.bb-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #bbb !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: all 0.2s !important;
}

.bb-btn:hover {
    background: var(--accent, #00e676) !important;
    color: #000 !important;
}

.bb-editor textarea {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 12px !important;
    font-size: 14px !important;
    min-height: 150px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    resize: none !important;
}

/* Captcha overrides */
.ac-form__captcha img {
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ac-form__captcha img:hover {
    opacity: 0.8;
}

.ac-form__label {
    display: block;
    color: var(--text-muted, #9ca3af);
    font-size: 13px;
    margin-bottom: 5px;
}

.ac-form__protect {
    margin-bottom: 12px;
}

.ac-form__row {
    margin-bottom: 10px;
}

.ac-form__captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ac-form__captcha .ac-form__input {
    flex: 1;
}

.ac-form__bottom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ac-form__btn {
    background: var(--accent-color, #2ecc71) !important;
    color: #000 !important;
    border: none !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    cursor: pointer !important;
    transition: 0.2s !important;
}

.ac-form__btn:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .ac-form__header {
        flex-direction: column;
    }
}

/* ===== DLE ADVANCED SEARCH STYLING ===== */
.movie-grid>form[name="search"],
.movie-grid>form[name="fullsearch"] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    grid-column: 1 / -1;
    width: 100%;
}

.movie-grid>.category-header,
.movie-grid>.search-form-card,
.movie-grid form[name="search"] .category-header,
.movie-grid form[name="fullsearch"] .category-header,
.movie-grid form[name="search"] .search-form-card,
.movie-grid form[name="fullsearch"] .search-form-card {
    grid-column: 1 / -1;
    width: 100%;
}

.searchtable-wrapper table {
    width: 100% !important;
    border-spacing: 0;
    border-collapse: separate;
}

.searchtable-wrapper td {
    padding: 10px 0;
    vertical-align: middle;
    color: #ccc;
    font-size: 14px;
}

.searchtable-wrapper td.search {
    padding: 15px 0;
}

/* Style the search inputs and selects */
.searchtable-wrapper input[type="text"],
.searchtable-wrapper select,
.searchtable-wrapper textarea {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.searchtable-wrapper input[type="text"]:focus,
.searchtable-wrapper select:focus,
.searchtable-wrapper textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1) !important;
}

/* Buttons in search form */
.searchtable-wrapper input[type="button"],
.searchtable-wrapper input[type="submit"],
.searchtable-wrapper button {
    background: var(--accent-color) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin-right: 8px;
}

.searchtable-wrapper input[type="button"]:hover,
.searchtable-wrapper input[type="submit"]:hover,
.searchtable-wrapper button:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

/* Style the gray/green stats card: DLE search result messages */
.searchtable-wrapper td[style*="background"] {
    background: rgba(46, 204, 113, 0.05) !important;
    border: 1px solid rgba(46, 204, 113, 0.15) !important;
    color: var(--accent-color) !important;
    border-radius: 10px;
    padding: 15px !important;
    display: block;
    margin-top: 15px;
    line-height: 1.6;
}

/* DLE search table labels and checkbox containers */
.searchtable-wrapper label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
}

.searchtable-wrapper input[type="checkbox"],
.searchtable-wrapper input[type="radio"] {
    accent-color: var(--accent-color);
    cursor: pointer;
}

/* Episode active tag in title */
.gen-ep-tag {
    display: inline-block;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.22);
    color: var(--accent-color) !important;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px;
    vertical-align: middle;
    text-shadow: none;
}

@media (max-width: 768px) {
    .gen-ep-tag {
        margin-left: 0;
        margin-top: 6px;
        display: inline-block;
    }
}

/* ==================== SHARE MODAL ==================== */
.share-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.share-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.share-modal-box {
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 90%;
    max-width: 440px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.share-modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-close:hover {
    color: #fff;
}

.share-modal-desc {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 16px;
}

.share-platforms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.share-platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s, background 0.2s;
}

.share-platform-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.share-platform-btn i {
    font-size: 20px;
}

.share-platform-btn.telegram {
    background: #2481cc;
}

.share-platform-btn.telegram:hover {
    background: #2893e6;
}

.share-platform-btn.facebook {
    background: #1877f2;
}

.share-platform-btn.facebook:hover {
    background: #2e85f4;
}

.share-platform-btn.whatsapp {
    background: #25d366;
}

.share-platform-btn.whatsapp:hover {
    background: #2adb70;
}

.share-platform-btn.twitter {
    background: #1da1f2;
}

.share-platform-btn.twitter:hover {
    background: #33b1ff;
}

.share-copy-container {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px;
}

.share-copy-container input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    outline: none;
    min-width: 0;
}

.share-copy-container button {
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.share-copy-container button:hover {
    background: #2be072;
}

/* ===== DLE AJAX MODAL DIALOG OVERRIDES ===== */
.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #1a1c23 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.75) !important;
    z-index: 10000 !important;
    width: 90% !important;
    max-width: 450px !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-family: inherit !important;
    animation: dialogZoomIn 0.25s ease-out;
}

@keyframes dialogZoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.ui-widget-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9999 !important;
    animation: fadeIn 0.2s ease-out;
}

.ui-dialog-titlebar {
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.ui-dialog-title {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.ui-dialog-titlebar-close {
    background: none !important;
    border: none !important;
    color: #999 !important;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    transition: color 0.2s !important;
}

.ui-dialog-titlebar-close:hover {
    color: #fff !important;
}

.ui-dialog-titlebar-close span {
    display: none !important;
}

.ui-dialog-titlebar-close::after {
    content: "×" !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

.ui-dialog-content {
    padding: 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    background: none !important;
    border: none !important;
}

.ui-dialog-buttonpane {
    background: rgba(255, 255, 255, 0.02) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 20px !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.ui-dialog-buttonset {
    display: flex !important;
    gap: 8px !important;
}

.ui-dialog-buttonset button {
    background: var(--accent-color, #2ecc71) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
}

.ui-dialog-buttonset button:hover {
    opacity: 0.9 !important;
}

/* ===== DLEPUSH NOTIFICATIONS (TOASTS) ===== */
#DLEPush {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 420px !important;
    width: calc(100% - 48px) !important;
    pointer-events: none !important;
}

/* Hide empty templates generated by DLE */
.DLEPush-notification:empty {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    height: 0 !important;
    width: 0 !important;
}

.DLEPush-notification.wrapper {
    pointer-events: auto !important;
    background: #1a1c23 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    color: #fff !important;
    position: relative !important;
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
    animation: pushSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pushSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.DLEPush-notification.push-error {
    border-left: 4px solid #e74c3c !important;
}

.DLEPush-notification.push-success {
    border-left: 4px solid #2ecc71 !important;
}

.DLEPush-notification.push-info {
    border-left: 4px solid #3498db !important;
}

.DLEPush-icon {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    margin-top: 2px !important;
}

.DLEPush-notification.push-error .DLEPush-icon {
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.1) !important;
}

.DLEPush-notification.push-success .DLEPush-icon {
    color: #2ecc71 !important;
    background: rgba(46, 204, 113, 0.1) !important;
}

.DLEPush-notification.push-info .DLEPush-icon {
    color: #3498db !important;
    background: rgba(52, 152, 219, 0.1) !important;
}

.DLEPush-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.DLEPush-message {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    flex: 1 !important;
    padding-right: 18px !important;
}

.DLEPush-header {
    font-weight: 600 !important;
    font-size: 14.5px !important;
    color: #fff !important;
    margin-bottom: 4px !important;
}

.DLEPush-close {
    position: absolute !important;
    top: 12px !important;
    right: 14px !important;
    background: none !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.DLEPush-close:hover {
    color: #fff !important;
    transform: scale(1.1);
}

/* Style the Cancel button in modals as secondary/muted grey */
.ui-dialog-buttonset button:first-child {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ui-dialog-buttonset button:first-child:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Captcha container styling and alignment */
.captcha-img-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    overflow: hidden !important;
}

.captcha-img-box img,
.captcha-img-box a img {
    height: 100% !important;
    max-height: 32px !important;
    width: auto !important;
    border-radius: 4px !important;
    display: block !important;
}

/* ======================================================
   PREMIUM STATIC PAGE STYLING
   ====================================================== */
.static-page-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 15px;
}

.static-page-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    position: relative;
}

.static-page-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.static-page-header .title-underline {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.static-page-body {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 25px;
}

.static-page-body h2,
.static-page-body h3,
.static-page-body h4 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.static-page-body h2 { font-size: 20px; }
.static-page-body h3 { font-size: 18px; }

.static-page-body p {
    margin-bottom: 20px;
}

.static-page-body ul,
.static-page-body ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.static-page-body li {
    margin-bottom: 8px;
}

.static-page-body a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px dashed rgba(46, 204, 113, 0.4);
    padding-bottom: 1px;
}

.static-page-body a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.static-page-body b,
.static-page-body strong {
    color: #fff;
    font-weight: 600;
}

/* Specific support for DLE content formats inside static pages */
.static-page-body .block-input.fstory-content {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 25px;
}

/* Hide SEO check spam texts if DLE default template has them */
.static-page-body span[style*="display:none;"],
.static-page-body span[style*="display: none;"] {
    display: none !important;
}

/* Static page pagination styling */
.static-pagination a,
.static-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.static-pagination a {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.static-pagination a:hover {
    background: rgba(46, 204, 113, 0.1);
    color: var(--accent-color);
    border-color: rgba(46, 204, 113, 0.3);
}

.static-pagination span {
    background: var(--accent-color);
    color: #000;
    border: 1px solid var(--accent-color);
    font-weight: 600;
}

/* ======================================================
   PREMIUM FEEDBACK PAGE STYLING
   ====================================================== */
.feedback-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    position: relative;
}

.feedback-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.feedback-header .title-underline {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.feedback-body {
    margin-top: 25px;
}

.feedback-body select,
.recipient-select-wrapper select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px !important;
    border-radius: 8px !important;
    outline: none !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.feedback-body select option {
    background-color: #111;
    color: #fff;
}

.feedback-body select:focus,
.feedback-body input:focus,
.feedback-body textarea:focus {
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25) !important;
    border-color: var(--accent-color) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
}

/* FOOTER COUNTERS */
.footer-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-counter a {
    margin: 0 !important;
    opacity: 0.65;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: inline-flex;
}

.footer-counter a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-counter img {
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: border-color 0.25s ease;
}

.footer-counter a:hover img {
    border-color: rgba(46, 204, 113, 0.3) !important;
}