.spinwin-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9ff, #eef1ff);
}

.spinwin-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.spinwin-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #000;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.spinwin-wheel-wrapper {
    position: relative;
    width: 320px;
    margin: auto;
}

.spinwin-wheel-wrapper.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.spinwin-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 26px solid #000;
    z-index: 2;
}

.spinwin-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
}

.spinwin-result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

@media(max-width: 768px) {
    .spinwin-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

#wheel {
    width: 300px;
    height: 300px;
    margin: auto;
    border-radius: 50%;
    background: conic-gradient( #ff7675 0deg 60deg, #74b9ff 60deg 120deg, #55efc4 120deg 180deg, #ffeaa7 180deg 240deg, #fd79a8 240deg 300deg, #a29bfe 300deg 360deg);
    transition: transform 5s cubic-bezier(.17, .67, .12, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}


/* (ANIMATION + LOADING) */


/* Unlock animation */

.spinwin-wheel-wrapper.unlocked {
    animation: unlockPulse .6s ease-out;
    opacity: 1;
    pointer-events: auto;
}

@keyframes unlockPulse {
    0% {
        transform: scale(.95);
    }
    100% {
        transform: scale(1);
    }
}


/* Loading suspense */

.spinwin-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .92);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    z-index: 5;
}

.spinwin-loading .spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #ddd;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Hide overlay when unlocked */

.spinwin-wheel-wrapper.unlocked .spinwin-overlay {
    display: none;
}

.spinwin-wheel {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: conic-gradient( #ff6b6b 0deg 60deg, #feca57 60deg 120deg, #1dd1a1 120deg 180deg, #54a0ff 180deg 240deg, #5f27cd 240deg 300deg, #576574 300deg 360deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    transition: transform 5s cubic-bezier(.17, .67, .12, 1);
}