:root {
    --bg-main: #05060a;
    --bg-panel: #10121b;
    --bg-header: #090a11;
    --accent: #ffb74d;
    --accent-soft: rgba(255, 183, 77, 0.16);
    --text-main: #f5f7ff;
    --text-muted: #9da3ba;
    --border-soft: #2a2d3c;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at top, #141629 0, #05060a 45%);
    color: var(--text-main);
}
a { color: #8fb1ff; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { min-height: 100vh; display: flex; flex-direction: column; }

.header {
    background: rgba(5, 6, 16, 0.96);
    border-bottom: 1px solid #141623;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
}
.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark {
    width: 32px; height: 32px; border-radius: 10px;
    background: radial-gradient(circle at 30% 0, #ffd27f 0, #ff9800 40%, #ff6d00 80%);
    box-shadow: 0 0 20px rgba(255, 160, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #1c1305; font-size: 18px;
}
.logo-text { font-weight: 700; letter-spacing: 0.03em; }
.logo-sub {
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase;
}
.nav {
    display: flex; gap: 14px; font-size: 14px;
}
.nav a {
    color: var(--text-muted);
    padding: 6px 10px; border-radius: 999px;
    border: 1px solid transparent;
}
.nav a:hover {
    border-color: #262a3c;
    background: rgba(255,255,255,0.02);
}
.nav a.active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.main {
    flex: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}
.breadcrumbs {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs span.current { color: #e5e9ff; }

.card-film {
    background: radial-gradient(circle at 0 0, #20243a 0, #151727 30%, #10121b 70%);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(108, 115, 160, 0.28);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(186, 189, 226, 0.03);
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 20px;
}
.poster-wrap { position: relative; border-radius: 18px; overflow: hidden; }
.poster-wrap img { display: block; width: 100%; height: auto; }
.poster-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 50%);
    pointer-events: none;
}
.badge-type {
    position: absolute; left: 10px; top: 10px;
    padding: 4px 10px; border-radius: 999px;
    font-size: 11px; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    text-transform: uppercase; letter-spacing: 0.03em;
}
.badge-rating {
    position: absolute; bottom: 10px; left: 10px;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,0,0,0.8);
    padding: 4px 10px; border-radius: 999px;
    font-size: 12px; border: 1px solid rgba(255,255,255,0.1);
}
.badge-rating span.score { font-weight: 700; color: #ffeb3b; }
.badge-age {
    position: absolute; bottom: 10px; right: 10px;
    border-radius: 999px; padding: 4px 9px;
    font-size: 11px; background: rgba(255, 193, 7, 0.95);
    color: #201300; font-weight: 600;
}

.title-main { font-size: 24px; margin: 0 0 4px; }
.title-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.title-series-info { font-size: 13px; color: var(--accent); margin-bottom: 12px; }

.meta-line {
    display: flex; flex-wrap: wrap;
    gap: 8px 16px; font-size: 13px;
    color: var(--text-muted); margin-bottom: 10px;
}
.meta-line span.label { color: var(--text-main); font-weight: 600; }

.btn-primary-watch {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    border: none; color: #1b1004;
    font-weight: 600; font-size: 14px; cursor: pointer;
    box-shadow: 0 12px 30px rgba(255, 87, 34, 0.6);
    margin: 10px 0 6px;
}
.btn-primary-watch span.play {
    width: 20px; height: 20px; border-radius: 999px;
    background: rgba(0,0,0,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
}
.btn-primary-watch:hover { filter: brightness(1.05); }

.desc-block {
    margin-top: 16px; font-size: 14px;
    line-height: 1.6; color: #dde1f3;
}
.desc-title { font-weight: 600; margin-bottom: 6px; }

.player-section {
    margin-top: 24px;
    padding: 18px 18px 20px;
    border-radius: 18px;
    background: radial-gradient(circle at 0 0, #272a3e 0, #151622 40%, #10111b 80%);
    border: 1px solid rgba(90, 95, 140, 0.4);
    box-shadow: 0 18px 55px rgba(0,0,0,0.85);
}
.player-header {
    display: flex; align-items: baseline;
    justify-content: space-between; gap: 12px;
    margin-bottom: 10px;
}
.player-title { font-size: 18px; }
.player-note { font-size: 11px; color: var(--text-muted); }
.player-frame {
    position: relative; border-radius: 14px;
    overflow: hidden; background: #000;
    border: 1px solid rgba(255,255,255,0.08);
}
.player-frame iframe {
    width: 100%; height: 480px; border: none;
}

.seasons-block { margin-top: 18px; font-size: 13px; }
.seasons-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.season-btn {
    padding: 7px 12px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
    background: #202238; color: #f5f7ff;
    cursor: pointer; font-size: 13px;
}
.season-btn.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}
.episodes-list { display: flex; flex-wrap: wrap; gap: 10px; }
.episode-card {
    padding: 8px 10px; border-radius: 10px;
    background: #18192b; border: 1px solid rgba(255,255,255,0.08);
    min-width: 120px; cursor: pointer;
}
.episode-card:hover { border-color: var(--accent); }
.episode-title { font-size: 13px; margin-bottom: 2px; }
.episode-info { font-size: 11px; color: var(--text-muted); }

.seo-text {
    margin-top: 26px;
    font-size: 13px;
    color: var(--text-muted);
}
.seo-text h2 {
    font-size: 16px;
    margin: 0 0 8px;
    color: #f5f7ff;
}
.seo-text p { margin: 0 0 8px; }

.footer {
    border-top: 1px solid #181a27;
    background: #070813;
    color: var(--text-muted);
    font-size: 12px;
    padding: 14px 16px 18px;
    margin-top: auto;
}
.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

@media (max-width: 900px) {
    .card-film {
        grid-template-columns: minmax(0, 1fr);
    }
    .poster-wrap {
        max-width: 260px;
        margin: 0 auto;
    }
}
@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .player-frame iframe {
        height: 230px;
    }
}

/* ===== КОММЕНТАРИИ ===== */
.comments-section {
    margin-top: 28px;
    padding: 18px 20px;
    background: #10121b;
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02),
                0 18px 40px rgba(0,0,0,0.65);
}
.comments-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}
.comments-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}
.comments-count {
    font-size: 13px;
    color: #9da3ba;
}
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}
.comment-item {
    padding: 9px 11px;
    border-radius: 12px;
    background: #090b13;
    border: 1px solid rgba(255,255,255,0.04);
}
.comment-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 12px;
    color: #9da3ba;
}
.comment-name {
    font-weight: 600;
    color: #ffffff;
}
.comment-date {
    opacity: .8;
}
.comment-text {
    font-size: 13px;
    line-height: 1.55;
    color: #e3e6ff;
    margin-bottom: 6px;
}
.comment-actions {
    display: flex;
    gap: 8px;
}
.comment-btn {
    border: none;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    cursor: pointer;
    background: rgba(255,255,255,0.04);
    color: #e3e6ff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.comment-btn--dislike {
    opacity: .7;
}
.comments-more {
    margin: 8px 0 10px;
    padding: 6px 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,0.04);
    color: #e3e6ff;
    font-size: 13px;
}
.comments-form-wrap {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.comments-form-wrap h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.comments-form .field-row {
    margin-bottom: 8px;
}
.comments-form input[type="text"],
.comments-form textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #27293b;
    background: #05060a;
    color: #f5f7ff;
    font-size: 13px;
    outline: none;
}
.comments-form textarea {
    resize: vertical;
    min-height: 70px;
}
.comments-captcha {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #c0c4df;
}
.comments-errors {
    margin-bottom: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255,82,82,0.1);
    color: #ffbdbd;
    font-size: 12px;
}

/* === MOBILE MENU BURGER === */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 1px;
    transition: 0.3s;
}

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

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

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

/* === MOBILE NAV OVERLAY === */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-main);
    z-index: 100;
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    background: var(--bg-panel);
    font-size: 16px;
    color: #f5f7ff;
    transition: all 0.3s;
}

.mobile-nav a.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
}

.mobile-nav a:hover {
    background: rgba(255,255,255,0.05);
}

/* на мобильных прячем .nav и показываем бургер */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* на мобильных прячем .nav и показываем бургер */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .header-inner {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
}

/* ===== ПОХОЖИЕ ФИЛЬМЫ/СЕРИАЛЫ ===== */
.similar-section {
    margin-top: 28px;
    padding: 18px 20px;
    background: #10121b;
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02),
                0 18px 40px rgba(0,0,0,0.65);
}
.similar-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.similar-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}
.similar-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.similar-item {
    border-radius: 12px;
    overflow: hidden;
    background: #151727;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.similar-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(255, 183, 77, 0.2);
    text-decoration: none;
}
.similar-poster {
    position: relative;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
}
.similar-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #151623;
}
.similar-info {
    padding: 12px 10px;
}
.similar-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.similar-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.similar-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

/* Мобильная версия - 2 в ряд */
@media (max-width: 768px) {
    .similar-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .similar-item {
        max-width: 100%;
    }
    .similar-title {
        font-size: 13px;
        min-height: 2.8em;
    }
    .similar-meta {
        font-size: 11px;
    }
}

/* Десктоп версия - до 6 в ряд */
@media (min-width: 1200px) {
    .similar-list {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1199px) {
    .similar-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== РЕКЛАМНЫЙ БЛОК ===== */
.ad-block {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #1a1f35 0%, #0d1120 100%);
    border: 1px solid rgba(255, 183, 77, 0.3);
    border-radius: 12px;
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-block .ad-content {
    color: #ffb74d;
    font-size: 14px;
}

.ad-block .ad-label {
    font-size: 11px;
    color: #9da3ba;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ad-block .ad-text {
    font-size: 13px;
    color: #ffffff;
    margin: 5px 0;
}

.ad-block .ad-link {
    color: #ff9800;
    text-decoration: none;
    font-weight: 600;
}

.ad-block .ad-link:hover {
    text-decoration: underline;
}


/* MOBILE MENU BURGER */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    border-radius: 1px;
    transition: 0.3s;
}

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

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

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

/* MOBILE NAV MENU */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-main);
    z-index: 100;
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    background: var(--bg-panel);
    font-size: 16px;
    transition: all 0.3s;
}

.mobile-nav a.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
}

.mobile-nav a:hover {
    background: rgba(255,255,255,0.05);
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-inner {
        position: relative;
    }
}

@media (max-width: 480px) {
    .mobile-nav a {
        padding: 14px 18px;
        font-size: 15px;
    }
}













        /* === MOBILE MENU BURGER === */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 1px;
    transition: 0.3s;
}

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

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

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

/* === MOBILE NAV OVERLAY === */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-main);
    z-index: 100;
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    background: var(--bg-panel);
    font-size: 16px;
    color: #f5f7ff;
    transition: all 0.3s;
}

.mobile-nav a.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
}

.mobile-nav a:hover {
    background: rgba(255,255,255,0.05);
}

/* на мобильных прячем .nav и показываем бургер */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}


/* на мобильных прячем .nav и показываем бургер */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .header-inner {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
}















/* Стили для пагинации серий */
.episodes-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent-color-dark);
}

.pagination-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-info {
    color: var(--text-muted);
    font-size: 14px;
    min-width: 150px;
    text-align: center;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .episodes-pagination {
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .pagination-info {
        font-size: 13px;
        min-width: 120px;
    }
}

/* ИСПРАВЛЕНИЕ ДЛЯ СПИСКА СЕРИЙ */
.episodes-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: stretch !important;
    margin: 0 auto !important;
}

/* Исправление для сезонов */
.seasons-block {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 20px auto 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* Пагинация */
.episodes-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin: 20px 0 !important;
    width: 100% !important;
}

.pagination-btn {
    background: #2d8cf0 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s !important;
    min-width: 100px !important;
}

.pagination-btn:hover:not(:disabled) {
    background: #1a7bdc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(45, 140, 240, 0.3) !important;
}

.pagination-btn:disabled {
    background: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    transform: none !important;
    box-shadow: none !important;
}

.pagination-info {
    color: #888 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 0 15px !important;
}

/* Карточки серий */
.episode-card {
    background: #1a1d29 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    border: 1px solid #2a2d3a !important;
    text-align: center !important;
    min-height: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.episode-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    border-color: #2d8cf0 !important;
    background: #1e2130 !important;
}

.episode-title {
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: #fff !important;
    font-size: 16px !important;
}

.episode-info {
    font-size: 13px !important;
    color: #a0a0a0 !important;
    opacity: 0.9 !important;
}

/* Кнопки сезонов */
.seasons-buttons {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
}

.season-btn {
    background: #1a1d29 !important;
    border: 1px solid #2a2d3a !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.season-btn:hover {
    background: #2d8cf0 !important;
    color: white !important;
    border-color: #2d8cf0 !important;
    transform: translateY(-2px) !important;
}

.season-btn.active {
    background: #2d8cf0 !important;
    color: white !important;
    border-color: #2d8cf0 !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .episodes-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 10px !important;
    }
    
    .seasons-block {
        padding: 0 15px !important;
    }
    
    .season-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
    
    .episode-card {
        padding: 12px !important;
        min-height: 70px !important;
    }
    
    .episode-title {
        font-size: 14px !important;
    }
    
    .episode-info {
        font-size: 12px !important;
    }
    
    .pagination-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
        min-width: 90px !important;
    }
    
    .pagination-info {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .episodes-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 8px !important;
    }
    
    .episode-card {
        padding: 10px !important;
        min-height: 65px !important;
    }
    
    .season-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    .episodes-pagination {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .pagination-btn {
        width: 100% !important;
        max-width: 200px !important;
    }
}
