/* ========================================= */
/* WOW EFFECTS - ESTILOS Y ANIMACIONES       */
/* ========================================= */

/* 1. ANIMACIÓN DE REVELADO (SCROLL) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. BOTONES MAGNÉTICOS */
.btn-magnetic {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* Mantener el z-index para que esté por encima de las partículas si las hay */
    position: relative;
    z-index: 20;
}

/* 3. CURSOR PERSONALIZADO (NEÓN) */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #00D2FF;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 210, 255, 0.2);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

/* 4. TARJETAS CON BRILLO (GLOW CARDS) */
.glow-card {
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, -1000px);
    left: var(--mouse-x, -1000px);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 210, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.glow-card:hover::before {
    opacity: 1;
}

/* Asegurar que el contenido de la tarjeta esté por encima del brillo */
.glow-card > * {
    position: relative;
    z-index: 1;
}

/* 5. TEXTO REVELADO (ILUMINADO) */
.text-reveal span {
    opacity: 0.2;
    transition: opacity 0.4s ease;
}

.text-reveal span.iluminado {
    opacity: 1;
    color: #00D2FF;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Ocultar cursor predeterminado en desktop para la inmersión (opcional, pero puede ser drástico) */
/* body { cursor: none; } */
/* a, button { cursor: none; } */

/* Estilos para el Footer Bottom (Sand�a Production) */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: #64748b; font-size: 15px; }
@media (min-width: 768px) { .footer-bottom { border-top: none; border-left: 1px solid rgba(255,255,255,0.1); padding-top: 0; padding-left: 2rem; text-align: right; } }
.footer-bottom > div:first-child { color: rgba(255,255,255,0.4); font-size: 10px; margin-bottom: 8px; }
.grow-studio-credit { color: #ff2a4b; font-weight: 900; letter-spacing: 0.05em; transition: transform 0.3s; display: inline-block; }
.grow-studio-credit:hover { transform: scale(1.05); }

/* EFECTO CAMALEON (NEON AZUL/NARANJA) */
.chameleon-text { background: linear-gradient(90deg, #00D2FF, #FF5500, #00D2FF); background-size: 200% auto; color: transparent; -webkit-background-clip: text; background-clip: text; animation: chameleon 3s linear infinite; }
@keyframes chameleon { 0% { background-position: 0% center; filter: drop-shadow(0 0 5px rgba(0,210,255,0.6)); } 50% { background-position: 100% center; filter: drop-shadow(0 0 5px rgba(255,85,0,0.6)); } 100% { background-position: 200% center; filter: drop-shadow(0 0 5px rgba(0,210,255,0.6)); } }

/* ========================================= */
/* GROW STUDIO - EASTER EGG C (TOQUE MAGICO) */
/* ========================================= */
@keyframes growMagicGlow {
    0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 5px rgba(0,210,255,0.4)); }
    25% { transform: scale(1.15) rotate(-6deg); filter: drop-shadow(0 0 25px rgba(0,210,255,1)) drop-shadow(0 0 35px #FF5500); }
    50% { transform: scale(1.22) rotate(360deg); filter: drop-shadow(0 0 35px #00D2FF) drop-shadow(0 0 45px #FF007F); }
    75% { transform: scale(1.1) rotate(365deg); filter: drop-shadow(0 0 20px #00D2FF); }
    100% { transform: scale(1) rotate(360deg); filter: drop-shadow(0 0 5px rgba(0,210,255,0.4)); }
}
.grow-magic-active {
    animation: growMagicGlow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* Clases CSS semanticas limpias */
.badge-iron-series {
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.4);
}
.robot-coach-bg {
    filter: contrast(1.2) brightness(0.9);
}