/* GENEL AYARLAR */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 40px 20px;
    user-select: none; 
    -webkit-user-select: none;
    background-image: url('background.png');
    background-size: cover;          
    background-position: center;     
    background-attachment: fixed;    
}

/* 3 KOLONLU YAYINCI DÜZENİ */
.sayfa-duzeni {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px; 
    width: 100%;
    max-width: 1700px; 
    margin: 0 auto;
}

/* ORTA OYUN ALANI */
.orta-alan {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 998px; 
    max-width: 100%; 
}

/* --- BUZLU CAM VE SABİT ÜST MENÜ --- */
.header {
    width: 100%;
    min-height: 85px; 
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    padding: 10px 20px;
    border-bottom: 4px solid #111;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    box-sizing: border-box;
    position: relative;
    z-index: 100;
    border-radius: 4px;
}

.header-sol { display: flex; align-items: center; gap: 15px; }
.baslik-yazi { 
    margin: 0; 
    font-size: 24px; 
    color: #fff; 
    text-shadow: 2px 2px 0px #111, -1px -1px 0px #111, 1px -1px 0px #111, -1px 1px 0px #111, 1px 1px 0px #111;
    text-transform: uppercase; 
    font-weight: 900; 
    letter-spacing: 1px; 
}

.ana-baslik-gorsel {
    max-width: 100px; 
    height: auto;
    display: block;
}

.zaman-alani { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    justify-content: flex-end; 
    min-width: 180px; 
}

/* OYUN SAHNESİ (TABLO KAPSAYICISI) */
.oyun-sahnesi-kapsayici {
    width: 100%;
    overflow-x: auto; 
    overflow-y: auto;
    border: 4px solid #111; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
    background-color: #111;
    border-radius: 4px;
    -webkit-overflow-scrolling: touch; 
    display: flex;
    justify-content: center; 
}
.oyun-sahnesi { position: relative; box-sizing: border-box; width: max-content; flex-shrink: 0; }
.oyun-icerik { position: relative; transition: filter 0.3s ease; }
.bulanik { filter: blur(10px) grayscale(50%); pointer-events: none; }

/* 🚨 HTML'DE DURAN BUTONLARI BURADA GİZLİYORUZ 🚨 */
.altin-kutu { display: none !important; }
#btnJoker { display: none !important; }

/* GÖRÜNÜR OLANLAR VE BOYUT EŞİTLEMELERİ (42px) */
.btn-profil { background-color: #3498db; color: #fff; border: 2px solid #2980b9; height: 42px; padding: 0 15px; border-radius: 4px; font-size: 16px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.1s; box-sizing: border-box; }
.btn-profil:active { transform: scale(0.9); }

.btn-durdur { background-color: #111; color: #fff; border: none; width: 42px; height: 42px; border-radius: 4px; font-size: 18px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: transform 0.1s; box-sizing: border-box; }
.btn-durdur:active { transform: scale(0.9); }

.sure-metin { font-size: 26px; font-weight: bold; font-family: monospace; color: #111; background-color: #f1f2f6; height: 42px; padding: 0 10px; border: 2px solid #111; border-radius: 4px; letter-spacing: 2px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }

/* PENCERELER */
.pencere-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.video-reklam-overlay { background-color: #000; flex-direction: column; color: white; }
.pencere-kutu { background-color: #fff; border: 4px solid #111; padding: 40px 50px; text-align: center; box-shadow: 15px 15px 0px rgba(0,0,0,0.7); max-width: 90%; width: 450px; box-sizing: border-box; }
.pencere-kutu h2 { margin-top: 0; font-size: 32px; color: #111; text-transform: uppercase; border-bottom: 3px solid #111; padding-bottom: 15px; margin-bottom: 20px; }
.pencere-kutu p { font-size: 18px; color: #333; margin-bottom: 30px; font-weight: 500; line-height: 1.5; }
.buton-grubu { display: flex; flex-direction: column; gap: 15px; }
.btn-aksiyon { background-color: #111; color: #fff; font-weight: bold; font-family: inherit; font-size: 18px; padding: 16px 24px; border: 3px solid #111; cursor: pointer; text-transform: uppercase; transition: all 0.2s; width: 100%; }
.btn-aksiyon:hover { background-color: #333; }
.btn-ikincil { background-color: #fff; color: #111; }
.btn-ikincil:hover { background-color: #f1f2f6; }

/* DEV IZGARA TASARIMI (110px) */
#hucreKatmani { display: grid; gap: 0; border-top: 1px solid #111; border-left: 1px solid #111; background-color: #fff; }
.hucre { width: 110px; height: 110px; box-sizing: border-box; border-right: 1px solid #111; border-bottom: 1px solid #111; position: relative; display: flex; justify-content: center; align-items: center; }
.bos { background-color: #111; }

/* --- BİROL USTA İÇİN GÜNCELLENEN SORU KUTUSU VE METİN AYARLARI --- */
.soru { 
    background-color: #e6f2ff; 
    color: #002244; 
    font-size: 17px; 
    font-weight: bold; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    box-sizing: border-box; /* Kalın siyah çerçeveleri duvar olarak tanıması için eklendi */
}

.soru-metni { 
    flex: 1 1 auto; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    line-height: 1; /* Uzun metinlerin üst üste binip şişmesini engellemek için 1.15'ten 1'e düşürüldü */
    padding: 2px 4px; /* Metne kutu içinde nefes alacak alan açmak için daraltıldı */
    box-sizing: border-box; /* Siyah dış çerçeveyi sınır olarak kabul etmesini sağlar */
    width: 100%; 
    max-height: 100%; /* Sınırı aşıp dış çerçeveyi ezmesini engeller */
    overflow: hidden; 
    word-break: break-word; /* "Haberleşmeler" gibi kelimeleri taşırmak yerine kırar */
    hyphens: auto; 
    -webkit-hyphens: auto;
}

.soru-ayirici { 
    width: 100%; 
    height: 1px; 
    background-color: #111; 
    flex-shrink: 0; 
}
/* ----------------------------------------------------------------- */

.cevap { background-color: #ffffff; transition: background-color 0.1s; }
.gorunen-harf { font-size: 60px; font-weight: bold; text-transform: uppercase; color: #111111; pointer-events: none; z-index: 4; }
.gizli-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; border: none; background: transparent; color: transparent; caret-color: transparent; outline: none; cursor: pointer; z-index: 5; }
.gizli-input::selection { background-color: transparent !important; color: transparent !important; }
.gizli-input::-moz-selection { background-color: transparent !important; color: transparent !important; }
.aktif-kelime { background-color: #fffde7 !important; } 
.dogru-cevap { background-color: #e8f5e9 !important; } 
#camKatman { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; }

/* ŞEFFAF FOOTER */
.site-alt-bilgi { 
    text-align: center; 
    margin-top: 40px; 
    padding: 20px; 
    background: transparent; 
    border: none; 
    font-weight: bold; 
    width: 100%; 
    box-sizing: border-box; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
}
.site-alt-bilgi a { color: #fff; text-decoration: none; margin: 0 10px; display: inline-block; padding: 5px 0; }
.site-alt-bilgi a:hover { text-decoration: underline; color: #f1c40f; }

/* MOBİL UYUM (Boyutlar 26px olarak eşitlendi) */
@media screen and (max-width: 1024px) {
    body { padding: 5px; } 
    .header { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 5px; padding: 5px 10px; position: relative; }
    .header-sol { gap: 5px; }
    .baslik-yazi { font-size: 14px; letter-spacing: 0px; }
    .ana-baslik-gorsel { max-width: 60px; margin-top: -15px; margin-bottom: -15px; flex-shrink: 0; } 
    .zaman-alani { gap: 3px; justify-content: flex-end; width: auto; flex-wrap: nowrap; min-width: auto; }
    
    .btn-profil { height: 26px; font-size: 12px; padding: 0 8px; margin: 0; border-width: 1px; }
    .btn-durdur { width: 26px; height: 26px; font-size: 12px; margin: 0; }
    .sure-metin { height: 26px; font-size: 14px; padding: 0 4px; border-width: 1px; margin: 0; }
    
    .pencere-kutu { padding: 20px; width: 95%; box-shadow: 8px 8px 0px rgba(0,0,0,0.7); }
    .pencere-kutu h2 { font-size: 24px; }
    .oyun-sahnesi-kapsayici { justify-content: flex-start; }
}