/* RESET BODY */
body { 
    padding: 0; 
    margin: 0; 
    background: transparent; 
    overflow: hidden; /* prevent scrollbars */
}

/* UNITY CONTAINER */
#unity-container { 
    position: absolute; 
}

/* Desktop: center the canvas */
#unity-container.unity-desktop { 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
}

/* Mobile: fullscreen */
#unity-container.unity-mobile { 
    position: fixed; 
    width: 100%; 
    height: 100%; 
}

/* UNITY CANVAS */
#unity-canvas { 
    background: #231F20; 
}

/* Mobile canvas fills screen */
.unity-mobile #unity-canvas { 
    width: 100%; 
    height: 100%; 
}

/* LOADING BAR */
#unity-loading-bar { 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    display: none; 
    z-index: 10;
}

/* UNITY LOGO */
#unity-logo { 
    width: 154px; 
    height: 130px; 
    background: url('unity-logo-dark.png') no-repeat center; 
}

/* PROGRESS BAR */
#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; 
    transition: width 0.3s ease; /* smooth fill animation */
}

/* FOOTER */
#unity-footer { 
    position: relative; 
}

/* Hide footer on mobile */
.unity-mobile #unity-footer { 
    display: none; 
}

/* WEBGL LOGO */
#unity-webgl-logo { 
    float: left; 
    width: 204px; 
    height: 38px; 
    background: url('webgl-logo.png') no-repeat center; 
}

/* BUILD TITLE */
#unity-build-title { 
    float: right; 
    margin-right: 10px; 
    line-height: 38px; 
    font-family: Arial, sans-serif; 
    font-size: 18px; 
}

/* FULLSCREEN BUTTON */
#unity-fullscreen-button { 
    cursor: pointer; 
    float: right; 
    width: 38px; 
    height: 38px; 
    background: url('fullscreen-button.png') no-repeat center; 
}

/* WARNING BANNER */
#unity-warning { 
    position: absolute; 
    left: 50%; 
    top: 5%; 
    transform: translate(-50%); 
    background: white; 
    padding: 10px; 
    display: none; 
    z-index: 20;
}