/* Wheel Container Setup */
@media (max-width: 576px) {
    .wheel-box {
        position: relative;
        /*width: 360px;*/
        /*height: 360px;*/
        width: 100%;
        max-width: 380px;
        /*height: 100%;*/
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .wheel-box {
        position: relative;
        width: 100%;
        max-width: 380px;
        /*height: 360px;*/
        margin: 0 auto;
        /*border: 1px solid red;*/
    }
}

/* Container forcing a perfect 1:1 square ratio */
.wheel-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Perfect Square Aspect Ratio */
    height: 0;
    /*overflow: hidden;*/
    border-radius: 50%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* The Ticker / Pointer Arrow */
.wheel-pointer {
    position: absolute;
    top: -15px; /* -15px; */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 28px solid #c9a054; /* Luxury Gold Ticker */
    z-index: 10;
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.3));
}

/* Canvas Element styling */
/*#wheelCanvas {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: contain;*/
/*    border-radius: 50%;*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);*/
/*    transition: transform 4s cubic-bezier(0.1, 0.8, 0.1, 1);*/
/*}*/

#wheelImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* SERVER OPTIMIZATION 1: Uses ease-out with cubic-bezier */
    transition: transform 4s cubic-bezier(0.1, 0.8, 0.2, 1);
    
    /* SERVER OPTIMIZATION 2: Forces browser to use GPU hardware acceleration */
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    will-change: transform;
    
    /* SERVER OPTIMIZATION 3: Stops image texture blur or tearing during high speed server loads */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
}

/* Center Pin Button */
.wheel-spin-btn-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #111111;
    color: #fff;
    border: 4px solid #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 5;
    transition: all 0.2s ease;
}

.wheel-spin-btn-center:active {
    transform: translate(-50%, -50%) scale(0.93);
}

.wheel-spin-btn-center.disabled {
    background: #555555;
    border-color: #888888;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Custom Card Theme */
.spa-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(74, 55, 40, 0.06);
}