/* Sign-in screen (index.html). Shown only while a Deriv login is handed back (html.auth-return, set by theme-init.js).
   Loaded before JS, so it carries its own colours. */
:root { --boot-bg: #F6F7F9; --boot-line: rgba(11, 14, 17, .12); --boot-ink: #0B0E11; --boot-mute: #5B6470; --boot-accent: #10B981; }
:root[data-theme="dark"] { --boot-bg: #0B0E11; --boot-line: rgba(255, 255, 255, .08); --boot-ink: #F3F5F7; --boot-mute: #9CA3AF; }
#boot { display: none; position: fixed; inset: 0; z-index: 9999; place-content: center; justify-items: center; gap: 16px; background: var(--boot-bg); color: var(--boot-ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; transition: opacity .3s ease, visibility .3s; }
.auth-return #boot { display: grid; }
#boot.done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-brand { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.boot-bar { width: min(280px, 70vw); height: 1px; background: var(--boot-line); overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 40%; background: var(--boot-accent); animation: boot-slide 1s ease-in-out infinite; }
@keyframes boot-slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .boot-bar i { animation: none; width: 100%; } }

/* Static, crawlable copy that the prerender step puts inside #root. React replaces it on first render. */
.seo-static { max-width: 760px; margin: 0 auto; padding: 32px 20px; font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--boot-ink); background: var(--boot-bg); }
.seo-static h1 { font-size: 28px; line-height: 1.15; margin: 0 0 12px; }
.seo-static h2 { font-size: 20px; margin: 24px 0 8px; }
.seo-static a { color: var(--boot-accent); }
[data-auth="1"] .seo-static { display: none; }
