:root {
    --dash-glow: 0 0 20px rgba(118, 185, 0, 0.6);
}

.stats-tile {
    background: rgba(16, 16, 16, 0.7);
    border: 1px solid rgba(118, 185, 0, 0.2);
    border-radius: 8px;
    padding: 18px;
    box-shadow: var(--dash-glow);
    transition: all 0.3s ease;
}

.stats-tile:hover {
    background: rgba(16, 16, 16, 0.9);
    border-color: rgba(118, 185, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(118, 185, 0, 0.5);
}

.stats-tile .label {
    font-size: 12px;
    color: #E0E0E0;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
}

.stats-tile .value {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--nv-green);
    text-shadow: 0 0 12px rgba(118, 185, 0, 0.5);
    transition: transform .3s ease, filter .3s ease;
    display: inline-block;
    min-width: 180px;
}

.stats-tile .value.pulse {
    animation: valuePulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes valuePulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        filter: brightness(1.2) drop-shadow(0 0 8px rgba(118, 185, 0, 0.8));
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.stats-wrap .stats-title {
    margin-bottom: var(--spacing-md);
}

.stats-wrap .stats-title h2 {
    margin: 0;
    color: var(--ink);
    font-size: 28px;
}

.stats-wrap .stats-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    color: #CCCCCC;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: none;
    font-weight: 400;
    margin-top: 8px;
    opacity: 0.9;
}

.stats-wrap .stats-tiles {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

#btn-view-explorer {
    background: #0A0A0A;
    border: 2px solid var(--nv-green);
    color: var(--nv-green);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 0 rgba(118, 185, 0, 0.2);
    align-self: flex-start;
}

#btn-view-explorer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(118, 185, 0, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#btn-view-explorer:hover {
    border-color: var(--nv-green-2);
    color: var(--nv-green-2);
    box-shadow: inset 0 0 16px rgba(118, 185, 0, 0.3), 0 0 20px rgba(118, 185, 0, 0.6), 0 0 40px rgba(118, 185, 0, 0.3);
    transform: translateY(-2px);
}

#btn-view-explorer:hover::before {
    opacity: 1;
}

#btn-view-explorer:active {
    transform: translateY(0);
}

#gpu-dashboard {
    background: linear-gradient(180deg, #000, #111);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

#gpu-dashboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient( 0deg, rgba(118, 185, 0, 0.03) 0px, rgba(118, 185, 0, 0.03) 2px, transparent 2px, transparent 4px);
    animation: scanlineMove 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes scanlineMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(20px);
    }
}

#gpu-dashboard::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(118, 185, 0, 0.04) 0, transparent 50%, rgba(118, 185, 0, 0.04) 100%);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: scanlineFade 8s ease-in-out infinite;
    opacity: .06;
}

@keyframes scanlineFade {
    0%,
    100% {
        opacity: 0.04;
    }
    50% {
        opacity: 0.08;
    }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.globe-wrap {
    width: 100%;
    height: 780px;
    border: 1px solid rgba(118, 185, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(118, 185, 0, 0.25), inset 0 0 30px rgba(118, 185, 0, 0.05);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(118, 185, 0, 0.05), transparent);
}

#dashboard-globe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .globe-wrap {
        height: 520px;
    }
    .stats-wrap .stats-title h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    #gpu-dashboard {
        padding: var(--spacing-lg) 0;
    }
    .globe-wrap {
        height: 400px;
    }
    .stats-tile .value {
        font-size: 24px;
        min-width: 140px;
    }
    #btn-view-explorer {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stats-tile .value {
        transition: none;
        animation: none;
    }
    #gpu-dashboard::before,
    #gpu-dashboard::after {
        animation: none;
    }
}

#gpu-dashboard .tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(118, 185, 0, 0.4);
    color: #E0E0E0;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 6px;
    pointer-events: none;
    box-shadow: var(--dash-glow);
    transform: translate(-50%, -120%);
    z-index: 100;
    white-space: nowrap;
}