:root {
  --bg-deep: #070607;
  --bg-mid: #101013;
  /* 暖金主色 */
  --gold-1: rgba(255, 210, 140, 0.22);
  --gold-2: rgba(255, 170, 85, 0.16);
  --gold-3: rgba(255, 220, 140, 0.1);
  --text-main: #f5f5f5;
  --text-sub: #cccccc;
  --border-light: #2b2b2b;
  --border-strong: #3a3a3a;
  --gold: #f5c46b;
  --gold-deep: #d59636;
  --orange-grad-start: #d26732;
  --orange-grad-end: #f5c46b;
  --radius-lg: 14px;
  --radius-md: 10px;
  /* CTA 强化变量 */
  --cta-text: #111111;
  --cta-glow-1: rgba(245, 196, 107, 0.85);
  --cta-glow-2: rgba(210, 103, 50, 0.45);
  --cta-ring: rgba(245, 196, 107, 0.55);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(
      900px circle at 50% 8%,
      var(--gold-1) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      1200px circle at 18% 22%,
      var(--gold-2) 0%,
      rgba(0, 0, 0, 0) 62%
    ),
    radial-gradient(
      1100px circle at 85% 28%,
      var(--gold-3) 0%,
      rgba(0, 0, 0, 0) 65%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(12, 12, 14, 0.95) 38%,
      rgba(0, 0, 0, 0.97) 100%
    );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--text-main);
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 12px 24px;
}
/* 顶部条 */
.top-bar {
  height: 64px;
  background: rgba(16, 16, 16, 0.92);
  border-bottom: 1px solid #262626;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  backdrop-filter: blur(6px);
}
.top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff6b3b, #007aff);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}
.brand-text {
  font-size: clamp(14px, 3.6vw, 16px);
  font-weight: 600;
  color: #ffffff;
}
.top-right-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--orange-grad-start),
    var(--orange-grad-end)
  );
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(245, 196, 107, 0.55);
  position: relative;
  isolation: isolate;
}
.top-right-link span {
  text-decoration: underline;
}
.top-right-link::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(245, 196, 107, 0.55),
    rgba(210, 103, 50, 0.35)
  );
  filter: blur(10px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
/* 横幅区域 + 轮播 */
.hero-wrapper {
  background: rgba(17, 17, 17, 0.86);
  padding-top: 16px;
  padding-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-banner {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  background: #000;
  position: relative;
  max-height: 385px;
}
.slider {
  position: relative;
  width: 100%;
  height: auto;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.slide img {
  width: 100%;
  height: auto;
}
.slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.slider-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}
/* 中部：二维码 + 入口卡片 */
.center-section {
  background: rgba(24, 24, 24, 0.9);
  border-radius: 10px 10px 0 0;
  padding: 16px 12px 18px;
  border-top: 1px solid #242424;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 110px;
  gap: 12px;
  margin-top: -6px;
  backdrop-filter: blur(6px);
}
.qr-box {
  background: rgba(31, 31, 31, 0.92);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: #0c0c0c;
}
.qr-label {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  line-height: 1.4;
}
.qr-platforms {
  display: flex;
  gap: 6px;
  font-size: 11px;
  color: #b3b3b3;
}
.center-main {
  padding: 0 8px;
}
.headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.headline-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-deep));
}
.headline-text {
  font-size: clamp(16px, 4.6vw, 18px);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  background: linear-gradient(
    135deg,
    rgba(21, 21, 21, 0.96),
    rgba(16, 16, 16, 0.96)
  );
  border-radius: var(--radius-lg);
  border: 1px solid #262626;
  padding: 12px 14px 12px;
  position: relative;
  overflow: hidden;
}
.card-tag {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 6px;
}
.cards .card:nth-child(1) .card-tag,
.cards .card:nth-child(2) .card-tag {
  font-size: 15.5px;
  font-weight: 600;
}
.card-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.card-title-main {
  font-size: clamp(28px, 8.2vw, 30px);
  font-weight: 700;
  color: #f3f4f6;
}
.card-title-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.card-highlight {
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 10px;
}
.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.card-info {
  flex: 1;
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.5;
  word-break: break-all;
}
/* ========= CTA：立即进入（更大更醒目） ========= */
.card-btn {
  flex-shrink: 0;
  min-height: 52px; /* PC 更大 */
  min-width: 132px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #ffd86a, #ff6a1f);
  color: var(--cta-text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  /* 更强的立体感与发光（box-shadow 标准属性） */
  box-shadow:
    0 0 16px rgba(255, 200, 100, 1),
    0 0 36px rgba(255, 140, 0, 0.7);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    filter 0.14s ease;
}
.card-btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(245, 196, 107, 0.65),
    rgba(210, 103, 50, 0.45)
  );
  filter: blur(9px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
  box-shadow:
    0 0 8px rgba(255, 200, 100, 0.6),
    0 0 18px rgba(255, 140, 0, 0.45);
}
.card-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow:
    0 0 32px rgba(255, 230, 150, 1),
    0 0 64px rgba(255, 170, 40, 0.9),
    0 12px 28px rgba(0, 0, 0, 0.35);
  filter: brightness(1.15) saturate(1.05);
}

.card-btn:active {
  transform: scale(0.97);
}

/* ========= CTA：详情（更大、更突出，移动端尤其明显） ========= */
.card-more {
  position: absolute;
  top: 9px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px; /* 触控目标更友好（建议 ≥44×44） */
  min-width: 46px;
  padding: 3px 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 900px;
  color: var(--cta-text);
  background: linear-gradient(
    135deg,
    rgba(210, 103, 50, 0.98),
    rgba(245, 196, 107, 0.98)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 16px rgba(245, 196, 107, 0.55),
    0 10px 20px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    filter 0.14s ease;
}
.card-more::after {
  content: "›";
  margin-left: 4px;
  font-size: 14px;
  line-height: 1;
  opacity: 0.92;
}
.card-more:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 0 24px rgba(245, 196, 107, 0.8),
    0 14px 26px rgba(0, 0, 0, 0.45);
}
.card-more:active {
  transform: translateY(0);
}
.card-more:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--cta-ring),
    0 0 22px rgba(245, 196, 107, 0.85),
    0 10px 20px rgba(0, 0, 0, 0.35);
}
/* ========= 轻微呼吸动效：让 CTA 更吸睛（尊重减少动画设置） ========= */
@keyframes ctaPulse {
  0% {
    transform: translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-1px);
    filter: brightness(1.03);
  }
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .card-btn {
    animation: ctaPulse 2.6s ease-in-out infinite;
  }
  .card-more {
    animation: ctaPulse 3.1s ease-in-out infinite;
  }
}
.footer-tip {
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 16px;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .center-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .qr-box {
    max-width: 260px;
    margin: 0 auto 4px;
    flex-direction: row;
    align-items: center;
  }
  .qr-img {
    width: 72px;
    height: 72px;
  }
  .qr-label {
    text-align: left;
  }
}
@media (max-width: 720px) {
  .top-bar {
    padding: 0 10px;
  }
  .top-right-link {
    padding: 6px 10px;
    font-size: 12px;
  }
  .headline-text {
    font-size: 15px;
    letter-spacing: 0.12em;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .center-section {
    padding: 14px 10px 16px;
  }
  /* 手机端：详情再更醒目一点 */
  .card-more {
    top: 12px;
    right: 12px;
    min-width: 78px;
    font-size: 13px;
    box-shadow:
      0 0 22px rgba(245, 196, 107, 0.7),
      0 12px 24px rgba(0, 0, 0, 0.4);
  }
  /* 手机端：立即进入不需要过分变大，保持舒服 */
  .card-btn {
    min-height: 50px;
    font-size: 15px;
    padding: 12px 20px;
  }
}
@media (max-width: 480px) {
  .page {
    padding: 0 8px 18px;
  }
  .card-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-btn {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }
  .qr-box {
    flex-direction: column;
  }
  .qr-label {
    text-align: center;
  }

  /* 小屏：详情保持 ≥44px，并避免太贴边 */
  .card-more {
    top: 12px;
    right: 12px;
    min-height: 44px;
    min-width: 80px;
  }
}
/* 大屏：PC CTA 再加一点“主按钮气场” */
@media (min-width: 981px) {
  .card-btn {
    min-height: 56px;
    padding: 14px 28px;
    font-size: 16px;
  }
  .card-more {
    min-height: 46px;
    min-width: 76px;
    font-size: 13px;
  }
}
@media (max-width: 720px) {
  /* 1️⃣  QR hid */
  .center-section .qr-box {
    display: none;
  }

  /* 2️⃣grleft*/
  .center-section .qr-box:first-of-type {
    display: flex;
  }

  /* 3️⃣ grtobottom */
  .center-section {
    display: flex;
    flex-direction: column;
  }

  .center-section .qr-box:first-of-type {
    order: 99; /* luôn nằm dưới cùng */
    margin: 16px auto 0;
    max-width: 280px;
    padding: 12px;
    text-align: center;
  }

  /* 4️⃣ QR hiển thị theo dạng mobile-friendly */
  .center-section .qr-box:first-of-type {
    flex-direction: column;
    gap: 8px;
  }

  .center-section .qr-box:first-of-type .qr-img {
    width: 96px;
    height: 96px;
  }

  .center-section .qr-box:first-of-type .qr-label {
    font-size: 12px;
    line-height: 1.4;
  }

  .center-section .qr-box:first-of-type .qr-platforms {
    justify-content: center;
    font-size: 11px;
  }
}
/* Button 3–4 */
.cards .card:nth-last-child(-n + 2) .card-btn {
  opacity: 0.8;
  filter: brightness(0.9) saturate(0.9);
  box-shadow:
    0 0 10px rgba(255, 180, 90, 0.55),
    0 0 24px rgba(255, 120, 0, 0.35);
}

.cards .card:nth-last-child(-n + 2) .card-btn:hover {
  opacity: 0.96;
}

/* Button 2 */
.cards .card:nth-child(2) .card-btn {
  filter: brightness(0.97) saturate(0.98);
  box-shadow:
    0 0 8px rgba(255, 200, 120, 0.35),
    0 0 18px rgba(255, 160, 60, 0.22);
}

.cards .card:nth-child(2) .card-btn:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.1) saturate(1.06);
  box-shadow:
    0 0 14px rgba(255, 215, 140, 0.55),
    0 0 30px rgba(255, 170, 60, 0.38),
    0 10px 22px rgba(0, 0, 0, 0.32);
}
