body {
    margin: 0;
    padding: 0;
    background: #1a1a2e;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

#unity-container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* Desktop - sử dụng aspect-ratio tự động */
@media screen and (min-width: 768px) {
    #unity-container {
        width: auto;
        height: 100vh;
        aspect-ratio: 9/16;
        max-width: 100vw;
    }
}

/* Mobile - full screen */
@media screen and (max-width: 767px) {
    body {
        overflow: hidden;
    }

    #unity-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
    }
}