* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #ff7a00;
  --secondary: #e63900;
  --gold: #ffb800;
  --bg: #0a0705;
  --bg-light: #1a0f08;
  --bg-card: #14100c;
  --border: #2a1f15;
  --text: #f5ede4;
  --text-dim: #a89070;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}

/* 导航 */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(10,7,5,.92);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo-img { height: 32px; border-radius: 6px; }
.nav a {
  color: #b8a080;
  text-decoration: none;
  margin-left: 1.8rem;
  font-size: .9rem;
  letter-spacing: .5px;
  transition: color .3s;
}
.nav a:hover { color: var(--primary); }
.nav-btn {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #000 !important;
  padding: .5rem 1.3rem;
  border-radius: 20px;
  font-weight: bold;
}

/* 首屏 */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  background: #0a0705;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10,7,5,.55), rgba(10,7,5,.9));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-tag {
  font-size: .8rem;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: bold;
}
.hero-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  line-height: 1.1;
  font-weight: 900;
}
.hero-desc {
  font-size: 1.1rem;
  color: #c8b090;
  margin-bottom: 3rem;
  line-height: 2;
}
.hero-btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all .3s;
  cursor: pointer;
  letter-spacing: 1px;
  font-size: .95rem;
}
.btn.primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #000;
  box-shadow: 0 0 25px rgba(255,122,0,.4);
}
.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,122,0,.6);
}
.btn.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn.secondary:hover {
  background: var(--primary);
  color: #000;
}
.btn.big { font-size: 1.05rem; padding: 1.2rem 3rem; margin-top: 2rem; }

/* 卡片式导航 */
.card-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: -60px auto 0;
  padding: 0 5%;
  position: relative;
  z-index: 10;
}
.card-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
}
.card-nav-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255,122,0,.25);
}
.card-nav-icon { font-size: 1.8rem; margin-bottom: .6rem; }
.card-nav-title {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: .3rem;
}
.card-nav-desc { font-size: .8rem; color: var(--text-dim); }

/* 倒计时 */
.countdown-section {
  text-align: center;
  padding: 4rem 5%;
  background: #0e0a06;
  border-bottom: 1px solid var(--border);
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cd-item { display: flex; flex-direction: column; align-items: center; }
.cd-item span {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 25px rgba(255,122,0,.5);
  line-height: 1;
}
.cd-item small {
  color: var(--text-dim);
  font-size: .85rem;
  margin-top: .5rem;
  letter-spacing: 2px;
}

/* 大区块 */
.block { padding: 8rem 8%; }
.block-dark { background: var(--bg); }
.block-light {
  background: var(--bg-light);
  color: var(--text);
}
.block-light .block-tag { color: var(--gold); }
.block-light h2,
.block-light h3,
.block-light h4 { color: #fff; }
.block-light .block-lead,
.block-light .block-sub,
.block-light p { color: var(--text-dim); }
.block-light .chapter { border-color: var(--border); }
.block-light .chapter-list li { border-color: rgba(42,31,21,.5); }
.block-light .chapter-list strong { color: #fff; }
.block-light .chapter-list span { color: var(--text-dim); }
.block-light .econ-item {
  background: var(--bg-card);
  border-color: var(--border);
}
.block-light .compare table { border-color: var(--border); }
.block-light .compare th {
  background: rgba(255,122,0,.08);
  color: #fff;
  border-color: var(--border);
}
.block-light .compare td {
  color: var(--text-dim);
  border-color: rgba(42,31,21,.5);
}

.block-inner { max-width: 1100px; margin: 0 auto; }

.block-tag {
  font-size: .75rem;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}
.block h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}
.block-lead {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-dim);
  max-width: 800px;
  margin-bottom: 2rem;
}
.block-sub {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 4rem;
}

/* 章节 */
.chapter {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.chapter-tag {
  font-size: .75rem;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: bold;
}
.chapter h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 800;
}
.chapter p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 850px;
}
.chapter-list { list-style: none; margin-top: 2rem; }
.chapter-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(42,31,21,.5);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.chapter-list li:last-child { border-bottom: none; }
.chapter-list strong {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .5px;
}
.chapter-list span {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.8;
}

/* 章节配图 */
.chapter-img {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.chapter-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s;
}
.chapter-img:hover img {
  transform: scale(1.03);
}

/* 章节玩法内容 */
.chapter-gameplay {
  margin: 2.5rem 0;
}
.chapter-gameplay h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.gameplay-item {
  background: rgba(20,16,12,.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  transition: all .3s;
}
.gameplay-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,122,0,.15);
}
.gameplay-icon {
  font-size: 1.8rem;
  margin-bottom: .6rem;
}
.gameplay-item h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .5rem;
  font-weight: 700;
}
.gameplay-item p {
  color: var(--text-dim);
  font-size: .85rem;
  line-height: 1.7;
  margin: 0;
}

/* 步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.step {
  padding: 2rem 0;
  border-top: 2px solid var(--primary);
}
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1;
  letter-spacing: -1px;
}
.step h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.step p {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.8;
}

/* 经济 */
.econ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.econ-item {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all .3s;
}
.econ-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.econ-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1;
}
.econ-item h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .8rem;
  font-weight: 700;
}
.econ-item p {
  color: var(--text-dim);
  font-size: .9rem;
  line-height: 1.8;
}

/* 对比表格 */
.compare { margin-top: 5rem; }
.compare h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 800;
  color: #fff;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.compare th {
  background: rgba(255,122,0,.08);
  color: #fff;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
}
.compare td {
  padding: 1.2rem 1.5rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(42,31,21,.5);
  font-size: .95rem;
}
.compare tr:last-child td { border-bottom: none; }
.compare td:first-child {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

/* 状态 */
.status { text-align: center; }
.status-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.status-card {
  background: var(--bg-card);
  padding: 1.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.status-num {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--primary);
  text-shadow: 0 0 15px rgba(255,122,0,.4);
}
.status-label { color: #8a7050; font-size: .9rem; margin-top: .3rem; }
.status-note { margin-top: 1.5rem; color: #6a5540; font-size: .9rem; }

/* 宣言 */
.manifesto {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,0,.15), transparent 60%),
    linear-gradient(135deg, #1a0f08, #2a1508);
}
.manifesto .block-inner { max-width: 900px; }
.manifesto .block-lead { margin-left: auto; margin-right: auto; }
.manifesto .block-tag { color: var(--gold); }

/* 加入 */
.join {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,0,.15), transparent 60%),
    linear-gradient(135deg, #0a0705, #1a0f08);
}
.join h2 { color: #fff; }
.join p { color: #c8b090; }
.join-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: #8a7050;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.join-info code {
  background: var(--bg-card);
  padding: .2rem .6rem;
  border-radius: 5px;
  color: var(--primary);
}
.join-info a { color: var(--primary); }

/* 页脚 */
footer {
  text-align: center;
  padding: 3rem 2rem;
  color: #5a4030;
  font-size: .85rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* 回到顶部 */
.back-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 99;
  box-shadow: 0 0 20px rgba(255,122,0,.5);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* 手机适配 */
@media (max-width: 700px) {
  .nav nav a:not(.nav-btn) { display: none; }
  .block { padding: 5rem 6%; }
  .countdown { gap: 1.5rem; }
  .cd-item span { font-size: 2.2rem; }
  .chapter { padding: 3rem 0; }
  .compare td:first-child { white-space: normal; }
  .back-top { right: 1rem; bottom: 1rem; }
  .card-nav {
    margin-top: 0;
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 5% 0;
  }
  .chapter-img { margin: 1.5rem 0; }
  .gameplay-grid { grid-template-columns: repeat(2, 1fr); }
  .gameplay-item { padding: 1.2rem .8rem; }
}

.hero-tag-img {
  max-width: 320px;
  height: auto;
  display: inline-block;
}

/* 声音开关 */
.sound-toggle {
  position: fixed;
  right: 2rem;
  bottom: 6rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20,16,12,.85);
  color: var(--primary);
  border: 1px solid var(--border);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 99;
  transition: all .3s;
  backdrop-filter: blur(10px);
}
.sound-toggle:hover {
  border-color: var(--primary);
  transform: scale(1.1);
}
.sound-toggle.on {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  box-shadow: 0 0 20px rgba(255,122,0,.5);
}

@media (max-width: 700px) {
  .sound-toggle {
    right: 1rem;
    bottom: 5rem;
  }
}