:root {
  --bg: #080b0c;
  --panel: rgba(15, 20, 20, .94);
  --line: rgba(196, 234, 213, .15);
  --text: #eef4ef;
  --muted: #89968f;
  --acid: #b8f036;
  --acid-dark: #658713;
  --danger: #ed613f;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(5, 8, 8, .78) 0%, rgba(5, 8, 8, .58) 48%, rgba(5, 8, 8, .77) 100%),
    linear-gradient(0deg, rgba(4, 7, 7, .62), rgba(4, 7, 7, .15) 44%, rgba(4, 7, 7, .38)),
    url('/assets/world-bg.png') center center / cover fixed no-repeat,
    #080b0c;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, #000 4px);
  z-index: 8;
}

.world-grid {
  position: fixed;
  width: 720px;
  height: 720px;
  left: -250px;
  bottom: -390px;
  transform: rotate(45deg);
  background-image:
    linear-gradient(rgba(184, 240, 54, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 240, 54, .08) 1px, transparent 1px);
  background-size: 64px 64px;
}

.topbar {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: auto;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: white;
  text-decoration: none;
  font: 26px/1 "Russo One", Impact, sans-serif;
  letter-spacing: .08em;
}
.brand > span:last-child > span { color: var(--acid); }
.brand-mark {
  width: 32px;
  height: 32px;
  position: relative;
  display: block;
  border: 2px solid var(--acid);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 5px var(--bg);
  background: var(--acid);
}
.brand-mark i { position: absolute; inset: 9px; background: var(--bg); }

.server-pill {
  color: #a6b0aa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  border: 1px solid var(--line);
  padding: 11px 14px;
  background: rgba(7, 10, 10, .65);
}
.server-pill span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: #e6b547;
  box-shadow: 0 0 9px #e6b547;
}

.shell {
  min-height: calc(100vh - 144px);
  max-width: 1280px;
  margin: auto;
  padding: 56px 34px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.eyebrow, .card-head p {
  margin: 0 0 15px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}

h1 {
  max-width: 780px;
  margin: 0;
  font: clamp(48px, 6vw, 84px)/.98 "Russo One", Impact, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
h1 em { color: transparent; -webkit-text-stroke: 1px var(--acid); font-style: normal; }
.lead { max-width: 610px; margin: 26px 0 22px; color: #a7b0ab; font-size: 17px; line-height: 1.7; }

.download-panel { margin: 0 0 25px; }
.download-button {
  width: min(100%, 390px);
  min-height: 64px;
  padding: 12px 17px 12px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #101407;
  background: var(--acid);
  text-decoration: none;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .25);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.download-button:hover { background: #cdfb5e; transform: translateY(-2px); box-shadow: 8px 10px 0 rgba(0, 0, 0, .25); }
.download-button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.download-button span { display: grid; gap: 4px; }
.download-button b { font-size: 13px; letter-spacing: .12em; }
.download-button small { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .66; }
.download-button i { font: normal 30px/1 "Russo One", sans-serif; }
.download-panel > p { margin: 12px 0 0; color: #6f7b74; font-size: 10px; letter-spacing: .04em; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.feature-tags span { padding: 9px 11px; color: #96a39c; border: 1px solid var(--line); background: rgba(7, 11, 10, .68); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.feature-tags b { color: #dce6df; font-weight: 800; }
.feature-tags i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: var(--acid); transform: rotate(45deg); }

.route-card {
  max-width: 660px;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: rgba(12, 16, 16, .62);
}
.route-card div { display: grid; min-width: 135px; }
.route-card b { font-size: 12px; text-transform: uppercase; }
.route-card small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.route-dot { width: 11px; height: 11px; flex: 0 0 11px; transform: rotate(45deg); }
.route-dot.safe { background: var(--acid); box-shadow: 0 0 12px rgba(184, 240, 54, .5); }
.route-dot.danger { background: var(--danger); }
.route-line { height: 1px; flex: 1; min-width: 20px; background: repeating-linear-gradient(90deg, #53615a 0 5px, transparent 5px 10px); }

.access-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(184, 240, 54, .24);
  background: var(--panel);
  box-shadow: 20px 24px 0 rgba(0, 0, 0, .24), 0 28px 80px rgba(0, 0, 0, .28);
}
.access-card::before, .access-card::after { content: ""; position: absolute; width: 28px; height: 28px; pointer-events: none; }
.access-card::before { left: -1px; top: -1px; border-left: 3px solid var(--acid); border-top: 3px solid var(--acid); }
.access-card::after { right: -1px; bottom: -1px; border-right: 3px solid var(--acid); border-bottom: 3px solid var(--acid); }
.card-head h2 { margin: 0 0 26px; font: 30px/1.1 "Russo One", sans-serif; text-transform: uppercase; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.tab { padding: 13px 6px; color: #758079; border: 0; border-bottom: 2px solid transparent; background: none; font: 700 12px Inter, sans-serif; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; }
.tab.active { color: var(--text); border-color: var(--acid); }

.auth-form { display: none; gap: 17px; }
.auth-form.active { display: grid; }
label { display: grid; gap: 8px; color: #bdc6c0; font-size: 12px; font-weight: 600; }
input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid #2b3430;
  border-radius: 0;
  outline: none;
  background: #0a0e0e;
  font: 14px Inter, sans-serif;
}
input:focus { border-color: var(--acid); box-shadow: 0 0 0 2px rgba(184, 240, 54, .08); }
input::placeholder { color: #505a54; }

.primary {
  height: 52px;
  margin-top: 4px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #101407;
  border: 0;
  background: var(--acid);
  font: 800 12px Inter, sans-serif;
  letter-spacing: .11em;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.primary:hover { background: #cdfb5e; transform: translateY(-2px); }
.primary span { font-size: 22px; }
.prototype-note { min-height: 36px; margin: 17px 0; color: #7f8b84; font-size: 11px; line-height: 1.55; }
.prototype-note.changed { color: #d9e8df; }
.prototype-note.success { color: var(--acid); }
.prototype-note.error { color: #ff8064; }
.primary:disabled { opacity: .55; cursor: wait; transform: none; }

.account-view { display: grid; gap: 18px; padding: 8px 0 4px; }
.account-view[hidden] { display: none; }
.account-badge { width: max-content; padding: 7px 10px; color: var(--acid); border: 1px solid rgba(184, 240, 54, .32); background: rgba(184, 240, 54, .05); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.account-badge i, .account-ready i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--acid); transform: rotate(45deg); }
.account-view h3 { margin: 2px 0 0; font: 25px/1.3 "Russo One", sans-serif; text-transform: uppercase; }
.account-view h3 em { color: var(--acid); font-style: normal; }
.account-view > p { margin: -8px 0 0; color: #839087; font-size: 12px; }
.account-ready { display: flex; align-items: flex-start; gap: 4px; padding: 15px; color: #9aa69f; border: 1px solid var(--line); background: #0a0e0e; font-size: 11px; line-height: 1.5; }
.account-ready i { flex: 0 0 7px; margin-top: 4px; }
.secondary { height: 48px; color: #c7d0ca; border: 1px solid #354039; background: transparent; font: 800 11px Inter, sans-serif; letter-spacing: .11em; cursor: pointer; }
.secondary:hover { color: var(--acid); border-color: var(--acid); }
.secondary:disabled { opacity: .55; cursor: wait; }

.security-line { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.security-line p { margin: 0; color: #748078; font-size: 10px; line-height: 1.5; }
.security-line b { color: #aab5ae; }
.lock { position: relative; width: 22px; height: 18px; border: 2px solid #6a786f; }
.lock::before { content: ""; position: absolute; width: 10px; height: 9px; left: 4px; top: -10px; border: 2px solid #6a786f; border-bottom: 0; border-radius: 8px 8px 0 0; }

footer {
  max-width: 1280px;
  height: 60px;
  margin: auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4e5953;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; align-items: start; }
  .hero { padding-top: 12px; }
  .access-card { max-width: 620px; width: 100%; }
}

@media (max-width: 560px) {
  .topbar, .shell, footer { padding-left: 20px; padding-right: 20px; }
  .server-pill { display: none; }
  .shell { padding-top: 38px; gap: 40px; }
  h1 { font-size: 43px; }
  .feature-tags { gap: 7px; }
  .route-card { align-items: flex-start; flex-wrap: wrap; }
  .route-line { display: none; }
  .access-card { padding: 26px 21px; }
  footer span:last-child { display: none; }
}
