body { padding: 0; margin: 0; background: #020617; overflow: hidden; }
#unity-container { width: 100%; height: 100%; position: absolute; }
#unity-canvas { width: 100% !important; height: 100% !important; background: #000; }

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    color: white;
    font-family: sans-serif;
    text-align: center;
}

/* Loader Layout */
#custom-loader, #about-panel {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    z-index: 100; transition: 0.5s;
}

.loader-header { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 25px; }
.ai-pulse { 
    width: 12px; height: 12px; background: #10b981; border-radius: 50%; 
    box-shadow: 0 0 10px #10b981; animation: pulse 1.5s infinite; 
}

.progress-track { width: 320px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.progress-fill { 
    width: 0%; height: 100%; background: linear-gradient(90deg, #10b981, #3b82f6); 
    box-shadow: 0 0 15px #3b82f6; transition: 0.2s; 
}

/* About Panel Specifics */
.hidden { opacity: 0; pointer-events: none; }
.visible { opacity: 1; pointer-events: auto; }
.license-scroll { max-width: 500px; text-align: left; position: relative; }
.license-scroll pre { font-size: 12px; opacity: 0.8; white-space: pre-wrap; margin-top: 20px; }
.close-btn { 
    position: absolute; top: 15px; right: 20px; background: none; border: none; 
    color: white; font-size: 24px; cursor: pointer; opacity: 0.5; 
}
.close-btn:hover { opacity: 1; }

@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } }
