* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #02050c; font-family: "Manrope", Arial, sans-serif; }
body.modal-open { overflow: hidden; }
.splash a { color: inherit; }
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #02050c; color: #fff; }
.loader-inner { display: grid; justify-items: center; gap: 16px; }
.loader-mark { position: relative; width: 68px; height: 58px; display: inline-block; }
.loader-mark:before { content: ""; position: absolute; left: 0; top: 11px; width: 27px; height: 27px; border-radius: 50%; background: #2567ff; }
.loader-mark b, .loader-mark i { position: absolute; width: 26px; border-radius: 28px; background: #2567ff; transform: rotate(28deg); }
.loader-mark b { left: 32px; top: 0; height: 58px; }
.loader-mark i { left: 29px; bottom: 0; height: 46px; opacity: .92; }
.loader-word { color: rgba(255,255,255,.84); font-size: 18px; font-weight: 700; }
.loader-line { width: 180px; height: 2px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.14); }
.loader-line span { display: block; width: 100%; height: 100%; transform: translateX(-100%); background: #2567ff; }
.splash { position: relative; width: 100vw; height: 100dvh; overflow: hidden; background: #02050c; opacity: 0; }
.splash-picture { position: absolute; inset: 0; display: block; } .splash-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.clock { position: fixed; top: 28px; right: 28px; z-index: 5; width: 112px; aspect-ratio: 1 / 1; display: grid; align-content: center; justify-items: center; gap: 2px; border-radius: 18px; background: rgba(4,8,16,.50); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; overflow: hidden; }
.clock:before { content: ""; position: absolute; inset: 8px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); pointer-events: none; }
.clock-label { position: relative; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.clock strong { position: relative; font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.clock-date { position: relative; color: rgba(255,255,255,.66); font-size: 10px; font-weight: 700; }
.bottom-glass { position: fixed; left: 20px; right: 20px; bottom: 0; z-index: 3; height: 54px; border: 0; border-radius: 14px 14px 0 0; background: linear-gradient(90deg, rgba(4,8,16,.48), rgba(4,8,16,.28)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; }
.footer-note { position: fixed; left: 50%; bottom: 18px; z-index: 4; width: min(760px, calc(100vw - 300px)); margin: 0; transform: translateX(-50%); color: rgba(255,255,255,.76); font: 700 16px/1.45 "Manrope", Arial, sans-serif; text-align: center; opacity: 0; }
.footer-note a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); }
.footer-note a:hover { border-bottom-color: #fff; }
.legal-nav { position: fixed; right: 28px; bottom: 19px; z-index: 5; display: flex; gap: 16px; opacity: 0; }
.legal-nav button { border: 0; padding: 0; background: transparent; color: rgba(255,255,255,.74); font: 700 14px "Manrope", Arial, sans-serif; cursor: pointer; }
.legal-nav button:hover { color: #fff; }
.modal-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.56); }
.legal-modal { width: min(620px, calc(100vw - 32px)); margin: auto; padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: #fff; color: #08111f; box-shadow: 0 24px 100px rgba(0,0,0,.35); font-family: "Manrope", Arial, sans-serif; }
.legal-modal::backdrop { background: transparent; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.modal-head h2 { margin: 0; font-size: 28px; font-weight: 800; }
.modal-head button { width: 36px; height: 36px; border: 1px solid rgba(8,17,31,.18); border-radius: 999px; background: #fff; color: #08111f; font-size: 28px; line-height: 1; transform: rotate(45deg); cursor: pointer; }
.legal-modal p { margin: 0 0 10px; color: #475569; line-height: 1.55; }
@media (max-width: 900px) { .clock { top: 16px; right: 16px; width: 98px; border-radius: 16px; } .bottom-glass { left: 12px; right: 12px; bottom: 0; height: 82px; border: 0; } .footer-note { left: 16px; right: 16px; bottom: 50px; width: auto; transform: none; font-size: 14px; } .legal-nav { right: 16px; bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } .splash, .legal-nav, .footer-note, .bottom-glass, .clock { opacity: 1; } .splash-picture { transform: none; } }
@media (max-width: 760px) {
  .bottom-glass {
    left: 0;
    right: 0;
    bottom: 0;
    height: 96px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, rgba(4,8,16,.24), rgba(4,8,16,.74));
  }
  .footer-note {
    left: 18px;
    right: 18px;
    bottom: 50px;
    width: auto;
    max-width: none;
    transform: none;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
  }
  .legal-nav {
    left: 18px;
    right: 18px;
    bottom: 18px;
    justify-content: center;
    gap: 22px;
  }
  .legal-nav button {
    font-size: 12px;
  }
}
@media (max-width: 420px) {
  .bottom-glass {
    height: 108px;
  }
  .footer-note {
    bottom: 54px;
    font-size: 11px;
  }
}