/* ========== 幻影体育APP下载页 · page-products ========== */
.page-products{
  --products-glow-orange: 0 0 28px rgba(255,107,53,.16);
  --products-glow-green: 0 0 22px rgba(57,255,20,.14);
  --products-border-soft: rgba(242,240,232,.09);
  --products-border-safe: rgba(57,255,20,.28);
  --products-text-mute: rgba(242,240,232,.7);
  --products-gradient-main: linear-gradient(160deg, var(--c-deep) 0%, var(--c-deeper) 100%);
  overflow-x: hidden;
}

.page-products img{
  max-width: 100%;
  height: auto;
}

/* ---------- 01 首屏 · 下载幻影体育APP ---------- */
.page-products__hero{
  position: relative;
  padding: 104px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 82% 8%, rgba(255,107,53,.12), transparent 62%),
    radial-gradient(ellipse 45% 38% at 8% 82%, rgba(57,255,20,.05), transparent 58%),
    var(--products-gradient-main);
}

.page-products__hero::before{
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  width: 62%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    -56deg,
    transparent 0,
    transparent 22px,
    rgba(242,240,232,.028) 22px,
    rgba(242,240,232,.028) 23px
  );
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.page-products__hero-strip{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,107,53,0), rgba(255,107,53,.16) 40%, rgba(57,255,20,.05) 100%);
  clip-path: polygon(0 38%, 24% 22%, 100% 0, 100% 100%, 0 100%);
}

.page-products__hero .breadcrumb{
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.page-products__hero .breadcrumb a{
  color: rgba(242,240,232,.55);
  text-decoration: none;
  transition: color .2s ease;
}

.page-products__hero .breadcrumb a:hover{
  color: var(--c-neon);
}

.page-products__hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.page-products__hero-copy .section-chapter{
  margin-bottom: 18px;
}

.page-products__hero-copy h1{
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.page-products__hero-lead{
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--products-text-mute);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
}

.page-products__hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.page-products__hero-actions .btn-primary:active{
  transform: translateY(2px) scale(.98);
  animation: productsBtnPress .18s ease-out;
}

@keyframes productsBtnPress{
  0%{ box-shadow: 0 0 0 8px rgba(255,107,53,.28), 0 8px 24px rgba(2,4,12,.4); }
  100%{ box-shadow: 0 0 0 0 rgba(255,107,53,0), 0 8px 24px rgba(2,4,12,.4); }
}

.page-products__hero-meta{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.page-products__hero-meta li{
  position: relative;
  padding-left: 12px;
  color: rgba(242,240,232,.6);
  font-size: 13px;
  letter-spacing: .04em;
}

.page-products__hero-meta li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 10px rgba(57,255,20,.7);
}

.page-products__hero-visual{
  display: flex;
  justify-content: center;
}

.page-products__phone-shell{
  position: relative;
  width: min(280px, 76vw);
  margin-bottom: 36px;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(145deg, #232536, #0B0F22);
  border: 1px solid rgba(242,240,232,.12);
  box-shadow:
    0 30px 60px rgba(2,4,12,.5),
    0 0 0 1px rgba(57,255,20,.05),
    0 0 42px rgba(255,107,53,.06);
}

.page-products__phone-screen{
  position: relative;
  aspect-ratio: 1 / 2;
  border-radius: 26px;
  overflow: hidden;
  background: var(--c-deeper);
}

.page-products__phone-screen::before{
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  border-radius: 12px;
  background: rgba(11,16,38,.96);
  z-index: 2;
}

.page-products__phone-screen .page-products__phone-shot{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products__phone-status{
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(11,16,38,.86);
  border: 1px solid var(--products-border-safe);
  color: rgba(242,240,232,.86);
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.page-products__phone-status-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 12px rgba(57,255,20,.85);
  animation: productsDot 1.6s ease-in-out infinite;
}

@keyframes productsDot{
  0%,100%{ opacity: 1; }
  50%{ opacity: .45; }
}

/* ---------- 通用章节标题调整 ---------- */
.page-products .section-head{
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 40px;
}

.page-products .section-head h2{
  margin: 6px 0 0;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.25;
}

.page-products .section-head p{
  margin: 6px 0 0;
  max-width: 640px;
  color: var(--products-text-mute);
  line-height: 1.75;
}

.page-products .section-index{
  font-family: var(--font-mono);
  color: var(--c-orange);
}

.page-products .section-tag{
  color: var(--c-teal);
  letter-spacing: .12em;
}

/* ---------- 02 正式版界面亮点 ---------- */
.page-products__features{
  background:
    radial-gradient(ellipse 42% 30% at 92% 12%, rgba(57,255,20,.045), transparent 62%),
    linear-gradient(180deg, var(--c-deeper) 0%, var(--c-deep) 60%, var(--c-deeper) 100%);
}

.page-products__overview{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.page-products__overview-item{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products__overview-num{
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--c-offwhite);
}

.page-products__overview-label{
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(242,240,232,.62);
}

.page-products__feature-list{
  display: grid;
  gap: 64px;
}

.page-products__feature{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-products__feature-media{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-gray);
  box-shadow: var(--shadow-glass);
  transition: transform .32s ease, box-shadow .32s ease;
}

.page-products__feature-media:hover{
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(57,255,20,.16),
    0 16px 44px rgba(2,4,12,.42);
}

.page-products__feature-media img{
  display: block;
  width: 100%;
  height: auto;
}

.page-products__feature-index{
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--c-teal);
  transition: color .25s ease;
}

.page-products__feature:hover .page-products__feature-index{
  color: var(--c-neon);
}

.page-products__feature h3{
  margin: 0 0 16px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
}

.page-products__feature-copy > p{
  margin: 0 0 20px;
  color: var(--products-text-mute);
  line-height: 1.8;
}

.page-products__feature-list-group{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-products__feature-list-group li{
  position: relative;
  padding-left: 24px;
  color: rgba(242,240,232,.68);
  font-size: 15px;
  line-height: 1.65;
}

.page-products__feature-list-group li::before{
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--c-neon);
  box-shadow: 0 0 10px rgba(57,255,20,.55);
}

.page-products__features-note{
  margin: 56px 0 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--products-border-soft);
  background: rgba(42,42,53,.4);
  color: rgba(242,240,232,.7);
  font-size: 15px;
  line-height: 1.75;
}

.page-products__features-note a{
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(57,255,20,.35);
  transition: color .2s, border-color .2s;
}

.page-products__features-note a:hover{
  color: var(--c-offwhite);
  border-color: var(--c-neon);
}

/* ---------- 03 下载区 ---------- */
.page-products__download{
  position: relative;
}

.page-products__download-card{
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,107,53,.09), transparent 46%),
    rgba(42,42,53,.72);
  border: 1px solid rgba(255,107,53,.22);
  box-shadow: var(--shadow-glass), 0 0 60px rgba(255,107,53,.06);
}

.page-products__download-qr{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(242,240,232,.98);
  box-shadow: 0 12px 32px rgba(2,4,12,.35);
}

.page-products__download-qr-image{
  display: block;
  width: 100%;
  max-width: 212px;
  height: auto;
  border-radius: var(--radius-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.page-products__download-qr-image:hover{
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(57,255,20,.4);
}

.page-products__download-qr-tip{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-deeper);
  text-transform: uppercase;
}

.page-products__download-copy .section-chapter{
  margin-bottom: 16px;
}

.page-products__download-copy h2{
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
}

.page-products__download-copy > p:not(.page-products__download-note){
  margin: 0 0 24px;
  color: var(--products-text-mute);
  line-height: 1.8;
}

.page-products__download-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.page-products__download-actions .btn-primary{
  animation: productsPulse 2.6s ease-in-out infinite;
}

@keyframes productsPulse{
  0%,100%{
    box-shadow: 0 0 0 0 rgba(255,107,53,.32), 0 8px 24px rgba(2,4,12,.36);
  }
  50%{
    box-shadow: 0 0 0 10px rgba(255,107,53,0), 0 8px 24px rgba(2,4,12,.36);
  }
}

.page-products__download-note{
  margin: 0;
  color: rgba(242,240,232,.55);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- 04 当前版本信息 ---------- */
.page-products__version{
  background: linear-gradient(180deg, transparent, rgba(5,8,26,.72) 30%, rgba(11,16,38,.5) 100%);
}

.page-products__version-panel{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.page-products__version-number{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,107,53,.08), transparent 52%),
    rgba(42,42,53,.6);
  border: 1px solid rgba(255,107,53,.24);
  box-shadow: var(--products-glow-orange);
  overflow: hidden;
}

.page-products__version-number::after{
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.16), transparent 68%);
  pointer-events: none;
}

.page-products__version-big{
  font-family: var(--font-mono);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--c-offwhite);
}

.page-products__version-tag{
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--c-terra);
  color: var(--c-offwhite);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.page-products__version-details h3{
  margin: 0 0 14px;
  font-size: clamp(18px, 2.5vw, 24px);
}

.page-products__version-list{
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.page-products__version-list li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: rgba(242,240,232,.75);
  line-height: 1.7;
}

.page-products__version-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--c-orange);
  box-shadow: 0 0 10px rgba(255,107,53,.4);
}

.page-products__version-link{
  display: inline-block;
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(57,255,20,.4);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.page-products__version-link:hover{
  color: var(--c-offwhite);
  border-color: var(--c-neon);
}

/* ---------- 05 支持平台与设备 ---------- */
.page-products__platform-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.page-products__platform-card{
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(42,42,53,.54);
  border: 1px solid var(--products-border-soft);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.page-products__platform-card:hover{
  border-color: rgba(255,107,53,.45);
  transform: translateY(-3px);
  box-shadow: var(--products-glow-orange);
}

.page-products__platform-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 12px;
  border-radius: 16px;
  background: rgba(255,107,53,.12);
  border: 1px solid rgba(255,107,53,.3);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-orange);
  margin-bottom: 20px;
}

.page-products__platform-icon--android{
  background: rgba(57,255,20,.08);
  border-color: rgba(57,255,20,.28);
  color: var(--c-neon);
}

.page-products__platform-card h3{
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}

.page-products__platform-card ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-products__platform-card li{
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: rgba(242,240,232,.72);
  font-size: 15px;
  line-height: 1.65;
}

.page-products__platform-card li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-moss);
}

.page-products__platform-note{
  margin: 40px 0 0;
  color: rgba(242,240,232,.62);
  font-size: 15px;
  text-align: center;
}

.page-products__platform-note a{
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(57,255,20,.35);
  transition: color .2s, border-color .2s;
}

.page-products__platform-note a:hover{
  color: var(--c-offwhite);
  border-color: var(--c-neon);
}

/* ---------- 06 更新日志摘要 ---------- */
.page-products__changelog-list{
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.page-products__changelog-item{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(42,42,53,.42);
  border: 1px solid var(--products-border-soft);
  transition: border-color .25s ease, background .25s ease;
}

.page-products__changelog-item:hover{
  border-color: rgba(57,255,20,.28);
  background: rgba(42,42,53,.58);
}

.page-products__changelog-version{
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-orange);
}

.page-products__changelog-badge{
  display: inline-block;
  padding: 3px 9px;
  margin-right: 8px;
  border-radius: 100px;
  background: var(--c-neon);
  color: var(--c-deep);
  font-size: 11px;
  font-weight: 700;
  vertical-align: 3px;
}

.page-products__changelog-body h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.page-products__changelog-body p{
  margin: 0;
  color: rgba(242,240,232,.68);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- 响应式：平板 ---------- */
@media (min-width: 768px){
  .page-products__overview{
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products__platform-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products__changelog-item{
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    gap: 32px;
  }
}

/* ---------- 响应式：桌面 ---------- */
@media (min-width: 960px){
  .page-products__hero{
    padding: 140px 0 96px;
  }

  .page-products__hero-grid{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
  }

  .page-products__feature{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
  }

  .page-products__feature:nth-child(even) .page-products__feature-media{
    order: 2;
  }

  .page-products__feature--wide{
    display: block;
  }

  .page-products__feature--wide .page-products__feature-media{
    width: 100%;
  }

  .page-products__feature--wide .page-products__feature-copy{
    max-width: 680px;
    margin-top: 24px;
  }

  .page-products__download-card{
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }

  .page-products__version-panel{
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1100px){
  .page-products__feature-list{
    gap: 88px;
  }
}
