/* --- YENİ KOD: 16:9 ORANI KORU (Letterbox / Sinema Modu) --- */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000; /* Kenardaki siyah boşluklar için */
}

/* Ana oyun kabı */
#unity-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Tam ortaya hizala */

    width: 100vw; 
    height: calc(100vw * 0.5625); /* 16:9 oranı */

    max-height: 100svh; 
    max-width: calc(100svh / 0.5625); /* Mobil uyumlu */
}

/* Oyunun kendisi (kanvas) */
#unity-canvas {
    width: 100%;
    height: 100%;
    background: #231F20; /* Oyunun kendi arka planı */
}

/* Yükleme barını ortala */
#unity-loading-bar { 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    display: none;
}
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }

/* Footer'ı ve diğer gereksiz şeyleri gizle */
#unity-footer, .unity-mobile #unity-footer, #unity-build-title, #unity-fullscreen-button, #unity-warning { 
    display: none; 
}