/* Server Status Styles */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
    transition: all 0.3s ease;
    position: relative;
}

.status-dot.online {
    background: #18a309;
    box-shadow: 0 0 10px rgba(24, 163, 9, 0.5);
    animation: pulse-online 2s ease-in-out infinite;
}

.status-dot.offline {
    background: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
    animation: pulse-offline 2s ease-in-out infinite;
}

@keyframes pulse-online {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.1);
    }
}

@keyframes pulse-offline {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.05);
    }
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.server-status.loading {
    opacity: 0.7;
}

.server-status.loading .status-dot {
    animation: loading-pulse 1s ease-in-out infinite;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.player-count {
    color: var(--text-light-gray);
    font-size: 14px;
}

/* Hero stats specific styling */
.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hero-stats .stat:hover {
    color: var(--light-green);
}

/* Footer server status */
.footer-section .server-status {
    margin-top: 8px;
}

.footer-section .server-status span:not(.status-dot) {
    color: var(--light-green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .stat-divider {
        display: none;
    }
}

/* Server info tooltip */
.server-info-tooltip {
    position: relative;
    cursor: help;
}

.server-info-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid var(--border-green);
}

.server-info-tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}
