.film-detail {
    padding: 0 0 0 0;
	float: left;
	width: 100%;
}


.film-detail {
	float: left;
    margin: 20px 0 0 0;
}

.film-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.film-detail-poster {
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.film-header-info h1 {
    margin-top: 0;
    margin-bottom: 20px;
}

.film-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
	margin: 20px 0 0 0;
}

.meta-item {
    font-size: 16px;
    color: #34495e;
}

.rating-large {
    font-size: 1.3em;
    color: #f39c12;
}

.film-section {
    margin: 20px 0 0 0;
}

.film-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

.film-section p {
    color: #2c3e50;
    font-size: 16px;
	line-height: 1.5;
}

.film-description-full {
    line-height: 1.8;
    color: #444;
    font-size: 1.05em;
}

.film-dates-info {
    margin-bottom: 15px;
    color: #7f8c8d;
}

.dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.date-button {
    background: #ecf0f1;
    color: #34495e;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.date-button:hover {
    background: #d5dbdc;

}

.film-actions {
    margin-top: 30px;
    text-align: center;
}

.big-buy-btn {
    display: inline-block;
    background: #e55c2e;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.big-buy-btn:hover {
    background: #c84b21;
    transform: scale(1.05);
}

/* Навигация */
.navigation {
    margin-bottom: 20px;
}

.back-link {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 1.1em;
}

.back-link:hover {
    color: #3498db;
}

/* Сообщения */
.no-dates, .no-films {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.2em;
    padding: 50px;
    background: white;
    border-radius: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .film-card {
        flex-direction: column;
    }
    
    .film-poster {
        width: 100%;
        height: auto;
        max-height: 300px;
    }
    
    .film-header {
        flex-direction: column;
    }
    
    .film-detail-poster {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
    
    .dates-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}



.showtimes-container {
            margin: 30px 0;
        }
        
        .showtimes-date {
            margin-bottom: 25px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .showtimes-date-header {
            background: #f0f0f0;
            padding: 12px 20px;
            font-weight: 500;
            font-size: 18px;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .showtimes-date-header span {
            color: #666;
            font-weight: normal;
            font-size: 0.9em;
            margin-left: 10px;
        }
        
        .showtimes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            padding: 20px;
            background: white;
        }
        
        .showtime-card {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            text-decoration: none;
            color: #333;
            border: 1px solid #e0e0e0;
            transition: all 0.2s;
            display: block;
        }
        
        .showtime-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: #e0e0e0;
            background: white;
        }
        
        .showtime-time {
            font-size: 16px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 8px;
        }
        
        .showtime-details {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 14px;
            color: #666;
        }
        
        .showtime-detail {
            background: #e9ecef;
            padding: 3px 8px;
            border-radius: 4px;
        }
        
        .showtime-price {
            color: #e55c2e;
            font-weight: bold;
            font-size: 16px;
            margin-top: 8px;
        }
        
        .showtime-format {
            background: #677481;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-weight: bold;
        }
        
        .no-showtimes {
            text-align: center;
            color: #7f8c8d;
            padding: 30px;
            background: #f8f9fa;
            border-radius: 8px;
            margin: 20px 0;
        }
        
        .film-trailer-icon {
            display: inline-block;
            margin-left: 10px;
            font-size: 1.2em;
        }
        
        .film-trailer-icon a {
            color: #ff0000;
            text-decoration: none;
            transition: transform 0.2s;
            display: inline-block;
        }
        
        .film-trailer-icon a:hover {
            transform: scale(1.1);
        }
        
        /* Стили для блока "Другие фильмы" */
        .other-films-section {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px solid #e0e0e0;
        }
        
        .other-films-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .other-film-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
            color: #333;
            border: 1px solid #e0e0e0;
        }
        
        .other-film-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
            border-color: #3498db;
        }
        
        .other-film-poster {
            width: 100%;
            height: 240px;
            object-fit: cover;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .other-film-info {
            padding: 12px;
        }
        
        .other-film-title {
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 0.95em;
            line-height: 1.3;
            height: 40px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .other-film-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.85em;
            color: #666;
        }
        
        .other-film-rating {
            color: #f39c12;
            font-weight: bold;
        }
        
        .other-film-year {
            color: #7f8c8d;
        }
        
        .date-info {
            font-size: 1.1em;
            color: #3498db;
            margin-bottom: 15px;
        }
		
		
		
		
.poster-container {
    position: relative;
    display: inline-block;
	width: auto;
}

.film-detail-poster {
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Кнопка play на постере */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #e55c2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;

    z-index: 10;
}



.play-button:hover {
    background: #e55c2e;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 30px;
    color: white;
    margin-left: 5px;
}

/* Круговой рейтинг на постере */
.poster-rating-circle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.poster-rating-circle svg {
    width: 60px;
    height: 60px;
    transform: rotate(-90deg);
}

.poster-rating-circle circle {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
}

.poster-rating-circle .rating-bg {
    stroke: #e3dfd8;
}

.poster-rating-circle .rating-fill {
    stroke: #e55c2e;
    stroke-dasharray: 100.48;
    stroke-dashoffset: calc(100.48 - (100.48 * var(--rating)) / 10);
    transition: stroke-dashoffset 0.5s ease;
}

.poster-rating-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 700;
    color: #e55c2e;
}

/* Модальное окно */
.modal-trailer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-trailer.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.modal-close:hover {
    transform: scale(1.1);
    color: #e55c2e;
}

.modal-video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

.modal-video video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    background: #000;
}

@media (max-width: 768px) {
    .poster-container {
        width: 100%;
        text-align: center;
    }
    
    .film-detail-poster {
        width: 100%;
        max-width: 300px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 22px;
    }
    
    .poster-rating-circle {
        width: 55px;
        height: 55px;
    }
    
    .poster-rating-circle svg {
        width: 50px;
        height: 50px;
    }
    
    .poster-rating-value {
        font-size: 14px;
    }
}