/* ================================================
   EMERGENCY-FIX.CSS - ПОЛНЫЙ ФИНАЛЬНЫЙ ФАЙЛ
   ================================================ */

/* === 1. БАЗОВЫЕ СТИЛИ === */
body {
    background: linear-gradient(135deg, #0f0f23, #1a1a2e, #16213e) !important;
    color: #fff !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

.main-content {
    margin-top: 80px !important;
    min-height: calc(100vh - 200px) !important;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* === 2. ГЛАВНАЯ СТРАНИЦА (index.php) === */

/* Hero секция */
.hero-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05)) !important;
    padding: 60px 0 !important;
    margin-bottom: 60px !important;
    border-radius: 20px !important;
    text-align: center !important;
}

.hero-title {
    color: #d4af37 !important;
    font-size: 48px !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.hero-subtitle {
    color: rgba(255,255,255,0.8) !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
}

/* Сетка сезонов */
.seasons-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 30px !important;
    margin: 40px 0 !important;
}

.season-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    text-decoration: none !important;
    display: block !important;
}

.season-card:hover {
    transform: translateY(-10px) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3) !important;
}

.season-poster {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
}

.season-info {
    padding: 20px !important;
}

.season-number {
    color: #d4af37 !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.season-title {
    color: white !important;
    font-size: 22px !important;
    margin-bottom: 10px !important;
}

.season-meta {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px !important;
}

/* === 3. НОВОСТИ - КРИТИЧЕСКОЕ ИСПРАВЛЕНИЕ === */

/* Форсируем отображение новостей */
.news-section {
    display: block !important;
    margin: 60px 0 !important;
    padding: 40px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-section h2 {
    color: #d4af37 !important;
    font-size: 36px !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    font-weight: 700 !important;
}

/* Сетка новостей на главной */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
}

/* Карточка новости */
.news-card {
    background: linear-gradient(135deg, #1a1a2e, #252538) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    min-height: 350px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid rgba(212,175,55,0.2) !important;
}

.news-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(212,175,55,0.4) !important;
    border-color: #d4af37 !important;
}

/* Изображение новости с фоллбэком */
.news-image {
    width: 100% !important;
    height: 200px !important;
    background: linear-gradient(135deg, #8b0000, #e50914) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Текст СЕЗОНЫ поверх фона */
.news-image::before {
    content: "СЕЗОНЫ" !important;
    position: absolute !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: rgba(229, 9, 20, 0.9) !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    z-index: 2 !important;
}

/* Иконка на фоне */
.news-image::after {
    content: "📺" !important;
    position: absolute !important;
    font-size: 80px !important;
    opacity: 0.2 !important;
    color: white !important;
}

/* Скрываем битые изображения */
.news-image img {
    display: none !important;
}

/* Контент новости */
.news-content {
    padding: 25px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.news-date {
    color: #d4af37 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.news-title {
    color: white !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}

.news-excerpt {
    color: rgba(255,255,255,0.75) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    flex-grow: 1 !important;
}

/* Кнопка все новости */
.view-all-news {
    text-align: center !important;
    margin-top: 30px !important;
}

.btn-view-all {
    display: inline-block !important;
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.05)) !important;
    border: 2px solid #d4af37 !important;
    color: #d4af37 !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.btn-view-all:hover {
    background: #d4af37 !important;
    color: #1a1a2e !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(212,175,55,0.4) !important;
}

/* Страница новостей (news.php) */
.news-page {
    padding: 40px 0 !important;
}

.page-title {
    color: #d4af37 !important;
    font-size: 42px !important;
    text-align: center !important;
    margin-bottom: 50px !important;
    font-weight: 700 !important;
}

.news-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
    gap: 35px !important;
}

.news-item {
    background: linear-gradient(135deg, #1e1e2e, #2a2a3e) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(212,175,55,0.15) !important;
}

.news-item:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(212,175,55,0.3) !important;
    border-color: #d4af37 !important;
}

.news-item-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

/* Изображение в списке новостей с фоллбэком */
.news-item-image {
    width: 100% !important;
    height: 220px !important;
    background: linear-gradient(135deg, #8b0000, #e50914) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.news-item-image::before {
    content: "НОВОСТИ" !important;
    color: white !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    background: rgba(229, 9, 20, 0.9) !important;
    padding: 10px 25px !important;
    border-radius: 20px !important;
}

.news-item-image img {
    display: none !important;
}

.news-item-content {
    padding: 30px !important;
}

.news-item-date {
    color: #d4af37 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
}

.news-item-title {
    color: white !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}

.news-item-excerpt {
    color: rgba(255,255,255,0.8) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* === 4. СТРАНИЦА СЕЗОНА (season.php) === */

.page-header {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.season-hero-title {
    color: #d4af37 !important;
    font-size: 42px !important;
    margin-bottom: 20px !important;
}

.season-description {
    color: rgba(255,255,255,0.8) !important;
    font-size: 18px !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* Карточки эпизодов */
.episodes-grid-showcase {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    margin: 40px 0 !important;
}

.episode-card-showcase {
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    text-decoration: none !important;
    display: block !important;
}

.episode-card-showcase:hover {
    transform: translateY(-10px) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3) !important;
}

.episode-poster-showcase {
    position: relative !important;
    padding-top: 56.25% !important;
    background: #000 !important;
}

.episode-poster-showcase img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.episode-overlay-showcase {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s !important;
}

.episode-card-showcase:hover .episode-overlay-showcase {
    opacity: 1 !important;
}

.play-icon-showcase {
    font-size: 60px !important;
    color: #d4af37 !important;
}

.episode-info-showcase {
    padding: 20px !important;
}

.episode-number-showcase {
    color: #d4af37 !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.episode-title-showcase {
    color: white !important;
    font-size: 18px !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.episode-meta-showcase {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
}

/* SEO контент */
.seo-content {
    margin-top: 60px !important;
}

.seo-content h2 {
    color: #d4af37 !important;
    font-size: 32px !important;
    margin-bottom: 25px !important;
}

.seo-content p {
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
}

.season-guide-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05)) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    margin: 50px 0 !important;
}

.guide-title {
    color: #d4af37 !important;
    font-size: 32px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}

.plot-section {
    background: linear-gradient(145deg, #1e1e2e, #2a2a3e) !important;
    border-radius: 20px !important;
    padding: 35px !important;
    margin: 40px 0 !important;
    border-left: 4px solid #d4af37 !important;
}

.challenges-list {
    list-style: none !important;
    padding: 0 !important;
}

.challenge-item {
    background: rgba(255,255,255,0.03) !important;
    border-left: 3px solid #d4af37 !important;
    padding: 15px 20px !important;
    margin-bottom: 15px !important;
    border-radius: 0 8px 8px 0 !important;
}

/* Таблицы */
.table-wrapper {
    overflow-x: auto !important;
    margin: 30px 0 !important;
}

.episodes-table,
.cast-table {
    width: 100% !important;
    background: #1e1e2e !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.episodes-table th,
.cast-table th {
    background: rgba(212,175,55,0.1) !important;
    color: #d4af37 !important;
    padding: 15px !important;
    text-align: left !important;
}

.episodes-table td,
.cast-table td {
    padding: 15px !important;
    color: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* Fun facts */
.fun-facts {
    background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.03)) !important;
    border: 1px solid rgba(212,175,55,0.2) !important;
    border-radius: 15px !important;
    padding: 30px !important;
    margin: 40px 0 !important;
}

.fun-facts h3 {
    color: #d4af37 !important;
    margin-bottom: 20px !important;
}

/* FAQ */
.faq-section {
    margin: 50px 0 !important;
}

.faq-section h2 {
    color: #d4af37 !important;
    font-size: 32px !important;
    margin-bottom: 30px !important;
}

.faq-item {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
}

.faq-question {
    color: #d4af37 !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
}

.faq-answer {
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.7 !important;
}

/* Bottom CTA */
.bottom-cta {
    background: linear-gradient(135deg, #1a1a2e, #0f0f23) !important;
    border: 3px solid #d4af37 !important;
    border-radius: 20px !important;
    padding: 40px !important;
    text-align: center !important;
    margin: 60px 0 40px !important;
}

.bottom-cta h3 {
    color: #d4af37 !important;
    font-size: 32px !important;
    margin-bottom: 20px !important;
}

.bottom-cta p {
    color: white !important;
    font-size: 18px !important;
}

.bottom-cta a {
    color: #d4af37 !important;
    font-weight: bold !important;
    border-bottom: 2px solid #d4af37 !important;
}

/* === 5. СТРАНИЦА ЭПИЗОДА (episode.php) === */

/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 30px !important;
}

.breadcrumbs-list {
    display: flex !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
}

.breadcrumbs-item {
    display: flex !important;
    align-items: center !important;
}

.breadcrumbs-item:not(:last-child)::after {
    content: "→" !important;
    margin: 0 10px !important;
    color: rgba(255,255,255,0.4) !important;
}

.breadcrumbs-link {
    color: #d4af37 !important;
    text-decoration: none !important;
}

.breadcrumbs-link:hover {
    text-decoration: underline !important;
}

.breadcrumbs-current {
    color: rgba(255,255,255,0.7) !important;
}

/* Заголовок эпизода */
.episode-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.episode-title {
    color: white !important;
    font-size: 36px !important;
}

.episode-description-section {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-bottom: 30px !important;
}

.episode-description-text {
    color: rgba(255,255,255,0.9) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* Контент эпизода */
.episode-content {
    display: flex !important;
    gap: 30px !important;
    margin-top: 30px !important;
}

.main-column {
    flex: 1 !important;
}

.sidebar {
    width: 400px !important;
    flex-shrink: 0 !important;
}

/* Видеоплеер */
.video-player {
    background: #000 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
}

/* Рейтинг */
.rating-section {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin: 30px 0 !important;
}

.current-rating {
    margin-bottom: 20px !important;
}

.rating-label {
    color: rgba(255,255,255,0.7) !important;
    margin-right: 10px !important;
}

.rating-value {
    color: #d4af37 !important;
    font-size: 24px !important;
    font-weight: bold !important;
}

.rating-count {
    color: rgba(255,255,255,0.6) !important;
    margin-left: 10px !important;
}

.rating-form h3 {
    color: white !important;
    margin-bottom: 15px !important;
}

.rating-stars {
    display: flex !important;
    gap: 5px !important;
}

.star-button {
    background: transparent !important;
    border: none !important;
    font-size: 24px !important;
    cursor: pointer !important;
    transition: 0.2s !important;
    filter: grayscale(1) !important;
}

.star-button:hover {
    transform: scale(1.2) !important;
    filter: grayscale(0) !important;
}

.already-rated {
    color: rgba(255,255,255,0.7) !important;
    font-style: italic !important;
}

/* Заголовок эпизода */
.episode-main-title {
    color: white !important;
    font-size: 28px !important;
    margin: 30px 0 !important;
}

/* Постер в сайдбаре */
.poster-container {
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
}

.episode-poster {
    width: 100% !important;
    display: block !important;
}

.poster-info {
    background: linear-gradient(135deg, #1a1a2e, #0f3460) !important;
    padding: 15px 20px !important;
}

.episode-meta {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    gap: 15px !important;
}

.meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}

/* Навигация по эпизодам */
.episode-navigation {
    margin-top: 20px !important;
    background: rgba(26,26,46,0.6) !important;
    border-radius: 10px !important;
    padding: 20px !important;
}

.nav-title {
    color: white !important;
    text-align: center !important;
    margin-bottom: 15px !important;
}

.nav-buttons {
    display: flex !important;
    gap: 10px !important;
}

.nav-button {
    flex: 1 !important;
    padding: 12px !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 8px !important;
    color: white !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: 0.3s !important;
}

.nav-button:hover {
    background: rgba(229,9,20,0.8) !important;
    transform: translateY(-2px) !important;
}

/* SEO секция */
.seo-section {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin: 40px 0 !important;
}

.quality-info-quote {
    background: rgba(212,175,55,0.1) !important;
    border-left: 3px solid #d4af37 !important;
    padding: 15px 20px !important;
    margin-top: 20px !important;
    border-radius: 5px !important;
    color: rgba(255,255,255,0.9) !important;
    font-style: italic !important;
}

/* Отзывы */
.reviews-section {
    margin-top: 50px !important;
}

.reviews-title {
    color: #d4af37 !important;
    font-size: 28px !important;
    margin-bottom: 30px !important;
}

.toggle-review-form {
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.05)) !important;
    border: 1px solid rgba(212,175,55,0.3) !important;
    color: white !important;
    padding: 15px 25px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: 0.3s !important;
}

.toggle-review-form:hover {
    background: rgba(212,175,55,0.2) !important;
}

.review-form {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-top: 20px !important;
}

.form-row {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

.form-group {
    flex: 1 !important;
}

.form-group label {
    color: rgba(255,255,255,0.9) !important;
    display: block !important;
    margin-bottom: 8px !important;
}

.required {
    color: #e74c3c !important;
}

.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: white !important;
    padding: 12px !important;
    border-radius: 6px !important;
    width: 100% !important;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: #d4af37 !important;
    background: rgba(255,255,255,0.07) !important;
}

.char-counter {
    text-align: right !important;
    color: rgba(255,255,255,0.6) !important;
    font-size: 13px !important;
    margin-top: 5px !important;
}

.form-info {
    background: rgba(255,255,255,0.02) !important;
    border-left: 3px solid #d4af37 !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    border-radius: 5px !important;
}

.form-buttons {
    display: flex !important;
    gap: 10px !important;
}

.submit-button {
    background: #d4af37 !important;
    color: #1a1a2e !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: 0.3s !important;
}

.submit-button:hover {
    background: #f4e4bc !important;
    transform: translateY(-2px) !important;
}

.cancel-button {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    padding: 12px 30px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

/* Список отзывов */
.reviews-list {
    margin-top: 30px !important;
}

.review {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.review-header {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 15px !important;
}

.author-name {
    color: #d4af37 !important;
    font-weight: 600 !important;
}

.review-date {
    color: rgba(255,255,255,0.6) !important;
    font-size: 14px !important;
}

.review-text {
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.7 !important;
}

.no-reviews {
    text-align: center !important;
    padding: 40px !important;
    color: rgba(255,255,255,0.6) !important;
}

/* Все серии сезона внизу */
.all-episodes-section {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

.all-episodes-title {
    color: #d4af37 !important;
    font-size: 28px !important;
    margin-bottom: 30px !important;
}

.episodes-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}

.episode-item {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
}

.episode-item:hover {
    transform: translateY(-5px) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important;
}

.episode-item.current-episode {
    border-color: #d4af37 !important;
    background: rgba(212,175,55,0.05) !important;
}

.episode-link {
    text-decoration: none !important;
    display: flex !important;
    height: 100% !important;
}

.episode-poster-small {
    position: relative !important;
    width: 180px !important;
    height: 101px !important;
    flex-shrink: 0 !important;
}

.episode-poster-small img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.current-indicator {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(212,175,55,0.9) !important;
    color: #1a1a2e !important;
    text-align: center !important;
    padding: 5px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.episode-info-small {
    padding: 15px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.episode-title-small {
    color: white !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.episode-number-small {
    color: #d4af37 !important;
    font-size: 14px !important;
}

/* === 6. СТРАНИЦЫ АНОНСОВ (anons.php и anons-episode.php) === */

/* Страница списка анонсов */
.page-header {
    text-align: center !important;
    margin-bottom: 40px !important;
}

.page-title {
    color: #d4af37 !important;
    font-size: 42px !important;
    margin-bottom: 20px !important;
}

.page-subtitle {
    color: rgba(255,255,255,0.8) !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}

.season-header {
    margin-bottom: 40px !important;
}

.season-info {
    display: flex !important;
    gap: 20px !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
}

.info-badge {
    background: rgba(212,175,55,0.1) !important;
    border: 1px solid rgba(212,175,55,0.3) !important;
    color: #d4af37 !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.season-description {
    text-align: center !important;
    color: rgba(255,255,255,0.85) !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    line-height: 1.7 !important;
}

/* Сетка анонсов */
.anons-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    margin: 40px 0 !important;
}

.anons-card {
    background: linear-gradient(135deg, #1a1a2e, #252538) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    border: 1px solid rgba(212,175,55,0.1) !important;
}

.anons-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(212,175,55,0.4) !important;
    border-color: #d4af37 !important;
}

.anons-poster {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    background: #0f0f23 !important;
    display: block !important;
}

.anons-content {
    padding: 25px !important;
}

.anons-meta {
    margin-bottom: 15px !important;
}

.episode-number {
    color: #d4af37 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.anons-description {
    color: rgba(255,255,255,0.8) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
}

.read-more {
    color: #d4af37 !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: gap 0.3s !important;
}

.anons-card:hover .read-more {
    gap: 10px !important;
}

/* Страница отдельного анонса */
.single-anons-container {
    display: flex !important;
    gap: 40px !important;
    margin: 40px 0 !important;
}

.anons-main-content {
    flex: 1 !important;
}

.anons-description {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    color: rgba(255,255,255,0.9) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

.anons-description p {
    margin-bottom: 20px !important;
}

.anons-description h2 {
    color: #d4af37 !important;
    margin: 30px 0 20px !important;
}

.anons-sidebar {
    width: 400px !important;
    flex-shrink: 0 !important;
}

.anons-poster-container {
    background: linear-gradient(135deg, #1a1a2e, #252538) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}

.anons-poster-title {
    background: rgba(212,175,55,0.1) !important;
    color: #d4af37 !important;
    padding: 15px 20px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.anons-poster-img {
    width: 100% !important;
    display: block !important;
}

.anons-episode-info {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 12px !important;
    padding: 25px !important;
}

.anons-info-title {
    color: #d4af37 !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
}

.anons-info-list {
    list-style: none !important;
    padding: 0 !important;
}

.anons-info-item {
    display: flex !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    color: rgba(255,255,255,0.85) !important;
}

.anons-info-item:last-child {
    border-bottom: none !important;
}

.anons-info-label {
    color: rgba(255,255,255,0.6) !important;
}

.anons-watch-button {
    display: block !important;
    background: linear-gradient(135deg, #e50914, #8b0000) !important;
    color: white !important;
    padding: 15px !important;
    text-align: center !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    margin-top: 20px !important;
    transition: all 0.3s !important;
}

.anons-watch-button:hover {
    background: linear-gradient(135deg, #ff1919, #a00000) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(229,9,20,0.4) !important;
}

/* === 7. УТИЛИТЫ И ОБЩИЕ КЛАССЫ === */

/* Alerts */
.alert {
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin: 15px 0 !important;
}

.alert-success {
    background: rgba(39,174,96,0.1) !important;
    border: 1px solid rgba(39,174,96,0.3) !important;
    color: #27ae60 !important;
}

.alert-error {
    background: rgba(231,76,60,0.1) !important;
    border: 1px solid rgba(231,76,60,0.3) !important;
    color: #e74c3c !important;
}

/* Fade animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hidden/Show */
.hidden {
    display: none !important;
}

.show {
    display: block !important;
    animation: fadeIn 0.4s ease !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === 8. АДАПТИВНОСТЬ === */

@media (max-width: 1024px) {
    .episode-content {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }
    
    .single-anons-container {
        flex-direction: column !important;
    }
    
    .anons-sidebar {
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    /* Сетки */
    .seasons-grid,
    .episodes-grid-showcase,
    .news-grid,
    .news-list,
    .episodes-list,
    .anons-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Заголовки */
    .hero-title {
        font-size: 32px !important;
    }
    
    .page-title {
        font-size: 28px !important;
    }
    
    /* Навигация эпизодов */
    .nav-buttons {
        flex-direction: column !important;
    }
    
    /* Эпизоды в списке */
    .episode-link {
        flex-direction: column !important;
    }
    
    .episode-poster-small {
        width: 100% !important;
        height: 200px !important;
    }
    
    /* Формы */
    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    /* Инфо badges */
    .season-info {
        flex-wrap: wrap !important;
    }
    
    /* Видео */
    .video-player iframe {
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px !important;
    }
    
    .hero-title {
        font-size: 24px !important;
    }
    
    .page-title {
        font-size: 24px !important;
    }
    
    .info-badge {
        font-size: 12px !important;
        padding: 6px 15px !important;
    }
}

/* === КОНЕЦ ФАЙЛА === */
