.status_s {
    background-color: #4caf50;
    color: white;
    padding: 2px;
    display: inline-block;
    border-radius: 2px;
}
.status3 {
    background-color: #dd4d1b;
    color: white;
    padding: 2px;
    display: inline-block;
    border-radius: 2px;
}
.status_pause {
    background-color: #ffa500;
    color: white;
    padding: 2px;
    display: inline-block;
    border-radius: 2px;
}
/* CTA-уведомление */
.episode-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #1a1a1a, #222222);
    
    color: #ffffff;
    padding: 18px 22px;
 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.episode-cta:hover {
    
    box-shadow: 0 6px 18px rgba(121, 193, 66, 0.25);
    border-left-color: #8fd45f;
}

/* Верхняя линия */
.episode-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

/* Иконка */
.episode-cta-icon {
    font-size: 1.9em;
    color: #79c142;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(121, 193, 66, 0.4);
}

/* Контент */
.episode-cta-content {
    flex: 1;
}

.episode-cta-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 6px;
}

.episode-cta-text {
    font-size: 0.95em;
    color: #cccccc;
    line-height: 1.5;
}

/* Стрелка */
.episode-cta-action {
    font-size: 1.9em;
    color: #79c142;
    animation: cta-bounce 1.6s infinite;
}

/* Анимация */
@keyframes cta-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* Мобилка */
@media (max-width: 768px) {
    .episode-cta {
        padding: 16px;
        gap: 12px;
    }
}
/* Подсветка после скролла */
.episode-highlight {
    animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 rgba(121, 193, 66, 0);
    }
    50% {
        box-shadow: 0 0 25px rgba(121, 193, 66, 0.6);
    }
    100% {
        box-shadow: 0 0 0 rgba(121, 193, 66, 0);
    }
}
.episode-counter-working {
    background: #1a1a1a;
    color: #ffffff;
    
    padding: 20px;
   
    border: 1px solid #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

.episode-counter-working::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #79c142, #8fd45f, #79c142);
    z-index: 1;
}

.counter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333333;
    position: relative;
}

.counter-header h3 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ep-soz {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
}

.ep-soz1 {
    background: #111111;
    color: #aaaaaa;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid #333333;
}
.season-ep {
    background: #79c142;
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(121, 193, 66, 0.3);
}
.episode-info p {margin-top: 8px;font-weight:600; font-size:15px; line-height:1.3; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.episode-name {
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    margin: 15px 0;
    padding: 15px;
    background: #222222;
    border-radius: 6px;
    border-left: 4px solid #79c142;
    line-height: 1.4;
    color: #f0f0f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.counter-timer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 25px 0;
    background: #222222;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333333;
}

.time-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 2.2em;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    background: #111111;
    color: #79c142;
    padding: 15px 5px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
    border: 1px solid #333333;
    text-shadow: 0 0 10px rgba(121, 193, 66, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.time-label {
    font-size: 0.85em;
    color: #aaaaaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background: #222222;
    border-radius: 6px;
    border: 1px solid #333333;
}

.air-date {
    font-weight: 600;
    font-size: 1em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.air-date::before {
    content: '📅';
    font-size: 1.1em;
}

.days-left {
    background: #79c142;
    color: white;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(121, 193, 66, 0.3);
}

/* Стили для кнопки раскрытия списка */
.episodes-toggle {
    margin-top: 20px;
    text-align: center;
}

.toggle-btn {
    background: #222222;
    color: #ffffff;
    border: 1px solid #333333;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toggle-btn:hover {
    background: #333333;
    border-color: #79c142;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(121, 193, 66, 0.2);
}

.toggle-icon {
    font-size: 0.9em;
    transition: transform 0.3s ease;
    color: #79c142;
}

.toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.toggle-text {
    color: #ffffff;
}

/* Стили для списка серий */
.episodes-list {
    margin-top: 20px;
    background: #222222;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333333;
    animation: fadeIn 0.3s ease;
    display: none;
}

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

.episodes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333333;
}

.episodes-header h4 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.episodes-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
}

.stat-item {
    background: #111111;
    color: #aaaaaa;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid #333333;
}

.stat-item span {
    color: #ffffff;
    font-weight: 600;
}

/* Стили для карточек серий */
.episode-card {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #333333;
    border: 1px solid #333333;
}

.episode-card:hover {
    
        background: rgba(121, 193, 66, 0.05);
    border-color: rgba(121, 193, 66, 0.2);
    transform: translateX(5px);
    border-color: #444444;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.info-card {
    background: #111111;
    border-color: rgba(121, 193, 66, 0.2);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
        border-left: 4px solid #79c142;
    line-height: 1.4;
    color: #f0f0f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
   
}

.info-card:hover {
    background: #222222;
    transform: translateX(5px);
    border-color: #444444;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.episode-card.next {
    border-left-color: #79c142;
    background: rgba(121, 193, 66, 0.05);
    border-color: rgba(121, 193, 66, 0.2);
}
.info-card.aired {
    border-left-color: var(--red);
    opacity: 1;
}
.episode-card.aired {
    border-left-color: #00a8ff;
    opacity: 0.9;
}

.episode-card.upcoming {
    border-left-color: #ff9900;
}

.episode-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.episode-number {
    font-weight: 700;
    font-size: 1.1em;
    color: #79c142;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.episode-date {
    font-size: 0.9em;
    font-weight: 500;
}

.episode-date.past {
    color: #00a8ff;
}

.episode-date.future {
    color: #ff9900;
}

.episode-date.today {
    color: #79c142;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(121, 193, 66, 0.3);
}

.episode-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #f0f0f0;
    line-height: 1.4;
}

.episode-overview {
    font-size: 0.9em;
    color: #aaaaaa;
    line-height: 1.5;
    margin-top: 10px;
    display: none;
    padding: 10px;
    background: #111111;
    border-radius: 4px;
    border-left: 3px solid #444444;
}

.episode-card.expanded .episode-overview {
    display: block;
}

.episode-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-aired {
    background: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    border: 1px solid rgba(0, 168, 255, 0.3);
}

.status-next {
    background: rgba(121, 193, 66, 0.1);
    color: #79c142;
    border: 1px solid rgba(121, 193, 66, 0.3);
}

.status-upcoming {
    background: rgba(255, 153, 0, 0.1);
    color: #ff9900;
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.episode-toggle-details {
    background: none;
    border: none;
    color: #79c142;
    font-size: 0.85em;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.episode-toggle-details:hover {
    color: #8fd45f;
    text-decoration: underline;
}

.episode-toggle-details::before {
    content: '▶';
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.episode-card.expanded .episode-toggle-details::before {
    transform: rotate(90deg);
}

.episodes-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Стилизация скроллбара в стиле LordFilm */
.episodes-container::-webkit-scrollbar {
    width: 8px;
}

.episodes-container::-webkit-scrollbar-track {
    background: #111111;
    border-radius: 4px;
}

.episodes-container::-webkit-scrollbar-thumb {
    background: #79c142;
    border-radius: 4px;
}

.episodes-container::-webkit-scrollbar-thumb:hover {
    background: #8fd45f;
}

/* Стили для ошибок и информации */
.episode-error, .episode-info {
    background: #222222;
    color: #ffffff;
    padding: 20px;
   
    
    text-align: center;
    font-weight: 500;
    border: 1px solid #333333;
    border-left: 4px solid #79c142;
}

.episode-info {
    border-left-color: #00a8ff;
}

.episode-error h4, .episode-info h4 {
    margin-top: 0;
    color: #79c142;
    font-size: 1.2em;
}

.episode-info h4 {
    color: #00a8ff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .counter-timer {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
    }
    
    .time-block {
        min-width: calc(50% - 8px);
        margin-bottom: 10px;
    }
    
    .time-value {
        font-size: 1.8em;
        padding: 12px 5px;
    }
    
    .counter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .counter-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .episodes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .episodes-stats {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1;
        min-width: calc(33.333% - 10px);
        text-align: center;
    }
    
    .toggle-btn {
        padding: 12px 20px;
        font-size: 0.95em;
    }
}

/* Анимация для таймера */
@keyframes pulse {
    0% { text-shadow: 0 0 10px rgba(121, 193, 66, 0.3); }
    50% { text-shadow: 0 0 20px rgba(121, 193, 66, 0.6); }
    100% { text-shadow: 0 0 10px rgba(121, 193, 66, 0.3); }
}

.time-value {
    animation: pulse 2s infinite;
}

/* Стиль для последней секунды */
.time-value.last-second {
    animation: blink 1s infinite;
    color: #8fd45f;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Декоративные элементы в стиле LordFilm */
.episode-counter-working::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333333, transparent);
}

/* Иконки в стиле кино */
.episode-card-header::before {
    content: '🎬';
    margin-right: 8px;
    font-size: 0.9em;
}

.episode-card.next .episode-card-header::before {
    content: '🌟';
    color: #79c142;
}