/* Variables CSS para consistencia */
:root {
    --accent-color: #FFD700;
    --text-light: #FFFFFF;
}

/* CSS para el widget completo */
.stats-widget {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.stats-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.main-counter {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.big-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.big-number {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.big-label {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Animación de loading */
.big-number.loading,
.stat-number.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.5; 
    }
}

/* ===== ESTILOS PARA SECCIÓN DE PROMOCIONES ===== */
.promo-register-section {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    transition: transform 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.promo-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.promo-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-register {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color), #FFA500);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #FFA500, var(--accent-color));
}

/* Responsive Design */
@media (max-width: 768px) {
    .big-number {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-item {
        padding: 0.8rem 0.5rem;
    }
    
    .promo-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .promo-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .stats-widget {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .big-number {
        font-size: 1.8rem;
    }
    
    .big-label {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .promo-card {
        padding: 1rem;
    }
    
    .promo-icon {
        font-size: 2.5rem;
    }
    
    .btn-register {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
}