:root {
  color-scheme: dark;
  --ink: #eef7ff;
  --muted: #a7bbcc;
  --line: rgba(162, 221, 255, .18);
  --panel: rgba(7, 20, 34, .76);
  --cyan: #62ddff;
  --blue: #3988ff;
  --deep: #02070d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 24%, rgba(36, 135, 192, .24), transparent 31rem),
    linear-gradient(145deg, #06111d 0%, var(--deep) 48%, #071521 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.aurora { position: fixed; width: 34rem; height: 12rem; filter: blur(80px); opacity: .22; pointer-events: none; transform: rotate(-28deg); }
.aurora-one { background: #2cf6ff; top: -4rem; right: 3%; }
.aurora-two { background: #245dff; bottom: 4rem; left: -16rem; }

.site-header, main, footer { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 800; letter-spacing: .16em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 42px; color: #03101a; background: linear-gradient(160deg, #c4f6ff, #3cbcff); clip-path: polygon(50% 0, 95% 22%, 84% 78%, 50% 100%, 16% 78%, 5% 22%); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
nav a:hover { color: white; }
.nav-button { padding: 10px 17px; border: 1px solid rgba(98,221,255,.45); border-radius: 8px; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.4fr .72fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 16px; color: var(--cyan); font-size: .78rem; font-weight: 800; letter-spacing: .2em; }
h1 { margin: 0; max-width: 820px; font-size: clamp(3rem, 6.7vw, 6.6rem); line-height: .94; letter-spacing: -.055em; text-transform: uppercase; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(193,236,255,.7); }
.lead { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 9px; text-decoration: none; font-weight: 750; }
.primary { color: #03101a; background: linear-gradient(135deg, #b7f4ff, #42c7f5); box-shadow: 0 12px 40px rgba(65,190,244,.2); }
.secondary { color: white; border: 1px solid var(--line); background: rgba(255,255,255,.025); }

.realm-card { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(14,35,54,.92), rgba(4,13,23,.88)); box-shadow: 0 30px 80px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.realm-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.realm-heading small { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .14em; }
.realm-heading strong { display: block; margin-top: 4px; font-size: 1.22rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 18px currentColor; }
.status-dot.online { color: #71efaa; background: currentColor; }
.status-dot.offline { color: #ff7480; background: currentColor; }
.status-text { color: var(--muted); font-size: .82rem; }
dl { margin: 18px 0 0; }
dl div { display: flex; justify-content: space-between; padding: 13px 0; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; }

.steps { padding: 90px 0; border-top: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.step-grid article { min-height: 210px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,22,36,.58); }
.step-grid article > span { color: var(--cyan); font-size: .78rem; font-weight: 800; }
h3 { margin: 45px 0 10px; font-size: 1.2rem; }
.step-grid p, .registration p { color: var(--muted); line-height: 1.6; }

.registration { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; margin: 35px auto 80px; padding: 42px; border: 1px solid rgba(98,221,255,.28); border-radius: 16px; background: linear-gradient(120deg, rgba(22,68,96,.58), rgba(5,18,30,.78)); }
.registration p { max-width: 710px; margin-bottom: 0; }
.registration button { min-height: 50px; padding: 0 22px; border: 1px solid var(--line); border-radius: 9px; color: #7890a2; background: rgba(255,255,255,.04); font-weight: 700; cursor: not-allowed; }
footer { display: flex; justify-content: space-between; padding: 28px 0 38px; border-top: 1px solid var(--line); color: #7890a2; font-size: .85rem; }

@media (max-width: 820px) {
  .site-header { height: auto; padding: 18px 0; }
  nav a:not(.nav-button) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 52px; padding: 90px 0 70px; }
  h1 { font-size: clamp(2.8rem, 14vw, 5rem); }
  .step-grid { grid-template-columns: 1fr; }
  .registration { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 480px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .brand { font-size: .87rem; }
  .nav-button { padding: 9px 12px; }
  .hero-actions a { width: 100%; }
  footer { flex-direction: column; gap: 8px; }
}
