/* Removido Google Fonts import para mejor rendimiento */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Estilos de la barra de procesos */
.number-counter {
    font-variant-numeric: tabular-nums;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
    }
}


/* Estilos del emcabezado del home */

.gradient-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }

    to {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

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

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

/* Mejoras para el logo */
.logo-container {
    position: relative;
    display: inline-block;
}

.logo-glow {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    transition: all 0.3s ease;
}

.logo-glow:hover {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    transform: scale(1.05);
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;

}

/* Estilos componete ganadores en el home pricipal  */

        .floating-animation {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-8px); }
        }
        
        .pulse-glow {
            animation: pulse-glow 3s ease-in-out infinite alternate;
        }
        
        @keyframes pulse-glow {
            from { box-shadow: 0 0 20px rgba(251, 191, 36, 0.2); }
            to { box-shadow: 0 0 30px rgba(251, 191, 36, 0.4); }
        }

        .winner-card {
            transition: all 0.3s ease;
        }
        
        .winner-card:hover {
            transform: translateY(-3px);
        }

        /* Ganador destacado */
        .featured-winner {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.1));
            border: 2px solid rgba(251, 191, 36, 0.4);
            animation: featured-glow 4s ease-in-out infinite alternate;
        }

        @keyframes featured-glow {
            from { 
                box-shadow: 0 0 25px rgba(251, 191, 36, 0.3);
                border-color: rgba(251, 191, 36, 0.4);
            }
            to { 
                box-shadow: 0 0 40px rgba(251, 191, 36, 0.5);
                border-color: rgba(251, 191, 36, 0.6);
            }
        }

        .new-badge {
            background: linear-gradient(45deg, #f59e0b, #d97706);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

/* Estilos del componente no-sorteo-activo */

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Estilos del componente de boton flotante */
  /* From Uiverse.io by Gaurang7717 */
    .Btn {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 55px;
        height: 55px;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition-duration: 0.3s;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
        background-color: #00d757;
    }

    .sign {
        width: 100%;
        transition-duration: 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sign svg {
        width: 25px;
    }

    .sign svg path {
        fill: white;
    }

    .text {
        position: absolute;
        right: 0%;
        width: 0%;
        opacity: 0;
        color: white;
        font-size: 1.2em;
        font-weight: 600;
        transition-duration: 0.3s;
    }

    .Btn:hover {
        width: 200px;
        border-radius: 40px;
        transition-duration: 0.3s;
    }

    .Btn:hover .sign {
        width: 30%;
        transition-duration: 0.3s;
        padding-left: 10px;
    }

    .Btn:hover .text {
        opacity: 1;
        width: 70%;
        transition-duration: 0.3s;
        padding-right: 10px;
    }

    .Btn:active {
        transform: translate(2px, 2px);
    }

    /* Estilos del componente para la busquedas de numeros del clientes */

/* Animaciones */
.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

.slide-out-right {
    animation: slideOutRight 0.3s ease-in;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.fade-out {
    animation: fadeOut 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 0.5rem;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 60;
}

.floating-component {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 400px;
    z-index: 50;
    max-width: 90vw;
}

@media (max-width: 640px) {
    .floating-component {
        width: 100vw;
    }
}
/* Para Chrome, Edge, Safari */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Para Firefox */
input[type=number] {
  -moz-appearance: textfield;
}