/* ==========================================================================
   CLEANED & ORGANIZED CSS ARCHITECTURE
   ==========================================================================

   ESTRUCTURA:
   1. ROOT VARIABLES
   2. RESET & BASE
   3. GLOBAL BACKGROUND SYSTEM
   4. GLASSMORPHISM SYSTEM
   5. HEADER & NAVIGATION
   6. HERO SECTION
   7. KPI SECTION
   8. FEATURES SECTION
   9. GAMES SECTION
   10. COMMUNITY SECTION
   11. ANIMATIONS
   12. RESPONSIVE SYSTEM
   13. MOBILE MENU

   ========================================================================== */


/* ==========================================================================
   INTERFAZ CUÁNTICA: GLASSMORPHISM EXTREMO, REJILLAS Y ENERGÍA LÍQUIDA
   ========================================================================== */
:root {
    --bg-black: #020205; /* Negro absoluto de terminal */
    --card-surface: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.08);
    --accent-cyan: #00f2fe;    /* Cyan Eléctrico */
    --accent-purple: #7000ff;  /* Púrpura Neón */
    --accent-green: #22c55e;   /* Verde Matrix / Datos */
    --text-white: #ffffff;
    --text-gray: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
    cursor: none;
}

body {
    color: var(--text-white);
    min-height: 100vh;
    position: relative;
    
    /* CAPA 1: Rejilla de datos táctica (Cyber Grid) */
    background-image: 
        linear-gradient(to right, rgba(0, 242, 254, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 242, 254, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    animation: gridDataStream 25s linear infinite;
}

/* CAPA 2: Superposición de Haz de Luz y Código Binario de fondo */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -3;
    background: 
        /* Foco de luz central dinámico */
        radial-gradient(circle at 50% 40%, rgba(111, 0, 255, 0.342) 0%, transparent 60%),
        /* Sombreado perimetral para dar túnel de visión */
        radial-gradient(circle at 50% 50%, transparent 30%,  rgba(29, 3, 63, 0.226) 80%);
    pointer-events: none;
}

/* CAPA 3: Partículas / Nodos cuánticos flotantes */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    opacity: 0.15;
    background-image: 
        radial-gradient(var(--accent-cyan) 2px, transparent 2px),
        radial-gradient(var(--accent-purple) 1.5px, transparent 1.5px);
    background-size: 120px 120px;
    background-position: 0 0, 60px 60px;
    animation: particleDrift 40s linear infinite;
}

/* ==========================================================================
   PANELES DE CRISTAL KINETIK (GLASSMORPHISM LÍQUIDO MUTANTE)
   ========================================================================== */
.nebula {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    
    /* Refracción extrema estilo Cristal de Alta Densidad */
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    will-change: transform, border-radius;
}

/* Monolito de Cristal 1: Fluido Cyan con reflejo cromático */
.nebula-1 {
    width: 650px;
    height: 650px;
    top: -10%; right: -10%;
    border: 1px solid rgba(0, 242, 254, 0.25);
    box-shadow: 
        inset 0 0 50px rgba(0, 242, 254, 0.15),
        0 0 80px rgba(0, 242, 254, 0.1);
    animation: 
        quantumMorph-1 20s ease-in-out infinite alternate,
        quantumRotate 35s linear infinite;
}

/* Monolito de Cristal 2: Fragmento Lateral Izquierdo Púrpura/Verde */
.nebula-2 {
    width: 550px;
    height: 750px;
    top: 25%; left: -15%;
    border: 1px solid rgba(112, 0, 255, 0.2);
    box-shadow: 
        inset 0 0 60px rgba(112, 0, 255, 0.15),
        inset -20px -20px 40px rgba(34, 197, 94, 0.05), /* Destello verde interno oculto */
        0 0 100px rgba(112, 0, 255, 0.08);
    animation: 
        quantumMorph-2 25s ease-in-out infinite alternate,
        quantumRotate 45s linear reverse infinite;
}

/* Monolito de Cristal 3: Base Inferior de Contraste */
.nebula-3 {
    width: 900px;
    height: 500px;
    bottom: -20%; right: 5%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 0 40px rgba(255, 255, 255, 0.05),
        0 0 60px rgba(0, 0, 0, 0.8);
    animation: quantumMorph-3 22s ease-in-out infinite alternate;
}

/* ==========================================================================
   ANIMACIONES COMPLEMENTARIAS DE ALTO IMPACTO
   ========================================================================== */

/* Flujo infinito de la rejilla cibernética */
@keyframes gridDataStream {
    0% { background-position: 0px 0px; }
    100% { background-position: 50px 1000px; } /* Desplazamiento en diagonal */
}

/* Deriva tridimensional de los nodos analíticos */
@keyframes particleDrift {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-120px) rotate(360deg); }
}

/* Rotación sutil de los ejes de refracción */
@keyframes quantumRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mutación orgánica de los bordes del cristal para simular fluidez física */
@keyframes quantumMorph-1 {
    0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    50% { border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%; transform: scale(1.05) translate(30px, 20px); }
    100% { border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%; }
}

@keyframes quantumMorph-2 {
    0% { border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%; }
    50% { border-radius: 30% 70% 60% 40% / 40% 60% 30% 70%; transform: scale(0.95) translate(-20px, -40px); }
    100% { border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%; }
}

@keyframes quantumMorph-3 {
    0% { border-radius: 40% 60% 50% 50% / 50% 50% 50% 50%; }
    100% { border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%; transform: translate(-50px, -10px); }
}

/* ==========================================================================
   INTERFACES COMPONENTES (HEADER, NAVEGACIÓN, CURSOR) [...]
   ========================================================================== */
.custom-cursor {
    width: 25px;
    height: 25px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.custom-cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    padding: 12px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo-nav-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 28px;
    height: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: color 0.3s;
}

.logo-nav-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* Evita subrayados no deseados */
    cursor: pointer;       /* Asegura que aparezca la mano al pasar el cursor */
}

/* Opcional: Si la nueva imagen es más grande o más pequeña que la anterior, 
   puedes ajustar el valor de 'width' aquí abajo para que encaje bien en la barra.
*/
.nav-logo-img {
    width: 120px; /* Ajusta este tamaño según cómo sea tu nueva imagen */
    height: auto;
}

nav a:hover, nav a.active {
    color: var(--text-white);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* ==========================================================================
   ESTILOS DE BLOQUES DE CONTENIDO (HERO, MISSION, KPIs)
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    width: 100%;
    align-items: center;
}

.hero-text h1 {
    font-size: 60px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-cyan), #c8b6ff, var(--accent-purple));
background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--card-border);
    color: var(--text-white);
    background: rgba(255,255,255,0.02);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* ==========================================================================
   MONOLITO LOGO: PRESENCIA MASIVA Y BARRIDOS DE LUZ FOTÓNICOS
   ========================================================================== */
/* Contenedor base libre de máscaras cuadradas */


.logo-wrapperao-reveal2  {
    display: none;
}


.logo-3d-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    position: relative; /* ¡CLAVE! Permite que la tarjeta se posicione dentro de este contenedor */
    min-height: 500px;  /* Le da suficiente aire para que el teléfono y la tarjeta coexistan */
}

.logo-flashlight-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
}

.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;         /* El teléfono se queda en el medio */
    overflow: hidden;   /* Mantiene el rayo de luz (photon-flare) recortado dentro del logo */
}
/* Imagen con doble sombra drop-shadow para imitar el desfase de color neón de un holograma */
.main-logo-reveal {
    max-width: 100%;
    height: auto;
    background: transparent !important;
    /* Sombras cyan y moradas que siguen el contorno exacto de la imagen */
    filter: drop-shadow(-2px -2px 10px rgba(0, 242, 254, 0.2)) 
            drop-shadow(2px 2px 15px rgba(138, 79, 255, 0.3));
    transition: filter 0.2s ease;
}

/* Cuando se interactúa, el holograma brilla con más intensidad */
.logo-3d-container:hover .main-logo-reveal {
    filter: drop-shadow(-4px -2px 15px rgba(0, 242, 254, 0.5)) 
            drop-shadow(4px 2px 25px rgba(138, 79, 255, 0.6));
}
.main-logo {
  width: 440px;
    height: auto;
    opacity: 0.95;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efecto hover sutil: El monolito reacciona si el usuario se acerca */
.logo-3d-container:hover .main-logo {
    transform: scale(1.03) translateZ(20px);
}

/* --- RAYO DE LUZ CINÉTICO (BARRIDO ULTRA-BRILLANTE) --- */
.logo-photon-flare {
    display: none !important;
}
#ourmiss {
    display:none;
}

.vision-card, .vision-card2 {
    border: 1px solid rgba(255, 255, 255, 0.12); 
    border-radius: 16px; 
    padding: 24px;
    width: 100%;
    max-width: 380px;   /* Un ancho ideal para que no rompa la estructura */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 
                inset 0 0 20px rgba(0, 242, 254, 0.05); /* Toque cyan interno */
    
    /* Reposicionamiento estratégico */
    position: absolute;
    bottom: -50px;      /* Sobresale sutilmente por la parte inferior */
    right: -20px;       /* Se desplaza a la derecha emulando profundidad de interfaz */
    z-index: 20;
}

.vision-header,.vision-header2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.vision-icon {
    width: 20px;
    height: 20px;
    color: #00f2fe; /* Azul brillante/Cyan del ojo */
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
}

.vision-header h3 {
    color: #00f2fe;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.vision-card p, .vision-card2 p {
    color: #94a3b8; /* Gris claro de lectura */
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- AURA TRASERA (RETROILUMINACIÓN QUE REACCIONA AL PULSO) --- */
.logo-backlight {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    /* Degradado de luz estallado */
    background: radial-gradient(
        circle, 
        rgba(0, 242, 254, 0.2) 0%, 
        rgba(112, 0, 255, 0.08) 50%, 
        transparent 70%
    );
    filter: blur(50px);
    z-index: 2;
    pointer-events: none;
    animation: lightPulse 4s ease-in-out infinite alternate;
}

/* ==========================================================================
   ANIMACIONES SINTÉTICAS
   ========================================================================== */

/* Barrido hiperveloz con pausa dramática al final de cada ciclo */
@keyframes photonSweep {
    0% {
        left: -150%;
    }
    30%, 100% {
        left: 150%; /* Pasa rápido por el logo y espera antes de volver a salir */
    }
}

/* El aura de fondo respira controladamente emulando energía estable */
@keyframes lightPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* ==========================================================================
   SECCIÓN KPIs: CONTENEDOR QUANTUM Y TIPOGRAFÍA RADICAL METÁLICA
   ========================================================================== */
#kpi-section {
    min-height: auto;
    padding: 30px 0; /* Un poco más de aire para que respire la interfaz */
    width: 100%;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin: 0 auto;
    
    /* --- GLASSMORPHISM PREMIUM DE ALTA DENSIDAD --- */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    
    padding: 40px 20px;
    text-align: center;
    
    /* Refracción extrema sobre la rejilla de fondo */
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    
    /* Sombra de profundidad industrial */
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
}

/* --- BLOQUE CONTENEDOR INDIVIDUAL (KPI) --- */
.kpi-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Separadores láser verticales entre columnas (Excepto la última) */
.kpi-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    width: 1px;
    height: 70%;
    background: linear-gradient(to bottom, transparent, rgba(0, 242, 254, 0.15), transparent);
}

/* --- CONTENEDOR DE NÚMEROS (Estáticos + Animados por JS) --- */
.kpi-num-container {
    font-size: 48px; /* Un poco más grande e imponente */
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    
    /* REPARACIÓN DEL DEGRADADO CROMADO/METÁLICO FALSO */
    background: linear-gradient(180deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-text-fill-color: transparent; /* Corrige el error de renderizado original */
    
    /* Glow sutil para simular una pantalla emisora de luz */
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

/* Aseguramos que tanto los números que calcula el JS como los símbolos hereden el degradado */
.kpi-counter, .kpi-static {
    font-family: inherit;
    font-weight: inherit;
}

/* --- ETIQUETAS TECH SUPERIORES/INFERIORES --- */
.kpi-label {
    color: var(--accent-cyan);
    font-size: 11px; /* Más pequeña, estilo código militar */
    text-transform: uppercase;
    letter-spacing: 3px; /* Más espaciado para verse ultra ordenado */
    font-weight: 600;
    opacity: 0.85;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3); /* Resplandor cibernético */
}

/* ==========================================================================
   ESTADOS DE ANIMACIÓN INTEGRADOS CON TU CONTROLLER NATIVO
   ========================================================================== */
.ao-animate {
    opacity: 1;
     transform: none;
   
}

/* Esta clase la inyecta tu IntersectionObserver nativo, se activa fluidamente */
.ao-animate.ao-visible {
    opacity: 1;
    transform: translateY(0);
}
/* --- TARJETAS CARACTERÍSTICAS --- */
/* ==========================================================================
   CONFIGURACIÓN DASHBOARD (MÁXIMA CALIDAD VISUAL)
   ========================================================================== */
/* ==========================================================================
   CONFIGURACIÓN GENERAL Y DASHBOARD (MÁXIMA CALIDAD VISUAL)
   ========================================================================== */
#features-section {
    width: 100%;
    padding: 80px 0;
}

.features-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    flex: 1 1 calc(25% - 24px);
    min-width: 290px;
    background: #0f0f1e; 
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.feature-icon-header { 
    margin-bottom: 22px; 
}

.icon-box { 
    width: 44px; 
    height: 44px; 
    border-radius: 14px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.icon-box.purple { background: rgba(112, 0, 255, 0.15); color: #9d4edd; filter: drop-shadow(0 0 8px rgba(112,0,255,0.4)); }
.icon-box.cyan { background: rgba(0, 242, 254, 0.15); color: #00f2fe; filter: drop-shadow(0 0 8px rgba(0,242,254,0.4)); }
.icon-box.green { background: rgba(34, 197, 94, 0.15); color: #22c55e; filter: drop-shadow(0 0 8px rgba(34,197,94,0.4)); }
.icon-box.pink { background: rgba(236, 72, 153, 0.15); color: #f43f5e; filter: drop-shadow(0 0 8px rgba(236,72,153,0.4)); }
.icon-box svg { width: 20px; height: 20px; }

.feature-info-block h3 { font-size: 24px; font-weight: 700; color: #ffffff; margin-bottom: 12px; letter-spacing: -0.5px; }
.feature-info-block p { color: #94a3b8; font-size: 14.5px; line-height: 1.6; margin-bottom: 35px; }

.ui-widget-container {
    margin-top: auto; 
    width: 100%; 
    border-radius: 20px; 
    box-sizing: border-box;
    background: #07070f; 
    border: 1px solid rgba(255, 255, 255, 0.04); 
    padding: 18px; 
    overflow: hidden;
}

.widget-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 14px; 
}

.tech-label { 
    font-size: 10px; 
    color: #475569; 
    letter-spacing: 1.5px; 
    font-weight: 700; 
}

/* ==========================================================================
   LOOP 1: COMPETITION (FLUJO DE PREMIOS BASADO EN TU IMAGEN)
   ========================================================================== */
.competition-flow-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.players-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    border-bottom: 2px solid rgba(157, 78, 221, 0.3);
    padding-bottom: 12px;
    margin-bottom: 8px;
}

.player-avatar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.player-avatar-box .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.player-avatar-box.active-p2 {
    color: #9d4edd;
    font-weight: bold;
}

.player-avatar-box.active-p2 .avatar {
    border-color: #9d4edd;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}

.fee-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4px 0;
}

.vertical-line {
    width: 2px;
    height: 15px;
    background: #9d4edd;
}

.fee-text {
    font-size: 11px;
    color: #c8b6ff;
    font-weight: 600;
    margin: 2px 0;
}

.arrow-down {
    color: #9d4edd;
    font-weight: bold;
    animation: bounceArrow 1.5s infinite ease-in-out;
}

.prize-pool-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(157, 78, 221, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.pool-badge {
    background: #9d4edd;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 50%;
}

.pool-label {
    font-size: 11px;
    color: #fff;
    font-weight: 600;
}

.payout-flow {
    position: relative;
    width: 100%;
    height: 45px;
    margin-top: -5px;
}

.flow-curve {
    width: 100%;
    height: 100%;
}

.floating-prize-value {
    position: absolute;
    background: #7000ff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 50%;
    box-shadow: 0 0 8px #7000ff;
    animation: moneyFlowOrbit 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.winner-row {
    margin-top: -5px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.winner-avatar-glow {
    position: relative;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(0deg, #7000ff, #00f2fe);
    animation: ultraGlow 2s infinite alternate;
}

.winner-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   LOOP 2: ZERO FRICTION (CARGA DE ANUNCIO AUTOMÁTICA)
   ========================================================================== */
.badge-cyan { font-size: 9.5px; color: #00f2fe; font-weight: 700; }
.ad-timer { font-size: 11px; color: #64748b; display: block; text-align: left; margin-bottom: 6px; font-weight: 500; }

.ad-progress-bar { width: 100%; height: 4px; background: rgba(255, 255, 255, 0.05); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.ad-progress-fill-loop { 
    width: 0%; height: 100%; background: #00f2fe; box-shadow: 0 0 10px #00f2fe; 
    animation: fillBarLoop 3.5s infinite linear;
}

.friction-unlock-btn-loop {
    width: 100%; padding: 10px; border-radius: 12px; font-size: 12px; font-weight: 700; text-align: center;
    border: 1px solid #00f2fe; background: transparent; cursor: default;
    animation: buttonUnlockLoop 3.5s infinite ease-in-out;
}

/* ==========================================================================
   LOOP 3: TRANSPARENT (STREAMING FEED - KICK INTEGRADO)
   ========================================================================== */
.stream-badge-verified {
    position: absolute; top: 10px; left: 10px; font-size: 9px; color: #4ade80;
    background: #05050a; padding: 4px 8px; border-radius: 6px; font-weight: 700;
    border: 1px solid #22c55e; box-shadow: 0 0 10px rgba(34,197,94,0.2); z-index: 3;
}

.video-preview-box {
    width: 100%; 
    height: 100px; 
    background: #0b0b14; 
    border-radius: 14px;
    position: relative; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-sizing: border-box;
}

.player-facecam { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(135deg, #081a0b, #05070a); 
    z-index: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.kick-solo-icon-bg {
    position: absolute;
    height: 55%; 
    width: auto;
    color: rgba(83, 252, 24, 0.09); 
    z-index: 1;
    pointer-events: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: kickIconPulseLoop 3s infinite ease-in-out;
}

.kick-solo-icon-bg svg {
    height: 100%;
    width: auto;
    display: block;
}

.face-mesh-grid-loop {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: linear-gradient(rgba(83, 252, 24, 0.25) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(83, 252, 24, 0.25) 1px, transparent 1px);
    background-size: 14px 14px; 
    z-index: 2;
    animation: meshScanLoop 5s infinite linear;
}

.stream-waveform {
    position: absolute; right: 10px; bottom: 32px; display: flex; gap: 2.5px; height: 14px; align-items: flex-end; z-index: 3;
}
.stream-waveform span { width: 2.5px; height: 100%; background: #53fc18; border-radius: 1px; transform-origin: bottom; animation: waveBounceLoop 0.5s infinite ease-in-out alternate; }
.stream-waveform span:nth-child(2) { animation-delay: 0.15s; }
.stream-waveform span:nth-child(3) { animation-delay: 0.3s; }
.stream-waveform span:nth-child(4) { animation-delay: 0.08s; }

.strategy-log { font-size: 11px; color: #4ade80; font-family: monospace; font-weight: 600; text-align: left; z-index: 3; position: relative; text-shadow: 0 0 5px rgba(34,197,94,0.4); }

/* ==========================================================================
   LOOP 4: MULTI-GAMES (MARQUEE INFINITO - ULTRA SMOOTH DE 10 JUEGOS)
   ========================================================================== */
.game-marquee-container {
    width: 100%;
    overflow: hidden;
    margin: 18px 0;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    border-radius: 12px;
}

.game-marquee-container::before,
.game-marquee-container::after {
    content: "";
    position: absolute;
    top: 0; width: 30px; height: 100%;
    z-index: 2;
    pointer-events: none;
}
.game-marquee-container::before { left: 0; background: linear-gradient(90deg, #07070f 0%, transparent 100%); }
.game-marquee-container::after { right: 0; background: linear-gradient(-90deg, #07070f 0%, transparent 100%); }

.game-marquee-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: infiniteMarquee 15s linear infinite;
    will-change: transform;
}

.game-marquee-track .game-pill {
    position: relative;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.03);
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-marquee-track .game-pill.active-pill {
    background: rgba(236, 72, 153, 0.15);
    color: #f43f5e;
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
}

.switch-app-indicator { font-size: 10.5px; color: #475569; font-weight: 700; text-align: center; margin-top: 14px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ==========================================================================
   LÍNEAS DE TIEMPO / ANIMACIONES (@KEYFRAMES)
   ========================================================================== */
@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

@keyframes ultraGlow {
    0% { box-shadow: 0 0 5px rgba(112, 0, 255, 0.4); }
    100% { box-shadow: 0 0 18px rgba(0, 242, 254, 0.8); }
}

@keyframes moneyFlowOrbit {
    0% { top: -10px; left: 50%; opacity: 0; transform: scale(0.6); }
    15% { opacity: 1; transform: scale(1); }
    75% { top: 25px; left: 20%; opacity: 1; transform: scale(1); }
    95%, 100% { top: 40px; left: 20%; opacity: 0; transform: scale(0.7); }
}

@keyframes fillBarLoop { 
    0% { width: 0%; opacity: 1; } 
    75% { width: 100%; opacity: 1; } 
    90%, 100% { width: 100%; opacity: 0; } 
}

@keyframes buttonUnlockLoop {
    0%, 74% { background: rgba(255, 255, 255, 0.01); color: #475569; border-color: rgba(255, 255, 255, 0.08); box-shadow: none; }
    75%, 93% { background: #00f2fe; color: #05050a; border-color: #00f2fe; box-shadow: 0 0 15px rgba(0, 242, 254, 0.5); }
    100% { background: rgba(255, 255, 255, 0.01); color: #475569; border-color: rgba(255, 255, 255, 0.08); }
}

@keyframes waveBounceLoop { 0% { transform: scaleY(0.2); } 100% { transform: scaleY(1.3); } }
@keyframes meshScanLoop { 0% { background-position: 0 0; } 100% { background-position: 0 48px; } }

@keyframes kickIconPulseLoop {
    0%, 100% { color: rgba(83, 252, 24, 0.06); filter: drop-shadow(0 0 0px rgba(83, 252, 24, 0)); }
    50% { color: rgba(83, 252, 24, 0.15); filter: drop-shadow(0 0 12px rgba(83, 252, 24, 0.3)); }
}

@keyframes infiniteMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   TARJETAS SMARTPHONE PARALLAX (SECCIÓN INFERIOR)
   ========================================================================== */
#games-section {
    flex-direction: column;
    align-items: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.game-mockup {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(0, 242, 254, 0.05) 100%
    );
    border: 1px solid var(--card-border);
    border-radius: 32px;
    height: 440px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.game-mockup:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #030305 0%, transparent 70%);
    z-index: 1;
}

.game-info {
    position: relative;
    z-index: 2;
}

.game-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.game-info p {
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 500;
}

#features-section {
    width: 100%;
    padding: 80px 0;
}

.features-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    flex: 1 1 calc(25% - 24px);
    min-width: 290px;
    background: #0f0f1e; 
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.feature-icon-header { 
    margin-bottom: 22px; 
}

.icon-box { 
    width: 44px; 
    height: 44px; 
    border-radius: 14px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.icon-box.purple { background: rgba(112, 0, 255, 0.15); color: #9d4edd; filter: drop-shadow(0 0 8px rgba(112,0,255,0.4)); }
.icon-box.cyan { background: rgba(0, 242, 254, 0.15); color: #00f2fe; filter: drop-shadow(0 0 8px rgba(0,242,254,0.4)); }
.icon-box.green { background: rgba(34, 197, 94, 0.15); color: #22c55e; filter: drop-shadow(0 0 8px rgba(34,197,94,0.4)); }
.icon-box.pink { background: rgba(236, 72, 153, 0.15); color: #f43f5e; filter: drop-shadow(0 0 8px rgba(236,72,153,0.4)); }
.icon-box svg { width: 20px; height: 20px; }

.feature-info-block h3 { font-size: 24px; font-weight: 700; color: #ffffff; margin-bottom: 12px; letter-spacing: -0.5px; }
.feature-info-block p { color: #94a3b8; font-size: 14.5px; line-height: 1.6; margin-bottom: 35px; min-height: 70px; }

.ui-widget-container {
    margin-top: auto; 
    width: 100%; 
    border-radius: 20px; 
    box-sizing: border-box;
    background: #07070f; 
    border: 1px solid rgba(255, 255, 255, 0.04); 
    padding: 18px; 
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 14px; 
}

.tech-label { 
    font-size: 10px; 
    color: #475569; 
    letter-spacing: 1.5px; 
    font-weight: 700; 
}

/* ==========================================================================
   LOOP 1: COMPETITION
   ========================================================================== */
.competition-flow-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.players-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    border-bottom: 2px solid rgba(157, 78, 221, 0.3);
    padding-bottom: 12px;
    margin-bottom: 8px;
}

.player-avatar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #94a3b8;
}

.player-avatar-box .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.player-avatar-box.active-p2 { color: #9d4edd; font-weight: bold; }
.player-avatar-box.active-p2 .avatar { border-color: #9d4edd; box-shadow: 0 0 10px rgba(157, 78, 221, 0.4); }

.fee-divider { display: flex; flex-direction: column; align-items: center; margin: 4px 0; }
.vertical-line { width: 2px; height: 15px; background: #9d4edd; }
.fee-text { font-size: 11px; color: #c8b6ff; font-weight: 600; margin: 2px 0; }
.arrow-down { color: #9d4edd; font-weight: bold; animation: bounceArrow 1.5s infinite ease-in-out; }

.prize-pool-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(157, 78, 221, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.pool-badge { background: #9d4edd; color: #fff; font-weight: 800; font-size: 13px; padding: 2px 8px; border-radius: 50%; }
.pool-label { font-size: 11px; color: #fff; font-weight: 600; }

.payout-flow { position: relative; width: 100%; height: 45px; margin-top: -5px; }
.flow-curve { width: 100%; height: 100%; }

.floating-prize-value {
    position: absolute;
    background: #7000ff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 50%;
    box-shadow: 0 0 8px #7000ff;
    animation: moneyFlowOrbit 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.winner-row { margin-top: -5px; display: flex; justify-content: center; width: 100%; }
.winner-avatar-glow {
    position: relative;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(0deg, #7000ff, #00f2fe);
    animation: ultraGlow 2s infinite alternate;
}
.winner-avatar { width: 38px; height: 38px; border-radius: 50%; display: block; object-fit: cover; }

/* ==========================================================================
   LOOP 2: ZERO FRICTION (NUEVO SEGÚN TU DISEÑO)
   ========================================================================== */
.ad-simulation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.ad-players-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: 2px solid rgba(0, 242, 254, 0.25);
    padding-bottom: 12px;
    margin-bottom: 8px;
}

.ad-player-node { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: #64748b; }
.ad-player-node img { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.08); object-fit: cover; }
.ad-player-node.active-winner img { border-color: #00f2fe; box-shadow: 0 0 8px rgba(0, 242, 254, 0.3); }

.ad-flow-divider { display: flex; flex-direction: column; align-items: center; margin: 2px 0; }
.ad-line { width: 2px; height: 15px; background: #00f2fe; }
.ad-pool-text { font-size: 10.5px; color: #a5f3fc; font-weight: 600; margin: 2px 0; }
.ad-arrow { color: #00f2fe; font-weight: bold; animation: bounceArrow 1.5s infinite ease-in-out; }

.ad-revenue-chest {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 242, 254, 0.08);
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.revenue-badge {
    background: #00f2fe;
    color: #07070f;
    font-weight: 800;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}
.revenue-label { font-size: 10px; color: #fff; font-weight: 500; }

.ad-payout-track { position: relative; width: 100%; height: 45px; margin-top: -5px; }
.ad-curve-svg { width: 100%; height: 100%; }

.ad-floating-payout {
    position: absolute;
    background: #00f2fe;
    color: #07070f;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f2fe;
    animation: adMoneyFlow 3.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-winner-anchor { margin-top: -5px; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.ad-winner-glow {
    position: relative;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(180deg, #00f2fe, #7000ff);
    animation: ultraGlow 2s infinite alternate;
}
.ad-final-avatar { width: 38px; height: 38px; border-radius: 50%; display: block; object-fit: cover; }
.payout-success-tag { font-size: 9px; color: #00f2fe; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

/* ==========================================================================
   LOOP 3: TRANSPARENT
   ========================================================================== */
.video-preview-box {
    width: 100%; height: 160px; background: #0b0b14; border-radius: 14px;
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 12px; border: 1px solid rgba(255, 255, 255, 0.02); box-sizing: border-box;
}

.stream-badge-verified {
    position: absolute; top: 12px; left: 12px; font-size: 9px; color: #4ade80;
    background: #05050a; padding: 4px 8px; border-radius: 6px; font-weight: 700;
    border: 1px solid #22c55e; box-shadow: 0 0 10px rgba(34,197,94,0.2); z-index: 3;
}

.player-facecam { position: absolute; inset: 0; background: linear-gradient(135deg, #081a0b, #05070a); z-index: 1; display: flex; align-items: center; justify-content: center; }
.kick-solo-icon-bg { position: absolute; height: 50%; width: auto; color: rgba(83, 252, 24, 0.09); z-index: 1; animation: kickIconPulseLoop 3s infinite ease-in-out; }
.kick-solo-icon-bg svg { height: 100%; width: auto; display: block; }
.face-mesh-grid-loop { position: absolute; inset: 0; opacity: 0.15; background-image: linear-gradient(rgba(83, 252, 24, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(83, 252, 24, 0.25) 1px, transparent 1px); background-size: 14px 14px; z-index: 2; animation: meshScanLoop 5s infinite linear; }

.stream-waveform { position: absolute; right: 12px; bottom: 35px; display: flex; gap: 2.5px; height: 16px; align-items: flex-end; z-index: 3; }
.stream-waveform span { width: 2.5px; height: 100%; background: #53fc18; border-radius: 1px; transform-origin: bottom; animation: waveBounceLoop 0.5s infinite ease-in-out alternate; }
.stream-waveform span:nth-child(2) { animation-delay: 0.15s; }
.stream-waveform span:nth-child(3) { animation-delay: 0.3s; }
.stream-waveform span:nth-child(4) { animation-delay: 0.08s; }

.strategy-log { font-size: 11px; color: #4ade80; font-family: monospace; font-weight: 600; text-align: left; z-index: 3; position: relative; text-shadow: 0 0 5px rgba(34,197,94,0.4); }

/* ==========================================================================
   LOOP 4: MULTI-GAMES
   ========================================================================== */
.game-marquee-container { width: 100%; overflow: hidden; margin: 15px 0; position: relative; background: rgba(0, 0, 0, 0.2); padding: 10px 0; border-radius: 12px; }
.game-marquee-container::before, .game-marquee-container::after { content: ""; position: absolute; top: 0; width: 30px; height: 100%; z-index: 2; pointer-events: none; }
.game-marquee-container::before { left: 0; background: linear-gradient(90deg, #07070f 0%, transparent 100%); }
.game-marquee-container::after { right: 0; background: linear-gradient(-90deg, #07070f 0%, transparent 100%); }

.game-marquee-track { display: flex; gap: 10px; width: max-content; animation: infiniteMarquee 15s linear infinite; will-change: transform; }
.game-marquee-track .game-pill { position: relative; padding: 6px 14px; border-radius: 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: rgba(255, 255, 255, 0.03); color: #64748b; border: 1px solid rgba(255, 255, 255, 0.05); }
.game-marquee-track .game-pill.active-pill { background: rgba(236, 72, 153, 0.15); color: #f43f5e; border-color: rgba(236, 72, 153, 0.3); box-shadow: 0 0 10px rgba(236, 72, 153, 0.2); }
.switch-app-indicator { font-size: 10.5px; color: #475569; font-weight: 700; text-align: center; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ==========================================================================
   KEYFRAMES COMUNES Y TIMELINES
   ========================================================================== */
@keyframes bounceArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@keyframes ultraGlow { 0% { box-shadow: 0 0 5px rgba(112, 0, 255, 0.4); } 100% { box-shadow: 0 0 18px rgba(0, 242, 254, 0.8); } }
@keyframes waveBounceLoop { 0% { transform: scaleY(0.2); } 100% { transform: scaleY(1.3); } }
@keyframes meshScanLoop { 0% { background-position: 0 0; } 100% { background-position: 0 48px; } }
@keyframes infiniteMarquee { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }
@keyframes kickIconPulseLoop { 0%, 100% { color: rgba(83, 252, 24, 0.06); filter: drop-shadow(0 0 0px rgba(83, 252, 24, 0)); } 50% { color: rgba(83, 252, 24, 0.15); filter: drop-shadow(0 0 12px rgba(83, 252, 24, 0.3)); } }

@keyframes moneyFlowOrbit {
    0% { top: -10px; left: 50%; opacity: 0; transform: scale(0.6) translateX(-50%); }
    15% { opacity: 1; transform: scale(1) translateX(-50%); }
    75% { top: 25px; left: 20%; opacity: 1; transform: scale(1) translateX(-50%); }
    95%, 100% { top: 40px; left: 20%; opacity: 0; transform: scale(0.7) translateX(-50%); }
}

@keyframes adMoneyFlow {
    0% { top: -10px; left: 50%; opacity: 0; transform: scale(0.5) translateX(-50%); }
    12% { opacity: 1; transform: scale(1) translateX(-50%); }
    75% { top: 22px; left: 80%; opacity: 1; transform: scale(1) translateX(-50%); }
    93%, 100% { top: 38px; left: 80%; opacity: 0; transform: scale(0.6) translateX(-50%); }
}

/* ==========================================================================
   TARJETAS SMARTPHONE PARALLAX (SECCIÓN INFERIOR)
   ========================================================================== */
#games-section {
    flex-direction: column;
    align-items: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.game-mockup {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(0, 242, 254, 0.05) 100%
    );
    border: 1px solid var(--card-border);
    border-radius: 32px;
    height: 440px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.game-mockup:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #030305 0%, transparent 70%);
    z-index: 1;
}

.game-info {
    position: relative;
    z-index: 2;
}

.game-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.game-info p {
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 500;
}

/* ==========================================================================

   SECCIÓN OUR GAMES & CONTENEDOR DE ENFOQUE CENTRADO

   ========================================================================== */

.games-carousel-container {
    width: 100%;
    max-width: 100vw; /* Ocupa todo el ancho de la pantalla para lucir la tira */
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Mantenemos el degradado lateral para que las cartas aparezcan y desaparezcan suavemente */
    mask: linear-gradient(90deg, transparent, #000 15% 85%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, #000 15% 85%, transparent);
}

/* El contenedor que aloja ambos grupos y se mueve horizontalmente */
.linear-track {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

/* Pausar la animación cuando el usuario pasa el ratón por encima */
.linear-track:hover {
    animation-play-state: paused;
}

/* Cada grupo de cartas idéntico */
.card-group {
    display: flex;
    gap: 20px; /* Espacio entre cartas */
    padding-right: 20px; /* Evita que se junten los grupos */
}

/* El enlace ahora actúa como la carta física contenedora */
.card {
    display: block; /* Asegura el comportamiento de bloque interactivo */
    width: 16em; /* Tamaño base */
    aspect-ratio: 7 / 10;
    border-radius: 1.5em;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden; /* Evita que la imagen interna se salga de las esquinas redondeadas */
}

/* Ajuste para que la imagen ocupe todo el botón enlace */
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Efecto hover limpio para las cartas botón */
.card:hover {
    transform: translateY(-10px); /* Pequeño salto hacia arriba */
    filter: brightness(1.1) contrast(1.05);
    border-color: rgba(0, 242, 254, 0.6);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.2);
}

/* Animación matemática: se mueve exactamente el 50% (el ancho de un grupo entero) */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .linear-track {
        animation-duration: 90s;
    }
}
/* ==========================================================================
   SECCIÓN INTRO ECOSYSTEM (CON GALERÍA 3D INTEGRADA)
   ========================================================================== */

/* --- CONTENEDOR DE TEXTO --- */
.intro-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    box-sizing: border-box;
}

.intro-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.intro-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #00f2fe;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
    margin-bottom: 24px;
}

.intro-text-wrapper {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.intro-headline {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    margin: 0;
}

.animated-gradient-text {
    background: linear-gradient(90deg, #00f2fe, #c8b6ff, #7000ff, #00f2fe);
    background-size: 300% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flowGradient 6s linear infinite;
}

.intro-lead {
    font-size: 19px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

@keyframes flowGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Movimiento Destellos Láser */
@keyframes laserMovingRight {
    0% { left: -5%; }
    40%, 100% { left: 105%; }
}
@keyframes laserMovingLeft {
    0% { right: -5%; }
    40%, 100% { right: 105%; }
}

/* Movimiento de Partículas de Logo Orbitantes */
@keyframes logoAdvanceRight {
    0% {
        left: -5%;
        transform: translateY(-50%) rotate(0deg);
        opacity: 0;
    }
    4% { opacity: 1; }
    36% { opacity: 1; }
    40%, 100% {
        left: 105%;
        transform: translateY(-50%) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes logoAdvanceLeft {
    0% {
        right: -5%;
        transform: translateY(-50%) rotate(0deg);
        opacity: 0;
    }
    4% { opacity: 1; }
    36% { opacity: 1; }
    40%, 100% {
        right: 105%;
        transform: translateY(-50%) rotate(360deg);
        opacity: 0;
    }
}


/* ==========================================================================
   #COMMUNITY-SECTION - ESTILOS GENERALES Y MAQUETACIÓN
   ========================================================================== */
#community-section {
    width: 100%;
    padding: 100px 0;
    overflow: hidden; 
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-container {
    width: 100%;
    max-width: 1600px; 
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.community-text-block {
    text-align: center;
    max-width: 700px;
    margin-bottom: 40px;
}

.community-text-block .community-tag {
    color: #22c55e;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.community-text-block h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
}

.community-text-block p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   ENTORNO DE LAS DOS GALAXIAS (DISCORD & YOUTUBE)
   ========================================================================== */
.community-dual-galaxy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 140px; /* Espacio extra seguro entre galaxias para evitar solapamientos laterales */
    width: 100%;
    padding: 40px 0;
}

.galaxy-space {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /* CRÍTICO: overflow: visible para permitir que los satélites orbiten sin cortes */
    overflow: visible !important; 
    z-index: 1;
}

.galaxy-space * {
    box-sizing: border-box;
}

/* ==========================================================================
   LOS CENTROS LOGO-HUB
   ========================================================================== */
/* ==========================================================================
   LOS CENTROS LOGO-HUB (AHORA BOTONES REALES INTERACTIVOS)
   ========================================================================== */
.center-hub {
    position: relative;
    width: 110px;
    height: 110px;
    z-index: 60; /* Prioridad de click por encima de los anillos */
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efecto feedback clickeable (Efecto bounce) */
.center-hub:hover {
    transform: scale(1.12);
}

.center-hub:active {
    transform: scale(0.95);
}

.hub-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.3); /* Bordes de botón más notorios */
    transition: all 0.3s ease;
}

/* Núcleo Discord */
.discord-center .hub-circle {
    background: #5865F2;
    box-shadow: 0 0 40px rgba(88, 101, 242, 0.4), inset 0 0 15px rgba(255,255,255,0.2);
}
.discord-center:hover .hub-circle {
    box-shadow: 0 0 60px rgba(88, 101, 242, 0.8), 0 0 0 6px rgba(88, 101, 242, 0.2);
}
.discord-center .hub-svg { width: 46px; height: auto; }

/* Núcleo YouTube */
.youtube-center .hub-circle {
    background: #FF0000;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4), inset 0 0 15px rgba(255,255,255,0.2);
}
.youtube-center:hover .hub-circle {
    box-shadow: 0 0 60px rgba(255, 0, 0, 0.8), 0 0 0 6px rgba(255, 0, 0, 0.2);
}
.youtube-center .hub-svg { width: 36px; height: auto; }

/* Etiquetas/Badges sobre los centros */
.hub-badge {
    position: absolute;
    width: 160px;
    text-align: center;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: #030305;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s, border-color 0.3s;
}

.center-hub:hover .hub-badge {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* ==========================================================================
   SISTEMA ULTRA-POTENTE DE 3 ANILLOS CONCENTRICOS (MÁS VISIBLES)
   ========================================================================== */
.galaxy-ring {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
    pointer-events: none; /* Deja pasar clicks al botón central */
    z-index: 10;
}

/* --- ANILLO 1: PRINCIPAL (EXTERIOR) --- */
.ring-main {
    width: 480px;
    height: 480px;
    border: 2px dashed rgba(255, 255, 255, 0.2); /* Más grueso y visible */
}
/* Luces neón de apoyo en órbita exterior */
.discord-galaxy .ring-main { filter: drop-shadow(0 0 2px rgba(88, 101, 242, 0.4)); }
.youtube-galaxy .ring-main { filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.4)); }

/* --- ANILLO 2: INTERMEDIO (GIRA AL CONTRARIO) --- */
.ring-inner-1 {
    width: 320px;
    height: 320px;
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
}
/* Fuerza el sentido de giro del anillo interno 1 */
.ring-inner-1.rotate-right { animation: orbitClockwise 35s linear infinite; }
.ring-inner-1.rotate-left { animation: orbitCounterClockwise 35s linear infinite; }

/* El neón interno hereda el color de su respectiva red */
.discord-galaxy .ring-inner-1 { border-color: rgba(88, 101, 242, 0.3); }
.youtube-galaxy .ring-inner-1 { border-color: rgba(255, 0, 0, 0.3); }

/* --- ANILLO 3: NÚCLEO (GIRA AL MISMO LADO) --- */
.ring-inner-2 {
    width: 190px;
    height: 190px;
    border: 2px dotted rgba(255, 255, 255, 0.25); /* Patrón de puntos para variar */
}
.ring-inner-2.rotate-right { animation: orbitClockwise 20s linear infinite; }
.ring-inner-2.rotate-left { animation: orbitCounterClockwise 20s linear infinite; }

.discord-galaxy .ring-inner-2 { border-color: rgba(255, 255, 255, 0.1); }
.youtube-galaxy .ring-inner-2 { border-color: rgba(255, 255, 255, 0.1); }

/* ==========================================================================
   REAJUSTE DE TRAZA DE SATÉLITES (RADIO BASADO EN 480PX DE ÓRBITA)
   ========================================================================== */
.galaxy-axis {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible !important;
    z-index: 15;
}

.rotate-right { animation: orbitClockwise 50s linear infinite; }
.rotate-left { animation: orbitCounterClockwise 55s linear infinite; }

.orbit-node {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    width: max-content;
    pointer-events: auto; /* Permite hover en las cartas de los usuarios */
    /* Empuja a 240px del centro (mitad exacta del nuevo diámetro de 480px) */
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(240px) rotate(calc(-1 * var(--angle)));
    z-index: 50;
}

.node-content-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #05050a; /* Fondo totalmente sólido (o 0.95) para tapar las líneas al pasar */
    padding: 6px 14px 6px 6px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s, transform 0.3s;
}
/* Efecto hover en los planetas de texto */
.orbit-node:hover .node-content-wrapper {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.orbit-node.layout-right .node-content-wrapper { flex-direction: row; text-align: left; }
.orbit-node.layout-left .node-content-wrapper { flex-direction: row-reverse; text-align: right; padding: 6px 6px 6px 14px; }

.rotate-right .node-content-wrapper { animation: counterClockwise 50s linear infinite; }
.rotate-left .node-content-wrapper { animation: clockwise 55s linear infinite; }

.node-avatar-holder { width: 46px; height: 46px; flex-shrink: 0; }
.node-pic { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid #05050a; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.2); }
.node-info-text { max-width: 150px; }
.node-info-text h4 { font-size: 13px; font-weight: 600; color: #ffffff; margin: 0 0 2px 0; }
.node-info-text p { font-size: 11px; color: rgba(148, 163, 184, 0.7); line-height: 1.3; margin: 0; }

/* ==========================================================================
   ANIMACIONES (KEYFRAMES) Y PAUSAS INTELIGENTES
   ========================================================================== */
@keyframes orbitClockwise { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes counterClockwise { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes orbitCounterClockwise { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes clockwise { from { transform: rotate(-360deg); } to { transform: rotate(0deg); } }

/* Al pasar el ratón por encima de la galaxia, se congelan los anillos pero NUNCA afecta la interactividad del botón */
.galaxy-space:hover .galaxy-axis,
.galaxy-space:hover .ring-inner-1,
.galaxy-space:hover .ring-inner-2,
.galaxy-space:hover .node-content-wrapper {
    animation-play-state: paused !important;
}
/* --- FOOTER SECCIÓN --- */
.footer-grid {
    display: grid;
    /* Ajusta el ancho basándose en el contenido real para evitar columnas vacías gigantes */
    grid-template-columns: 1.5fr 1fr 2fr 1.5fr; 
    gap: 40px;
    width: 100%;
    align-items: stretch; /* Volvemos a estirar para consistencia interna */
    padding-bottom: 80px;
    border-top: 1px solid var(--card-border);
    padding-top: 60px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Contenedor de las dos columnas de Legal */
.legal-subgrid {
    display: flex;
    gap: 45px; /* Espacio horizontal óptimo entre las dos columnas de legal */
    width: 100%;
}

.legal-subgrid ul {
    flex: 1;
    min-width: max-content; /* Evita que los textos largos como el email hagan wrapping feo */
}

/* Ajustes de espaciado e interlineado para los enlaces */
.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col li {
    margin-bottom: 16px; /* Mayor espacio para que no se amontonen los textos de dos líneas */
    line-height: 1.3;
}

.footer-links-col h3 {
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 600;
}

.footer-logo-img {
    width: 110px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(157, 78, 221, 0.4));
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 1.8fr; /* La columna de redes baja si falta espacio */
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Formato cómodo de cuadrícula 2x2 */
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Una sola columna fluida en móvil */
        gap: 35px;
    }

    .legal-subgrid {
        flex-direction: column; /* En móviles pequeños se apilan una debajo de otra */
        gap: 16px;
    }
}
/* ==========================================================================
   SECCIÓN: COMPETITIONS (DISTRIBUCIÓN HORIZONTAL MAXIMIZADA)
   ========================================================================== */
#competitions-section {
    width: 100%;
    padding: 100px 0;
    font-family: system-ui, -apple-system, sans-serif;
}

.competitions-container {
    /* Ampliamos el ancho máximo a 1600px para que las tarjetas se estiren en horizontal */
    max-width: 1600px; 
    margin: 0 auto;
    padding: 0 40px;
}

/* Encabezado */
.competitions-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.competitions-header .competitions-tag {
    color: #22c55e;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.competitions-header h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
}

.competitions-header p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
}

/* --- REJILLA HORIZONTAL MEJORADA --- */
.competitions-grid {
    display: grid;
    /* Bajamos el mínimo a 180px para obligar al navegador a meter tantas 
       tarjetas como pueda de manera horizontal en la misma fila */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px; /* Reducimos ligeramente el espacio entre ellas para ganar ancho */
    width: 100%;
}

/* Estructura de Tarjeta Estilizada */
.competition-card {
    background: rgb(4 5 14 / 57%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    /* Ajustamos paddings para que la tarjeta sea más estilizada verticalmente */
    padding: 30px 15px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Brillo trasero interactivo */
.competition-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: #7c3aed;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

/* Contenedor del Logo de la Tarjeta */
.comp-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

/* Ajuste de tus logos/imágenes */
.comp-custom-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    padding: 10px; /* Espacio interno para que no toque los bordes del círculo */
    transition: transform 0.4s ease;
}

/* Título de la competición */
.comp-title {
    font-size: 16px; /* Bajamos un punto el texto para que no rompa renglón tan rápido en horizontal */
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    flex-grow: 1; /* Mantiene los botones alineados abajo aunque un título ocupe más líneas */
}

/* Botón See More */
.comp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a78bfa;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    padding: 4px 8px;
}

.arrow-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   HOVERS INTERACTIVOS
   ========================================================================== */
.competition-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.competition-card:hover::before {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.3);
}

.competition-card:hover .comp-icon-wrapper {
    background: rgba(34, 197, 94, 0.1); /* Iluminación verde al pasar el cursor */
    border-color: rgba(34, 197, 94, 0.3);
}

.competition-card:hover .comp-custom-logo {
    transform: scale(1.06);
}

.competition-card:hover .comp-btn {
    color: #ffffff;
}

.competition-card:hover .arrow-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   SECCIÓN: CONTACTO (DISEÑO PREMIUM EN DOS COLUMNAS)
   ========================================================================== */
#contact-section {
    width: 100%;
    padding: 120px 0;
    background: #030305;
    font-family: system-ui, -apple-system, sans-serif;
    position: relative;
}

.contact-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    /* Divide la pantalla en dos columnas idénticas */
    grid-template-columns: 1fr 1fr; 
    gap: 100px;
    align-items: center;
}

/* ==========================================================================
   LADO IZQUIERDO: INFORMACIÓN DE CONTACTO
   ========================================================================== */
.contact-info-side .contact-tag {
    color: #22c55e; /* Verde brillante identitario */
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.contact-info-side h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 25px;
}

.contact-description {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 45px;
}

/* Lista de canales directos (Email/Discord) */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.channel-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a78bfa; /* Tono morado para los iconos */
}

.channel-icon-box svg {
    width: 22px;
    height: auto;
}

.channel-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.channel-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.channel-text a {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.channel-text a:hover {
    color: #22c55e; /* Se ilumina en verde al pasar el ratón */
}

/* ==========================================================================
   LADO DERECHO: FORMULARIO DE ENTRADA DE DATOS
   ========================================================================== */
.contact-form-side {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Fila de inputs dobles (Name + Email) */
.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* Estilo común para Inputs y Textarea */
.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* Foco activo de los inputs (Efecto brillo tecnológico) */
.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

/* Deshabilitar redimensión tosca del textarea */
.form-group textarea {
    resize: vertical;
}

/* Botón Enviar */
.submit-contact-btn {
    background: #ffffff;
    color: #030305;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-contact-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Hover del botón */
.submit-contact-btn:hover {
    background: #22c55e; /* Transición a verde corporativo */
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.submit-contact-btn:hover svg {
    transform: translate(2px, -2px) scale(1.05); /* Efecto despegue en el icono de envío */
}

/* ==========================================================================
   RESPONSIVE ADAPTATIVO
   ========================================================================== */
@media (max-width: 1100px) {
    .contact-container {
        grid-template-columns: 1fr; /* Colapsa en una sola columna en pantallas medianas */
        gap: 60px;
    }
    
    .contact-info-side {
        text-align: center;
    }

    .contact-info-side h2 {
        font-size: 38px;
    }

    .contact-channels {
        align-items: center;
    }
}

@media (max-width: 600px) {
    #contact-section {
        padding: 60px 0;
    }

    .contact-form-side {
        padding: 25px 20px; /* Reducción de márgenes internos en smartphones */
    }

    .form-row-dual {
        grid-template-columns: 1fr; /* Inputs apilados uno sobre otro */
        gap: 24px;
    }
}

/* ==========================================================================
   MARQUEE UNIVERSE SECTION (ACTUALIZADO)
   ========================================================================== */
#marquee-universe-section {
    width: 100%;
    padding: 80px 0;
    /* Quitamos el fondo negro puro para que use el del sitio o sea transparente */
    background-color: transparent; 
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
    min-height: 10vh;
}

.universe-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.universe-text-block {
    text-align: center;
    margin-bottom: 50px;
}

.universe-tag {
    color: #a855f7;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.universe-text-block h2 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

/* Tablero de Marquesinas */
.marquee-board {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Más espacio elegante entre la zona interactiva y los testimonios */
    width: 100%;
    position: relative;
}

/* Atenuación en los bordes (Solo afecta a la marquesina en movimiento de abajo) */
.marquee-board::before,
.marquee-board::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 15%;
    height: 250px; /* Ajustado para cubrir solo la fila con movimiento */
    z-index: 5;
    pointer-events: none;
}
/* Reemplaza #05050a por tu color de fondo real de la web para la transición difuminada */
.marquee-board::before { left: 0; background: linear-gradient(90deg, #05050a, transparent); }
.marquee-board::after { right: 0; background: linear-gradient(-90deg, #05050a, transparent); }

/* ==========================================================================
   NUEVA FILA 1: MINIATURAS ESTÁTICAS (ADIÓS IFRAMES)
   ========================================================================== */
.live-streams-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
    margin-bottom: 30px;
}

/* Convertimos la tarjeta en un enlace clickeable completo */
.stream-card-live {
    background: #0f0f18; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
    text-decoration: none; /* Quita el subrayado de enlace */
    display: flex;
    flex-direction: column;
}

/* Contenedor de la miniatura en ratio 16:9 */
.video-container-mock {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}

/* Estilos de la imagen de miniatura */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que la imagen se estire feo */
    transition: transform 0.5s ease;
}

/* Botón Play central */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

/* Triángulo del botón Play (Icono SVG) */
.play-button svg {
    width: 26px;
    height: 26px;
    color: #0f0f18;
    margin-left: 4px; /* Centrado óptico del triángulo */
    transition: color 0.3s ease;
}

.live-card-content {
    padding: 20px;
    flex-grow: 1;
}

.live-card-content h4 {
    margin: 10px 0 0 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ==========================================================================
   EFECTOS HOVER (ANIMACIONES AL PASAR EL MOUSE)
   ========================================================================== */
.stream-card-live:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.6); /* Destello morado un poco más vivo */
}

/* Zoom suave a la foto al hacer hover */
.stream-card-live:hover .video-thumbnail {
    transform: scale(1.05);
}

/* El botón Play reacciona al hover de la tarjeta */
.stream-card-live:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
    background: #a855f7; /* Cambia al color morado de tu marca */
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
}

.stream-card-live:hover .play-button svg {
    color: #fff; /* El icono se vuelve blanco */
}

/* ==========================================================================
   FILA 2: MARQUESINA (VELOCIDAD REDUCIDA)
   ========================================================================== */
.marquee-row {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.marquee-row:hover .marquee-track {
    animation-play-state: paused !important;
}

/* Aumentamos de 25s a 50s para que vaya al doble de lento y suave */
.scroll-right .marquee-track {
    animation: moveRight 50s linear infinite; 
}

@keyframes moveRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.badge.kick { 
    background: rgba(83, 252, 24, 0.15); 
    color: #53fc18; 
}

/* Tarjeta Testimonial Optimizada (Oscura y con Relieve) */
.testimonial-card {
    width: 320px;
    background: #0f0f18; /* Color oscuro sólido para que sobresalga perfectamente */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    background: #141422;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Tipografías y Detalles internos */
.marquee-track h4, .live-card-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.marquee-track p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.card-platform { margin-bottom: 10px; }
.badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}
.badge.yt { background: rgba(255, 0, 0, 0.15); color: #ff3333; }
.badge.kick { background: rgba(83, 252, 24, 0.15); color: #53fc18; }

.testi-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.testi-header .avatar {
    width: 38px;
    height: 38px;
    background: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}
.stars { color: #f59e0b; font-size: 12px; display: block; }

/* ==========================================================================
   ARENA
   ========================================================================== */
/* Contenedor General de la Sección */
#arena-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    min-height: 10vh;
}

/* Forzar centrado de la estructura interna */
.arena-container {
    max-width: 1200px; /* Ajusta este ancho al contenedor general de tus iframes */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el contenido internamente */
}

/* Encabezado centrado */
.arena-header {
    text-align: center;
    margin-bottom: 40px;
}

.arena-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.arena-header p {
    color: #b3b3b3;
    font-size: 1rem;
    margin: 0;
}

/* 🚀 CONTENEDOR HORIZONTAL (Estilo iframes con salto de línea) */
.arena-flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;       /* Permite que se bajen de una en una si no caben */
    justify-content: center; /* Mantiene el grupo centrado horizontalmente */
    gap: 24px;             /* Espaciado regular entre tarjetas */
    width: 100%;
}

/* Tarjeta Base Oscura */
.arena-card {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 
                inset 0 0 20px rgba(0, 242, 254, 0.05);
    border: 1px solid #2d2b35;
    border-radius: 16px;
    padding: 35px 24px 28px 24px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    
    /* Anchos fluidos idénticos */
    width: 280px;         /* Tamaño fijo ideal para formato vertical en fila */
    min-height: 260px;
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

/* Efecto hover sutil */
.arena-card:hover {
    transform: translateY(-2px);
}

/* TARJETA LIVE (Borde rosa de tu interfaz) */
.arena-card.card-live {
    border: 2px solid #ff0055;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.2);
}

/* Etiqueta 'LIVE NOW' */
.live-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ff0055;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Contenedores de los Logos */
/* Contenedor del Logo (mismo tamaño que los elementos superiores) */
.arena-logo {
        /* Ajusta el tamaño si lo quieres más grande o pequeño */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;    /* Evita que la imagen se salga de los bordes */
}

/* Control estricto de la imagen del logo */
.arena-logo img {
    width: 70%;
    object-fit: contain; /* Esto evita que el logo se estire o se deforme */
   
} 

/* Textos internos */
.arena-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0 6px 0;
}

.arena-status {
    color: #9e9ca7;
    font-size: 0.9rem;
    margin: 0 0 20px 0;
    line-height: 1.4;
    flex-grow: 1; /* Empuja el botón hacia abajo para alinearlos */
}

/* Botón See More estilo enlace tecnológico */
.btn-see-more {
    color: #00ffde; 
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.btn-see-more:hover {
    color: #aa7cff;
    text-decoration: underline;
}
/* ==========================================================================
   RESPONSIVE ADAPTATIVO CONTROLADO
   ========================================================================== */
@media (max-width: 1024px) {
    .competitions-grid {
        /* En pantallas medianas / tablets, se acomodarán automáticamente en filas de 2 o 3 */
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
        gap: 20px;
    }
}

@media (max-width: 600px) {
    #competitions-section {
        padding: 60px 0;
    }

    .competitions-grid {
        /* En teléfonos se apilan de forma vertical limpia para facilitar el scroll */
        grid-template-columns: 1fr; 
        gap: 15px;
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1250px) {
    .community-dual-galaxy {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    .galaxy-space {
        height: 500px;
    }
}

@media (max-width: 600px) {
    #competitions-section {
        padding: 60px 0;
    }
    
    .competitions-header h2 {
        font-size: 32px;
    }

    .competitions-grid {
        grid-template-columns: 1fr; /* 1 sola columna en dispositivos móviles */
        gap: 15px;
    }
    
    .competition-card {
        padding: 30px 20px;
    }
}

@media (max-width: 1024px) {
    .galaxy-axis, .orbit-node > * {
        animation: none !important;
    }
    .galaxy-ring {
        border: none;
        position: relative;
        width: 100%;
        height: auto;
    }
    .galaxy-space {
        height: auto;
        flex-direction: column;
        padding: 20px 0;
    }
    .center-hub {
        margin-bottom: 40px;
    }
    .galaxy-axis {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        height: auto;
    }
    .orbit-node {
        position: relative;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 45% !important;
    }
}

@media (max-width: 600px) {
    .orbit-node {
        width: 100% !important;
    }
}

[data-aos]{
    will-change: transform, opacity;
}

[data-aos="zoom-in"]{
    transform-origin:center center;
}

[data-aos="flip-left"]{
    backface-visibility:hidden;
}




/* ==========================================================================
   MOBILE MENU SYSTEM
   ========================================================================== */
.hamburger{

    display:none;

    position:relative;

    width:34px;
    height:34px;

    cursor:pointer;

    z-index:100000;

    justify-content:center;
    align-items:center;
}

.hamburger span{

    position:absolute;

    width:30px;
    height:2px;

    background:#ffffff;

    border-radius:999px;

    transition:all .35s ease;
}

/* LÍNEAS */

.hamburger span:nth-child(1){
    transform:translateY(-8px);
}

.hamburger span:nth-child(2){
    transform:translateY(0);
}

.hamburger span:nth-child(3){
    transform:translateY(8px);
}


/* X */

.hamburger.active span:nth-child(1){

    transform:rotate(45deg);
}

.hamburger.active span:nth-child(2){

    opacity:0;
}

.hamburger.active span:nth-child(3){

    transform:rotate(-45deg);
}

/* ==========================================================================
   14. SYSTEM FOOTER (BACKSPIN GAMES)
   ========================================================================== */
.main-footer {
    position: relative;
    width: 100%;
    margin-top: 100px;
    padding: 80px 4% 30px 4%;
    background: linear-gradient(180deg, rgba(2, 2, 5, 0) 0%, rgb(20 20 171 / 70%) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10;
    overflow: hidden;
}

/* Rejilla adaptativa y responsiva */
.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 0.9fr 1.1fr 1.4fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Columna de Marca */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
}

.footer-description {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

/* Indicador de Estado Cuántico */
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
    padding: 6px 12px;
    border-radius: 100px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulseStatus 2s infinite;
}

/* Enlaces del Footer */
.footer-links-col h3 {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.footer-links-col h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col ul a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links-col ul a:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

/* Redes Sociales en Formato Fila (Estilo List Quantum) */
.footer-socials-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-social-row:hover {
    transform: translateX(3px);
}

.social-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.social-icon-box svg {
    width: 18px;
    height: 18px;
}

.social-row-text {
    display: flex;
    flex-direction: column;
}

.social-row-text span {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-row-text small {
    color: var(--text-gray);
    font-size: 12px;
    opacity: 0.7;
}

/* ==========================================================================
   EFECTO HOVER ANIDADO (El "Group Hover" correcto en CSS Nativo)
   ========================================================================== */
/* Cuando el usuario pasa el cursor por encima de la FILA, se alteran los elementos internos */

.footer-social-row:hover .social-icon-box {
    background: rgba(112, 0, 255, 0.12);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
    color: var(--accent-cyan);
}

.footer-social-row:hover .social-row-text span {
    color: var(--accent-cyan);
}

/* Parte Baja: Copyright */
.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-bottom p {
    color: rgba(148, 163, 184, 0.6);
    font-size: 13px;
}

/* Línea estética superior */
.footer-glow-line {
    position: absolute;
    top: -1px;
    left: 0;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
    animation: energyFlow 6s infinite linear;
}



/* Animaciones */
@keyframes pulseStatus {
    0% { opacity: 0.4; box-shadow: 0 0 4px var(--accent-green); }
    50% { opacity: 1; box-shadow: 0 0 12px var(--accent-green); }
    100% { opacity: 0.4; box-shadow: 0 0 4px var(--accent-green); }
}

@keyframes energyFlow {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* ==========================================================================
   15. PAGES: UNSUBSCRIBE SYSTEM (CUÁNTICO)
   ========================================================================== */
.unsubscribe-page {
    background-color: var(--bg-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:间-between;
    overflow-x: hidden;
}

.unsub-header {
    padding: 30px 4%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.unsub-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    z-index: 5;
}

/* Tarjeta Central Glassmorphism */
/* Tarjeta Central Glassmorphism con Sombra Neón Cuántica */
.unsub-card {
    background: var(--card-surface);
    border: 1px solid rgba(255, 255, 255, 0.12); /* Un poco más definido para el brillo */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    max-width: 540px;
    width: 100%;
    text-align: center;
    position: relative;
    
    /* SOLUCIÓN: Sombra Neón Dual Progresiva */
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 242, 254, 0.15),   /* Brillo exterior Cian */
        0 0 80px rgba(112, 0, 255, 0.1),    /* Brillo expandido Púrpura */
        inset 0 1px 0 rgba(255, 255, 255, 0.1); /* Reflejo interno cristal */
        
    animation: neonPulseCard 8s infinite ease-in-out;
}

/* Animación opcional para que el neón tenga vida y respire sutilmente */
@keyframes neonPulseCard {
    0%, 100% {
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(0, 242, 254, 0.12),
            0 0 60px rgba(112, 0, 255, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 242, 254, 0.2);
    }
    50% {
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.6),
            0 0 45px rgba(112, 0, 255, 0.22),
            0 0 90px rgba(0, 242, 254, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(112, 0, 255, 0.3);
    }
}

/* Icono Superior de Correo */
.unsub-icon-header {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    position: relative;
}

.unsub-glow-orb {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--accent-cyan);
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

.unsub-icon-header svg {
    width: 28px;
    height: 28px;
}

/* Tipografías */
.unsub-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.unsub-subtitle {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Input de Texto Cyber */
.unsub-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.unsub-input-group {
    position: relative;
    width: 100%;
}

.unsub-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.unsub-input:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.02);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

/* Checkboxes de Personalización */
.unsub-preferences {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preferences-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.custom-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-gray);
    user-select: none;
}

.custom-checkbox-label input {
    display: none; /* Escondemos el nativo */
}

.checkbox-box {
    width: 18px;
    height: 18px;
    border: 1px solid var(--card-border);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.4);
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

/* Estados del Checkbox */
.custom-checkbox-label:hover .checkbox-box {
    border-color: var(--accent-purple);
}

.custom-checkbox-label input:checked + .checkbox-box {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.4);
}

.custom-checkbox-label input:checked + .checkbox-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--text-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox-label input:checked ~ .checkbox-text {
    color: var(--text-white);
}

.checkbox-text {
    line-height: 1.3;
    transition: color 0.2s ease;
}

/* Botón Ajustado */
.unsub-btn {
    width: 100%;
    padding: 16px;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    cursor: none !important; /* Mantiene la estética del puntero custom */
}

/* Enlace de regreso */
.unsub-back-link {
    margin-top: 30px;
}

.unsub-back-link a {
    color: rgba(148, 163, 184, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.unsub-back-link a:hover {
    color: var(--accent-cyan);
}

.unsub-footer {
    padding: 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.unsub-footer p {
    color: rgba(148, 163, 184, 0.3);
    font-size: 12px;
}

/* ==========================================================================
   16. UNSUBSCRIBE REASONS SYSTEM (RADIO BUTTONS DE TU CAPTURA)
   ========================================================================== */
.unsub-reasons-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.reasons-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* Label Contenedor del Radio */
.custom-radio-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-gray);
    user-select: none;
    transition: color 0.2s ease;
}

/* Ocultar nativo */
.custom-radio-label input[type="radio"] {
    display: none;
}

/* El círculo custom */
.radio-circle {
    width: 18px;
    height: 18px;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover en la fila */
.custom-radio-label:hover .radio-circle {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
}

.custom-radio-label:hover {
    color: var(--text-white);
}

/* Estado Seleccionado (Active) */
.custom-radio-label input[type="radio"]:checked + .radio-circle {
    border-color: var(--accent-purple);
    background: rgba(112, 0, 255, 0.1);
    box-shadow: 0 0 12px rgba(112, 0, 255, 0.4);
}

/* El punto central neón cuando se activa */
.custom-radio-label input[type="radio"]:checked + .radio-circle::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 6px var(--accent-purple);
}

.custom-radio-label input[type="radio"]:checked ~ .radio-text {
    color: var(--text-white);
}

/* Estilo del Textarea Opcional */
.unsub-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    resize: none;
    transition: all 0.3s ease;
}

.unsub-textarea:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.01);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

/* Responsive */
@media (max-width: 640px) {
    .unsub-card {
        padding: 40px 24px;
        border-radius: 16px;
    }
    .unsub-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   RESPONSIVE SYSTEM - FOOTER
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .main-footer {
        padding: 60px 20px 30px 20px;
        margin-top: 60px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
/* ==========================================================================
   RESPONSIVE SYSTEM
   ========================================================================== */

@media (max-width: 1200px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .feature-card {
        flex: 1 1 calc(50% - 24px);
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-dual-galaxy {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {

    .kpi-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .main-logo {
        width: 320px;
    }

}

@media (max-width: 768px) {

    html {
        cursor: auto;
    }

    .custom-cursor,
    .custom-cursor-dot {
        display: none;
    }

    header {
        width: 95%;
        padding: 14px 20px;
    }

    .hamburger {
        display: flex;
    }
    

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5,5,10,0.95);
        backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right .4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    nav a {
        margin-left: 0;
        font-size: 22px;
    }

    .hero-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-right: 0;
    }

    .features-grid {
        flex-direction: column;
    }

    .feature-card {
        flex: 1 1 100%;
        width: 100%;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .main-logo {
        width: 240px;
    }

    .logo-backlight {
        width: 260px;
        height: 260px;
    }

    #ourmiss {
          /* max-width: 100%; */
    display: flex;
    padding: 2em;
    min-height: 20vh;
    width: 100%;
    /* max-width: 380px; */
    /* backdrop-filter: blur(20px) saturate(180%); */
    box-shadow: rgba(0, 0, 0, 0.8) 0px 30px 60px, rgba(0, 242, 254, 0.05) 0px 0px 20px inset;
    /* position: absolute; */
    /* bottom: -50px; */
    right: -20px;
    z-index: 20;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.12);
    border-image: initial;
    /* border-radius: 16px; */
    /* margin-right: 24px; */
    color: white;
    }

    
}

@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 30px;
    }

    .intro-headline {
        font-size: 28px;
    }

    .community-text-block h2 {
        font-size: 26px;
    }

    .main-logo {
        width: 200px;
    }
}


/* ==========================================================================
   MOBILE MENU JAVASCRIPT
   ==========================================================================

const hamburger = document.querySelector('.hamburger');
const navMenu = document.querySelector('.nav-menu');

hamburger.addEventListener('click', () => {
    hamburger.classList.toggle('active');
    navMenu.classList.toggle('active');
});

========================================================================== */



/* ==========================================================================
   MOBILE OVERFLOW FIXES
   ========================================================================== */

html,
body {
    width: 100%;
 
}




/* ==========================================================================
   FEATURES GRID FIX
   ========================================================================== */

.features-grid {

    display: flex;
    flex-wrap: wrap;

    gap: 24px;

    width: 100%;

    justify-content: center;

    align-items: stretch;

    position: relative;

    overflow: visible;
}


.feature-card {

    position: relative;

    flex: 1 1 calc(25% - 24px);

    min-width: 280px;

    max-width: 100%;

    overflow: visible;

    border-radius: 28px;

    isolation: isolate;
}


.ui-widget-container,
.feature-card,
.feature-visual,
.visual-wrapper {
    overflow: visible;
}


.feature-card::before,
.feature-card::after {
    pointer-events: none;
    max-width: 100%;
}


/* ==========================================================================
   SECTION OVERFLOW FIX
   ========================================================================== */

header {
    overflow: visible !important;
}

section {
    overflow: visible;
}


/* ==========================================================================
   MOBILE MENU FIX
   ========================================================================== */

@media (max-width:768px) {

     .hero-grid{
         gap: 0px;
        display:flex;
        flex-direction:column;
    }

    /* LOGO / IMAGEN ARRIBA */

    .hero-visual{
        order:1;

        display:flex;
        justify-content:center;
    }

    /* TEXTO DEBAJO */

    .hero-text{
        order:2;

        text-align:center;
    }

    .logo-wrapperao-reveal2  {
    display:flex;
}


   .nav-menu{

        position:fixed;

        inset:0;

        width:100%;
        height:100vh;

        display:flex;
        flex-direction:column;

        justify-content:center;
        align-items:center;

        gap:38px;

        z-index:9999;

        opacity:0;
        visibility:hidden;

        transform:translateY(-20px);

        transition:
            opacity .45s ease,
            transform .45s ease,
            visibility .45s;

        /* FUTURISTIC PURPLE GRADIENT */

        background:

            radial-gradient(
                circle at top left,
                rgba(140,0,255,.35),
                transparent 35%
            ),

            radial-gradient(
                circle at bottom right,
                rgba(0,180,255,.18),
                transparent 30%
            ),

            linear-gradient(
                180deg,
                #070014 0%,
                #0a0220 35%,
                #12032d 65%,
                #05010f 100%
            );

        backdrop-filter:blur(24px);
        -webkit-backdrop-filter:blur(24px);

        overflow:hidden;
    }

    /* ACTIVE */

    .nav-menu.active{

        opacity:1;
        visibility:visible;

        transform:translateY(0);
    }

    /* LINKS */

    .nav-menu a{

        font-size:32px;

        font-weight:700;

        color:white;

        text-decoration:none;

        letter-spacing:-0.03em;

        opacity:.92;

        transition:
            transform .3s ease,
            opacity .3s ease,
            color .3s ease;
    }

    .nav-menu a:hover{

        transform:translateY(-3px);

        opacity:1;

        color:#9f6bff;
    }


    /* FEATURES MOBILE */

    .features-grid {
        flex-direction: column;
        gap: 20px;
    }

    .feature-card {
        width: 100%;
        min-width: unset;
    }

    .feature-visual {
        min-height: 260px;
    }


    /* LOGO MOBILE FIX */

    .logo-3d-container {
        width: 100%;
        overflow: hidden;
        display: none;
    }

    .main-logo {
        width: 220px;
    }

    .logo-backlight {
        width: 240px;
        height: 240px;
    }
.marquee-board::before, .marquee-board::after {

    background: linear-gradient(90deg, #05050a4d, transparent);
}

.marquee-board::after {

    background: linear-gradient(-90deg, #05050a4d, transparent);
}

.community-text-block p {
    margin: 1em;
}

.community-container {
    padding: 0 ; 
    margin: 1em;
}
    .galaxy-ring
 {
        margin-left: 10em;
    }
}

/* Desactivar animaciones en móviles */
@media (max-width: 768px) {

    body,
    body::before,
    body::after,
    .nebula,
    .nebula-1,
    .nebula-2,
    .nebula-3,
    .logo-backlight,
    .game-marquee-track,
    .floating-prize-value,
    .winner-avatar-glow,
    .stream-waveform span,
    .face-mesh-grid-loop {
        animation: none !important;
    }

    body {
        background-image: none;
    }

    body::after {
        display: none;
    }

    .nebula {
        display: none;
    }

    .logo-backlight {
        display: none;
    }
}

.nebula,
.logo-backlight {
    display: none;
}

body {
    background-image: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}