:root {
  --bg: #0b1117;
  --ink: #e9eef3;
  --muted: #98a4b2;
  --panel: #121b25;
  --panel-strong: #172231;
  --line: rgba(233, 238, 243, 0.08);
  --accent: #8bb7ff;
  --accent-strong: #6aa2f2;
  --gold: #c49a43;
  --shadow: 0 30px 70px rgba(7, 12, 18, 0.6);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei UI", "Segoe UI", "PingFang SC",
    "Noto Sans CJK SC", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

.bg-orbit {
  position: fixed;
  inset: -120px -160px auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(196, 154, 67, 0.2), transparent 60%);
  z-index: -2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.4;
  z-index: -3;
}

.bg-stars {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 120px 120px, 200px 200px;
  background-position: 0 0, 40px 80px;
  opacity: 0.18;
  z-index: -4;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 7vw 16px;
  position: sticky;
  top: 0;
  background: rgba(11, 17, 23, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Palatino Linotype", "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0.18em;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--gold), var(--accent));
  box-shadow: 0 0 0 6px rgba(196, 154, 67, 0.2);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 6px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  width: 100%;
}

.actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  border: 1px solid rgba(233, 238, 243, 0.2);
  background: #0f1720;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.cta {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  padding: 64px 7vw 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
}

.hero-content h1 {
  font-family: "Palatino Linotype", "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
  margin: 12px 0 16px;
  line-height: 1.2;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.primary,
.ghost {
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.primary {
  background: var(--accent-strong);
  color: #071019;
  box-shadow: 0 18px 30px rgba(17, 31, 46, 0.45);
}

.ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.metric {
  background: var(--panel);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(7, 12, 18, 0.45);
}

.metric .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.metric .value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0 4px;
  color: var(--accent);
}

.metric .suffix {
  font-size: 12px;
  color: var(--muted);
}

.hero-panel {
  background: var(--panel);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-visual {
  margin: 16px 0 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.panel-header h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.panel-header p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.time-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.time-card {
  background: var(--panel-strong);
  padding: 16px;
  border-radius: 16px;
  display: grid;
  gap: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.time-card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.time-card strong {
  font-size: 22px;
  font-weight: 700;
}

.time-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--gold);
}

.pulse {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 24px;
  height: 80px;
  align-items: end;
}

.pulse-bar {
  background: linear-gradient(180deg, var(--gold), var(--accent));
  border-radius: 10px;
  height: calc(16px + var(--i) * 8px);
  animation: pulse 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.2s);
}

.gallery {
  position: relative;
}

.gallery-shell {
  background: linear-gradient(120deg, rgba(15, 44, 63, 0.5), rgba(15, 29, 43, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.6s ease;
}

.gallery-card {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 46px rgba(7, 12, 18, 0.55);
}

.gallery-card figcaption {
  display: grid;
  gap: 6px;
  padding: 10px 4px 16px;
}

.gallery-card strong {
  font-size: 15px;
  letter-spacing: 0.05em;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.gallery-controls button {
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 32, 0.8);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  background: rgba(196, 154, 67, 0.14);
  transform: translateY(-1px);
}

.gallery-dots {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.gallery-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

.section {
  padding: 56px 7vw 0;
}

.section-title {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-title h2 {
  font-family: "Palatino Linotype", "Times New Roman", serif;
  font-size: 1.9rem;
  margin: 0 0 12px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cards,
.governance-grid,
.market-grid,
.insight-board,
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card,
.governance-card,
.market-card,
.insight-card,
.media-card {
  background: var(--panel);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(7, 12, 18, 0.45);
}

.card h3,
.governance-card h3,
.market-card h3,
.insight-card h3 {
  margin: 0 0 10px;
}

.media-card {
  display: grid;
  gap: 12px;
}

.media-card img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-card figcaption {
  color: var(--muted);
  font-size: 13px;
}

.market-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.highlight {
  background: linear-gradient(120deg, rgba(15, 44, 63, 0.35), transparent 60%);
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--panel);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(196, 154, 67, 0.18);
  color: var(--ink);
  font-weight: 700;
}

.insight {
  padding-bottom: 20px;
}

.contact {
  padding-bottom: 80px;
}

.contact-card {
  background: linear-gradient(120deg, #0f1d2b, #15283a 60%);
  color: #fff;
  border-radius: 26px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 24px 0 28px;
}

.contact-meta span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.contact-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

.footer {
  display: grid;
  gap: 8px;
  padding: 24px 7vw 40px;
  color: var(--muted);
  font-size: 13px;
}

/* 访问统计组件 */
.visitor-counter {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--panel);
  border-radius: 20px;
  padding: 20px;
  min-width: 140px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(7, 12, 18, 0.6);
  backdrop-filter: blur(12px);
  z-index: 100;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideInRight 0.6s ease-out;
}

.visitor-counter:hover {
  transform: translateY(-50%) translateX(-4px);
  box-shadow: 0 20px 50px rgba(7, 12, 18, 0.8);
}

.visitor-counter-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.visitor-counter-header svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  opacity: 0.8;
}

.visitor-counter-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.visitor-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  transition: color 0.3s ease;
}

.visitor-number.animate {
  animation: countUp 0.6s ease-out;
}

.visitor-unit {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.visitor-counter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: var(--muted);
}

.visitor-today {
  font-weight: 600;
  color: var(--gold);
  font-size: 14px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes countUp {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 10px;
  }

  .actions {
    width: 100%;
    justify-content: flex-start;
  }

  .visitor-counter {
    right: 12px;
    min-width: 120px;
    padding: 16px;
  }

  .visitor-number {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-bar {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
