@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=JetBrains+Mono:wght@400..700&family=Noto+Sans+SC:wght@400..700&family=Onest:wght@400..700&display=swap");

:root {
  --brand-cyber: #FF9E00;
  --brand-carbon: #0B0D10;
  --brand-sunset: #FF7A33;
  --brand-violet: #5B4FE0;
  --brand-navy: #0B1F2E;
  --brand-mint: #39E6E2;
  --brand-sand: #D8B38A;
  --brand-cream: #FDF4E6;
  --brand-cloud: #FAFBFD;
  --bg: #0B1F2E;
  --surface: #152C3E;
  --surface-raised: #1D3A50;
  --surface-sunken: #081824;
  --ink: #FDF4E6;
  --ink-muted: #A9B8C4;
  --line: #24405A;
  --line-strong: #748897;
  --accent: #FF9E00;
  --on-accent: #0B0D10;
  --warm: #FF7A33;
  --on-warm: #0B0D10;
  --violet: #5B4FE0;
  --violet-ink: #B4AEFF;
  --violet-soft: #25234F;
  --signal: #39E6E2;
  --focus: #FF9E00;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-md: 0 8px 24px -8px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 4px rgba(57,230,226,0.22), 0 0 16px rgba(57,230,226,0.55);
  --font-display: "Bricolage Grotesque", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-sans: "Onest", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(11, 31, 46, 0.25) 0%, rgba(11, 31, 46, 0.92) 82%);
}

header,
main,
footer {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - var(--space-6)));
  margin-inline: auto;
}

header {
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.brand img {
  height: 26px;
  width: auto;
  min-width: 96px;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-cyber);
  letter-spacing: 0.08em;
}

.pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--violet-soft);
  color: var(--violet-ink);
}

main {
  max-width: 720px;
  text-align: center;
  padding: var(--space-7) 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}

.mc-signal {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: var(--shadow-glow);
  animation: mc-pulse 2.4s ease-in-out infinite;
}

@keyframes mc-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-4);
}

h1 span {
  background: var(--accent);
  color: var(--on-accent);
  padding: 0 var(--space-2);
  border-radius: var(--radius-md);
}

p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 26px;
  margin: 0 auto var(--space-5);
  max-width: 640px;
}

p strong {
  color: var(--ink);
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-sunken);
  color: var(--ink);
  border: 1px solid var(--line);
}

.mascot-welcome {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: var(--space-5);
  text-align: left;
}

.mascot-welcome img {
  height: 76px;
  width: auto;
  max-width: 340px;
}

.mascot-welcome-text {
  display: grid;
  gap: 2px;
}

.mascot-welcome-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyber);
}

.mascot-welcome-desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 120ms;
}

/* Rule: accent (#FF9E00) fill ALWAYS paired with carbon black (#0B0D10) text */
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  font-weight: 700;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

footer {
  padding-bottom: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

footer a {
  color: var(--violet-ink);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .mc-signal {
    animation: none;
  }
}
