.lucky-wheel-container {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    font-family: 'Tahoma', sans-serif;
}

.wheel-wrapper {
    position: relative;
    display: inline-block;
}

#wheelCanvas {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.spin-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: linear-gradient(145deg, #ff6b6b, #ee5a6f);
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 10;
}

.spin-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 7px 20px rgba(0,0,0,0.4);
}

.spin-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
    margin: 15% auto;
    padding: 40px;
    width: 80%;
    max-width: 400px;
    border-radius: 20px;
    text-align: center;
    animation: slideDown 0.4s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: white;
    font-size: 32px;
    margin: 0 0 20px 0;
}

#prizeText {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.close {
    color: white;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #ffeb3b;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}