:root {
  --bg: #070b14;
  --bg-alt: #0d1220;
  --card: rgba(18, 24, 40, 0.82);
  --border: rgba(212, 175, 55, 0.22);
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --text: #f5f7fb;
  --muted: rgba(255, 255, 255, 0.62);
  --header-h: 72px;
  --max-w: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max-w));
  margin: 0 auto;
}

.section {
  scroll-snap-align: start;
  scroll-margin-top: var(--header-h);
  padding: 88px 0;
}

#top {
  scroll-margin-top: 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-title {
  margin-bottom: 12px;
}

.title-line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto 24px;
  background: var(--gold);
  border-radius: 2px;
}

.section-lead.center {
  margin-left: auto;
  margin-right: auto;
}

.section-sublead {
  margin: 0 auto 36px;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.section-lead {
  margin: 0 0 12px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
}

.section-note {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.95rem;
}

.section-note.gold {
  border-left-color: var(--gold);
  color: rgba(255, 255, 255, 0.78);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  padding: 0 20px;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: var(--gold-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--gold-soft);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #e8c547, #b8941f);
  color: #1a1200;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline.sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.btn-primary:hover,
.btn-outline:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("../images/hero-bg.png") center center / cover no-repeat,
    linear-gradient(180deg, #0a0f1a 0%, #070b14 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.72) 0%, rgba(7, 11, 20, 0.45) 42%, rgba(7, 11, 20, 0.88) 100%),
    radial-gradient(circle at 50% 40%, transparent 0%, rgba(7, 11, 20, 0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 48px 0 64px;
}

.hero-eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.15;
  max-width: 14ch;
}

.hero-desc {
  margin: 0 0 10px;
  max-width: 680px;
  font-size: 1.02rem;
}

.hero-desc.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.entry-panel {
  display: grid;
  gap: 16px;
  margin: 32px 0 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  backdrop-filter: blur(8px);
}

.entry-box p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.entry-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.icon-check {
  color: #4cd964;
  font-weight: 800;
}

.icon-gear {
  color: #9ecbff;
}

.hero-disclaimer {
  margin: 0 0 28px;
  max-width: 720px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #fff;
}

.gold-card h3,
.mode-item h3,
.process-step h3 {
  color: var(--gold);
}

.info-card p,
.mode-item p,
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.process-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 28px;
  border: 1px solid rgba(100, 130, 180, 0.35);
  border-radius: 12px;
  background: rgba(12, 18, 32, 0.6);
  text-align: left;
}

.process-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.modes-panel {
  max-width: 820px;
  margin: 28px auto 0;
  padding: 24px 28px;
  border: 1px solid rgba(100, 130, 180, 0.35);
  border-radius: 12px;
  background: rgba(12, 18, 32, 0.6);
  text-align: left;
}

.mode-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mode-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mode-item h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

#participation .section-title,
#credit .section-title {
  color: var(--gold);
}

#faq .section-title {
  color: var(--gold);
  margin-bottom: 36px;
}

.promo-blocks {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.promo-block {
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid rgba(100, 130, 180, 0.35);
  background: rgba(12, 18, 32, 0.6);
}

.promo-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.promo-block-head h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--gold);
}

.btn-copy {
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  padding: 6px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-copy:hover {
  background: rgba(212, 175, 55, 0.22);
}

.promo-text {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 16px;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  padding: 72px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg);
}

.footer-inner {
  text-align: center;
}

.footer-slogan {
  margin-bottom: 48px;
}

.footer-slogan-main {
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  font-style: italic;
  font-weight: 500;
  color: #ffb800;
  line-height: 1.6;
}

.footer-slogan-sub {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-declaration {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: left;
}

.footer-declaration-title {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.footer-declaration-list {
  margin: 0;
  padding-left: 1.25em;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.85;
}

.footer-declaration-list li + li {
  margin-top: 10px;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

/* Mobile */
@media (max-width: 900px) {
  .card-grid,
  .card-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .hide-mobile {
    display: none !important;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(280px, 86vw);
    height: calc(100vh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px;
    gap: 4px;
    background: #0d1220;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  body.nav-open .nav-overlay {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    border-radius: 10px;
    padding: 12px 14px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    width: 100%;
  }
}
