/* BRUTAL ARMADA - the front page / login (user 2026-10-28: the old one "looks nothing like the game we play").
   Background = a real shot from our game (img/login/fleet_hangar.jpg: Verdis deep space, Orbital Equipment Hangar,
   Falcon + Vendettas + Noceros). UI = the game windows' console kit (memory ui-makeover): Rajdhani + Segoe UI (the HTML5 game's fonts), cyan frames,
   gold action plate, Brutal Armada red for the brand. */


:root {
  --cy: #5fd4ff; --cy-dim: #3a8fb4; --gold: #ffb648; --gold-hi: #ffd28a; --red: #ff3b30; --red-hi: #ff5a50;
  --green: #4ff0a0; --text: #cfe3ee; --dim: #7f9bb0; --ink: #03070d; --line: rgba(95, 212, 255, 0.2);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--ink); }
body.lg { position: relative; min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; color: var(--text); font: 15px 'Segoe UI', Arial, sans-serif; letter-spacing: 0.3px; }
.lg a { color: var(--cy); text-decoration: none; }
.lg a:hover { color: #fff; text-decoration: underline; }
.lg button { font-family: inherit; cursor: pointer; outline: none; }

/* ---------- background ---------- */
.lg-bg { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 0; overflow: hidden; }
/* what shows until the live scene is up (2026-10-30, user: "the old hangar bay pops up for a second"): the scene's own
   deep space - the blue and green nebula as soft glows - instead of the old hangar picture */
.lg-shot { position: absolute; left: -3%; top: -3%; right: -3%; bottom: -3%;
  background: radial-gradient(ellipse 45% 40% at 62% 18%, rgba(30, 80, 200, 0.55) 0%, rgba(10, 30, 90, 0.25) 45%, rgba(3, 8, 20, 0) 75%),
              radial-gradient(ellipse 40% 38% at 45% 82%, rgba(60, 190, 40, 0.45) 0%, rgba(20, 80, 20, 0.2) 45%, rgba(3, 8, 20, 0) 75%),
              #03070f;
  animation: lg-drift 40s ease-in-out infinite alternate; }
@keyframes lg-drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, -1%); } }
.lg-shade { position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(2, 5, 10, 0.94) 0%, rgba(2, 5, 10, 0.82) 30%, rgba(2, 5, 10, 0.25) 58%, rgba(2, 5, 10, 0) 75%),
              linear-gradient(180deg, rgba(2, 5, 10, 0.55) 0%, rgba(2, 5, 10, 0) 18%, rgba(2, 5, 10, 0) 70%, rgba(2, 5, 10, 0.9) 100%); }
/* the background video: fades in once it plays, and out/in through the nebula at each loop (lg-dim) */
.lg-3d, .lg-3d video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.lg-3d video { position: fixed; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
body.live3d .lg-3d video { opacity: 1; }
body.live3d .lg-3d video.lg-dim { opacity: 0; }
.lg-top, .lg-main, .lg-foot { position: relative; z-index: 1; }

/* ---------- top bar ---------- */
.lg-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 4.5vw 0; }
.lg-logo { height: 74px; filter: drop-shadow(0 0 18px rgba(255, 59, 48, 0.35)); }
.lg-links { display: flex; align-items: center; }
.lg-soon { position: relative; z-index: 0; padding: 9px 18px 8px; font: 700 12px 'Rajdhani', Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); cursor: default; }
.lg-soon::before { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: -1; background: rgba(8, 20, 32, 0.8); border: 1px solid #1f4d66; transform: skewX(-16deg); }
.lg-soon .fa { margin-right: 8px; }
.lg-soon em { margin-left: 8px; font-style: normal; font-size: 10px; color: var(--gold); }

/* ---------- main: pitch + console ---------- */
.lg-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 3vh 4.5vw 4vh; max-width: 760px; }
.lg-kicker { display: flex; align-items: center; font: 700 12px 'Rajdhani', Arial, sans-serif; letter-spacing: 4px; text-transform: uppercase; color: var(--cy); text-shadow: 0 0 8px rgba(95, 212, 255, 0.5); }
.lg-kicker i { display: inline-block; width: 34px; height: 2px; margin-right: 12px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.lg-pitch h1 { margin: 12px 0 14px; font: italic 700 84px/0.92 'Rajdhani', Arial, sans-serif; letter-spacing: 5px; text-transform: uppercase; color: #fff;
  text-shadow: 0 0 24px rgba(95, 212, 255, 0.35), 0 2px 0 rgba(0, 0, 0, 0.6); }
.lg-pitch p { max-width: 520px; margin: 0 0 30px; font-size: 17px; line-height: 1.5; color: rgba(214, 230, 242, 0.85); }

.lg-count { display: flex; align-items: center; margin: 0 0 12px; font: 700 13px 'Rajdhani', Arial, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: var(--cy); text-shadow: 0 0 8px rgba(95, 212, 255, 0.5); }
.lg-count i { display: inline-block; width: 34px; height: 2px; margin-right: 12px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.lg-count b { margin-right: 8px; font-size: 22px; letter-spacing: 1px; color: #fff; text-shadow: 0 0 12px rgba(95, 212, 255, 0.7); font-variant-numeric: tabular-nums; }
.lg-console { position: relative; width: 440px; max-width: 100%; padding: 6px 26px 22px; }
.lg-console::before { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 0; border-style: solid; border-width: 14px; border-image: url('/img/ui/nav/panel.svg') 24 fill stretch;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); }
.lg-console > * { position: relative; z-index: 1; }
.lg-tabs { display: flex; margin: 10px 0 18px; border-bottom: 1px solid var(--line); }
.lg-tabs button { position: relative; flex: 1; padding: 12px 0 11px; border: 0; background: none; font: 700 14px 'Rajdhani', Arial, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: var(--dim); transition: color .15s; }
.lg-tabs button:hover { color: var(--text); }
.lg-tabs button.on { color: #fff; text-shadow: 0 0 10px rgba(95, 212, 255, 0.6); }
.lg-tabs button.on::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 2px; background: var(--cy); box-shadow: 0 0 10px var(--cy); }

.lg-form { display: none; }
.lg-form.on { display: block; animation: lg-in .25s ease-out; }
@keyframes lg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lg-field { position: relative; display: block; margin-bottom: 14px; }
.lg-field span { display: block; margin-bottom: 6px; font: 700 11px 'Rajdhani', Arial, sans-serif; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dim); }
.lg-field .fa { position: absolute; left: 14px; bottom: 14px; font-size: 15px; color: var(--cy-dim); pointer-events: none; transition: color .15s; }
.lg-field input { display: block; width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid rgba(95, 212, 255, 0.25); background: rgba(2, 8, 14, 0.85); color: #fff;
  font: 16px 'Segoe UI', Arial, sans-serif; letter-spacing: 1px; outline: none; transition: border-color .15s, box-shadow .15s; }
.lg-field input:focus { border-color: var(--cy); box-shadow: 0 0 0 1px rgba(95, 212, 255, 0.35), 0 0 16px rgba(95, 212, 255, 0.15); }
.lg-field input:focus + .fa, .lg-field:focus-within .fa { color: var(--cy); }
.lg-field.bad input { border-color: var(--red-hi); box-shadow: 0 0 0 1px rgba(255, 90, 80, 0.4); }
.lg-help { margin: -8px 0 12px; font-size: 12px; line-height: 1.35; color: var(--dim); }
.lg-help:empty { display: none; }
.lg-help.bad { color: #ff8a80; }
.lg-help.lg-intro { margin: 0 0 14px; font-size: 13px; line-height: 1.45; color: #cfe3ee; }   /* forgot / new password: what this form does */
.lg-help.lg-intro b { color: #fff; }
.lg-msg { display: none; margin: 4px 0 14px; padding: 9px 12px; font-size: 13px; line-height: 1.4; color: #ffc9c4; background: rgba(255, 59, 48, 0.12); border-left: 2px solid var(--red-hi); }
.lg-msg.on { display: block; }
.lg-msg.ok { color: #c9f5dc; background: rgba(79, 240, 160, 0.1); border-left-color: var(--green); }
.lg-msg a { margin-left: 4px; color: var(--gold-hi); }

/* the launch button: the game's gold action plate */
.lg-go { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 6px; border: 0; background: none;
  font: 700 19px 'Rajdhani', Arial, sans-serif; letter-spacing: 4px; text-transform: uppercase; color: #1a1000; text-shadow: 0 1px 0 rgba(255, 240, 200, 0.5); transition: filter .15s, transform .15s; }
.lg-go::before { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: -1; background: linear-gradient(180deg, #ffe3a3 0%, #ffbf55 45%, #e8932a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 22px rgba(255, 182, 72, 0.35);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.lg-go .fa { margin-left: 12px; font-size: 14px; transition: transform .15s; }
.lg-go:hover { filter: brightness(1.12); }
.lg-go:hover .fa { transform: translateX(4px); }
.lg-go:active { transform: translateY(1px); }
.lg-go[disabled] { filter: saturate(0.4) brightness(0.8); cursor: default; }
.lg-alt { margin-top: 14px; font-size: 13px; color: var(--dim); text-align: center; }

/* ---------- footer ---------- */
.lg-foot { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 4.5vw 22px; }
.lg-facts { display: flex; }
.lg-facts div { margin-right: 34px; padding-left: 14px; border-left: 2px solid var(--red); }
.lg-facts b { display: block; font: 700 20px 'Rajdhani', Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.lg-facts span { font-size: 12px; letter-spacing: 1px; color: var(--dim); }
.lg-legal { font-size: 12px; color: var(--dim); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .lg-shade { background: linear-gradient(180deg, rgba(2, 5, 10, 0.75), rgba(2, 5, 10, 0.88)); }
  .lg-pitch h1 { font-size: 56px; }
}
@media (max-width: 700px) {
  .lg-top { padding: 16px 16px 0; } .lg-logo { height: 52px; }
  .lg-main { padding: 20px 16px; }
  .lg-pitch h1 { font-size: 42px; } .lg-pitch p { font-size: 15px; }
  .lg-console { padding: 4px 18px 18px; }
  .lg-foot { flex-direction: column; align-items: flex-start; padding: 0 16px 18px; }
  .lg-facts { flex-wrap: wrap; margin-bottom: 12px; } .lg-facts div { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .lg-shot { animation: none; } }

/* ---------- ECHO, the tips drone, saying hello beside the panel (same look as in the game) ---------- */
.lg-echo { position: absolute; left: calc(100% + 26px); top: 6px; z-index: 5; display: flex; align-items: flex-start; pointer-events: none;
  opacity: 0; transform: translate(70vw, -120px) rotate(-8deg); transition: opacity .5s, transform 1.4s cubic-bezier(.15, .85, .25, 1), top .5s ease-in-out; }
/* coaching: a gold bubble when something needs fixing */
.lg-echo.warn .lg-echo-bubble { border-color: rgba(255, 182, 72, .75); box-shadow: 0 6px 20px rgba(0, 0, 0, .6), 0 0 14px rgba(255, 182, 72, .25); }
.lg-echo.warn .lg-echo-bubble::before { border-color: rgba(255, 182, 72, .75); }
.lg-echo.warn .lg-echo-name { color: var(--gold); }
.lg-echo.in { opacity: 1; transform: none; }
.lg-echo.away { opacity: 0; transform: translate(60vw, -60vh) rotate(10deg); transition: opacity 1.2s ease-in, transform 1.5s cubic-bezier(.55, 0, .8, .3); }
.lg-echo-bot { position: relative; width: 84px; flex: none; margin-left: 6px; animation: lg-bob 2.6s ease-in-out infinite alternate; }
.lg-echo-bot img { display: block; width: 84px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .8)) drop-shadow(0 0 8px rgba(95, 212, 255, .45)); }
.lg-echo-bot i { position: absolute; left: 29%; top: 56%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 245, 255, .95), rgba(95, 212, 255, .5) 45%, rgba(95, 212, 255, 0) 72%); animation: lg-eye 1.6s ease-in-out infinite; }
.lg-echo.talk .lg-echo-bot i { animation-duration: .35s; }
@keyframes lg-bob { from { transform: translateY(3px); } to { transform: translateY(-5px); } }
@keyframes lg-eye { 50% { opacity: .45; transform: scale(.8); } }
.lg-echo-bubble { position: relative; width: 300px; padding: 10px 14px 11px; pointer-events: auto; opacity: 0; transform: scale(.92); transform-origin: right top;
  transition: opacity .35s .9s, transform .35s .9s;
  background: linear-gradient(180deg, rgba(6, 18, 30, .95), rgba(3, 9, 16, .96)); border: 1px solid rgba(95, 212, 255, .55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .6), 0 0 14px rgba(95, 212, 255, .2), inset 0 0 18px rgba(95, 212, 255, .06); }
.lg-echo.in .lg-echo-bubble { opacity: 1; transform: none; }
.lg-echo-bubble::before { content: ''; position: absolute; right: -9px; top: 24px; width: 14px; height: 14px; background: rgba(6, 18, 30, .98);
  border-right: 1px solid rgba(95, 212, 255, .55); border-top: 1px solid rgba(95, 212, 255, .55); transform: rotate(45deg); }
.lg-echo-name { font: 700 15px 'Rajdhani', Arial, sans-serif; letter-spacing: 3px; color: var(--cy); text-shadow: 0 0 8px rgba(95, 212, 255, .6); }
.lg-echo-name small { margin-left: 8px; font: 600 10px 'Segoe UI', Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); text-shadow: none; }
.lg-echo-text { min-height: 84px; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.lg-echo-text b { font-weight: 600; color: var(--gold-hi); }
.lg-echo-btns { margin-top: 8px; text-align: right; }
.lg-echo-btns button { padding: 5px 14px 4px; border: 1px solid rgba(255, 182, 72, .6); background: rgba(40, 26, 0, .55); color: var(--gold-hi);
  font: 700 12px 'Rajdhani', Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.lg-echo-btns button:hover { background: rgba(255, 182, 72, .2); color: #fff; }
@media (max-width: 1100px) { .lg-echo { display: none; } }
@media (prefers-reduced-motion: reduce) { .lg-echo-bot { animation: none; } }
