:root {
  --black: #05080b;
  --bg: #0d1318;
  --panel: rgba(8, 12, 16, .80);
  --panel-strong: rgba(7, 10, 13, .93);
  --text: #efe2bd;
  --muted: #b8ad91;
  --muted2: #897f68;
  --blue: #29465f;
  --blue2: #719fc4;
  --yellow: #f0c45b;
  --yellow2: #b08322;
  --green: #9fdf85;
  --red: #df735b;
  --line: rgba(240,196,91,.23);
  --line2: rgba(255,255,255,.09);
  --shadow: 0 24px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% -10%, rgba(75, 112, 133, .28), transparent 35%),
    linear-gradient(180deg, #080d12 0%, #10171d 48%, #090e13 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code { color: #f7d67d; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: .11;
  mix-blend-mode: soft-light;
  background-image:
    repeating-radial-gradient(circle at 30% 20%, rgba(255,255,255,.18) 0 1px, transparent 1px 3px);
}

.topbar {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 max(18px, calc((100vw - 1160px) / 2));
  background: linear-gradient(180deg, rgba(5, 8, 11, .88), rgba(5, 8, 11, .58));
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
}
.brand strong {
  display: block;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .98rem;
}
.brand em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  color: #d3c9ae;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--yellow); }
.nav .gate-link {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(240,196,91,.09);
  color: #f4d174;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 12px;
  padding: 9px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}
.nav-toggle b {
  position: absolute;
  clip-path: inset(100%);
}

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 77% 45%, rgba(240,196,91,.04), transparent 28%),
    linear-gradient(90deg, rgba(5,8,11,.94) 0%, rgba(5,8,11,.78) 34%, rgba(5,8,11,.36) 68%, rgba(5,8,11,.46) 100%),
    linear-gradient(180deg, rgba(5,8,11,.34) 0%, rgba(5,8,11,.12) 50%, #0d1318 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .76fr);
  align-items: end;
  gap: 42px;
  padding-top: 92px;
}
.hero-copy { max-width: 760px; }
.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(240,196,91,.10);
  border: 1px solid var(--line);
  color: #f7d77c;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0 0 22px;
  font-size: clamp(3rem, 7.8vw, 6.9rem);
  line-height: .88;
  letter-spacing: -.05em;
  max-width: 10.8ch;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: .98;
  letter-spacing: -.04em;
}
h3 { margin: 0 0 10px; font-size: 1.2rem; }
.lead {
  max-width: 65ch;
  margin: 0;
  color: #e5dcc7;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.68;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: none;
}
.btn.primary {
  background: linear-gradient(180deg, #f5d16e, #bd8f25);
  color: #11130d;
  box-shadow: 0 12px 34px rgba(0,0,0,.34);
}
.btn.ghost {
  border: 1px solid var(--line);
  color: #ecd59e;
  background: rgba(8, 12, 16, .66);
}

.terminal {
  border-radius: 22px;
  border: 1px solid rgba(153, 224, 132, .22);
  background:
    linear-gradient(180deg, rgba(7, 18, 10, .92), rgba(5, 10, 8, .92));
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.terminal-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(153, 224, 132, .13);
  background: rgba(0,0,0,.26);
}
.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #3b4f35;
}
.terminal-top span:nth-child(1) { background: #c95e4b; }
.terminal-top span:nth-child(2) { background: #d4a943; }
.terminal-top span:nth-child(3) { background: #73c960; }
.terminal-top strong {
  margin-left: auto;
  color: #8ee380;
  font-size: .76rem;
  letter-spacing: .12em;
}
.terminal pre {
  margin: 0;
  min-height: 266px;
  padding: 20px;
  white-space: pre-wrap;
  color: #aef09e;
  line-height: 1.54;
  text-shadow: 0 0 10px rgba(142,227,128,.18);
}

.section {
  padding: 88px 0;
  position: relative;
}
.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}
.section-head p:not(.label), .muted {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.04rem;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.meter-card, .notice-card, .event-card, .feature-list article, .apply-form {
  border: 1px solid rgba(255,255,255,.07);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.meter-card {
  border-radius: 22px;
  padding: 20px;
}
.meter-card span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.meter-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.65rem;
}
.meter {
  margin-top: 18px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.09);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue2), var(--yellow));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: 36px;
  align-items: start;
}
.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.feature-list article {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 18px;
  border-radius: 22px;
  padding: 20px;
}
.feature-list b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  color: var(--yellow);
  background: rgba(240,196,91,.08);
}
.feature-list p, .notice-card p, .event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}
.notice-card {
  position: sticky;
  top: 100px;
  border-radius: 28px;
  padding: 28px;
}
.notice-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
}
.notice-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: #d8caa6;
}
.notice-card li { margin: 10px 0; }

.event-section {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.12));
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.event-card {
  min-height: 230px;
  border-radius: 24px;
  padding: 24px;
}
.event-card span {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .76rem;
  font-weight: 900;
}
.event-card h3 {
  margin-top: 58px;
  font-size: 1.44rem;
}

.apply-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 38px;
  align-items: start;
}
.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-radius: 28px;
  padding: 26px;
}
.apply-form label {
  display: grid;
  gap: 8px;
  color: #e2cf91;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.apply-form label:nth-of-type(3),
.apply-form label:nth-of-type(4),
.apply-form .result,
.apply-form button {
  grid-column: 1 / -1;
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 13px;
  background: rgba(8, 13, 17, .88);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
textarea { resize: vertical; min-height: 132px; }
.result {
  min-height: 26px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.result.ok { color: var(--green); }
.result.warn { color: #f7d67d; }

.footer {
  padding: 32px 0 46px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--muted2);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .9rem;
}

@media (max-width: 980px) {
  .hero { min-height: auto; padding: 154px 0 70px; }
  .hero-grid, .split, .apply-grid { grid-template-columns: 1fr; }
  h1 { max-width: 12ch; }
  .status-grid, .event-grid { grid-template-columns: 1fr 1fr; }
  .notice-card { position: relative; top: 0; }
  .hero-terminal { max-width: 620px; }
}

@media (max-width: 740px) {
  .topbar { height: auto; min-height: 68px; flex-wrap: wrap; padding: 10px 18px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); }
  .hero { padding-top: 128px; }
  h1 { font-size: clamp(2.7rem, 17vw, 4.6rem); }
  .status-grid, .event-grid, .apply-form { grid-template-columns: 1fr; }
  .feature-list article { grid-template-columns: 1fr; }
  .terminal pre { min-height: 220px; }
}
