/* Estilos para el contador de visitas - Tema Azul Neon #00c2ff */

.visitor-counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 194, 255, 0.1);
    border: 1px solid #00c2ff;
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #00c2ff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.2);
    transition: all 0.3s ease;
}

.visitor-counter:hover {
    background: rgba(0, 194, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 194, 255, 0.3);
}

.visitor-counter-icon {
    display: inline-block;
    margin-right: 5px;
    animation: pulse-blue 2s infinite;
}

.visitor-counter-number {
    font-weight: bold;
    text-shadow: 0 0 5px #00c2ff;
}

.visitor-stats {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00c2ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.3);
}

.visitor-counter:hover .visitor-stats {
    display: block;
}

.visitor-stats h4 {
    margin: 0 0 10px 0;
    color: #00c2ff;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #00c2ff;
    padding-bottom: 5px;
    text-shadow: 0 0 5px #00c2ff;
}

.visitor-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.visitor-stat-item {
    text-align: center;
}

.visitor-stat-label {
    display: block;
    font-size: 10px;
    color: #888;
    margin-bottom: 2px;
}

.visitor-stat-value {
    display: block;
    font-size: 14px;
    color: #00c2ff;
    font-weight: bold;
    text-shadow: 0 0 3px #00c2ff;
}

/* Indicador de reinicio mensual */
.visitor-counter-reset-info {
    font-size: 9px;
    color: rgba(0, 194, 255, 0.7);
    margin-top: 5px;
    text-align: center;
    border-top: 1px solid rgba(0, 194, 255, 0.3);
    padding-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .visitor-counter {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .visitor-stats {
        min-width: 180px;
        padding: 12px;
    }
    
    .visitor-stats h4 {
        font-size: 12px;
    }
    
    .visitor-stat-value {
        font-size: 12px;
    }
}

/* Animaciones con tema azul */
@keyframes pulse-blue {
    0% { 
        opacity: 1; 
        text-shadow: 0 0 5px #00c2ff;
    }
    50% { 
        opacity: 0.6; 
        text-shadow: 0 0 10px #00c2ff;
    }
    100% { 
        opacity: 1; 
        text-shadow: 0 0 5px #00c2ff;
    }
}

@keyframes glow-blue {
    0% { box-shadow: 0 4px 15px rgba(0, 194, 255, 0.2); }
    50% { box-shadow: 0 4px 25px rgba(0, 194, 255, 0.4); }
    100% { box-shadow: 0 4px 15px rgba(0, 194, 255, 0.2); }
}

/* Integración con el tema azul de la página */
.visitor-counter.theme-integrated {
    background: linear-gradient(45deg, rgba(0, 194, 255, 0.1), rgba(0, 150, 255, 0.1));
    border: 1px solid #00c2ff;
    animation: glow-blue 3s ease-in-out infinite;
}

.visitor-counter.theme-integrated:hover {
    background: linear-gradient(45deg, rgba(0, 194, 255, 0.2), rgba(0, 150, 255, 0.2));
    box-shadow: 0 6px 30px rgba(0, 194, 255, 0.4);
}

/* Modo minimalista con tema azul */
.visitor-counter.minimal {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 194, 255, 0.5);
    color: #00c2ff;
    font-size: 11px;
    padding: 5px 10px;
}

.visitor-counter.minimal:hover {
    border-color: #00c2ff;
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

/* Variante para el footer con tema azul */
.footer-visitor-counter {
    display: inline-block;
    margin-left: 15px;
    color: #00c2ff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
}

.footer-visitor-counter .visitor-counter-icon {
    margin-right: 5px;
    animation: pulse-blue 2s infinite;
}

.footer-visitor-counter .visitor-counter-number {
    text-shadow: 0 0 3px #00c2ff;
    font-weight: bold;
}

/* Efectos especiales para el tema ciberpunk azul */
.visitor-counter::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00c2ff, transparent, #00c2ff);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visitor-counter:hover::before {
    opacity: 0.3;
}

/* Estilo para el texto de reinicio mensual */
.monthly-reset-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #00c2ff;
    color: #000;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    text-shadow: none;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Efectos de partículas azules (opcional) */
.visitor-counter.with-particles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 194, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 194, 255, 0.1) 0%, transparent 50%);
    border-radius: 8px;
    pointer-events: none;
    animation: particle-float 4s ease-in-out infinite;
}

@keyframes particle-float {
    0%, 100% { opacity: 0.3; transform: translateY(0px); }
    50% { opacity: 0.6; transform: translateY(-2px); }
}