.coupon-wheel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.coupon-wheel-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.coupon-wheel-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #666;
}

.coupon-wheel-close:hover {
    color: #000;
}

.wheel-wrapper {
    position: relative;
    width: 300px;
    height: 350px;
    margin: 0 auto;
}

.wheel {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
	margin-top: 20px;
}

.wheel-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #ff6b6b, #ffa726, #66bb6a, #42a5f5,
        #ab47bc, #ff6b6b
    );
    position: relative;
    overflow: hidden;
    transition: transform 4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.wheel-items {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wheel-pointer {
    position: absolute;
    top: -31px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #000000;
    z-index: 10;
    margin-top: 20px;
}

.spin-button {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.spin-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.spin-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.coupon-result {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #66bb6a;
}

.coupon-code {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b;
    margin: 10px 0;
    padding: 10px;
    background: white;
    border: 2px dashed #ff6b6b;
    border-radius: 5px;
}

.coupon-description {
    color: #666;
    font-style: italic;
}

.already-spun {
    margin-top: 20px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    color: #856404;
}

.already-spun .coupon-code {
    background: #fff;
    border-color: #856404;
}

@keyframes wheelSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.wheel-spinning {
    animation: wheelSpin 4s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}