
/* 1. VARIABLES & RESET */
:root {
    --primary-hover: #970036;
    --dark-bg: #0a0a0a;
    --card-bg: #161616;
    --card-hover: #1c1c1c;
    --text-gray: #b0b0b0;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

.membership-page {
    background-color: #fbeded;
    color: #333; /* Corregido 'B' por un color real */
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 2. LAYOUT & CONTAINERS */
.mem-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 60px;
}

/* 3. HERO SECTION */
.mem-hero {
    background: 
        radial-gradient(circle at top right, rgba(255, 45, 120, 0.15), transparent),
        radial-gradient(circle at bottom left, rgba(255, 45, 120, 0.05), transparent);
    text-align: center;
    padding: 120px 20px;
}

.mem-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem); /* Responsivo automático */
    line-height: 1.1;
    margin: 20px 0;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.badge {
    background: rgba(255, 45, 120, 0.1);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 4. COMPONENTES (BOTONES Y TARJETAS) */
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 0 var(--primary-hover);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 0 var(--primary-hover);
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--primary-hover);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--card-bg);
    color: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: #444;
    background: var(--card-hover);
}

.benefit-card.highlighted {
    border-color: var(--color-primary);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

/* 5. LISTAS E IMÁGENES */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.image-wrapper {
    background: linear-gradient(45deg, var(--color-primary), #8a2be2);
    padding: 10px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    max-width: fit-content;
    margin: 0 auto;
}

/* 6. PAYMENT BOX */
.payment-card {
    background: #111;
    color: white;
    border-radius: 30px;
    padding: clamp(30px, 5vw, 60px);
    text-align: center;
    border: 1px dashed #333;
}

.payment-status {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.status-item {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #000;
    display: flex;
    align-items: center;
}

.status-item .dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-item.active .dot { 
    background: #00ff88; 
    box-shadow: 0 0 10px #00ff88; 
}

.status-item.pending { opacity: 0.5; }

/* 7. UTILIDADES Y ANIMACIONES */
.u-pink { color: var(--color-primary); }
.small-text { color: var(--text-gray); font-size: 0.9rem; margin-top: 20px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 8. MEDIA QUERIES */
@media (max-width: 768px) {
    .mem-container { padding: 40px 20px; }
    .grid-2 { text-align: center; }
    .explanation-image { order: -1; }
}











/* 2. Hacemos que el div principal de la membresía "empuje" al footer */
.membership-page {
    flex: 1 0 auto; /* Esto ocupa todo el espacio disponible arriba del footer */
}

/* 3. Aseguramos que el footer no tenga posiciones fijas heredadas */
footer {
    flex-shrink: 0; /* Evita que el footer se comprima */
    position: relative !important;
    bottom: auto !important;
}


/* --- ESTILO SHONEN JUMP --- */

.shonen-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    text-transform: none;
}

.shonen-points-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.shonen-point {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
}

.shonen-point.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.shonen-point.reverse .point-content {
    order: 2;
}

/* El Número del Punto */
.point-number {
    font-size: 1.5rem;
    font-weight: 800;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    padding-right: 50px;
    margin-bottom: 20px;
    position: relative;
}

.point-number span {
    font-size: 5rem;
    color: var(--color-primary);
    line-height: 1;
    position: absolute;
    bottom: -5px;
    right: 0;
}

.point-content h3 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.point-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 450px;
}

/* Visuales e Imágenes */
.floating-covers {
    position: relative;
    height: 300px;
}

.cover-main {
    width: 180px;
    transform: rotate(-5deg);
    border: 3px solid #fff;
    position: absolute;
    z-index: 2;
}

.cover-sub {
    width: 150px;
    left: 100px;
    top: 30px;
    transform: rotate(10deg);
    position: absolute;
    z-index: 1;
}

/* Estilo para el mini-grid del Punto 2 */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #222;
    padding: 15px;
    border-radius: 8px;
}

.mini-item {
    aspect-ratio: 2/3;
    background: #333;
    border: 1px solid #444;
}

.floating-covers img {
    width: 260px;
}


/* Ajuste Mobile para este estilo */
@media (max-width: 768px) {
    .shonen-point, .shonen-point.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .shonen-point.reverse .point-content {
        order: 0;
        padding: 0 20px;
    }

    .library-preview-img {
        width: 80% !important;
    }

    .point-content p {
        margin: 0 auto;
    }

    .point-number {
        padding-right: 40px;
    }
    
    .point-number span {
        font-size: 4rem;
    }

    .cover-sub {
        left: 35px;
    }

    .cover-main {
        right: 25px;
    }


    .floating-covers img {
        width: 200px;
    }


}




/* --- OPTIMIZACIÓN MOBILE --- */

@media (max-width: 768px) {
    /* Ajustes de Contenedores */
    .mem-container {
        padding: 40px 30px; /* Reducimos padding vertical en móviles */
    }

    /* Hero Section Mobile */
    .mem-hero {
        padding: 60px 0;
        background: radial-gradient(circle at center, rgba(255, 45, 120, 0.1), transparent);
    }

    .mem-hero h1 {
        font-size: 2.2rem; /* Tamaño más legible en vertical */
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .cta-button {
        width: 100%; /* Botón ancho completo para facilitar el clic táctil */
        text-align: center;
        padding: 16px 20px;
    }

    /* Grid de Beneficios */
    .benefits-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 20px;
    }

    .benefit-card {
        padding: 30px 20px;
        text-align: center;
    }

    /* Vanguard System (Explanation) */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .explanation-image {
        order: -1; /* La imagen aparece arriba del texto en móvil */
        max-width: 250px;
        margin: 0 auto;
    }

    .check-list li {
        justify-content: center; /* Centramos la lista en móvil */
        text-align: left;
    }

    /* Payment Box Mobile */
    .payment-card {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .payment-status {
        flex-direction: column; /* Estados de pago uno sobre otro */
        gap: 10px;
        align-items: center;
    }

    .status-item {
        width: 100%;
        max-width: 280px;
    }

    .checkout-img {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    /* Footer CTA */
    .mem-footer-cta h2 {
        font-size: 1.8rem;
    }
}




/* --- SHONEN JUMP EDITORIAL THEME --- */

:root {
    --jump-red: #d32f2f; /* Rojo vibrante de Shonen Jump */
    --shonen-bg: #fdf2f2; /* Fondo rosa pálido/crema muy suave */
    --text-black: #1a1a1a;
    --text-gray-dark: #444;
}

.membership-page.shonen-theme {
    background-color: var(--shonen-bg);
    color: var(--text-black);
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

.u-red { color: var(--color-primary); }

/* Títulos Impactantes */
.shonen-main-title {
    font-size: 2.5rem !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-bottom: 80px;
    color: var(--text-black);
}

.jump-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-black);
}

/* --- Estructura de Puntos (Benefits) --- */

.shonen-points-list {
    display: flex;
    flex-direction: column;
    gap: 120px; /* Gran espacio entre puntos */
}

.shonen-point {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    margin-top: 30px;
}

/* Disposición Inversa (Texto a la derecha) */
.shonen-point.reverse {
    grid-template-columns: 1fr 1.2fr;
}

/* El Número del Punto y la Línea Roja */
.point-number-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
}

.point-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-black);
    margin-right: 10px;
    text-decoration: underline;
}

.point-digit {
    font-size: 6rem;
    font-weight: 800;
    line-height: 0.8;
    color: var(--color-primary);
}

.red-line {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100vw; /* Cruza toda la pantalla */
    height: 3px;
    background-color: var(--jump-red);
    z-index: -1; /* Detrás del texto */
}

/* Contenido de Texto */
.point-content h3 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-black);
    font-weight: 700;
}

.point-content p {
    color: var(--text-gray-dark);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 500px;
    font-weight: 600;
}

/* --- Visuales Shonen --- */

/* Punto 1: Portadas Flotantes */
.floating-covers {
    position: relative;
    height: 350px;
}

.cover-sub {
    width: 170px;
    right: 20px;
    top: 60px;
    transform: rotate(5deg);
    position: absolute;
    z-index: 1;
}

/* Punto 2: Preview de la librería */
.library-preview-img {
    width: 100%;
    max-width: 550px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 20px;
}

/* Punto 3: Ilustración especial */
.point-three-img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* --- Botón de Suscripción Temático (Amarillo) --- */
.cta-button {
    background-color: var(--color-primary); /* Amarillo vibrante */
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 20px 50px;
    border-radius: 50px; /* Muy redondeado */
    text-transform: none;
    transition: all 0.2s ease;
}

.cta-button:hover {
    transform: translateY(3px);
}

/* --- Optimización Mobile --- */
@media (max-width: 992px) {
    .shonen-point, .shonen-point.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .shonen-point.reverse .point-visual {
        order: 2; /* Imagen abajo en mobile */
    }

    .point-number-wrapper {
        justify-content: center;
    }

    .point-digit { font-size: 5rem; }
    .point-content p { margin: 0 auto; }

    .shonen-main-title {
        display: block !important;
        text-align: center;
    }

    .u-red {
        font-size: 60px;
    }

    .shonen-points-list {
        gap: 20px;
    }

}




/* Hero Section con Imagen de Fondo (Nala) */
.mem-hero.premium-kv {
    position: relative;
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
    background-color: #000; /* Fondo de seguridad */
}

.mem-hero.premium-kv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Ruta dinámica hacia la imagen de Nala */
    background-image: url('../img/Nala.jpg'); 
    background-size: cover;
    background-position: center 20%;
    /* FILTROS: Ajusta el blur (desenfoque) y el brightness (brillo) según necesites */
    filter: blur(4px) brightness(0.5) saturate(0.8);
    transform: scale(1.1); /* Evita bordes blancos por el blur */
    z-index: 1;
}


/* Asegura que el contenido esté por encima del fondo */
.mem-hero .mem-container {
    position: relative;
    z-index: 2;
}

/* Ajuste de contraste para el texto sobre la imagen */
.jump-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.badge {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(240, 40, 151, 0.4);
}





/* Estilos para la sección About Subscription */
.mem-about-subscription {
    padding: 80px 0;
    background-color: #ffffff;
}

.professional-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 50px;
}

.subscription-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step-card.featured {
    border-color: #e62117; /* Tu color u-red */
    background: #fff;
    width: clamp(332.5px, 45.9vw, 470px);
    place-self: center;
}

.step-badge {
    background: #e62117;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.step-info p {
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

.support-notice {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

/* Responsivo */
@media (max-width: 768px) {
    .subscription-steps-grid {
        grid-template-columns: 1fr;
    }
        
    .mem-hero.premium-kv::before {
        filter: blur(12px) brightness(0.7) saturate(0.7);
    }

}




/* Contenedor principal del encabezado */
.subscription-header {
    display: flex;
    flex-direction: column; /* Apila los elementos uno sobre otro en móvil */
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 40px;
}

/* Ajuste del Título Principal */
.main-step-title {
    font-size: 2rem; /* Tamaño reducido para móvil */
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    width: 100%;
}

.main-step-title .u-red {
    display: block; /* Fuerza a que "Beast Tier" baje a una nueva línea si es necesario */
    font-size: 2.5rem;
}

/* Ajuste del Subtítulo */
.section-subtitle {
    font-size: 1rem;
    line-height: 1.4;
    color: #666;
    max-width: 300px; /* Limita el ancho para que no se extienda demasiado */
    margin: 15px auto;
    text-align: center;
}



body.dark-mode .badge,
body.dark-mode .cta-button,
body.dark-mode .point-digit,
body.dark-mode .u-red {
    color: black !important;
}

body.dark.mode .cta-button {
    box-shadow: 0 10px 0 black !important;
}

body.dark-mode .step-badge {
    background: #333333;   
}

body.dark-mode .step-card.featured {
    border-color: #333333;
}

body.dark-mode a.cta-button.pulse {
    box-shadow: 0 10px 0 black;
}

body.dark-mode .badge {
    box-shadow: 0 0 15px rgba(240, 40, 151, 0.4) !important;    
}






/* Contenedor de botones para alinearlos */
.btns-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center; /* Centra los botones */
    align-items: center;
    flex-wrap: wrap; /* Si no caben en móvil, se ponen uno abajo del otro */
    margin-bottom: 10px;
}

/* Estilo para el botón de NowPayments (el que genera el shortcode) */
.boton-pago-crypto {
    display: inline-block;
    padding: 12px 24px;
    background-color: #582be8; /* Un color morado/cripto o el que prefieras */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
    font-family: inherit;
}

.boton-pago-crypto:hover {
    background-color: #431dbd;
    transform: translateY(-2px);
}

/* Ajuste para que el botón de Ko-fi y el de Cripto tengan tamaños similares */
.cta-button, .boton-pago-crypto {
    min-width: 220px;
    text-align: center;
}


