/* ==========================================================
   Play Royal Group Lottery - Dual Roulette Wheels (Golden Casing & Red Badge)
   Matching Exact Design of Screenshot - Big Desktop Presentation
   ========================================================== */

:root {
    --wheel-size: 380px;
    --wheel-gold: #f5b623;
    --wheel-red-badge: #c0262d;
    --wheel-bg-dark: #700000;
}

/* Wheels Arena */
.arena-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 5;
    flex-wrap: nowrap;
    margin: 15px auto 0;
    width: 100%;
}

/* Individual Wheel Column */
.wheel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 0;
}

/* Top Pointer Needle & Housing */
.wheel-pointer {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    width: 58px;
    height: 62px;
    z-index: 25;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
    transform-origin: 50% 15%;
    transition: transform 0.05s ease-out;
    pointer-events: none;
}

.pointer-gem {
    width: 100%;
    height: 100%;
    background: var(--wheel-red-badge);
    clip-path: polygon(50% 100%, 0% 30%, 24% 0%, 76% 0%, 100% 30%);
    border-radius: 2px;
    border: 5px solid var(--wheel-gold);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
    position: relative;
}

.pointer-gem::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 15px solid rgba(255, 255, 255, 0.35);
}

/* Golden Outer Wheel Frame */
.wheel-outer-casing {
    width: var(--wheel-size);
    height: var(--wheel-size);
    border-radius: 50%;
    background: var(--wheel-gold);
    border: 18px solid var(--wheel-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 0 6px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    transform: translateZ(0);
    z-index: 4;
}

/* Rotating Disk Container */
.wheel-disk-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
}

.wheel-disk {
    width: 100%;
    height: 100%;
    position: relative;
    transform-origin: center center;
    will-change: transform;
}

.wheel-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Pure White Center Hub (As in Screenshot) */
.wheel-center-hub {
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    pointer-events: none;
}

.center-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 46px;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
    transform: scale(1);
    transition: transform 0.25s ease-out;
    user-select: none;
}

.center-number.reveal {
    animation: numberPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes numberPop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* Golden Yellow Stand Column */
.wheel-stand {
    display: block !important;
    width: 170px;
    height: 56px;
    background: var(--wheel-gold);
    margin-top: -14px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Red Label Badge - HOUSE (ANDAR) / ENDING (BAHAR) */
.wheel-badge {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wheel-red-badge);
    color: #ffffff;
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wheel-badge .badge-title {
    font-weight: 900;
    color: #ffffff;
}

.wheel-badge .badge-sep {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 900;
}

.wheel-badge .badge-name {
    color: #fff275;
    font-weight: 900;
    letter-spacing: 0.5px;
}

/* Golden Pedestal Base with Center Groove Cutout */
.wheel-pedestal-base {
    display: block !important;
    width: 280px;
    height: 42px;
    background: var(--wheel-gold);
    border-radius: 4px 4px 0 0;
    position: relative;
    z-index: 3;
    margin-top: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* Dark center notch cutout in the pedestal base */
.wheel-pedestal-base::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 6px;
    background: var(--wheel-bg-dark);
    border-radius: 2px;
}