body {
    text-align: center;
    font-family: Arial;
    background: #111;
    color: white;
}

.spin{
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 20px;
}

.spin:hover{
    background-color: white;
    color: black;
    border: none;
    transition-duration: 0.7s ;
    animation: 07s spin infinite;
}

.ok{
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 20px;
}

.ok:hover{
    background-color: white;
    color: black;
    border: none;
    transition-duration: 0.7s ;
    animation: 07s spin infinite;
}

.wheel-container {
    position: relative;
    width: 100vh;
    margin: 5vh auto;
}

/* 👉 RIGHT SIDE POINTER (POINTING LEFT) */
.pointer {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 20px solid yellow;
    z-index: 10;
}

.wheel {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 5px solid white;
    transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1);
}

button {
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
}

/* 🔥 POPUP STYLE */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #222;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    animation: pop 0.4s ease;
}

.popup-content h2 {
    margin-bottom: 20px;
}

@keyframes pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}