/* Wheel of Fortune Styling */
.wheel-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    height: 3.75rem;
    padding: 0 1.5rem;
    background: linear-gradient(135deg, #c82127, #8b181b);
    color: white;
    border-radius: 3.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 0.25rem 1rem rgba(200, 33, 39, 0.4);
    z-index: 1040;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseWheel 2s infinite;
}

.wheel-btn-text {
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wheel-floating-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 33, 39, 0.6);
}

@keyframes pulseWheel {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 33, 39, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(200, 33, 39, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(200, 33, 39, 0);
    }
}

.wheel-container {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background-color: #fff;
    border: 0.625rem solid #ffc62b;
    box-shadow: 0 0 1.875rem rgba(200, 33, 39, 0.2);
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    transition: transform 5s cubic-bezier(0.2, 0.8, 0.1, 1);
    transform: rotate(0deg);
    /* Initial state */
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.375rem;
    height: 4.375rem;
    background: #ffc62b;
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.3125rem solid #fff;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.3);
}

.span-spin-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.wheel-arrow {
    margin-top: -1.5625rem;
    filter: drop-shadow(0 0.25rem 0.375rem rgba(0, 0, 0, 0.6));
}

@media (max-width: 576px) {
    .wheel-container {
        width: 16.25rem;
        height: 16.25rem;
    }
}

.wheel-icon {
    font-size: 1.25em;
}

@media (max-width: 991px) {
    .wheel-floating-btn {
        bottom: 6.25rem;
        /* Lowered from 8.5rem, but just high enough to clear the mobile product bar */
        right: 1.25rem;
        height: 3.5rem;
        width: 3.5rem;
        padding: 0;
        border-radius: 50%;
        /* Ensures it is a perfect circle again on mobile */
    }

    .wheel-floating-btn .wheel-icon {
        font-size: 1.5em;
        margin: 0;
    }
}