* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 75px;
    padding: 0 50px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
}

.logo span {
    color: #e50914;
}

.navbar nav a {
    color: #ddd;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
    transition: .3s;
}

.navbar nav a:hover {
    color: #e50914;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider,
.slide {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 6s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0,0,0,0.95), rgba(0,0,0,0.45), rgba(0,0,0,0.15)),
        linear-gradient(to top, #050505, rgba(0,0,0,0.1));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    max-width: 620px;
    z-index: 3;
}

.tag {
    display: inline-block;
    background: rgba(229,9,20,0.9);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: clamp(40px, 7vw, 82px);
    line-height: 1;
    margin-bottom: 22px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 30px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.btn-primary {
    background: #e50914;
    color: #fff;
    box-shadow: 0 10px 35px rgba(229,9,20,0.45);
}

.btn-primary:hover {
    background: #ff1b27;
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255,255,255,0.13);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.22);
}

.catalogo-section {
    padding: 50px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.catalogo-section h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px;
}

.card-novela {
    background: rgba(255,255,255,0.06);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
    transition: .35s;
}

.card-novela:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(229,9,20,0.6);
}

.poster {
    position: relative;
    height: 285px;
    overflow: hidden;
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.card-novela:hover .poster img {
    transform: scale(1.12);
}

.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 22px;
    opacity: 0;
    transition: .35s;
}

.card-novela:hover .poster-overlay {
    opacity: 1;
}

.poster-overlay a {
    background: #e50914;
    color: #fff;
    padding: 11px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.card-info p {
    color: #aaa;
    font-size: 14px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .navbar nav {
        display: none;
    }

    .hero-content {
        left: 25px;
        right: 25px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .catalogo-section {
        padding: 25px;
        margin-top: -40px;
    }

    .catalogo {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .poster {
        height: 240px;
    }
}