body {
    margin: 0;
    padding: 0;
    background: #3cf7dc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

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

#GameCanvas {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: #2ce9da;
}

#GameDiv {
    width: 100% !important;
    height: 100% !important;
}

/* 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;
        overflow: hidden;
    }
}

/* 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;
    }
}