/* Wrapper for the entire game */
.spin-wheel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    margin: 20px 0;
}

/* Container holds the canvas and the pointer */
.spin-wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin-bottom: 20px;
}

/* The canvas where the wheel is drawn */
#spin-wheel-canvas {
    width: 100%;
    height: 100%;
}

/* The pointer that indicates the prize */
#spin-wheel-pointer {
    position: absolute;
    top: -10px; /* Position above the wheel */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #c0392b; /* Red pointer */
    z-index: 10;
}

/* The spin button */
#spin-wheel-button {
    background-color: #FF6F00; /* Custom button color */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#spin-wheel-button:hover {
    background-color: #e66400;
}

/* Style for the button when it's disabled */
#spin-wheel-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Area to show win/loss messages */
#spin-wheel-results {
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    padding: 15px;
    background: #f4f4f4;
    border-radius: 8px;
    min-height: 20px;
    text-align: center;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}