body { 
    padding: 0; 
    margin: 0; 
    background-color: #000; 
    width: 100vw; 
    height: 100vh; 
    overflow: hidden; 
}

#unity-container { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background-color: #000; /* Ensures the background stays black during expansion */
}

#unity-canvas { 
    /* Force the canvas to fill the flex container while maintaining ratio */
    width: 100% !important; 
    height: 100% !important; 
    max-width: 100%; 
    max-height: 100%; 
    aspect-ratio: 1216 / 684; 
    background: #231f20; 
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    display: block;
}

#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; 
}

#unity-warning { 
    position: absolute; 
    left: 50%; 
    top: 5%; 
    transform: translate(-50%); 
    background: white; 
    padding: 10px; 
    display: none; 
}
