/* ========================================================
   CSS 变量 & 全局重置
   ======================================================== */
:root {
  --bg: #06080d;
  --card: rgba(255, 255, 255, .07);
  --line: rgba(255, 215, 128, .22);
  --gold: #ffd784;
  --gold2: #f3a83b;
  --text: #fff7e6;
  --muted: #b9b3a6;
  --blue: #38bdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", PingFang SC, Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 177, 53, .22), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, .14), transparent 34%),
    linear-gradient(135deg, #05060a 0%, #08111f 48%, #05060a 100%);
  color: var(--text);
  overflow-x: hidden;
}

/* 噪点纹理 */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

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

.wrap {
  width: min(1180px, 92vw);
  margin: auto;
}

/* ========================================================
   导航栏
   ======================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 9;
  backdrop-filter: blur(20px);
  background: rgba(5, 8, 14, .78);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(243, 168, 59, .28);
}

.brand span {
  font-size: 22px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff, #ffd784, #f3a83b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: #e9dec8;
}

.nav-links a {
  opacity: .85;
}

.nav-links a:hover {
  color: var(--gold);
  opacity: 1;
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #261500;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(243, 168, 59, .32);
}

/* ========================================================
   Hero 首屏
   ======================================================== */
.hero {
  position: relative;
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.hero-grid > div:first-child {
  text-align: left;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21e681;
  box-shadow: 0 0 16px #21e681;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.06;
  margin: 22px 0 18px;
  letter-spacing: 2px;
}

.hero h1 b {
  display: block;
  background: linear-gradient(90deg, #fff 0%, #ffe7a7 45%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 44px rgba(245, 158, 11, .18);
}

.hero p {
  font-size: 18px;
  line-height: 1.9;
  color: #d9d1c1;
  margin: 0 0 26px;
  max-width: 680px;
}

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

.btn {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 20px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .06);
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #211300;
  box-shadow: 0 12px 40px rgba(243, 168, 59, .3);
}

.hero-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  box-shadow: 0 32px 90px rgba(0, 0, 0, .45);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 215, 132, .24), transparent 38%);
  pointer-events: none;
}

.hero-card img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

/* ========================================================
   通用 Section / Cards
   ======================================================== */
.section {
  padding: 68px 0;
}

.title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.title h2 {
  font-size: 34px;
  margin: 0;
}

.title p {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045));
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 215, 132, .24), rgba(56, 189, 248, .12));
  font-size: 24px;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p,
.card li {
  color: #d2c8b8;
  line-height: 1.75;
}

/* ========================================================
   官方商务团队
   ======================================================== */
.team {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.person {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 14px;
  background: rgba(255, 255, 255, .065);
  cursor: pointer;
  transition: all .2s;
}

.person:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
}

.avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd784, #b86d12);
  color: #160d02;
  font-weight: 900;
  font-size: 26px;
  box-shadow: 0 0 28px rgba(243, 168, 59, .28);
}

.person h3 {
  margin: 6px 0 5px;
}

.role {
  color: var(--muted);
  font-size: 13px;
}

.tg {
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, .1);
  border: 1px solid rgba(56, 189, 248, .25);
  color: #9ee7ff;
  font-weight: 800;
  word-break: break-all;
}

/* ========================================================
   担保验证
   ======================================================== */
.verify {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 20px;
}

.verify-box {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, .065);
}

.verify-box .title {
  display: block;
  margin-bottom: 8px;
}

.verify-box .title h2 {
  font-size: 34px;
  margin: 0 0 4px 0;
}

.verify-box p {
  margin: 0;
}

.verify-form {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.verify-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  padding: 15px 16px;
  font-size: 16px;
  outline: none;
}

.verify-form input:focus {
  border-color: var(--gold);
}

.verify-form button {
  border: 0;
  border-radius: 14px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  font-weight: 900;
  color: #211300;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.verify-form button:hover {
  transform: scale(1.02);
}

.result {
  margin-top: 14px;
  min-height: 24px;
  font-weight: 800;
}

.result.ok {
  color: #65ff9a;
}

.result.bad {
  color: #ff7a7a;
}

/* ========================================================
   活动专栏
   ======================================================== */
.rewards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rewards .card {
  text-align: center;
}

.rewards .card h3 {
  text-align: center;
}

.reward-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  margin: 0 auto;
}

.reward-table th,
.reward-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
}

.reward-table th {
  color: var(--gold);
  font-size: 14px;
}

.reward-table td {
  color: #eee0c6;
}

/* ========================================================
   页脚 & 悬浮按钮
   ======================================================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 8;
}

.float a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #15b8ff, #0475ff);
  font-weight: 900;
  box-shadow: 0 14px 40px rgba(4, 117, 255, .35);
}

/* ========================================================
   响应式 (手机端)
   ======================================================== */

/* 平板 */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-inner {
    height: 66px;
  }
  .hero {
    padding: 42px 0;
  }
  .hero-grid,
  .verify,
  .rewards {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .team {
    grid-template-columns: 1fr 1fr;
  }
  .title {
    display: block;
  }
  .title p {
    margin-top: 10px;
  }
  .verify-form {
    flex-direction: column;
  }
  .verify-form button {
    padding: 14px;
    white-space: normal;
  }
  .brand span {
    font-size: 18px;
  }
}

/* 手机端 */
@media (max-width: 768px) {
  :root {
    --gold: #ffe08a;
    --gold2: #f5ad3d;
  }

  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 215, 132, .18), transparent 36%),
      linear-gradient(180deg, #070b13 0%, #0a1220 45%, #05070c 100%);
  }

  .wrap {
    width: min(100% - 28px, 520px);
    margin: 0 auto;
  }

  .noise {
    opacity: .14;
    background-size: 28px 28px;
  }

  .nav {
    background: rgba(6, 9, 16, .9);
  }

  .nav-inner {
    height: 58px;
    gap: 10px;
  }

  .brand {
    gap: 9px;
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand span {
    font-size: 18px;
    letter-spacing: 1px;
    white-space: nowrap;
  }

  /* ===== Hero 手机端居中 ===== */
  .hero {
    padding: 28px 0 26px;
    text-align: center;
  }

  .hero-grid {
    display: block;
  }

  .hero-grid > div:first-child {
    text-align: center !important;
  }

  .badge {
    font-size: 12px;
    padding: 7px 11px;
    margin: 0 auto;
    border-color: rgba(255, 215, 128, .32);
    display: inline-flex;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.16;
    margin: 17px 0 14px;
    letter-spacing: .5px;
    text-align: center;
  }

  .hero h1 b {
    display: block;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.72;
    margin: 0 auto 18px;
    color: #e1d7c5;
    max-width: 34em;
    text-align: center;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-items: center;
  }

  .btn {
    justify-content: center;
    border-radius: 14px;
    padding: 13px 10px;
    font-size: 14px;
    width: 100%;
  }

  .hero-card {
    margin-top: 20px;
  }

  /* ===== 通用 Section ===== */
  .section {
    padding: 30px 0;
  }

  .title {
    display: block;
    margin-bottom: 14px;
    text-align: center;
  }

  .title h2 {
    font-size: 24px;
    line-height: 1.25;
    text-align: center;
  }

  .title p {
    font-size: 14px;
    line-height: 1.65;
    color: #cfc5b5;
    text-align: center;
    margin: 10px auto 0;
    max-width: 100%;
  }

  /* ===== Cards ===== */
  .cards,
  .rewards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card,
  .verify-box,
  .person {
    border-radius: 18px;
    padding: 17px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .045));
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
  }

  .card {
    text-align: center;
  }

  .icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 20px;
    margin: 0 auto 10px;
  }

  .card h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .card p,
  .card li {
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
  }

  /* ===== 团队 ===== */
  .team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .person {
    padding: 15px 8px;
  }

  .avatar {
    width: 52px;
    height: 52px;
    font-size: 22px;
    margin: 0 auto 8px;
  }

  .person h3 {
    font-size: 16px;
    margin: 4px 0;
  }

  .role {
    font-size: 12px;
    min-height: 18px;
  }

  .tg {
    font-size: 12px;
    padding: 8px 6px;
    margin-top: 8px;
    word-break: break-all;
  }

  /* ===== 担保验证 ===== */
  .verify {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .verify-box {
    text-align: center;
  }

  .verify-box .title h2 {
    font-size: 28px;
  }

  .verify-box p {
    font-size: 14px;
    line-height: 1.65;
    margin: 8px 0 0;
    text-align: center;
  }

  .verify-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .verify-form input {
    height: 46px;
    font-size: 14px;
    border-radius: 13px;
    padding: 0 14px;
    text-align: center;
  }

  .verify-form button {
    height: 46px;
    border-radius: 13px;
    font-size: 15px;
    white-space: normal;
  }

  .result {
    text-align: center;
  }

  /* =============================================
     活动表格 - 手机端自动撑开 (修复)
     ============================================= */
  .rewards .card {
    text-align: center;
    overflow: hidden;         /* 防止内容溢出 */
  }

  .rewards .card h3 {
    text-align: center;
  }

  .reward-table {
    display: table;           /* 保持表格特性 */
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, .12);
    margin: 0 auto;
    /* 表格内容自动撑开宽度 */
    table-layout: auto;       /* 自动列宽 */
  }

  .reward-table th,
  .reward-table td {
    padding: 11px 14px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;      /* 内容不换行，保持在一行 */
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  /* 表格外层容器支持横向滚动 (如果内容实在太宽) */
  .rewards .card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ===== 页脚 & 悬浮 ===== */
  .footer {
    font-size: 12px;
    line-height: 1.6;
    padding: 28px 0 82px;
    text-align: center;
  }

  .float {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .float a {
    justify-content: center;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 15px;
    box-shadow: 0 10px 32px rgba(4, 117, 255, .36);
  }

  .pc-only {
    display: none !important;
  }
}

/* 小屏手机 */
@media (max-width: 390px) {
  .wrap {
    width: min(100% - 22px, 520px);
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .team {
    grid-template-columns: 1fr;
  }

  .reward-table th,
  .reward-table td {
    padding: 10px 8px;
    font-size: 12px;
  }
}