/* ===== СТРАНИЦА ФИЛЬМА ===== */
.movie-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.movie-poster-large {
    width: 300px;
    height: 400px;
    border-radius: 10px;
    border: 3px solid #ffcc00;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.movie-poster-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-info-large h1 {
    color: #ffcc00;
    margin-bottom: 15px;
    font-size: 32px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.movie-meta-large {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 16px;
    flex-wrap: wrap;
}

.movie-description-large {
    color: #ccc;
    line-height: 1.6;
    font-size: 16px;
    background: rgba(20, 20, 20, 0.6);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffcc00;
}

.age-rating-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9900 0%, #cc6600 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    margin-left: 10px;
}

/* ===== ТАБЫ СЕАНСОВ ===== */
.screenings-tabs {
    margin: 30px 0;
}

.tabs-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.tab-button {
    background: rgba(30, 30, 30, 0.9);
    border: 2px solid #ff0000;
    color: #ffcc00;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.tab-button.active {
    background: #ff0000;
    color: white;
}

.tab-button:hover {
    background: rgba(255, 0, 0, 0.3);
}

/* ===== КАРТОЧКИ СЕАНСОВ ===== */
.screenings-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
}

.screening-card {
    background: rgba(30, 30, 30, 0.9);
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 20px;
    min-width: 250px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.screening-card:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.screening-card.active {
    border-color: #ffcc00;
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.screening-card[style*="not-allowed"] {
    opacity: 0.7;
    cursor: not-allowed;
}

.screening-card[style*="not-allowed"]:hover {
    transform: none;
    background: rgba(30, 30, 30, 0.9);
}

.screening-time {
    font-size: 20px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 10px;
}

.screening-date {
    color: #aaa;
    margin-bottom: 5px;
}

.screening-hall {
    color: #4CAF50;
    margin-bottom: 5px;
    font-weight: bold;
}

.screening-price {
    color: #ffcc00;
    font-size: 18px;
    font-weight: bold;
}

/* ===== ВЫБРАННЫЙ СЕАНС ===== */
.selected-screening {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border: 2px solid #ffcc00;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.no-screening-selected {
    text-align: center;
    padding: 40px;
    color: #aaa;
    font-style: italic;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    border: 2px solid #ff0000;
}

.no-screenings {
    text-align: center;
    padding: 40px;
    color: #aaa;
    font-style: italic;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    border: 2px solid #ff0000;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .movie-header {
        grid-template-columns: 1fr;
    }

    .movie-poster-large {
        margin: 0 auto;
    }

    .tabs-header {
        justify-content: center;
    }
}

/* ===== СВЕТЛАЯ ТЕМА ===== */
[data-theme="light"] .movie-header {
    color: #1a1a1a;
}

[data-theme="light"] .movie-poster-large {
    border-color: #b8860b;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

[data-theme="light"] .movie-info-large h1 {
    color: #b8860b;
    text-shadow: none;
}

[data-theme="light"] .movie-meta-large {
    color: #555;
}

[data-theme="light"] .movie-description-large {
    color: #333;
    background: #f9f9f9;
    border-left-color: #b8860b;
}

[data-theme="light"] .tabs-header {
    border-bottom-color: #ff0000;
}

[data-theme="light"] .tab-button {
    background: #f0f0f0;
    border-color: #ff0000;
    color: #b8860b;
}

[data-theme="light"] .tab-button.active {
    background: #ff0000;
    color: #fff;
}

[data-theme="light"] .tab-button:hover {
    background: rgba(255, 0, 0, 0.1);
}

[data-theme="light"] .screening-card {
    background: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

[data-theme="light"] .screening-card:hover {
    background: rgba(255, 0, 0, 0.03);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

[data-theme="light"] .screening-card.active {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.06);
    box-shadow: 0 2px 10px rgba(184, 134, 11, 0.15);
}

[data-theme="light"] .screening-time {
    color: #b8860b;
}

[data-theme="light"] .screening-date {
    color: #555;
}

[data-theme="light"] .screening-price {
    color: #b8860b;
}

[data-theme="light"] .selected-screening {
    background: #ffffff;
    border-color: #b8860b;
    box-shadow: 0 2px 10px rgba(184, 134, 11, 0.15);
}

[data-theme="light"] .no-screening-selected,
[data-theme="light"] .no-screenings {
    background: #f9f9f9;
    border-color: #e0e0e0;
    color: #666;
}