body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
    color: #333;
}

.container {
    text-align: center;
    background-color: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.roulette-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

#rouletteCanvas {
    transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.pointer {
    position: absolute;
    top: 50%;
    right: -20px; /* Menempatkan penunjuk di sisi kanan luar */
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid #e74c3c; /* Warna penunjuk */
}


#spinButton {
    margin-top: 25px;
    padding: 12px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

#spinButton:hover {
    background: linear-gradient(45deg, #2980b9, #3498db);
}

#spinButton:active {
    transform: scale(0.98);
}

#spinButton:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    box-shadow: none;
}

#winnerDisplay {
    margin-top: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: #2ecc71;
    min-height: 30px;
}