@import url('./base.css');
@import url('./layout/navbar.css');
@import url('./components/hero.css');
@import url('./components/carrusel.css');
@import url('./components/buscador.css');
@import url('./components/resultados.css');
@import url('./aurora.css');
@import url('./bento.css?v=20260909-3');


/* ===== NAVBAR DROPDOWN (PERFIL) ===== */
.nav-dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 15px; /* Puente invisible para no perder el hover */
    margin-bottom: -15px;
}

.nav-dropdown-btn { position: relative;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px; /* Igual que el resto del men� */
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    padding-bottom: 5px;
    
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.nav-dropdown:hover .nav-dropdown-btn { position: relative;
    opacity: 1;
}

.nav-dropdown-btn::after {
    /* Efecto de l�nea naranja/rosa abajo como los otros enlaces */
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #8b93f8 0%, #E33A19 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-btn::after {
    opacity: 1;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0px;
    background: rgba(0, 0, 0, 0.3); /* Transparente adaptado a Aurora */
    min-width: 150px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

.nav-dropdown-content a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    margin: 0 !important;
    transition: background 0.2s, color 0.2s;
    text-transform: uppercase;
}

.nav-dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white !important;
}

/* Si Aurora est� desactivado, hacerlo un poco m�s oscuro para que no se pierda en el fondo oscuro */
body.aurora-off .nav-dropdown-content {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.05);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* === Transici�n LOGIN -> PERFIL === */
.nav-dropdown {
    opacity: 0;
    animation: navFadeIn 0.35s ease forwards;
}

@keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ========================================= */
/* CHROMA GRID EFFECT                        */
/* ========================================= */
.chroma-grid { 
    position: relative; 
    --x: 50%; 
    --y: 50%; 
    --r: 250px; 
}
.chroma-card { 
    position: relative; 
    overflow: hidden; 
    background: var(--card-gradient); 
    --mouse-x: 50%; 
    --mouse-y: 50%; 
    --spotlight-color: rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}
.chroma-card:hover { 
    border-color: var(--card-border) !important; 
}
.chroma-card::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 80%); 
    pointer-events: none; 
    opacity: 0; 
    transition: opacity 0.5s ease; 
    z-index: 2; 
}
.chroma-card:hover::before { 
    opacity: 1; 
}
.chroma-overlay { 
    position: absolute; 
    inset: 0; 
    pointer-events: none; 
    z-index: 3; 
    backdrop-filter: grayscale(1) brightness(0.78); 
    background: rgba(0, 0, 0, 0.001); 
    mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0%, transparent 15%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0.68) 88%, white 100%); 
    -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0%, transparent 15%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0.68) 88%, white 100%);
}
.chroma-fade { 
    position: absolute; 
    inset: 0; 
    pointer-events: none; 
    z-index: 4; 
    backdrop-filter: grayscale(1) brightness(0.78); 
    background: rgba(0, 0, 0, 0.001); 
    mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), white 0%, white 15%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.78) 45%, rgba(255,255,255,0.65) 60%, rgba(255,255,255,0.5) 75%, rgba(255,255,255,0.32) 88%, transparent 100%); 
    -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), white 0%, white 15%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.78) 45%, rgba(255,255,255,0.65) 60%, rgba(255,255,255,0.5) 75%, rgba(255,255,255,0.32) 88%, transparent 100%);
    transition: opacity 0.25s ease; 
}




/* Estado cuando entra en pantalla */
.masked-heading.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Compatibilidad para el V I B E gigante que ya tenía clase extra */
.vibe-text.masked-heading {
    background-size: 110%; /* Porque el texto gigante necesita menos margen */
}




.masked-video-target {
    /* El texto de HTML se hace transparente para empujar el DOM y mantener el Flexbox/Grid */
    color: transparent !important;
    text-wrap: balance;
    -webkit-font-smoothing: antialiased;
}

.masked-video-defs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.masked-video-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    will-change: transform;
    /* La escala de 1.1 da margen al video para moverse sin revelar los bordes */
    transform: scale(1.1);
}

/* Efecto RISE (Aparición) */
.rise-initial {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.rise-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}




/* El texto base ahora es opaco y sólido para el blend mode */
.masked-video-target {
    color: #fff !important; 
    background: #120F17 !important;
    -webkit-text-fill-color: initial !important; /* Destruir gradientes residuales */
    text-wrap: balance;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 1;
}

/* Efecto RISE (Aparición) */
.rise-initial {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.rise-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* ========================================= */
/* MASKED VIDEO EFFECT (SVG MASK)            */
/* ========================================= */
.masked-video-wrapper {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden; 
}

/* Efecto RISE (Aparición) */
.rise-initial {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.rise-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
