/* DATA GLOBE 3D STYLES */

/* Darker Globe Container */
.globe-section {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #050505 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.globe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* IMPORTANT: Restore Canvas Style */
#globe-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.6;
    /* Slight fade to blend with dark bg */
}

.globe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.globe-title {
    position: absolute;
    top: 25px;
    left: 25px;
    opacity: 0;
    animation: fadeInTitle 1s ease-out 0.5s forwards;
}

.title-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.globe-main-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.globe-main-title .highlight {
    background: linear-gradient(135deg, #a78bfa, #d946ef, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.globe-sub-title {
    font-size: 12px;
    color: #94a3b8;
}

.stats-panel {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    opacity: 0;
    animation: fadeInStats 1s ease-out 1s forwards;
}

.stat-card {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 90px;
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 9px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.center-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.2);
    animation: pulse-ring 3s ease-out infinite;
    z-index: 1;
}

.scan-line-globe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    animation: scan 4s linear infinite;
    z-index: 4;
    opacity: 0.3;
}

@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInStats {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

@media (max-width: 768px) {
    .globe-section {
        height: 380px;
    }

    .globe-title {
        left: 15px;
        top: 15px;
    }

    .globe-main-title {
        font-size: 18px;
    }

    .stats-panel {
        bottom: 15px;
        right: 15px;
        left: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-card {
        min-width: 80px;
        padding: 10px 12px;
    }

    .stat-value {
        font-size: 18px;
    }
}