@font-face { font-family: "Russo One"; src: url("RussoOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("Rajdhani-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #0a1222; }
body { font-family: "Rajdhani", system-ui, sans-serif; color: #c9d6ea; }
#stage { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: #0a1222; }
#unity-canvas { width: 100%; height: 100%; display: block; background: #0a1222; outline: none; }

#loader { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, rgba(47,140,255,.14), transparent 60%), #0a1222; transition: opacity .5s; }
#loader.done { opacity: 0; pointer-events: none; }
.logo { font-family: "Russo One", system-ui, sans-serif; font-size: clamp(42px, 8vw, 96px); color: #fff; letter-spacing: 2px; }
.logo span { color: #ffb21a; }
.sub { margin-top: 6px; font-size: 18px; color: #9fb3d1; text-transform: uppercase; letter-spacing: 3px; }
.bar { margin-top: 34px; width: min(460px, 70vw); height: 12px; background: rgba(255,255,255,.08); transform: skewX(-14deg); overflow: hidden; }
#bar-fill { width: 0; height: 100%; background: #ffb21a; box-shadow: 0 0 18px rgba(255,178,26,.6); transition: width .2s; }
#pct { margin-top: 12px; font-family: "Russo One", system-ui, sans-serif; font-size: 20px; color: #ffb21a; }
.tips { position: absolute; bottom: 26px; font-size: 15px; color: #9fb3d1; text-align: center; padding: 0 20px; }

#fs { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border: 0; cursor: pointer; font-size: 20px;
  background: rgba(10,20,38,.75); color: #fff; opacity: .55; transition: opacity .2s; }
#fs:hover { opacity: 1; background: #ffb21a; color: #111; }

#warning { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: min(720px, 92vw); z-index: 10; }
.msg { margin-bottom: 6px; padding: 10px 14px; background: rgba(10,20,38,.94); border-left: 4px solid #ffb21a; font-size: 16px; }
.msg.error { border-left-color: #ff4d4d; }
