/* =========================================================
   GÜNÜN KELİMESİ - TASARIM
   ========================================================= */

.game-body {
    background-color: #f4f4f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.game-header {
    width: 100%;
    max-width: 600px; /* Daha dar, kelime oyununa uygun */
    margin-top: 10px;
    background-color: #ffffff;
    border: 3px solid #000;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 4px 4px 0px #000;
    z-index: 10;
}

.game-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    max-width: 850px;
    align-items: flex-start;
}

/* OYUN ÇERÇEVESİ */
#wordle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 500px;
}

/* KELİME TAHTASI */
#word-board {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.word-row {
    display: flex;
    gap: 8px;
}

.letter-box {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border: 3px solid #000;
    border-radius: 8px;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    box-shadow: 2px 2px 0px #000;
    transition: transform 0.2s, background-color 0.4s, color 0.4s;
}

/* Kutu Durumları (Renkler) */
.state-correct {
    background-color: #2ecc71 !important; /* Yeşil */
    color: #fff;
    box-shadow: 2px 2px 0px #27ae60;
}

.state-present {
    background-color: #f1c40f !important; /* Sarı */
    color: #000;
    box-shadow: 2px 2px 0px #d4ac0d;
}

.state-absent {
    background-color: #95a5a6 !important; /* Gri */
    color: #fff;
    box-shadow: 2px 2px 0px #7f8c8d;
}

/* Aktif kutu animasyonu */
.pop {
    animation: pop 0.1s ease-in-out;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* SANAL KLAVYE */
#keyboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.keyboard-row {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.key {
    background-color: #e0e0e0;
    border: 2px solid #000;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 10px;
    min-width: 35px;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000;
    transition: all 0.1s;
    user-select: none;
}

.key:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px #000;
}

.action-key {
    min-width: 60px;
    background-color: #dcdde1;
}

/* Reklam Tasarımı */
.game-ad {
    margin-top: 0; background-color: #fff; border: 3px solid #000; box-shadow: 4px 4px 0px #000;
}