@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes twA { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes twB { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); } }

.hero {
  position: relative; overflow: hidden;
  min-height: clamp(600px, 86vh, 820px);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(167, 139, 250, .12);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-bg .tw-a { animation: twA 4.2s ease-in-out infinite; }
.hero-bg .tw-b { animation: twB 5.8s ease-in-out infinite; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(6, 7, 26, .82), rgba(6, 7, 26, .35) 70%, rgba(6, 7, 26, 0)),
    linear-gradient(rgba(6, 7, 26, 0) 86%, var(--bg));
}
.hero-inner { position: relative; width: 100%; text-align: center; padding-top: 48px; padding-bottom: clamp(190px, 30vh, 290px); animation: rise .7s ease-out both; }
.hero h1 { font-size: clamp(38px, 8vw, 76px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.hero .sub { margin: 18px auto 0; max-width: 560px; font-size: clamp(14px, 2vw, 16px); color: var(--ink-2); }

.address {
  margin: 30px auto 0; display: inline-flex; align-items: stretch; max-width: 100%;
  border: 1px solid rgba(167, 139, 250, .4); background: rgba(6, 7, 26, .85);
  box-shadow: 0 0 32px rgba(167, 139, 250, .15);
}
.address .k {
  display: flex; align-items: center; padding: 0 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
  border-right: 1px solid var(--line);
}
.address code {
  display: flex; align-items: center; padding: 14px 16px;
  font: 700 clamp(14px, 3.6vw, 20px) var(--mono); color: var(--ink);
  overflow-wrap: anywhere; user-select: all;
}
.address button { border: 0; border-left: 1px solid var(--line-2); min-width: 92px; }
@media (max-width: 480px) {
  .address { flex-wrap: wrap; width: 100%; }
  .address .k { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 14px; }
  .address code { flex: 1; }
}

.status {
  margin: 18px auto 0; display: flex; align-items: center; justify-content: center; gap: 8px 14px;
  flex-wrap: wrap; font-size: 13px; color: var(--ink-2);
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fainter); flex-shrink: 0; }
.status[data-state="online"] .dot { background: var(--ok); animation: pulse 2.4s infinite; }
.status[data-state="busy"] .dot { background: var(--amber); }
.status[data-state="down"] .dot { background: var(--red); }
.status .state { font-weight: 700; color: var(--ink); }
.status .meta { font: 12px var(--mono); color: var(--faint); }
.heads { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; min-height: 28px; }
.heads span {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px;
  background: rgba(6, 7, 26, .8); border: 1px solid var(--line); font: 11.5px var(--mono); color: var(--ink-2);
}
.heads img { width: 20px; height: 20px; }

.hero-cta { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.section { padding-top: 56px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: 20px; }
.link-card {
  display: flex; flex-direction: column; gap: 10px; color: inherit;
  background: var(--bg-2); border: 1px solid var(--line); padding: 22px;
  transition: border-color .2s, transform .2s, background .2s;
}
.link-card:hover { text-decoration: none; border-color: rgba(167, 139, 250, .5); background: #12153a; transform: translateY(-2px); }
.link-card .ic { display: flex; gap: 4px; }
.link-card .ic img { width: 28px; height: 28px; }
.link-card h3 { font-size: 18px; }
.link-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.link-card .go { margin-top: auto; padding-top: 6px; font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 20px; }
.step { position: relative; background: var(--bg-2); border: 1px solid var(--line); padding: 20px 20px 20px 64px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 18px; top: 18px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font: 700 15px var(--mono); color: var(--accent-ink); background: var(--accent);
}
.step p { margin: 6px 0 0; font-size: 13.5px; }
.step code { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1px; margin-top: 20px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--bg-2); padding: 14px 16px; }
.fact .k { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.fact .v { font: 700 15px var(--mono); color: var(--ink); margin-top: 4px; }

.mods { margin-top: 20px; border: 1px solid var(--line); }
.mod { display: grid; grid-template-columns: 220px 1fr; gap: 4px 20px; padding: 14px 18px; border-bottom: 1px solid rgba(167, 139, 250, .07); }
.mod:last-child { border-bottom: 0; }
.mod b { color: var(--ink); font-size: 14px; }
.mod b small { display: block; font: 10.5px var(--mono); color: var(--faint); font-weight: 400; margin-top: 2px; }
.mod p { margin: 0; font-size: 13.5px; }
@media (max-width: 640px) { .mod { grid-template-columns: 1fr; } }
.fine { font-size: 12.5px; color: var(--faint); margin-top: 12px; }
