body { padding: 0; margin: 0 }
#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; background: #FFFFFF }
#unity-loading-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none; 
    z-index: 10;
}
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty {
    width: 300px;
    max-width: 70%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white background */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
#unity-progress-bar-full {
    width: 0%; /* The width is updated by JavaScript as the game loads */
    height: 100%;
    background: linear-gradient(90deg, #9012a7, #c45bcd, #9012a7); /* Animated gradient */
    background-size: 200% 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.2s ease-out; /* Smooth transition for the progress */
    animation: progressShimmer 1.5s ease-in-out infinite; /* Shimmering effect */
}
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
