/* Estilos personalizados adicionales a Tailwind */

body {
    font-family: 'Roboto', sans-serif;
}

/* Efecto de click (onda de luz) */
.click-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,184,0,1) 0%, rgba(251,184,0,0) 70%);
    box-shadow: 0 0 20px 10px rgba(251, 184, 0, 0.6);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    animation: clickPulse 0.4s ease-out forwards;
}

@keyframes clickPulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

/* Efecto de espuma para cursor Pilsen */
.foam-particle {
    position: fixed;
    /* Degradado de blanco a amarillo para dar volumen y suavidad */
    background: radial-gradient(circle at 30% 30%, #FFFFFF, #FFF176);
    /* Forma irregular (blob) en lugar de círculo perfecto */
    border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.9;
    animation: foamFade 1s ease-out forwards;
    /* Sombras sólidas para simular acumulación de burbujas (cluster) - Ajustadas al nuevo tamaño */
    box-shadow: 
        2px 1.5px 0 #FFF59D,
        -1.5px -2px 0 rgba(255, 255, 255, 0.8),
        -2px 1.5px 0 #FFF176;
    filter: blur(0.3px); /* Blur más sutil para tamaño pequeño */
}

@keyframes foamFade {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        /* Crece y rota para simular expansión de la espuma */
        transform: translate(-50%, -50%) scale(2) rotate(45deg) translateY(-10px);
        opacity: 0;
    }
}

/* Efecto de Estrellas para cursor Gatito */
.star-particle {
    position: fixed;
    color: #FFD700; /* Gold */
    pointer-events: none;
    z-index: 9998;
    opacity: 0.8;
    animation: starFade 1s ease-out forwards;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.6);
}

@keyframes starFade {
    0% {
        transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5) rotate(180deg);
        opacity: 0;
    }
}

/* Efecto de Burbujas para cursor Patito */
.bubble-particle {
    position: fixed;
    border: 1px solid rgba(59, 130, 246, 0.5); /* Blue-500 equivalent */
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(59, 130, 246, 0.2));
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.6;
    animation: bubbleFloat 1.5s ease-out forwards;
    box-shadow: 0 0 4px rgba(59, 130, 246, 0.3);
}

@keyframes bubbleFloat {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2) translateY(-30px);
        opacity: 0;
    }
}

/* Efecto de Huellas para cursor Husky */
.paw-particle {
    position: fixed;
    color: #9CA3AF; /* Gray-400 */
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
    animation: pawFade 1.5s ease-out forwards;
}

@keyframes pawFade {
    0% {
        transform: translate(-50%, -50%) scale(0.6) rotate(var(--rotation));
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8) rotate(var(--rotation));
        opacity: 0;
    }
}


/* Scrollbar Minimalista Amarillo */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #FBB800; /* Brand Yellow */
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #DBA100; /* Brand Darker Yellow */
    border-width: 1px;
}

/* Para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #FBB800 transparent;
}

/* Utilidad para ocultar scrollbar pero mantener funcionalidad */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- Ambient Background Effects --- */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.6; /* Subtle by default */
    background-color: transparent;
    transition: opacity 0.5s ease;
    display: none; /* Hidden by default, toggled by JS */
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: ambientFloat 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #FBB800; /* Brand Yellow */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: #FFD447; /* Lighter Yellow */
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: #FFF1C2; /* Very Light Yellow */
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes ambientFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Animaciones de utilidad */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.animate-scale-in {
    animation: scaleIn 0.3s ease-out forwards;
}
