body {
    padding: 0;
    margin: 0;
    background: #FEF2F6;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#unity-container {
    position: relative; /* Mudei de absolute para flex funcionar */
    width: 432px;
    height: 768px;
    max-width: 100vw;
    max-height: 100vh;
    /* REMOVIDO: transform que causava problemas */
}

    #unity-container.unity-desktop {
        width: 432px;
        height: 768px;
    }

    /* REMOVIDO: @media com scale que causa bordas */

    #unity-container.unity-mobile {
        width: 100%;
        height: 100%;
    }

#unity-canvas {
    background: #231F20;
    width: 100%;
    height: 100%;
    display: block; /* Remove espa�o extra abaixo */
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%;
}

#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;
    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;
}

#unity-footer {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
}

.unity-mobile #unity-footer {
    display: none;
}

#unity-webgl-logo {
    width: 204px;
    height: 38px;
    background: url('webgl-logo.png') no-repeat center;
    cursor: pointer;
}

#unity-fullscreen-button {
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    cursor: pointer;
}

#unity-steam-button {
    width: 38px;
    height: 38px;
    background: url('steam-button.png') no-repeat center;
    cursor: pointer;
}

#unity-patreon-button {
    width: 38px;
    height: 38px;
    background: url('patreon-button.png') no-repeat center;
    cursor: pointer;
}

#unity-mobile-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none;
}
