/* Genel gövde stili */
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to right, #a1c4fd, #c2e9fb);
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* Oyun konteyneri */
.game-container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 800px;
    max-width: 90%;
    backdrop-filter: blur(5px);
    margin-top: 200px;
}

/* Başlık */
h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #4a90e2;
}

/* Butonlar */
button {
    background: #4a90e2; /* Tek renk: Modern mavi ton */
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 10px 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background: #357ABD; /* Hover sırasında daha koyu bir mavi */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* Buton grubu hizalama */
.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}



/* Dropdown menüler */
select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin: 5px;
    width: 100%;
    transition: all 0.3s ease-in-out;
    text-align: left; /* Sola hizalama */
    text-align-last: left; /* Son seçili değeri sola hizalar (modern tarayıcılar için) */
}

select:hover {
    border-color: #4a90e2;
}


/* Tablo */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: center;
}

thead th {
    font-size: 18px;
    color: #555;
    border-bottom: 2px solid #ddd;
    padding: 10px;
}

tbody td {
    padding: 10px;
}

/* İpuçları */
#hint-container {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.05);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sonuç bölgesi */
#result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #4a90e2;
    animation: fadeIn 1s ease-in-out;
}

/* Animasyonlar */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#result.success {
    color: #28a745;
}

#result.error {
    color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25%,
    75% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
}
