﻿/* --- PALETA DE COLORES SAGRADA --- */
:root {
    --albo-white: #ffffff;
    --albo-bg: #f8f9fa; /* Blanco humo para descansar la vista */
    --cni-blue: #002855; /* Azul profundo, elegante */
    --cni-red: #D6001C; /* Rojo vibrante para la acción */
    --cni-gold: #C5A059; /* Dorado mate, lujoso (no amarillo chillón) */
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--albo-white);
    color: var(--cni-blue);
    margin: 0;
    overflow-x: hidden;
    
}

/* --- 1. HERO SECTION: EL ESTADIO CELESTIAL --- */
/* --- 1. HERO SECTION: EL ESTADIO CELESTIAL --- */
/* HERO SECTION: INMERSIVA Y VIBRANTE */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* QUITAMOS EL PADDING SUPERIOR para que la imagen toque el techo */
    padding-top: 0;
    background:
    /* Capa 1: Degradado SUAVE. Blanco solo a la izquierda, transparente a la derecha */
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, /* Blanco sólido donde va el texto */
    rgba(255, 255, 255, 0.8) 40%, /* Se empieza a desvanecer */
    rgba(255, 255, 255, 0.1) 70%, /* Casi transparente */
    transparent 100%), /* Estadio puro a la derecha */
    /* Capa 2: Foto del Estadio (Usando el link estable) */
    url('https://storage.finatech.com.pe/uploads/cni/1769202950_1768663445_IMG_6185_2_3.webp') center/cover no-repeat fixed;
}

/* Eliminamos la decoración anterior que ya no hace falta */
/*.hero-bg-decoration {
    display: none;
}*/
/* Decoración de fondo sutil (Bandera CNI abstracta) */
.hero-bg-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.05;  Muy suave, apenas se ve 
    background-image: linear-gradient(45deg, var(--cni-blue) 25%, transparent 25%, transparent 75%, var(--cni-blue) 75%), linear-gradient(45deg, var(--cni-blue) 25%, transparent 25%, transparent 75%, var(--cni-blue) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Más espacio para texto */
    max-width: 1300px;
    width: 100%;
    align-items: center;
    gap: 4rem;
    z-index: 2;
    padding: 2rem;
}

/* --- TIPOGRAFÍA DE TITANES --- */
h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 5rem;
    line-height: 0.9; /* Un poco más junto para impacto */
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--cni-blue);
    /* Sombra sutil para separarlo del fondo */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Efecto para palabras claves */
.text-outline-red {
    /* El truco para un borde más nítido y vibrante */
    color: transparent;
    -webkit-text-stroke: 2px var(--cni-red);
    /* Un resplandor rojo muy suave detrás */
    text-shadow: 0 0 20px rgba(214, 0, 28, 0.2);
}

.text-gold-fill {
    /* Un degradado más rico, con más tonos para parecer metal */
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Animación lenta para que el brillo se mueva sutilmente */
    animation: shineGold 5s linear infinite;
    /* Sombra dorada para que "salte" de la pantalla */
    filter: drop-shadow(0 2px 5px rgba(179, 135, 40, 0.3));
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 500;
    color: #555;
    border-left: 5px solid var(--cni-red); /* Línea roja de acento */
    padding-left: 20px;
    margin-bottom: 40px;
    max-width: 600px;
}

/* --- BOTONES PREMIUM --- */
.btn-cni {
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 50px; /* Redondeado moderno */
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* REEMPLAZA TODA LA CLASE .btn-primary */
.btn-primary {
    background: var(--cni-blue); /* Fondo Azul CNI */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* Letra firme pero no muy gorda */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px; /* <--- ESTO ES EL LUJO (Letras separadas) */
    padding: 18px 45px; /* Botón más alto y ancho */
    border: 1px solid var(--cni-blue);
    border-radius: 0px; /* <--- ADIÓS PASTILLA (Bordes rectos = Seriedad) */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 40, 85, 0.2); /* Sombra elegante abajo */
    text-decoration: none;
}

    /* El efecto de "Barrido Rojo" al pasar el mouse */
    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: var(--cni-red); /* Se llena de ROJO PASIÓN */
        z-index: -1;
        transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animación suave */
    }

    .btn-primary:hover {
        color: white;
        border-color: var(--cni-red);
        box-shadow: 0 15px 30px rgba(214, 0, 28, 0.3); /* Resplandor rojo */
        transform: translateY(-2px); /* Se levanta un poquito */
    }

        .btn-primary:hover::before {
            width: 100%; /* El rojo llena el botón */
        }
/* --- LA JOYA: CARTA DEL JUGADOR (EL FOCO) --- */
.hero-visual {
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.card-container {
    position: relative;
    width: 340px;
    height: 480px;
    transform-style: preserve-3d;
    transition: transform 0.1s;
    /* Animación de flotar más suave */
    animation: floatCard 6s ease-in-out infinite;
}

.player-card {
    width: 100%;
    height: 100%;
    /* CAMBIO CLAVE: Degradado sutil para dar volumen, no blanco plano */
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border-radius: 24px; /* Bordes más redondeados y suaves */
    /* Borde muy fino y sombra de lujo */
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 40, 85, 0.15), /* Sombra principal suave */
    0 0 0 1px rgba(197, 160, 89, 0.2) inset; /* Borde dorado interno sutil */

    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

    /* Brillo que cruza la carta */
    .player-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
        transform: rotate(45deg);
        animation: shine 4s infinite;
    }

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Encabezado con textos dorados */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Russo One';
    font-size: 1.4rem;
    /* Color dorado metálico para el CNI y el número */
    color: var(--cni-gold);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    z-index: 2;
}

    /* El escudo central */
    .card-top i {
        color: var(--cni-gold);
        font-size: 1.6rem;
        opacity: 0.8;
    }

/* Área de la imagen */
.card-image-area {
    flex-grow: 1;
    margin: 10px 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Un fondo muy sutil detrás del jugador para que no se pierda */
    background: radial-gradient(circle at center bottom, rgba(0, 40, 85, 0.05) 0%, transparent 70%);
    border-radius: 15px;
}

    /* SILUETA DE JUGADOR (Placeholder Épico) */
    .card-image-area i {
        font-size: 180px;
        color: var(--cni-blue);
        opacity: 0.1; /* Silueta sutil */
        filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
    }

/* Información inferior */
.card-info {
    text-align: center;
    z-index: 2;
    padding-top: 10px;
}

/* NOMBRE: Gigante, azul y poderoso */
.player-name {
    font-family: 'Russo One';
    font-size: 2.2rem; /* Mucho más grande */
    color: var(--cni-blue);
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    /* Sombra sólida para que pese */
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

/* ROL: Rojo vibrante y más definido */
.player-role {
    font-size: 0.85rem;
    color: var(--cni-red);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* ANIMACIÓN FLOTAR */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateY(-5deg);
    }

    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    .hero-description {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.1rem;
        font-weight: 300; /* <--- LETRA FINA (Light) */
        color: #4a5568; /* Gris azulado elegante, no negro puro */
        line-height: 1.8; /* <--- MÁS AIRE entre líneas */
        margin-bottom: 50px;
        max-width: 600px;
        border-left: 3px solid var(--cni-gold); /* Detalle dorado sutil a la izquierda */
        padding-left: 30px;
    }

    .hero-visual {
        perspective: 1200px;
        display: flex;
        justify-content: center;
        z-index: 10; /* Asegura que esté por encima de todo */
    }
}
.hero-welcome {
    display: block;
    margin-top: 25px;
    font-weight: 700; /* Negrita para destacar */
    color: var(--cni-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}
/* Nueva animación para el oro */
@keyframes shineGold {
    to {
        background-position: 200% center;
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px) rotateY(-2deg);
    }

    50% {
        transform: translateY(-15px) rotateY(2deg);
    }
}

/* BADGE NFT: Más elegante y fino */
.nft-badge {
    background: var(--cni-blue);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 40, 85, 0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- ESTILOS DE LA CINTA (TICKER) --- */
.ticker-wrap {
    width: 100%;
    background-color: var(--cni-blue);
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--cni-gold);
    border-bottom: 1px solid var(--cni-gold);
}

.ticker {
    display: flex;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-right: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .ticker-item i {
        color: var(--cni-gold);
    }

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
    /* Ajusta según el largo */
}

/* --- TARJETAS DE BENEFICIOS MEJORADAS --- */
.feature-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

    .feature-box:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 50px rgba(0, 40, 85, 0.15);
        border-bottom: 5px solid var(--cni-red);
    }

.icon-circle {
    width: 90px;
    height: 90px;
    background: rgba(0, 40, 85, 0.1);
    color: var(--cni-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    transition: 0.3s;
}

    .icon-circle.red {
        background: rgba(214, 0, 28, 0.1);
        color: var(--cni-red);
    }

    .icon-circle.gold {
        background: rgba(197, 160, 89, 0.1);
        color: var(--cni-gold);
    }

.feature-box:hover .icon-circle {
    transform: scale(1.1) rotate(10deg);
}

/* --- ROADMAP (LÍNEA DE TIEMPO) --- */
.roadmap-section {
    padding: 80px 20px;
    background: #002855; /* Fondo Azul Oscuro */
    color: white;
    position: relative;
    overflow: hidden;
}

.section-title-dark {
    text-align: center;
    font-family: 'Russo One';
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

    /* La línea vertical */
    .timeline::after {
        content: '';
        position: absolute;
        width: 4px;
        background-color: rgba(255,255,255,0.2);
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -2px;
    }

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

    .timeline-item.left {
        left: 0;
        text-align: right;
    }

    .timeline-item.right {
        left: 50%;
    }

    .timeline-item .content {
        padding: 20px 30px;
        background-color: rgba(255,255,255,0.05); /* Cristal */
        backdrop-filter: blur(5px);
        border-radius: 15px;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .timeline-item h3 {
        color: var(--cni-gold);
        font-family: 'Russo One';
        margin: 0 0 10px;
    }

    .timeline-item p {
        margin: 0;
        font-size: 0.9rem;
        opacity: 0.8;
        font-family: 'Montserrat';
    }

    /* Puntos en la línea */
    .timeline-item::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        right: -10px;
        background-color: var(--cni-gold);
        border: 4px solid #002855;
        top: 25px;
        border-radius: 50%;
        z-index: 1;
    }

    .timeline-item.right::after {
        left: -10px;
    }

/* --- FINAL CTA (PARALLAX) --- */
.final-cta {
    background: url('https://storage.finatech.com.pe/uploads/splash_bubble_tea/1769202694_1768665289_04_2_3.webp') fixed center/cover;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    color: white;
}

.overlay-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 85, 0.85); /* Azul muy oscuro encima */
}

.cta-content {
    position: relative;
    z-index: 2;
}

    .cta-content h2 {
        font-family: 'Russo One';
        font-size: 3rem;
        margin-bottom: 10px;
    }

/* --- CLASES DE ANIMACIÓN (SCROLL REVEAL) --- */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 1s ease-out;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

    .reveal-up.active, .reveal-left.active, .reveal-right.active {
        opacity: 1;
        transform: translate(0);
    }

/* --- SECCIÓN 1: EL RITUAL (DARK MODE) --- */
.how-it-works-section {
    background-color: #001f3f; /* Azul noche profundo */
    background-image: radial-gradient(circle at 50% 50%, #002855 0%, #001020 100%);
    padding: 100px 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.step-card {
    background: rgba(255, 255, 255, 0.05); /* Cristal oscuro */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    width: 300px;
    position: relative;
    transition: transform 0.4s ease;
}

    .step-card:hover {
        transform: translateY(-15px);
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--cni-gold);
    }

/* NÚMERO GIGANTE DE FONDO */
.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: 'Russo One';
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.step-visual {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.floating-icon {
    font-size: 4rem;
    color: white;
    animation: float 4s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 1s;
}

.delay-2 {
    animation-delay: 2s;
}

/* Efecto de resplandor detrás del icono */
.glow-effect {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--cni-blue);
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
}

    .glow-effect.red {
        background: var(--cni-red);
    }

    .glow-effect.gold {
        background: var(--cni-gold);
    }

.step-card h3 {
    font-family: 'Russo One';
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
}

.step-card p {
    font-family: 'Montserrat';
    font-size: 0.9rem;
    opacity: 0.8;
    z-index: 1;
    position: relative;
}

.step-connector {
    align-self: center;
    font-size: 2rem;
    color: var(--cni-gold);
    opacity: 0.5;
}

/* --- SECCIÓN 2: EL PODER (GRID ILUSTRADO) --- */
.utility-section {
    padding: 100px 20px;
    background: #f8f9fa;
    text-align: center;
}

.section-subtitle {
    font-family: 'Montserrat';
    color: #666;
    margin-bottom: 60px;
    font-size: 1.2rem;
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    grid-template-rows: 350px 250px; /* Altura de filas */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.utility-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

    .utility-card:hover {
        transform: scale(1.02);
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    }

/* TINTES DE COLOR SOBRE LAS FOTOS */
.utility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    transition: background 0.3s;
}

.utility-card:hover .utility-overlay {
    background: linear-gradient(to top, var(--cni-blue) 0%, rgba(0, 40, 85, 0.4) 100%); /* Se pone azul al hover */
}

/* CONTENIDO DENTRO DE LA TARJETA */
.utility-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    text-align: left;
    color: white;
    z-index: 2;
}

.utility-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--cni-gold);
}

.utility-content h3 {
    font-family: 'Russo One';
    text-transform: uppercase;
    margin: 0 0 5px;
    font-size: 1.5rem;
}

.utility-content p {
    font-family: 'Montserrat';
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 300;
}

/* CLASES ESPECIALES PARA EL GRID */
.large {
    grid-column: span 1;
    grid-row: span 2; /* Ocupa 2 filas de alto */
    height: 100%; /* Forzar altura */
}

.wide {
    grid-column: span 2; /* Ocupa 2 columnas de ancho */
}

.horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* RESPONSIVE (Para celular) */
@media (max-width: 992px) {
    .utility-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .large, .wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* --- SECCIÓN APP SHOWCASE --- */
.app-showcase-section {
    padding: 100px 20px;
    background: #fff;
    overflow: hidden;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

/* Columna Texto */
.badge-tech {
    background: rgba(0, 40, 85, 0.1);
    color: var(--cni-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.app-content h2 {
    font-family: 'Russo One';
    font-size: 3rem;
    color: var(--cni-blue);
    margin: 20px 0;
    line-height: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

    .feature-list li {
        display: flex;
        gap: 15px;
        margin-bottom: 25px;
    }

    .feature-list i {
        font-size: 1.5rem;
        color: var(--cni-gold);
        margin-top: 5px;
    }

.stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-item h3 {
    font-family: 'Russo One';
    font-size: 2rem;
    margin: 0;
    color: var(--cni-blue);
}

/* Columna Visual (CELULAR CSS) */
.app-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Luces de fondo */
.blob-blue {
    position: absolute;
    top: -20px;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--cni-blue);
    filter: blur(80px);
    opacity: 0.1;
    border-radius: 50%;
}

.blob-gold {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 250px;
    height: 250px;
    background: var(--cni-gold);
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
}

/* EL TELÉFONO EN SÍ */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 10px solid #1a1a1a;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    z-index: 2;
    overflow: hidden;
    /* Animación flotante */
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #001f3f, #001020);
    padding: 40px 20px 20px;
    color: white;
    display: flex;
    flex-direction: column;
}

/* UI Simulada del Celular */
.app-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 30px;
}

.app-balance {
    text-align: center;
    margin-bottom: 20px;
}

    .app-balance h3 {
        font-size: 2.5rem;
        margin: 5px 0;
        font-family: 'Montserrat';
    }

.positive {
    color: #00FF88;
    background: rgba(0,255,136,0.1);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.app-chart {
    height: 60px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.app-list {
    flex-grow: 1;
    overflow: hidden;
}

.app-item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

    .app-item .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .app-item span {
        margin-left: auto;
        font-weight: bold;
    }

.app-fab {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--cni-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(214,0,28,0.4);
}

/* --- SECCIÓN FAQ (EL ORÁCULO) --- */
.faq-section {
    padding: 80px 20px;
    background: #f4f6f8;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    overflow: hidden;
    transition: all 0.3s;
}

    .faq-item:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        border-color: var(--cni-blue);
    }

    .faq-item summary {
        padding: 20px;
        cursor: pointer;
        font-weight: 700;
        color: var(--cni-blue);
        list-style: none; /* Quita el triángulo por defecto */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .faq-item summary::after {
            content: '+';
            font-size: 1.5rem;
            color: var(--cni-red);
        }

    .faq-item[open] summary::after {
        content: '-';
    }

    .faq-item p {
        padding: 0 20px 20px;
        margin: 0;
        color: #666;
        line-height: 1.6;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
        padding-top: 10px;
    }

/* RESPONSIVE */
@media (max-width: 992px) {
    .app-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
        text-align: left;
    }

    .stats-row {
        justify-content: center;
    }

    .app-visual {
        margin-top: 50px;
    }
}

/* --- TESTIMONIOS (GRID) --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    transition: 0.3s;
    border: 1px solid #eee;
}

    .testimonial-card:hover {
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-5px);
        border-color: var(--cni-gold);
    }

.quote-icon {
    font-size: 2rem;
    color: var(--cni-blue);
    opacity: 0.2;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .user-profile img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--cni-gold);
    }

    .user-profile strong {
        display: block;
        color: var(--cni-blue);
    }

    .user-profile small {
        color: #888;
        font-size: 0.8rem;
    }

/* --- PARTNERS --- */
.partners-section {
    padding: 50px 20px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    font-size: 3rem;
    color: #ccc; /* Gris apagado inicial */
}

.partner-logo {
    transition: 0.3s;
    cursor: pointer;
}

    .partner-logo:hover {
        color: var(--cni-blue);
        transform: scale(1.1);
    }

/* --- FOOTER PRO --- */
.pro-footer {
    background: #0a1018;
    color: white;
    padding-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 20px 60px;
}

.footer-brand p {
    opacity: 0.6;
    margin: 20px 0;
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

    .social-icons a {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: white;
        transition: 0.3s;
    }

        .social-icons a:hover {
            background: var(--cni-red);
            transform: translateY(-3px);
        }

.footer-links h4, .footer-newsletter h4 {
    font-family: 'Russo One';
    margin-bottom: 20px;
    color: var(--cni-gold);
}

.footer-links a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s;
}

    .footer-links a:hover {
        color: white;
        padding-left: 5px;
    }

.input-group {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    padding: 5px;
}

    .input-group input {
        background: transparent;
        border: none;
        color: white;
        padding: 10px;
        flex-grow: 1;
        outline: none;
    }

    .input-group button {
        background: var(--cni-gold);
        border: none;
        color: #002855;
        width: 40px;
        border-radius: 3px;
        cursor: pointer;
    }

.footer-bottom {
    background: #05080c;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: #555;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }
}

/* --- SECCIÓN LEGADO (HISTORIA) --- */
.legacy-section {
    padding: 100px 20px;
    background: #0a1018; /* Fondo oscuro elegante */
    position: relative;
    overflow: hidden;
    color: white;
}

/* Imagen de fondo difuminada para ambientar */
.legacy-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1522778119026-d647f0565c6a?auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
    filter: blur(10px);
}

.legacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--cni-gold);
    font-family: 'Montserrat';
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.legacy-header h2 {
    font-family: 'Russo One';
    font-size: 3rem;
    margin-bottom: 20px;
}

.legacy-header p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Montserrat';
}

/* EL SLIDER ACORDEÓN */
.legacy-slider {
    display: flex;
    gap: 20px;
    height: 450px; /* Altura de las tarjetas */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.legacy-card {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    flex: 1; /* Todos empiezan igual de anchos */
    transition: flex 0.7s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animación suave al abrir */
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

    /* Cuando la tarjeta está activa (abierta) */
    .legacy-card.active {
        flex: 5; /* Se vuelve 5 veces más ancha */
        border-color: var(--cni-gold);
    }

.legacy-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    transition: transform 0.7s;
}

    .legacy-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, black 0%, transparent 60%); /* Sombra abajo para texto */
    }

/* La fecha flotante */
.legacy-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--cni-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: 'Russo One';
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* El contenido (Texto) */
.legacy-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    opacity: 0; /* Oculto si no está activa */
    transition: opacity 0.5s 0.3s; /* Delay para que aparezca después de abrir */
    z-index: 2;
}

.legacy-card.active .legacy-content {
    opacity: 1; /* Visible solo en la activa */
}

.legacy-content h3 {
    font-family: 'Russo One';
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
}

.legacy-content p {
    font-family: 'Montserrat';
    color: #ddd;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 500px; /* Para que no se estire demasiado */
}

/* RESPONSIVE: En celular cambiamos a tarjetas verticales */
@media (max-width: 768px) {
    .legacy-slider {
        flex-direction: column;
        height: auto;
    }

    .legacy-card {
        height: 250px;
        flex: none; /* Quitamos el acordeón en móvil */
        width: 100%;
        margin-bottom: 10px;
    }

        .legacy-card.active {
            flex: none;
        }

    .legacy-content {
        opacity: 1;
        bottom: 20px;
        left: 20px;
    }

        .legacy-content h3 {
            font-size: 1.5rem;
        }

        .legacy-content p {
            display: none;
        }
    /* Ocultamos descripción larga en móvil para ahorrar espacio */
}

/* --- SECCIÓN HÉROES (PÓSTERS) --- */
.heroes-section {
    padding: 100px 20px;
    background: #05080c; /* Fondo casi negro para que resalten */
    color: white;
}

.hero-poster-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px; /* Espacio entre cada jugador */
    min-height: 400px;
}

    /* Clase para invertir el orden (Imagen a la derecha) */
    .hero-poster-row.reverse {
        flex-direction: row-reverse;
        text-align: right;
    }

/* EL PÓSTER VISUAL (IMAGEN) */
.poster-visual {
    flex: 1;
    height: 500px; /* Póster alto y vertical */
    border-radius: 20px;
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    /* Máscara para suavizar los bordes */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* DEGRADADOS SOBRE LA FOTO */
.poster-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    mix-blend-mode: multiply; /* Fusión profesional de color */
}

    .poster-gradient.red {
        background: linear-gradient(to top, var(--cni-red), transparent);
    }

    .poster-gradient.blue {
        background: linear-gradient(to top, var(--cni-blue), transparent);
    }

    .poster-gradient.gold {
        background: linear-gradient(to top, var(--cni-gold), #000);
    }

/* NÚMERO GIGANTE EN LA FOTO */
.poster-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Russo One';
    font-size: 5rem;
    color: rgba(255,255,255,0.1); /* Transparente sutil */
    line-height: 1;
}

.hero-poster-row.reverse .poster-number {
    left: auto;
    right: 20px;
}

/* EL CONTENIDO (TEXTO) */
.poster-content {
    flex: 1;
}

.poster-role {
    font-family: 'Montserrat';
    color: var(--cni-gold);
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.poster-content h3 {
    font-family: 'Russo One';
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1;
    /* Efecto de texto metálico sutil */
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.poster-legend {
    font-family: 'Montserrat';
    font-size: 1.1rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ESTADÍSTICAS */
.poster-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.hero-poster-row.reverse .poster-stats {
    justify-content: flex-end;
}

.poster-stats div {
    font-family: 'Montserrat';
    color: #888;
}

.poster-stats strong {
    display: block;
    font-size: 2rem;
    color: var(--cni-red);
    font-family: 'Russo One';
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-poster-row, .hero-poster-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 80px;
    }

    .poster-visual {
        height: 400px;
        width: 100%;
    }

    .poster-content h3 {
        font-size: 2.5rem;
    }

    .poster-stats {
        justify-content: center;
    }

    .hero-poster-row.reverse .poster-stats {
        justify-content: center;
    }

    .hero-poster-row.reverse .poster-number {
        left: 20px;
        right: auto;
    }
}

/* --- SECCIÓN MEMBRESÍA (JERARQUÍA) --- */
.membership-section {
    padding: 100px 20px;
    background: #0b0f19; /* Fondo muy oscuro */
    position: relative;
    /* Un fondo de patrón sutil tecnológico */
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 40px 40px;
    background-color: #0b0f19;
}
    /* Hacer los puntos del fondo muy tenues */
    .membership-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #0b0f19;
        opacity: 0.97;
        z-index: 0;
    }

    .membership-section .container-fluid {
        position: relative;
        z-index: 1;
    }

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center; /* Centrar verticalmente */
}

/* TARJETA DE MEMBRESÍA BASE */
.membership-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote suave */
    overflow: hidden;
}

    .membership-card:hover {
        transform: translateY(-20px) scale(1.02);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    }

    /* DESTACAR LA DEL MEDIO (CAPITÁN) */
    .membership-card.featured {
        background: linear-gradient(145deg, rgba(197, 160, 89, 0.1), rgba(0,0,0,0.2));
        border: 1px solid var(--cni-gold);
        transform: scale(1.05); /* Un poco más grande por defecto */
        z-index: 2;
        box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
    }

        .membership-card.featured:hover {
            transform: translateY(-20px) scale(1.08);
        }

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cni-gold);
    color: #000;
    font-family: 'Russo One';
    font-size: 0.8rem;
    padding: 5px 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* EFECTO DE NEÓN INTERNO */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

.membership-card:hover .card-glow {
    opacity: 1;
    transform: rotate(45deg);
}

.card-glow.gold {
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 60%);
}

.card-glow.red {
    background: radial-gradient(circle, rgba(214, 0, 28, 0.2) 0%, transparent 60%);
}

/* HEADER DE LA TARJETA */
.card-header h3 {
    font-family: 'Russo One';
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.price {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.currency {
    display: block;
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 2px;
}

.amount {
    font-family: 'Russo One';
    font-size: 3.5rem;
    color: white;
    line-height: 1;
}

.token-symbol {
    font-size: 1.2rem;
    color: #aaa;
    font-weight: 700;
}

.membership-card.featured .amount {
    color: var(--cni-gold);
}

/* LISTA DE BENEFICIOS */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

    .benefit-list li {
        color: #ccc;
        margin-bottom: 15px;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        font-size: 0.95rem;
        font-family: 'Montserrat';
    }

    .benefit-list i {
        margin-top: 4px;
        color: var(--cni-blue);
    }

/* BOTONES DE COMPRA */
.btn-tier {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    font-family: 'Russo One';
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-white {
    background: transparent;
    border: 1px solid white;
    color: white;
}

    .btn-white:hover {
        background: white;
        color: black;
    }

.btn-gold {
    background: var(--cni-gold);
    color: #000;
    border: none;
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.3);
}

    .btn-gold:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(197, 160, 89, 0.5);
        color: black;
    }

.btn-red {
    background: transparent;
    border: 1px solid var(--cni-red);
    color: var(--cni-red);
}

    .btn-red:hover {
        background: var(--cni-red);
        color: white;
        box-shadow: 0 5px 20px rgba(214, 0, 28, 0.4);
    }

/* --- CALCULADORA DE TOKENS --- */
.token-calculator {
    margin-top: 80px;
    background: #1a1f2e;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.calc-content h3 {
    font-family: 'Russo One';
    color: white;
    margin-bottom: 5px;
}

.calc-content p {
    color: #888;
    margin-bottom: 30px;
}

.calc-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.input-group-calc {
    text-align: left;
    flex: 1;
}

    .input-group-calc label {
        display: block;
        color: var(--cni-gold);
        font-size: 0.8rem;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .input-group-calc input {
        width: 100%;
        background: #0b0f19;
        border: 1px solid #333;
        color: white;
        font-size: 2rem;
        padding: 15px;
        border-radius: 10px;
        font-family: 'Russo One';
        outline: none;
        transition: 0.3s;
    }

        .input-group-calc input:focus {
            border-color: var(--cni-blue);
        }

.token-result {
    width: 100%;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--cni-gold);
    color: var(--cni-gold);
    font-size: 2rem;
    padding: 15px;
    border-radius: 10px;
    font-family: 'Russo One';
    display: flex;
    align-items: center;
    justify-content: center;
}

.exchange-icon {
    font-size: 1.5rem;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .calc-box {
        flex-direction: column;
    }

    .exchange-icon {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .membership-card.featured {
        transform: scale(1);
    }
}

/* --- SECCIÓN BÓVEDA DE RECOMPENSAS --- */
.rewards-vault-section {
    padding: 100px 20px;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* Fondo de humo místico */
.vault-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 40, 85, 0.2) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* LA TARJETA DEL TESORO */
.reward-card {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
    transition: all 0.4s ease;
    cursor: pointer;
    group: hover; /* Para efectos internos */
}

    /* Efecto Hover Brutal: Se levanta y brilla */
    .reward-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 40px rgba(0, 40, 85, 0.3);
        border-color: var(--cni-gold);
    }

.reward-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--cni-red);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

/* IMAGEN CON EFECTO DE CANDADO */
.reward-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Filtro inicial: Blanco y negro y oscuro */
    filter: grayscale(100%) brightness(0.6);
    transition: 0.4s;
}

/* Al pasar el mouse, recupera el color */
.reward-card:hover .reward-image {
    filter: grayscale(0%) brightness(1);
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    transition: 0.4s;
}

/* El candado desaparece al hover */
.reward-card:hover .lock-overlay {
    opacity: 0;
    transform: scale(1.5);
}

/* CONTENIDO */
.reward-content {
    padding: 25px;
    position: relative;
}

.reward-price {
    display: inline-block;
    background: #222;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    border: 1px solid #333;
}

    .reward-price.gold {
        color: var(--cni-gold);
        border-color: var(--cni-gold);
        background: rgba(197, 160, 89, 0.1);
    }

    .reward-price.red {
        color: var(--cni-red);
        border-color: var(--cni-red);
        background: rgba(214, 0, 28, 0.1);
    }

    .reward-price.blue {
        color: #00ffff;
        border-color: #00ffff;
        background: rgba(0, 255, 255, 0.1);
    }

.reward-content h3 {
    font-family: 'Russo One';
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.reward-content p {
    font-family: 'Montserrat';
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 60px;
}

/* BARRA DE PROGRESO (PSICOLOGÍA) */
.progress-container {
    background: #222;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 5px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #555;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

    .progress-bar.gold {
        background: var(--cni-gold);
        box-shadow: 0 0 10px var(--cni-gold);
    }

    .progress-bar.red {
        background: var(--cni-red);
        box-shadow: 0 0 10px var(--cni-red);
    }

    .progress-bar.blue {
        background: #00ffff;
        box-shadow: 0 0 10px #00ffff;
    }

.progress-text {
    font-size: 0.7rem;
    color: #666;
    display: block;
    margin-bottom: 20px;
    text-align: right;
    margin-top: 5px;
}

/* BOTÓN DE CANJE */
.btn-claim {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #444;
    color: #888;
    font-weight: bold;
    cursor: not-allowed;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

/* Cuando pasas el mouse por la tarjeta, el botón se "activa" visualmente para tentar */
.reward-card:hover .btn-claim {
    background: white;
    color: black;
    border-color: white;
    cursor: pointer;
}

    .reward-card:hover .btn-claim.gold {
        background: var(--cni-gold);
        border-color: var(--cni-gold);
    }

    .reward-card:hover .btn-claim.red {
        background: var(--cni-red);
        color: white;
        border-color: var(--cni-red);
    }

    .reward-card:hover .btn-claim.blue {
        background: #00ffff;
        color: black;
        border-color: #00ffff;
    }

/* --- SECCIÓN FINAL CINEMÁTICA (FOTO EQUIPO) --- */
.team-cinematic-section {
    position: relative;
    height: 80vh; /* Ocupa casi toda la altura de la pantalla */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* LA FOTO CONGELADA EN EL FONDO */
.team-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    /* LA CLAVE DEL EFECTO BRUTAL: La imagen se queda quieta mientras scrolleas */
    background-attachment: fixed;
    z-index: 0;
    transform: scale(1.1); /* Un ligero zoom para dramatismo */
}

/* CAPA OSCURA (Para que el texto se lea) */
.cinematic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradado dramático: oscuro abajo, más claro arriba */
    background: linear-gradient(to bottom, rgba(0, 40, 85, 0.4) 0%, rgba(0, 10, 20, 0.9) 100%);
    z-index: 1;
}

/* EL CONTENIDO DE TEXTO */
.cinematic-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
}

/* TÍTULO GIGANTE */
.cinematic-title {
    font-family: 'Russo One', sans-serif;
    font-size: 4rem; /* Texto masivo */
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

/* LÍNEA DIVISORIA DORADA */
.cinematic-divider {
    width: 100px;
    height: 4px;
    background: var(--cni-gold);
    margin: 0 auto 30px;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--cni-gold);
}

/* SUBTÍTULO EPICO */
.cinematic-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

/* RESPONSIVE: Ajustes para celular */
@media (max-width: 768px) {
    .team-cinematic-section {
        height: 60vh;
        min-height: 500px;
    }

    .cinematic-title {
        font-size: 2.5rem;
    }

    .cinematic-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    /* En móviles a veces 'fixed' falla, lo cambiamos a 'scroll' si es necesario */
    .team-bg-parallax {
        background-attachment: scroll;
    }
}