.page-products {
  --page-purple-glow: rgba(155, 48, 255, 0.35);
  --page-blue-glow: rgba(0, 217, 255, 0.24);
  --page-gold-glow: rgba(255, 215, 0, 0.2);
  --page-card-radius: 14px;
  background: var(--cream);
  color: var(--text-dark);
  overflow: hidden;
}

/* ===== Hero 首屏 ===== */
.page-products .products-hero {
  position: relative;
  padding: 32px 0 60px;
  background: linear-gradient(135deg, var(--deep-space) 0%, #2a0e4d 55%, var(--neon-purple) 135%);
  color: var(--text-white);
  overflow: hidden;
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: 30px;
  background: radial-gradient(circle, var(--page-blue-glow) 0%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .products-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -60px;
  background: radial-gradient(circle, var(--page-purple-glow) 0%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .products-hero .container {
  position: relative;
  z-index: 1;
}

.page-products .breadcrumb {
  position: relative;
  z-index: 2;
  color: var(--text-white-70);
  font-size: 13px;
  margin-bottom: 40px;
}

.page-products .breadcrumb a {
  color: var(--electric-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-products .breadcrumb a:hover {
  color: var(--text-white);
}

.page-products .breadcrumb .sep {
  margin: 0 6px;
  color: var(--text-white-50);
}

.page-products .breadcrumb .current {
  color: var(--text-white-70);
}

.page-products .hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-products .hero-copy {
  max-width: 600px;
}

.page-products .hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--electric-blue);
  padding: 6px 14px;
  border: 1px solid rgba(0, 217, 255, 0.35);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  margin-bottom: 16px;
}

.page-products .hero-copy h1 {
  font-size: clamp(28px, 5.5vw, 50px);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(155, 48, 255, 0.35);
}

.page-products .hero-copy h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--neon-purple), var(--electric-blue));
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-products .hero-lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-white-70);
  margin: 0 0 28px;
}

.page-products .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.page-products .hero-cta .btn-outline {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
}

.page-products .hero-cta .btn-outline:hover {
  background: var(--electric-blue);
  color: var(--ink);
}

.page-products .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-products .stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .stat-num {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--electric-blue);
  font-family: var(--font-heading);
}

.page-products .stat-label {
  font-size: 13px;
  color: var(--text-white-50);
}

.page-products .hero-visual {
  position: relative;
}

.page-products .hero-visual-inner {
  display: block;
  border-radius: var(--page-card-radius);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  border: 1px solid var(--border-purple);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.page-products .hero-visual-inner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .float-chip {
  position: absolute;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  animation: page-products-float 4s ease-in-out infinite;
}

.page-products .chip-cyan {
  top: 16%;
  left: -8px;
  background: var(--electric-blue);
  color: var(--ink);
}

.page-products .chip-gold {
  bottom: 14%;
  right: -4px;
  background: var(--gold);
  color: var(--ink);
  animation-delay: 1.6s;
}

@keyframes page-products-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== 产品概览 ===== */
.page-products .products-overview {
  padding: 70px 0 40px;
}

.page-products .overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}

.page-products .overview-card {
  position: relative;
  padding: 30px 24px 28px;
  border-radius: var(--page-card-radius);
  background: var(--text-white);
  border: 1px solid var(--border-purple);
  transition: transform var(--speed-mid), box-shadow var(--speed-mid);
  isolation: isolate;
  overflow: hidden;
}

.page-products .overview-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-purple), transparent);
  z-index: 0;
}

.page-products .card-blue::before {
  background: linear-gradient(90deg, var(--electric-blue), transparent);
}

.page-products .card-gold::before {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.page-products .overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px var(--page-purple-glow);
}

.page-products .card-blue:hover {
  box-shadow: 0 18px 44px var(--page-blue-glow);
}

.page-products .card-gold:hover {
  box-shadow: 0 18px 44px var(--page-gold-glow);
}

.page-products .card-serial {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 52px;
  font-weight: 800;
  color: rgba(155, 48, 255, 0.08);
  line-height: 1;
  z-index: 0;
}

.page-products .card-blue .card-serial {
  color: rgba(0, 217, 255, 0.12);
}

.page-products .card-gold .card-serial {
  color: rgba(255, 215, 0, 0.14);
}

.page-products .overview-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--neon-purple), var(--purple-dark));
  color: var(--text-white);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-products .card-blue .overview-icon {
  background: linear-gradient(135deg, #0092c4, #00547a);
}

.page-products .card-gold .overview-icon {
  background: linear-gradient(135deg, #d4a800, #8a6a00);
}

.page-products .overview-card h3 {
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.page-products .overview-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark-65);
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.page-products .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.page-products .feature-list li {
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 3px;
  color: var(--text-dark);
  border: 1px solid var(--border-purple);
  background: rgba(155, 48, 255, 0.05);
}

.page-products .card-blue .feature-list li {
  border-color: var(--border-blue);
  background: rgba(0, 217, 255, 0.05);
}

.page-products .card-gold .feature-list li {
  border-color: rgba(255, 215, 0, 0.32);
  background: rgba(255, 215, 0, 0.06);
}

.page-products .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-purple);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}

.page-products .card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.page-products .card-link:hover {
  color: var(--purple-dark);
}

.page-products .card-link:hover::after {
  transform: translateX(4px);
}

.page-products .card-blue .card-link {
  color: #00809f;
}

.page-products .card-blue .card-link:hover {
  color: #005476;
}

.page-products .card-gold .card-link {
  color: #9a7900;
}

.page-products .card-gold .card-link:hover {
  color: #6e5700;
}

/* ===== 玩法中心 ===== */
.page-products .play-center {
  position: relative;
  padding: 70px 0;
  background: linear-gradient(145deg, var(--ink) 0%, var(--deep-space) 60%, #2a0e4d 100%);
  color: var(--text-white);
  overflow: hidden;
}

.page-products .play-center::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -100px;
  bottom: -120px;
  background: radial-gradient(circle, var(--page-purple-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .play-center .container {
  position: relative;
  z-index: 1;
}

.page-products .play-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-products .play-center .section-kicker,
.page-products .download-guide .section-kicker {
  background: rgba(155, 48, 255, 0.18);
  color: var(--text-white);
  border-color: var(--border-purple);
}

.page-products .play-center .section-title,
.page-products .download-guide .section-title {
  color: var(--text-white);
  margin-top: 10px;
}

.page-products .play-copy > p {
  color: var(--text-white-70);
  line-height: 1.8;
  font-size: 15px;
  margin: 14px 0 28px;
}

.page-products .play-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .category-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-purple);
  transition: background var(--speed-fast), transform var(--speed-fast);
}

.page-products .category-item:hover {
  background: rgba(155, 48, 255, 0.12);
  transform: translateX(6px);
}

.page-products .category-index {
  font-size: 20px;
  font-weight: 800;
  color: var(--neon-purple);
  min-width: 34px;
  line-height: 1.2;
}

.page-products .category-info h3 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--text-white);
  font-weight: 700;
}

.page-products .category-info p {
  font-size: 13px;
  color: var(--text-white-50);
  margin: 0;
  line-height: 1.6;
}

.page-products .play-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--page-card-radius);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  border: 1px solid var(--border-purple);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.35);
}

/* ===== 费用透明 ===== */
.page-products .fee-info {
  padding: 70px 0;
}

.page-products .fee-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-products .fee-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--page-card-radius);
  object-fit: cover;
  box-shadow: 0 16px 44px var(--page-blue-glow);
  border: 1px solid var(--border-blue);
}

.page-products .fee-copy .section-title {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  margin: 10px 0 14px;
  position: relative;
}

.page-products .fee-copy .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-products .fee-copy > p {
  margin: 18px 0 22px;
  color: var(--text-dark-65);
  line-height: 1.8;
  font-size: 15px;
}

.page-products .fee-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .fee-list li {
  font-size: 14px;
  color: var(--text-dark);
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
}

.page-products .fee-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--neon-green), rgba(0, 255, 136, 0.4));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-products .fee-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-products .fee-badge .tag-green {
  color: #0a4d2e;
}

.page-products .fee-badge-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== 下载与安装 ===== */
.page-products .download-guide {
  position: relative;
  padding: 70px 0;
  background: linear-gradient(145deg, var(--deep-space) 0%, #1f0d3a 50%, var(--ink) 100%);
  color: var(--text-white);
  overflow: hidden;
}

.page-products .download-guide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric-blue), var(--neon-purple), transparent);
}

.page-products .download-guide .section-header {
  margin-bottom: 10px;
}

.page-products .device-switcher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.page-products .device-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--page-card-radius);
  padding: 30px 24px;
  border: 1px solid var(--border-purple);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform var(--speed-mid), box-shadow var(--speed-mid);
}

.page-products .device-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.page-products .device-svg {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--electric-blue);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-products .device-android .device-svg {
  color: var(--neon-green);
}

.page-products .device-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 16px 0 10px;
  color: var(--text-white);
}

.page-products .device-card > p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-white-70);
  margin: 0 0 20px;
}

.page-products .device-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .device-features li {
  font-size: 14px;
  color: var(--text-white);
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}

.page-products .device-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--electric-blue);
  border-radius: 50%;
}

.page-products .device-android .device-features li::before {
  background: var(--neon-green);
}

.page-products .device-photo {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.2);
}

.page-products .device-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .download-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--neon-purple), var(--purple-dark));
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: opacity var(--speed-fast), transform var(--speed-fast);
}

.page-products .download-action:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-products .device-ios .download-action {
  background: linear-gradient(135deg, #24243e, #12122a);
  border: 1px solid var(--border-blue);
}

.page-products .device-android .download-action {
  background: linear-gradient(135deg, #0d7a41, #05a55a);
}

.page-products .download-arrow {
  font-size: 16px;
  line-height: 1;
}

/* ===== 设备适配与更新 ===== */
.page-products .update-info {
  padding: 70px 0;
}

.page-products .update-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
}

.page-products .update-item {
  position: relative;
  background: var(--text-white);
  border-radius: 12px;
  padding: 26px 24px 26px 28px;
  border: 1px solid rgba(155, 48, 255, 0.16);
  transition: border-color var(--speed-fast), box-shadow var(--speed-fast), transform var(--speed-mid);
  overflow: hidden;
}

.page-products .update-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--neon-purple), var(--electric-blue));
}

.page-products .update-item:hover {
  border-color: var(--border-purple);
  box-shadow: 0 12px 32px var(--page-purple-glow);
  transform: translateY(-4px);
}

.page-products .update-item h3 {
  font-size: 17px;
  margin: 10px 0 8px;
  color: var(--text-dark);
  font-weight: 700;
}

.page-products .update-item p {
  font-size: 14px;
  color: var(--text-dark-65);
  line-height: 1.7;
  margin: 0;
}

.page-products .update-tag {
  display: inline-block;
}

/* ===== 延伸入口 ===== */
.page-products .next-links {
  padding: 64px 0 80px;
  border-top: 1px solid rgba(155, 48, 255, 0.1);
}

.page-products .next-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.page-products .next-section-head .section-title {
  margin: 0;
  font-size: 24px;
}

.page-products .next-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .next-card {
  display: block;
  text-decoration: none;
  padding: 28px 24px;
  background: var(--text-white);
  border-radius: 12px;
  border: 1px solid var(--border-purple);
  position: relative;
  transition: transform var(--speed-mid), box-shadow var(--speed-mid);
  overflow: hidden;
}

.page-products .next-card::after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--neon-purple);
  opacity: 0;
  transition: opacity var(--speed-fast), right var(--speed-fast);
}

.page-products .next-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(155, 48, 255, 0.12);
}

.page-products .next-card:hover::after {
  opacity: 1;
  right: 16px;
}

.page-products .next-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-purple);
  letter-spacing: 0.06em;
}

.page-products .next-card h3 {
  font-size: 18px;
  margin: 8px 0 6px;
  color: var(--text-dark);
  font-weight: 700;
}

.page-products .next-card p {
  font-size: 14px;
  color: var(--text-dark-65);
  margin: 0;
  line-height: 1.6;
}

/* ===== 桌面端适配 ===== */
@media (min-width: 768px) {
  .page-products .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
  }

  .page-products .overview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-products .overview-card:nth-child(2) {
    transform: translateY(18px);
  }

  .page-products .overview-card:nth-child(2):hover {
    transform: translateY(12px);
  }

  .page-products .play-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .page-products .fee-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .page-products .device-switcher {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-products .update-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .page-products .update-item:nth-child(even) {
    transform: translateY(14px);
  }

  .page-products .update-item:nth-child(even):hover {
    transform: translateY(10px);
  }

  .page-products .next-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .float-chip,
  .page-products .overview-card,
  .page-products .device-card,
  .page-products .update-item,
  .page-products .next-card {
    animation: none !important;
    transition: none !important;
  }
}
