/* gauge.css - Speedometer Gauge Styles with Vibrant Color & Ambient Flare */

.gauge-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ambient colored aura halo behind speedometer */
.gauge-container::before {
    content: '';
    position: absolute;
    width: 78%;
    height: 78%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.16) 0%, rgba(16, 185, 129, 0.10) 45%, rgba(139, 92, 246, 0.05) 70%, transparent 80%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
    transition: all 0.5s ease;
}

.gauge-canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

.gauge-center-info {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge-phase-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-cyan, #06b6d4);
    background: rgba(15, 23, 42, 0.85);
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
    margin-bottom: 6px;
    transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gauge-speed-value {
    font-size: 3.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 40%, #38bdf8 80%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.55));
    transition: filter 0.3s ease;
}

.gauge-speed-unit {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-cyan, #06b6d4);
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
    margin-top: 4px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

@media (max-width: 480px) {
    .gauge-container {
        max-width: 300px;
    }
    .gauge-speed-value {
        font-size: 2.75rem;
    }
}
