body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

#game-container {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 450px;
}

h1 {
    color: #333;
    margin-bottom: 15px;
}

#loading-message, #error-message {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

#loading-message {
    background-color: #e0e0e0;
}

#error-message {
    background-color: #ffdddd;
    border: 1px solid #f44336;
    color: #d32f2f;
    font-weight: bold;
}


.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    background-color: #eee;
    padding: 8px;
    border-radius: 5px;
    font-size: 0.9em;
}

.stats span {
    font-weight: bold;
}

.hint {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 15px;
}

.hint span {
    font-weight: bold;
    color: #007bff;
}

.word {
    font-size: 2.2em;
    letter-spacing: 5px;
    margin-bottom: 20px;
    color: #dc3545;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px;
    background: #fff3cd;
    border-radius: 5px;
    min-height: 40px; /* Yüklenirken yer kaplasın */
}

#guess-input {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.buttons button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 5px;
}

#check-btn {
    background-color: #28a745;
    color: white;
}
#check-btn:hover:not(:disabled) { background-color: #218838; }

#refresh-btn {
    background-color: #007bff;
    color: white;
}
#refresh-btn:hover { background-color: #0056b3; }

.buttons button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.feedback {
    margin-top: 15px;
    font-weight: bold;
    min-height: 20px;
    padding: 5px;
    border-radius: 4px;
}

.feedback.correct { color: #155724; background-color: #d4edda; }
.feedback.incorrect { color: #721c24; background-color: #f8d7da; }
.feedback.info { color: #004085; background-color: #cce5ff; }


.timer {
    margin-top: 15px;
    font-size: 0.95em;
    color: #333;
}

.timer b {
    color: #c82333;
    font-size: 1.1em;
}