

:root {
    --nf-red: #e50914;
    --nf-dark: #141414;
    --nf-light: #fff;
    --nf-gray: #737373;
    --nf-dark-gray: #333;
}

body {
    background: var(--nf-dark);
    color: var(--nf-light);
    font-family: 'Netflix Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}

.netflix-header {
    padding: 20px 4%;
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.logo {
    height: 36px;
}

.btn-back {
    color: var(--nf-light);
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.film-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 4%;
}

.film-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.film-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.rating-badge {
    background: var(--nf-red);
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 0.9rem;
}

.duration, .genre {
    color: var(--nf-gray);
}

.film-content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.film-poster {
    width: 300px;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.film-details {
    flex: 1;
}

.synopsis h2, .actors-section h2, .rating-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--nf-light);
}

.synopsis p {
    line-height: 1.6;
    margin-bottom: 30px;
}

.actors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.actor-card {
    background: var(--nf-dark-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.actor-card:hover {
    transform: translateY(-5px);
}

.actor-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.actor-card h3 {
    padding: 15px;
    text-align: center;
    font-size: 1rem;
}

.star-rating {
    margin: 20px 0;
    font-size: 2rem;
    color: var(--nf-gray);
}

.star {
    cursor: pointer;
    transition: color 0.2s;
}

.star:hover, .star.active {
    color: gold;
}

.rating-text {
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
}

.btn-trailer {
    background: var(--nf-red);
    color: var(--nf-light);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-trailer:hover {
    background: #f40612;
}

@media (max-width: 768px) {
    .film-content {
        flex-direction: column;
    }
    
    .film-poster {
        width: 100%;
        height: 400px;
        margin-bottom: 30px;
    }
    
    .actors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .film-header h1 {
        font-size: 2rem;
    }
    
    .actors-grid {
        grid-template-columns: 1fr;
    }
}
