* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #222;
    color: #fff;
    height: 100vh;
    overflow: hidden;
}

#container {
    position: relative;
    width: 100%;
    height: 100%;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#controls-overlay {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* iPhone için eklendi */
    border-radius: 15px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Mobil cihazlar için daha yüksek görünürlük */
    min-width: 120px;
}

#spin-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#spin-button i {
    margin-right: 8px;
    font-size: 20px;
}

#spin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffca28, #ffa000);
}

#spin-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Devre dışı bırakılmış buton stili */
#spin-button.disabled,
#spin-button:disabled {
    background: linear-gradient(135deg, #b0bec5, #78909c);
    cursor: not-allowed;
    transform: none !important;
    opacity: 0.7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#spin-button.disabled:hover,
#spin-button:disabled:hover {
    background: linear-gradient(135deg, #b0bec5, #78909c);
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Dönme animasyonu */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinning i {
    animation: spin 0.5s linear infinite;
}
