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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #141414;
    color: #ffffff;
    overflow-x: hidden;
}

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

/* Header - Netflix Style */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.4s ease;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, transparent);
    z-index: -1;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    height: 68px;
}

.vostfr-badge-header {
    background: #e50914;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #e50914;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
}

.logo-red {
    color: #e50914;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 850px;
    background-size: cover;
    background-position: center center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(20, 20, 20, 0.95) 0%,
        rgba(20, 20, 20, 0.7) 30%,
        rgba(20, 20, 20, 0.4) 50%,
        transparent 70%
    ),
    linear-gradient(
        to bottom,
        transparent 70%,
        rgba(20, 20, 20, 0.8) 90%,
        rgba(20, 20, 20, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 4%;
    padding-top: 150px;
    max-width: 650px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.badge-netflix {
    background: #e50914;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
}

.badge-vostfr {
    background: rgba(229, 9, 20, 0.9);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    border: 2px solid #e50914;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

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

.match {
    color: #46d369;
    font-size: 15px;
    font-weight: 600;
}

.year, .age, .hd {
    color: #b3b3b3;
    font-size: 15px;
}

.age {
    border: 1px solid #b3b3b3;
    padding: 2px 6px;
    border-radius: 3px;
}

.hd {
    color: #fff;
    font-weight: 600;
}

.hero-description {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #fff;
    color: #000;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

.btn-secondary {
    background-color: rgba(109, 109, 110, 0.7);
    color: #fff;
}

.btn-secondary:hover {
    background-color: rgba(109, 109, 110, 0.4);
}

/* Free Logo Banner */
.free-banner {
    background: linear-gradient(180deg, rgba(20,20,20,0.95) 0%, rgba(20,20,20,0.8) 100%);
    backdrop-filter: blur(10px);
    padding: 20px 4%;
    border-bottom: 1px solid rgba(229, 9, 20, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.free-banner-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.free-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #e50914;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.free-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e50914, transparent);
}

.free-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.free-badge {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.free-badge:hover {
    transform: translateY(-2px);
}

.free-badge svg {
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

.free-badge.premium {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #e50914;
}

.free-badge.hd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.free-badge.no-account {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Mobile Responsive - Free Banner */
@media (max-width: 768px) {
    .free-banner {
        padding: 15px 4%;
    }

    .free-banner-content {
        gap: 15px;
        flex-direction: column;
    }

    .free-logo {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .free-badges {
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .free-badge {
        font-size: 10px;
        letter-spacing: 1px;
        padding: 5px 10px;
        gap: 4px;
    }

    .free-badge svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .free-banner {
        padding: 12px 4%;
    }

    .free-logo {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .free-badge {
        font-size: 9px;
        padding: 4px 8px;
    }

    .free-badge svg {
        width: 10px;
        height: 10px;
    }
}

/* Categories Section */
.categories-section {
    position: relative;
    padding: 30px 0;
    margin-bottom: 20px;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 0 4%;
    color: #fff;
}

.vostfr-tag {
    background: #e50914;
    color: #fff;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

.carousel-container {
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 4%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.movie-card {
    flex: 0 0 auto;
    width: 240px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

.card-image {
    width: 240px;
    height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.movie-card:hover .card-image {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
}

.card-vostfr {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e50914;
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.card-hd {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
}

.card-badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e50914;
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    animation: pulse 2s infinite;
}

.card-badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #e50914, #b20710);
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.card-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .card-hover {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(229, 9, 20, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    border: 3px solid #fff;
}

.card-info {
    padding: 12px 0;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.card-meta {
    font-size: 13px;
    color: #b3b3b3;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    font-size: 50px;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Footer */
.footer {
    background-color: #141414;
    padding: 50px 4%;
    margin-top: 50px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto 30px;
}

.footer-title {
    font-size: 28px;
    font-weight: 800;
    color: #e50914;
    margin-bottom: 15px;
    font-family: 'Bebas Neue', sans-serif;
}

.footer-text {
    font-size: 16px;
    color: #b3b3b3;
    margin-bottom: 10px;
}

.footer-note {
    font-size: 14px;
    color: #808080;
}

.footer-copy {
    font-size: 12px;
    color: #808080;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-content {
        padding-top: 120px;
    }

    .logo {
        font-size: 22px;
    }

    .movie-card {
        width: 160px;
    }

    .card-image {
        width: 160px;
        height: 240px;
    }

    .carousel-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .movie-card {
        width: 140px;
    }

    .card-image {
        width: 140px;
        height: 210px;
    }
}