.wheel-panel {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.wheel-panel__balance {
    font-weight: 700;
}

.wheel-panel__spin {
    font-size: 1rem;
}

.wheel-panel__result {
    min-height: 1.5rem;
    font-weight: 700;
    margin-top: 0.75rem;
}

.wheel-wrap {
    position: relative;
    width: 280px;
    margin: 2rem auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.35));
}

.wheel {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 6px solid #1c1f26;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.15),
        inset 0 0 40px rgba(0, 0, 0, 0.35);
}

/* léger vernis brillant par-dessus les segments, pour éviter l'effet "plat" */
.wheel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.35), transparent 55%);
    pointer-events: none;
}

.wheel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px;
    border-radius: 50%;
    background: #1c1f26;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.wheel__pointer {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 22px solid #ffd23f;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.wheel__label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: rotate(var(--angle));
}

.wheel__label span {
    display: inline-block;
    transform: translate(-50%, -110px) rotate(calc(var(--angle) * -1));
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 17, 21, 0.55);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
