:root {
    --netflix-red: #E50914;
    --netflix-dark-bg: #141414;
    --netflix-gray: #303030;
    --netflix-light-gray: #808080;
}

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

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    z-index: 100;
    padding: 15px 50px;
    transition: background-color 0.3s ease;
}

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

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--netflix-light-gray);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-right input {
    background-color: rgba(0,0,0,0.5);
    border: 1px solid white;
    color: white;
    padding: 8px;
    border-radius: 4px;
}

.profile img {
    width: 32px;
    border-radius: 4px;
}

/* Main Featured Content */
.main-featured {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.featured-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-info {
    position: absolute;
    bottom: 20%;
    left: 50px;
    max-width: 50%;
}

.featured-info h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.featured-info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.featured-buttons {
    display: flex;
    gap: 15px;
}

.featured-buttons button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.play {
    background-color: white;
    color: black;
}

.info {
    background-color: rgba(109, 109, 110, 0.7);
    color: white;
}

/* Movie Rows */
.movie-rows {
    padding: 20px 50px;
}

.movie-row {
    margin-bottom: 30px;
}

.movie-row h2 {
    color: white;
    margin-bottom: 15px;
}

.movie-list {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--netflix-gray) transparent;
}

.movie-list::-webkit-scrollbar {
    height: 8px;
}

.movie-list::-webkit-scrollbar-thumb {
    background-color: var(--netflix-gray);
    border-radius: 4px;
}

.movie-item {
    min-width: 200px;
    height: 300px;
    background-color: var(--netflix-gray);
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.movie-item:hover {
    transform: scale(1.1);
    z-index: 10;
}

/* Movie Modal */
.movie-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: var(--netflix-dark-bg);
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
}

.close-modal {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--netflix-dark-bg);
    color: var(--netflix-light-gray);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}