/* ============================================================
   wheel.css — Rueda de Progreso: Growth City
   ============================================================ */

#octalysis-wheel-hud {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    pointer-events: none;
    transition: opacity .4s ease;
}
#octalysis-wheel-hud.hidden { opacity: 0; pointer-events: none; }

#wheel-label {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,.28);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ── SVG ─────────────────────────────────────────────────── */
#wheel-svg { filter: drop-shadow(0 4px 16px rgba(0,0,0,.6)); }

.wheel-segment {
    transition: fill .45s ease, opacity .45s ease;
    opacity: .22;
    cursor: default;
}
.wheel-segment.active {
    opacity: 1;
    animation: wseg-glow .42s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes wseg-glow {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.wheel-emoji {
    font-size: 12px;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
    transition: opacity .4s;
}
.wheel-emoji.inactive { opacity: .28; filter: grayscale(1); }

#wheel-count {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    fill: #fff;
    text-anchor: middle;
    dominant-baseline: central;
    transition: font-size .3s ease;
}
#wheel-count-sub {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 8px;
    fill: rgba(255,255,255,.38);
    text-anchor: middle;
    dominant-baseline: central;
}

/* ── Tooltip ─────────────────────────────────────────────── */
#wheel-tooltip {
    position: fixed;
    background: rgba(0,0,0,.9);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    padding: 5px 12px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px; font-weight: 600;
    color: #fff;
    pointer-events: none;
    z-index: 41;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .15s;
    transform: translateX(-50%);
    box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
#wheel-tooltip.visible { opacity: 1; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 520px) {
    #octalysis-wheel-hud { bottom: 10px; }
    #wheel-svg { width: 96px; height: 96px; }
    #wheel-label { font-size: 8px; }
}
