:root {
    --primary-red: #e50914;
    --dark-bg: #141414;
    --card-bg: #2f2f2f;
    --text-white: #fff;
    --text-gray: #b3b3b3;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    background-color: var(--dark-bg);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-white);
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, rgba(0,0,0,0));
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.5s;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-red);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li { margin-left: 20px; }
.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 14px;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-gray); }

.banner {
    height: 80vh;
    background: linear-gradient(to top, var(--dark-bg), transparent), url('https://picsum.photos/1920/1080?random=30');
    background-size: cover;
    display: flex;
    align-items: center;
}

.banner-content { max-width: 600px; }
.banner-content h1 { font-size: 56px; margin-bottom: 20px; }
.banner-content p { font-size: 18px; margin-bottom: 30px; }

.play-btn {
    background: var(--text-white);
    color: #000;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
}

.info-btn {
    background: rgba(109, 109, 110, 0.7);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.row { margin-top: 3vw; }
.row-title { font-size: 1.4vw; font-weight: bold; margin-bottom: 0.5em; }

.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.movie-card {
    position: relative;
    transition: transform 0.3s;
    cursor: pointer;
}

.movie-card:hover { transform: scale(1.05); z-index: 2; }
.movie-card img { width: 100%; border-radius: 4px; }

footer {
    padding: 50px 0 20px;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 100px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a { color: var(--text-gray); text-decoration: none; margin-bottom: 10px; display: block; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
    .movie-grid { grid-template-columns: repeat(3, 1fr); }
    .banner-content h1 { font-size: 36px; }
}
