/* ===== 重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
  background: #111015;
  color: #c8c0b0;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: #b0a080; text-decoration: none; transition: all .3s; }
a:hover { color: #d8d0c0; }
img { max-width: 100%; display: block; }

/* ===== 背景 ===== */
.bg-wrap {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(80,50,20,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(60,30,15,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(50,20,10,.1) 0%, transparent 50%),
    linear-gradient(180deg, #111015 0%, #0d0b0a 100%);
}

/* ===== 导航栏 ===== */
.topbar {
  position: fixed; top: 0; width: 100%; z-index: 200;
  background: rgba(12,10,8,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(120,110,95,.2);
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.topbar-logo { height: 44px; }
.topbar-nav { display: flex; gap: 32px; list-style: none; }
.topbar-nav a {
  font-size: 14px; letter-spacing: 3px; color: #a09880;
  padding: 4px 0; position: relative;
}
.topbar-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: #a09880; transition: all .3s; transform: translateX(-50%);
}
.topbar-nav a:hover, .topbar-nav a.on { color: #d8d0c0; }
.topbar-nav a:hover::after, .topbar-nav a.on::after { width: 100%; }

.topbar-btns { display: flex; gap: 10px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 24px; border-radius: 4px; font-size: 13px;
  letter-spacing: 2px; cursor: pointer; transition: all .25s;
  font-family: inherit; border: none;
}
.btn-primary {
  background: #8a7e68;
  color: #fff; border: 1px solid #9a8e78;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.btn-primary:hover {
  background: #a09480;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  transform: translateY(-1px); color: #fff;
}
.btn-ghost {
  background: transparent; color: #a09880;
  border: 1px solid rgba(120,110,95,.4);
}
.btn-ghost:hover {
  background: rgba(120,110,95,.1); border-color: rgba(160,150,130,.5);
  color: #d8d0c0;
}
.btn-large { padding: 14px 44px; font-size: 16px; letter-spacing: 4px; border-radius: 6px; }
.btn-full { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 20px 60px;
  text-align: center;
}
.hero-logo { width: 320px; margin-bottom: 24px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.3)); }
.hero-slogan {
  font-size: 20px; color: #9a8e70; letter-spacing: 10px; margin-bottom: 16px;
}
.hero-desc {
  font-size: 15px; color: #706858; line-height: 1.9; max-width: 520px; margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ===== 内容区分割装饰线 ===== */
.divider {
  width: 100%; height: 1px; position: relative; z-index: 1;
  background: linear-gradient(90deg, transparent 5%, rgba(120,110,95,.15) 30%, rgba(120,110,95,.25) 50%, rgba(120,110,95,.15) 70%, transparent 95%);
}

/* ===== 通用区块 ===== */
.block {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto; padding: 80px 24px;
}
.block-head {
  text-align: center; margin-bottom: 48px;
}
.block-title {
  font-size: 26px; letter-spacing: 6px; color: #c8c0b0;
  margin-bottom: 8px;
}
.block-sub {
  font-size: 12px; letter-spacing: 4px; color: #5a5040; text-transform: uppercase;
}

/* ===== 新闻 ===== */
.news-list { display: flex; flex-direction: column; gap: 1px; }
.news-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  background: rgba(20,18,15,.6);
  border-left: 3px solid transparent;
  transition: all .25s; cursor: pointer;
}
.news-item:hover {
  background: rgba(30,26,20,.8);
  border-left-color: #a09880;
}
.news-badge {
  flex-shrink: 0; padding: 3px 10px;
  background: rgba(120,110,95,.1); border: 1px solid rgba(120,110,95,.25);
  border-radius: 3px; font-size: 11px; color: #a09880; letter-spacing: 1px;
}
.news-title { flex: 1; font-size: 14px; color: #b0a890; }
.news-date { font-size: 12px; color: #504838; flex-shrink: 0; }

/* ===== 特色卡片 ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  padding: 36px 20px; text-align: center;
  background: rgba(20,18,15,.5);
  border: 1px solid rgba(60,50,35,.4);
  border-radius: 8px; transition: all .3s;
}
.card:hover {
  border-color: rgba(120,110,95,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.card-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: rgba(120,110,95,.08); border: 1px solid rgba(120,110,95,.2);
  border-radius: 50%;
}
.card h3 { font-size: 16px; color: #c8c0b0; letter-spacing: 3px; margin-bottom: 10px; }
.card p { font-size: 12px; color: #706858; line-height: 1.8; }

/* ===== 下载 banner ===== */
.dl-banner {
  position: relative; z-index: 1;
  text-align: center; padding: 64px 24px;
  background: linear-gradient(180deg, rgba(20,16,12,.4) 0%, rgba(12,10,8,.6) 100%);
}
.dl-banner h2 { font-size: 22px; color: #c8c0b0; letter-spacing: 6px; margin-bottom: 10px; }
.dl-banner p { font-size: 13px; color: #5a5040; margin-bottom: 30px; letter-spacing: 2px; }

/* ===== 表单面板 ===== */
.page-wrap {
  position: relative; z-index: 1;
  min-height: 100vh; padding: 100px 20px 60px;
  display: flex; align-items: flex-start; justify-content: center;
}
.panel {
  width: 100%;
  background: rgba(18,16,14,.95);
  border: 1px solid rgba(100,90,70,.3);
  border-radius: 10px;
  padding: 48px 40px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.panel-sm { max-width: 480px; }
.panel-md { max-width: 640px; }
.panel-logo { width: 200px; margin: 0 auto 10px; }
.panel-title {
  text-align: center; font-size: 22px; letter-spacing: 6px;
  color: #c8c0b0; margin-bottom: 6px;
}
.panel-sub {
  text-align: center; font-size: 11px; letter-spacing: 4px;
  color: #504838; text-transform: uppercase; margin-bottom: 36px;
}

/* ===== 表单 ===== */
.field { margin-bottom: 20px; }
.field-label {
  display: block; font-size: 13px; color: #8a7e68;
  letter-spacing: 3px; margin-bottom: 8px;
}
.field-input {
  width: 100%; padding: 12px 16px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(80,65,40,.4);
  border-radius: 4px; color: #d0c8b8; font-size: 14px;
  font-family: inherit; outline: none; transition: all .25s;
}
.field-input:focus {
  border-color: rgba(140,130,110,.5);
  box-shadow: 0 0 0 3px rgba(140,130,110,.08);
}
.field-input::placeholder { color: #4a4030; }

.field-row { display: flex; gap: 10px; }
.field-row .field-input { flex: 1; }

.field-addon {
  padding: 12px 16px; white-space: nowrap;
  background: rgba(120,110,95,.1); border: 1px solid rgba(100,90,70,.35);
  border-radius: 4px; color: #a09880; font-size: 12px;
  cursor: pointer; font-family: inherit; transition: all .25s;
}
.field-addon:hover {
  background: rgba(120,110,95,.18); border-color: rgba(120,110,95,.5);
}

.form-foot {
  text-align: center; margin-top: 20px;
  font-size: 12px; color: #504838;
}
.form-foot a { color: #a09880; }

/* ===== 充值金额 ===== */
.amt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.amt-item {
  padding: 18px 8px; text-align: center;
  background: rgba(0,0,0,.3); border: 1px solid rgba(70,58,38,.5);
  border-radius: 6px; cursor: pointer; transition: all .25s;
}
.amt-item:hover {
  border-color: rgba(120,110,95,.6);
  background: rgba(120,110,95,.06);
}
.amt-item.on {
  border-color: #a09880;
  background: rgba(120,110,95,.1);
  box-shadow: 0 0 12px rgba(120,110,95,.1);
}
.amt-num { font-size: 22px; font-weight: bold; color: #c8c0b0; }
.amt-coin { font-size: 11px; color: #6a5e48; margin-top: 2px; }

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.pay-item {
  padding: 14px; text-align: center; font-size: 14px;
  background: rgba(0,0,0,.25); border: 1px solid rgba(70,58,38,.4);
  border-radius: 6px; cursor: pointer; color: #a09880; transition: all .25s;
}
.pay-item:hover {
  border-color: rgba(120,110,95,.6); color: #c8c0b0;
  background: rgba(120,110,95,.06);
}
.pay-item.on {
  border-color: #a09880; color: #c8c0b0;
  background: rgba(120,110,95,.1);
}

.summary {
  background: rgba(0,0,0,.2); border: 1px solid rgba(60,50,35,.3);
  border-radius: 6px; padding: 18px 20px; margin-bottom: 28px;
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: #706858; padding: 5px 0;
}
.summary-row span:last-child { color: #c8c0b0; }

.section-label {
  font-size: 13px; color: #706858; letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ===== 页脚 ===== */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(60,50,35,.25);
  padding: 36px 20px; text-align: center;
}
.footer p { font-size: 12px; color: #3a3428; letter-spacing: 1px; line-height: 2.2; }

/* ===== Toast ===== */
.toast {
  position: fixed; top: 80px; left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: rgba(20,18,14,.96); border: 1px solid rgba(120,110,95,.4);
  border-radius: 6px; padding: 12px 28px;
  color: #c8c0b0; font-size: 13px; letter-spacing: 2px;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: all .35s;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .topbar-nav { display: none; }
  .topbar-inner { padding: 0 16px; }
  .hero-logo { width: 220px; }
  .hero-slogan { font-size: 16px; letter-spacing: 6px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .panel { padding: 32px 20px 28px; margin: 0 8px; }
  .amt-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
}
