:root {
    --netflix-red: #E50914;
    --netflix-black: #141414;
    --netflix-dark-gray: #181818;
    --netflix-light-gray: #e5e5e5;
    --text-white: #ffffff;
    --text-meta: #a3a3a3;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--netflix-black);
    color: var(--text-white);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 4%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, rgba(0,0,0,0));
    transition: background-color 0.3s;
}

header.scrolled {
    background-color: var(--netflix-black);
}

.logo {
    color: var(--netflix-red);
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 4%;
    background-image: url('https://images.unsplash.com/photo-1626544827763-d516dce335ca?q=80&w=2670&auto=format&fit=crop'); /* Placeholder abstract art */
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--netflix-black) 5%, transparent 60%),
                linear-gradient(to right, var(--netflix-black) 20%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.series-logo {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.8);
}

.meta-info {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 500;
}

.match-score {
    color: #46d369;
    font-weight: bold;
    margin-right: 10px;
}

.synopsis {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
    transform: scale(1.02);
}

.btn-primary {
    background-color: var(--text-white);
    color: #000;
}

.btn-secondary {
    background-color: rgba(109, 109, 110, 0.7);
    color: var(--text-white);
}

/* Sections */
section {
    padding: 40px 4%;
    position: relative;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Cards (Modules/Episodes) */
.cards-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}

.cards-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.card {
    flex: 0 0 250px;
    height: 140px;
    background-color: #333;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.1);
    z-index: 100;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .card-info {
    opacity: 1;
}

/* Social Proof (Trending) */
.trending-card {
    flex: 0 0 280px;
    background-color: #2f2f2f;
    padding: 20px;
    border-radius: 4px;
    margin-right: 15px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #555;
    background-size: cover;
}

.comment {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

/* Pricing - Tiered */
.pricing-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--netflix-dark-gray);
    width: 300px;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.pricing-card.featured {
    border-color: var(--netflix-red);
    background-color: #222;
    transform: scale(1.02);
}

.price-title {
    color: var(--text-meta);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-value {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    color: #ccc;
}

.price-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--netflix-red);
}

.btn-price {
    width: 100%;
    background-color: var(--netflix-red);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

.btn-price:hover {
    background-color: #f40612;
}

/* Footer */
footer {
    padding: 50px 4%;
    color: var(--text-meta);
    font-size: 0.9rem;
    border-top: 1px solid #333;
    margin-top: 40px;
}
