/* Global Styles - Dark Cyberpunk Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0e27;
    color: #e0e0e0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

/* Navigation Header */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 107, 0, 0.3);
    padding: 15px 30px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.title {
    font-size: 24px;
    font-weight: 600;
    color: #ff6b00;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.viz-selector {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 107, 0, 0.2);
    border-color: rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: rgba(255, 107, 0, 0.3);
    border-color: #ff6b00;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.search-input {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    font-size: 14px;
    border-radius: 5px;
    width: 200px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.search-input::placeholder {
    color: #808080;
}

/* Main Globe Container */
.globe-container {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: radial-gradient(ellipse at center, #1a1f3a 0%, #0a0e27 100%);
}

/* Loading Indicator */
.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    text-align: center;
    background: rgba(10, 14, 39, 0.9);
    padding: 30px 50px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 107, 0, 0.2);
    border-top: 4px solid #ff6b00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #ff6b00;
    font-size: 16px;
}

/* Info Panel */
.info-panel {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    max-width: 350px;
}

.info-panel h3 {
    color: #ff6b00;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-panel p {
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 15px;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #e0e0e0;
}

.stat-label {
    color: #808080;
}

.stat-value {
    color: #ff6b00;
    font-weight: 600;
}

.stat-value.tor {
    color: #00ffff;
}

/* Details Panel */
.details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 107, 0, 0.3);
    font-size: 12px;
    color: #b0b0b0;
}

.details.hidden {
    display: none;
}

.details-item {
    margin-bottom: 5px;
}

.details-label {
    color: #808080;
    font-weight: 500;
}

.details-value {
    color: #e0e0e0;
}

/* Tooltip */
.tooltip {
    position: fixed;
    background: rgba(10, 14, 39, 0.9);
    color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    pointer-events: none;
    z-index: 200;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .title {
        font-size: 20px;
    }

    .info-panel {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}
