/* MODERN & TAM EKRAN TASARIM */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* { 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent;
    font-family: 'VT323', monospace; 
}


body { 
    margin: 0; 
    background: #121212; 
    display: flex; 
    justify-content: center; 
    align-items: center; /* Üstten değil, tam ortadan hizaladım */
    height: 100vh;
    overflow: hidden; 
}

/* --- ANA MENÜ TASARIMI --- */
.menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle, #2c3e50 0%, #000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.menu-content {
    background: rgba(26, 26, 26, 0.95);
    padding: 25px; /* Biraz daraltıldı */
    border-radius: 15px;
    border: 3px solid #ff4757;
    width: 100%;
    max-width: 315px; /* %10 küçültüldü (350px -> 315px) */
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.3);
}

.menu-content h1 {
    color: #ff4757;
    font-size: 32px; /* Font hafif küçültüldü */
    margin-bottom: 20px;
}

/* Slider Tasarımı */
input[type=range] {
    cursor: pointer;
    accent-color: #ff4757; /* Çizgi rengini butonlarla uyumlu yapar */
}

.menu-item label {
    font-size: 18px;
    margin-bottom: 5px;
    color: #4ade80;
}

/* --- OYUN EKRANI --- */
.game-screen { 
    width: 90%; /* Genişlik %90'a çekildi */
    max-width: 405px; /* %10 küçültüldü (450px -> 405px) */
    height: 90vh; /* Yükseklik %90'a çekildi */
    background: #1a1a1a; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    position: relative;
    border: 2px solid #333; /* Ekran sınırları belli olsun diye eklendi */
    border-radius: 10px;
}

/* Üst Panel - HUD */
.top-hud { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 8px 12px; 
    background: rgba(0,0,0,0.8); 
    border-bottom: 1px solid #333;
}

/* Karakter ve Diyalog Alanı */
.character-area { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 10px;
    gap: 15px;
}

#characterImage { 
    width: 65%; /* Resim ölçeği küçültüldü */
    max-height: 35vh; 
    object-fit: contain;
}

.speech-bubble { 
    background: #fff; 
    color: #222; 
    padding: 15px; 
    font-size: 20px; /* Okunabilirlik için çok küçültülmedi */
    width: 85%; 
    border-radius: 12px; 
    line-height: 1.1; 
    text-align: center;
}

/* Alt Panel - Butonlar */
.ui-panel { 
    background: #1a1a1a; 
    padding: 15px 15px 20px 15px; 
    border-top: 1px solid #333;
}

.special-actions { 
    gap: 10px; 
}

.action-btn { 
    padding: 12px; 
    font-size: 18px; 
}

.option { 
    padding: 12px; 
    font-size: 17px; 
}