@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #141414;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header elegante */
.header {
    position: relative;
    height: 100vh;
    background: linear-gradient(
        135deg,
        rgba(229, 9, 20, 0.8) 0%,
        rgba(0, 0, 0, 0.8) 100%
    ),
    url('https://images4.alphacoders.com/117/1177245.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 40px;
}

.logo {
    font-size: 3.5em;
    font-weight: 700;
    color: #e50914;
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.3em;
    color: #f1f1f1;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Carrusel de películas */
.movies-carousel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
    opacity: 0.3;
}

.movies-track {
    display: flex;
    animation: scroll 30s linear infinite;
    height: 100%;
}

.movie-poster {
    min-width: 135px;
    height: 200px;
    margin-right: 10px;
    border-radius: 8px;
    background: linear-gradient(45deg, #e50914, #831010);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #e50914;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #e50914;
}

/* Contenedor principal */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    min-height: 100vh;
}

/* Secciones de contenido */
.section {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(40, 40, 40, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section h2 {
    color: #e50914;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

/* Login Section */
/* login.css */

/* Fondo y tipografía */
body {
    font-family: 'Inter', sans-serif;
    background: #141414;
}

/* Sección de login - OCULTA POR DEFECTO */
.login-section {
    max-width: 500px;
    margin: 0 auto;
    display: none; /* OCULTA POR DEFECTO */
}

.login-section.active {
    display: block; /* SOLO VISIBLE CUANDO TIENE CLASE ACTIVE */
}

/* Campos de formulario */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #f1f1f1;
    font-weight: 500;
    font-size: 1.1em;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e50914;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Botón de login */
.btn {
    background: linear-gradient(135deg, #e50914, #b8070f);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* Dashboard - OCULTO POR DEFECTO */
.dashboard-section {
    display: none; /* OCULTO POR DEFECTO */
}

.dashboard-section.active {
    display: block; /* SOLO VISIBLE CUANDO TIENE CLASE ACTIVE */
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e50914, #f40612);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.2);
    background: rgba(229, 9, 20, 0.1);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: #e50914;
}

.card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 600;
}

.card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

/* Alertas */
.alert {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 500;
    border-left: 4px solid;
    display: none; /* OCULTAS POR DEFECTO */
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
    color: #4ade80;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #f87171;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #60a5fa;
}

.alert.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

/* Loading */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #e50914;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Content Areas - CAMBIO PRINCIPAL AQUÍ */
.content-area {
    display: none; /* OCULTAS POR DEFECTO */
    opacity: 0;
    transform: translateY(20px);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 30px;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
}

.content-area.active {
    display: block; /* SOLO VISIBLES CON CLASE ACTIVE */
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.4s ease-out;
}

/* Animación mejorada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-area h3 {
    color: #e50914;
    margin-bottom: 25px;
    font-size: 1.8em;
}

/* Profile Info Cards */
.profile-card {
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.profile-card:hover {
    background: rgba(229, 9, 20, 0.15);
    transform: translateY(-2px);
}

.profile-card h4 {
    color: #e50914;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.profile-card p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.profile-card strong {
    color: #ffffff;
}


/* FOOTER PRINCIPAL */
.footer {
    background-color: #141414;
    padding: 60px 20px;
    color: #fff;
    border-top: 3px solid #e50914;
    margin-top: 80px;
}

/* CONTENEDOR DEL FOOTER */
footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* GRID DE SECCIONES (AHORA 4 COLUMNAS) */
footer .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 40px;
    margin-bottom: 40px;
}

/* TITULOS DE SECCIONES */
footer .footer-section h3 {
    color: #e50914;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

footer .footer-section h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
}

/* TEXTOS DE LAS SECCIONES */
footer .footer-section p,
footer .footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    line-height: 1.6;
    text-decoration: none;
}

footer .footer-section a:hover {
    color: #e50914;
}

/* ÍCONOS Y ENLACES SOCIALES */
footer .social-links {
    display: flex;
    gap: 15px;
}

footer .social-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: rgba(229, 9, 20, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 1.2em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

footer .social-link:hover {
    background: #e50914;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* CONTACTO */
footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
}

footer .contact-icon {
    font-size: 1.2em;
    color: #e50914;
    min-width: 25px;
}

/* SERVICIOS Y RÁPIDO */
footer .service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .service-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: color 0.3s ease;
}

footer .service-list li:hover {
    color: #e50914;
}

footer .quick-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .contact-btn {
    background: rgba(229, 9, 20, 0.1);
    border: 2px solid rgba(229, 9, 20, 0.3);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    font-weight: 500;
}

footer .contact-btn:hover {
    background: rgba(229, 9, 20, 0.2);
    border-color: #e50914;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

/* PARTE INFERIOR DEL FOOTER */
footer .footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

footer .footer-bottom p {
    margin: 5px 0;
}

footer .footer-note {
    font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    footer .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer .quick-contact {
        flex-direction: column;
    }
}


/* Sección de los Planes */
.plans-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

/* Título de la Sección */
.plans-title {
    font-size: 2.5em;
    color: #e50914;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

/* Contenedor de los Planes */
.plans-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Estilos Generales para las Cards */
.plan-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 40px 30px;
    width: 280px;
    color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: #e50914;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.15);
}

/* Nombre y Precio de los Planes */
.plan-name {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 600;
}

.plan-price {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Características de los Planes */
.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.plan-features li {
    margin: 10px 0;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.85);
}

/* Botón de Elección de Plan */
.plan-btn {
    background: #e50914;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: #b2070d;
}

/* Destacado: Premium (más vendido) */
.premium {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid #e50914;
    box-shadow: 0 0 50px rgba(229, 9, 20, 0.3);
}

.premium .plan-name {
    color: #ffd700; /* Dorado para resaltar */
}

.premium .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffd700;
    color: #000;
    padding: 8px 14px;
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 50px;
}

/* Destacado: Titanium (exclusivo y nuevo) */
.highlight {
    background: linear-gradient(135deg, #1f1f1f, #3a3a3a);
    border: 2px solid #e50914;
    box-shadow: 0 0 50px rgba(229, 9, 20, 0.4);
    transform: scale(1.05);
}

.highlight .plan-name {
    color: #ffd700;
}

.highlight-btn {
    background: linear-gradient(135deg, #ffd700, #e50914);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
}

.highlight-btn:hover {
    background: linear-gradient(135deg, #e50914, #ffd700);
    color: #000;
}

/* Etiqueta nueva */
.badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ffd700;
    color: #000;
    padding: 8px 14px;
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}