body {
    font-family: 'Padauk', sans-serif;
    touch-action: manipulation; /* Prevents double-tap zoom on mobile */
}

/* The pointer that indicates the prize */
.pointer {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #ef4444; /* red-500 */
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Canvas transition for the spinning effect */
#wheelCanvas {
    transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer; /* Make it obvious the wheel is clickable */
}

/* Modal styles for showing the prize */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2rem 3rem;
    border-radius: 1rem;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}