/* Global Styles */
body {
    margin: 0;
    background-color: #050811;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

/* Globe Container */
#globe-container {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Dashboard Overlay */
#dashboard {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 204, 0.2);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 320px;
    pointer-events: auto;
}

h1 {
    font-size: 18px;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00ffcc;
}

/* Status Indicator */
.status {
    font-size: 12px;
    color: #8892b0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00ffcc;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #00ffcc;
    animation: pulse 2s infinite;
}

/* User Count Display */
.total-users {
    font-size: 42px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: monospace;
}

.total-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #a8b2d1;
    letter-spacing: 1px;
}

/* Country Leaderboard */
.country-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.country-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.country-name {
    color: #a8b2d1;
}

.country-count {
    font-weight: bold;
    color: #00ffcc;
    font-family: monospace;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Instructions HUD */
#instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
    pointer-events: none;
}
.animate-fade-in { animation: fadeIn 1s ease; }
.animate-slide-up { animation: slideUp 1s ease; }
.animate-pulse { animation: pulse 2s infinite; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }
@media (max-width: 900px) {
  .map-container { height: 40vh; }
  .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .map-title { font-size: 1.5rem; }
  .map-container { height: 30vh; min-height: 200px; }
  .stats-box { padding: 1rem; }
}
