:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-solid: #0f172a;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #e7eef9;
  --muted: #93a4bd;
  --accent: #5eead4;
  --accent-2: #38bdf8;
  --amber: #fbbf24;
  --danger: #fb7185;
  --radius: 18px;
  --max: 1180px;
  --font: "Inter", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, 0.14), transparent 60%),
              radial-gradient(900px 500px at 10% 10%, rgba(94, 234, 212, 0.08), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }

code {
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.18);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 7px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.16);
}

.brand-logo.small { width: 36px; height: 36px; border-radius: 10px; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041018;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.5px;
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.28);
}

.brand-mark.small { width: 36px; height: 36px; font-size: 13px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16px; letter-spacing: 0.04em; }
.brand-text small { color: var(--muted); font-size: 10px; letter-spacing: 0.22em; }

.nav { display: flex; align-items: center; gap: 6px; }

.nav a {
  padding: 9px 13px;
  color: var(--muted);
  font-size: 14px;
  border-radius: 9px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover, .nav a.active { color: var(--text); background: rgba(148, 163, 184, 0.08); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

/* Layout */
main { position: relative; z-index: 1; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
}

.section-head { max-width: 620px; margin-bottom: 44px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }

h2 { font-size: clamp(26px, 3.4vw, 38px); }

.section-head p, .hero-sub, .status-note, .feature p, .rules-card p {
  color: var(--muted);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
  border-radius: 0 0 28px 28px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.38;
  filter: saturate(0.9) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.96) 0%, rgba(7, 11, 20, 0.82) 42%, rgba(7, 11, 20, 0.36) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 38%);
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 24px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 55%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  margin: 22px 0 30px;
  font-size: 16px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  color: #03130f;
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.18);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(148, 163, 184, 0.04);
}

.ip-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.66);
}

.ip-label { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.14em; }
.ip-card code { display: block; margin-top: 2px; background: none; border: none; padding: 0; font-size: 16px; }

.copy-btn {
  border: 1px solid var(--line-strong);
  background: rgba(94, 234, 212, 0.08);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.copy-btn:hover { background: rgba(94, 234, 212, 0.14); }

.hero-note { color: #64748b; font-size: 12px; margin-top: 14px; }

/* Hero art */
.hero-visual { position: relative; height: 420px; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: 280px;
  height: 280px;
  right: 5%;
  top: 12%;
  background: radial-gradient(circle at 35% 30%, rgba(94, 234, 212, 0.5), rgba(56, 189, 248, 0.08) 60%, transparent 70%);
}

.orb-b {
  width: 220px;
  height: 220px;
  left: 4%;
  bottom: 4%;
  background: radial-gradient(circle at 50% 40%, rgba(167, 139, 250, 0.32), transparent 68%);
}

.floating-block {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.22), rgba(56, 189, 248, 0.06));
  border: 1px solid rgba(94, 234, 212, 0.32);
  box-shadow: inset 0 0 24px rgba(94, 234, 212, 0.08), 0 24px 50px rgba(0, 0, 0, 0.35);
  transform: rotate(14deg);
  animation: float 7s ease-in-out infinite;
}

.block-1 { right: 22%; top: 18%; }
.block-2 { right: 6%; top: 48%; width: 64px; height: 64px; animation-delay: -2s; transform: rotate(-10deg); }
.block-3 { left: 18%; bottom: 16%; width: 52px; height: 52px; animation-delay: -4s; transform: rotate(24deg); }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.36));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover { border-color: rgba(94, 234, 212, 0.35); transform: translateY(-3px); }

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 11px;
  color: var(--accent);
  border: 1px solid rgba(94, 234, 212, 0.25);
  background: rgba(94, 234, 212, 0.06);
  font-size: 18px;
}

.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 13px; margin: 0; }

/* Status / Join */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.status-panel, .join-panel, .rules-card, .faq-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.4));
  position: relative;
  overflow: hidden;
}

.status-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -120px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.16), transparent 65%);
  pointer-events: none;
}

.status-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
  padding: 5px 10px;
  border-radius: 999px;
}

.status-pill .dot { background: var(--amber); box-shadow: none; width: 6px; height: 6px; }
.status-pill.online { color: var(--accent); border-color: rgba(94, 234, 212, 0.28); background: rgba(94, 234, 212, 0.08); }
.status-pill.online .dot { background: var(--accent); }

.status-panel h2, .join-panel h2 { margin-top: 8px; margin-bottom: 24px; }

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.status-item {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.35);
}

.status-label { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.08em; }
.status-item strong { display: block; margin-top: 4px; font-size: 20px; letter-spacing: -0.02em; }

.status-note { font-size: 12px; margin: 18px 0 0; color: #64748b; }

/* Steps */
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }

.steps li { display: flex; gap: 14px; }

.step-num {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 8px;
  padding: 4px 7px;
  height: fit-content;
  letter-spacing: 0.06em;
}

.steps h3 { font-size: 15px; margin-bottom: 3px; }
.steps p { margin: 0; font-size: 13px; color: var(--muted); }

/* News */
.news-list { display: grid; gap: 10px; }

.news-item {
  display: grid;
  grid-template-columns: 110px 1fr 24px;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.news-item:hover { border-color: rgba(94, 234, 212, 0.3); background: rgba(15, 23, 42, 0.7); }
.news-item time { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.news-item h3 { font-size: 15px; margin-bottom: 3px; }
.news-item p { margin: 0; font-size: 13px; color: var(--muted); }
.news-item .arrow { color: var(--accent); justify-self: end; }

/* Gallery */
.gallery-section { padding-top: 40px; }

.gallery-main {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel-solid);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 45%;
}

.gallery-main figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.55);
}

.gallery-main figcaption span { font-weight: 600; }
.gallery-main figcaption small { color: var(--muted); }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.gallery-thumbs figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel-solid);
}

.gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumbs figure:hover img { transform: scale(1.04); }

.gallery-thumbs figcaption {
  padding: 10px 13px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Rules teaser */
.rules-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.rules-card h2, .faq-card h2 { margin-bottom: 14px; }
.rules-card ul { margin: 18px 0 24px; padding-left: 18px; color: var(--muted); font-size: 14px; }
.rules-card li { margin: 7px 0; }

.faq-card details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq-card details:first-of-type { border-top: none; }
.faq-card summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.faq-card details p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 50px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.copyright { grid-column: 1 / -1; margin: 8px 0 0; font-size: 11px; color: #475569; }

/* Inner pages */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 680px; margin: 0; }

.page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 90px;
  display: grid;
  gap: 18px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.55);
}

.card h2 { font-size: 21px; margin-bottom: 12px; }
.card p, .card li { color: var(--muted); font-size: 14px; }
.card ul, .card ol { margin: 12px 0 0; padding-left: 20px; }
.card li { margin: 7px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(94, 234, 212, 0.06);
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 12px;
}

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--text); font-weight: 600; }
td { color: var(--muted); }

.notice {
  border-left: 3px solid var(--accent);
  background: rgba(94, 234, 212, 0.06);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; min-height: auto; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section-split, .rules-teaser, .grid-2 { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-header { padding: 14px 18px; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(7, 11, 20, 0.96);
    backdrop-filter: blur(18px);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav-toggle { display: block; }
  .section { padding: 68px 18px; }
  .hero { padding: 40px 18px 20px; }
  .hero h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumbs { grid-template-columns: 1fr; }
  .gallery-main img { aspect-ratio: 4 / 3; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-item .arrow { display: none; }
  .status-panel, .join-panel, .rules-card, .faq-card, .card { padding: 22px; }
}
