:root {
  color-scheme: dark;
  --bg: #020202;
  --bg-soft: #0d0d0d;
  --panel: #050505;
  --panel-edge: rgba(255, 255, 255, 0.12);
  --panel-glow: rgba(255, 153, 0, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --soft-muted: rgba(255, 255, 255, 0.58);
  --accent: #ff9900;
  --accent-strong: #ffb133;
  --button-dark: #252525;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI Variable", "Microsoft YaHei UI", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(255, 153, 0, 0.08), transparent 20%),
    linear-gradient(180deg, #050505, #000000 20%, #020202 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

a,
button {
  font: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.gate-card {
  position: relative;
  width: min(1020px, 100%);
  padding: 34px 56px 42px;
  border: 1px solid var(--panel-edge);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 16%),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(255, 153, 0, 0.04),
    0 26px 70px rgba(0, 0, 0, 0.64);
  text-align: center;
  overflow: hidden;
}

.gate-card::before,
.gate-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
}

.gate-card::before {
  left: -10px;
  background: linear-gradient(90deg, rgba(255, 153, 0, 0.08), transparent);
}

.gate-card::after {
  right: -10px;
  background: linear-gradient(270deg, rgba(255, 153, 0, 0.08), transparent);
}

.language-chip {
  width: fit-content;
  margin: 0 0 48px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-word {
  color: #ffffff;
}

.brand-box {
  margin-left: 6px;
  padding: 4px 10px 6px;
  border-radius: 6px;
  background: var(--accent);
  color: #111111;
  line-height: 1;
}

h1 {
  margin: 54px 0 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.notice-pill {
  width: fit-content;
  margin: 112px auto 0;
  padding: 10px 18px;
  border: 3px solid var(--accent);
  border-radius: 6px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.notice-copy {
  max-width: 920px;
  margin: 46px auto 0;
}

.notice-copy-text,
.notice-copy-link {
  margin: 0;
}

.notice-copy-text {
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.48;
  color: var(--muted);
}

.notice-copy-link {
  margin-top: 14px;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  color: var(--accent);
}

.lead,
.sublead {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.lead {
  margin-top: 34px;
  font-size: clamp(19px, 2.4vw, 27px);
  color: var(--muted);
}

.sublead {
  margin-top: 12px;
  font-size: 18px;
  color: var(--accent-strong);
}

.status-box {
  margin: 34px auto 0;
  max-width: 840px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 153, 0, 0.04);
}

.status-box[data-tone="loading"] {
  border-color: rgba(255, 153, 0, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 153, 0, 0.06),
    0 0 26px rgba(255, 153, 0, 0.08);
}

.status-box[data-tone="success"] {
  border-color: rgba(255, 188, 93, 0.42);
  background: rgba(255, 153, 0, 0.06);
}

.status-box[data-tone="error"] {
  border-color: rgba(255, 98, 98, 0.34);
  background: rgba(255, 92, 92, 0.08);
}

.status-label {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft-muted);
}

.status-text {
  margin: 10px 0 0;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.45;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 88px;
}

.cta-button {
  min-height: 84px;
  padding: 0 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.cta-primary,
.cta-secondary {
  border: 3px solid var(--accent);
  background: var(--button-dark);
  color: #ffffff;
}

.cta-primary:hover,
.cta-secondary:hover {
  background: #2f2f2f;
  box-shadow: 0 0 24px rgba(255, 153, 0, 0.12);
}

.footer-links {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #ffb53b;
}

.footer-note {
  margin: 30px 0 0;
  font-size: 16px;
  color: var(--soft-muted);
}

@media (max-width: 820px) {
  .gate-card {
    padding: 24px 20px 30px;
  }

  .language-chip {
    margin-bottom: 34px;
  }

  h1 {
    margin-top: 40px;
  }

  .notice-pill {
    margin-top: 80px;
    font-size: 18px;
  }

  .notice-copy {
    margin-top: 34px;
  }

  .notice-copy-text {
    font-size: 17px;
  }

  .notice-copy-link {
    margin-top: 10px;
    font-size: 22px;
  }

  .lead {
    font-size: 18px;
  }

  .sublead {
    font-size: 16px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .cta-button {
    min-height: 72px;
    font-size: 28px;
  }
}
