/* ===== 首页专属样式 · 仅作用于 .page-home ===== */
.page-home {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(108, 92, 231, 0.18), transparent 55%),
    radial-gradient(ellipse at 10% 70%, rgba(255, 184, 77, 0.07), transparent 45%);
}

/* ===== Hero 分屏首屏 ===== */
.page-home .home-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(244, 244, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 244, 248, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 25%, rgba(108, 92, 231, 0.28), transparent 62%),
    radial-gradient(ellipse at 15% 85%, rgba(255, 184, 77, 0.1), transparent 55%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home .home-hero__content {
  max-width: 560px;
}

.page-home .home-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 7vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.page-home .home-hero__main {
  display: block;
  margin-bottom: 0.32em;
  font-size: 0.38em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--accent-purple-light);
}

.page-home .home-hero__lead {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.page-home .home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.page-home .home-hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-hero__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.page-home .home-hero__visual {
  position: relative;
  min-width: 0;
}

.page-home .home-hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.28), transparent 42%, rgba(11, 11, 18, 0.32));
  pointer-events: none;
  border-radius: inherit;
}

.page-home .home-hero__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-home .home-hero__badge {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  background: rgba(11, 11, 18, 0.8);
  border: 1px solid rgba(255, 184, 77, 0.35);
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .home-hero__badge-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 12px rgba(255, 184, 77, 0.7);
}

/* ===== 新手指南分类 ===== */
.page-home .home-guide {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-home .home-guide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .home-guide__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.page-home .home-guide__list {
  display: grid;
  gap: 0;
}

.page-home .home-guide__item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 12px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.page-home .home-guide__item:last-child {
  border-bottom: none;
}

.page-home .home-guide__item:hover {
  border-left-color: var(--accent-purple);
  background: rgba(108, 92, 231, 0.07);
  transform: translateX(4px);
}

.page-home .home-guide__index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .home-guide__body h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-home .home-guide__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.page-home .home-guide__count {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-orange);
  white-space: nowrap;
}

.page-home .home-guide__more {
  margin: 20px 12px 0;
  padding-left: 16px;
  border-left: 2px solid var(--border-subtle);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ===== MG游戏入口2026 专区 ===== */
.page-home .home-entry {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-home .home-entry__banner {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.page-home .home-entry__text {
  padding: 32px 24px;
}

.page-home .home-entry__text h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

.page-home .home-entry__text p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .home-entry__points {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .home-entry__points li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-home .home-entry__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-gradient);
  transform: rotate(45deg);
}

.page-home .home-entry__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ===== 最新游戏订阅 ===== */
.page-home .home-latest {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-home .home-latest__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.page-home .home-latest__list {
  display: grid;
  gap: 14px;
}

.page-home .home-latest__row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  transition: transform var(--transition-base), border-color var(--transition-fast), box-shadow var(--transition-base);
}

.page-home .home-latest__row:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 92, 231, 0.55);
  box-shadow: var(--shadow-md);
}

.page-home .home-latest__no {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.page-home .home-latest__info h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.page-home .home-latest__tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(108, 92, 231, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-purple-light);
}

.page-home .home-latest__version {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.page-home .home-latest__ver {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.page-home .home-latest__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-orange);
}

.page-home .home-latest__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.page-home .home-latest__media-note {
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-md);
  background: rgba(255, 184, 77, 0.05);
}

.page-home .home-latest__media-code {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
}

.page-home .home-latest__media-note p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-home .home-latest__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* ===== 客户端下载 ===== */
.page-home .home-download {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-home .home-download__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-download__card {
  padding: 28px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
}

.page-home .home-download__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 92, 231, 0.4);
}

.page-home .home-download__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 1px solid rgba(108, 92, 231, 0.35);
  border-radius: 14px;
  background: rgba(108, 92, 231, 0.14);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-purple-light);
}

.page-home .home-download__card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-home .home-download__card > p {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .home-download__steps {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .home-download__steps li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.page-home .home-download__steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.page-home .home-download__note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-dim);
}

.page-home .home-download__note a {
  color: var(--accent-purple-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== 服务保障 ===== */
.page-home .home-trust {
  padding-top: 48px;
  padding-bottom: 56px;
  background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.08) 50%, transparent);
}

.page-home .home-trust__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.page-home .home-trust__stat {
  padding: 24px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  text-align: center;
  transition: transform var(--transition-base), border-color var(--transition-fast);
}

.page-home .home-trust__stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 77, 0.4);
}

.page-home .home-trust__num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.page-home .home-trust__label {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.page-home .home-trust__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-trust__contact,
.page-home .home-trust__qualification {
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: rgba(23, 23, 32, 0.7);
}

.page-home .home-trust__contact h3,
.page-home .home-trust__qualification h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-home .home-trust__contact-list {
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-trust__contact-list div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  font-size: 0.875rem;
}

.page-home .home-trust__contact-list dt {
  color: var(--text-dim);
}

.page-home .home-trust__contact-list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-primary);
  overflow-wrap: break-word;
  word-break: break-word;
}

.page-home .home-trust__icp {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.page-home .home-trust__badge-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .home-trust__badge-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.page-home .home-trust__badge-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-gradient);
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.875rem;
}

.page-home .home-trust__links a {
  color: var(--accent-purple-light);
  text-decoration: none;
}

.page-home .home-trust__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .home-trust__statement {
  margin: 32px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(23, 23, 32, 0.5);
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: center;
  color: var(--text-dim);
}

/* ===== 响应式增强 ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 96px 0 64px;
  }

  .page-home .home-download__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home .home-trust__info {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 120px 0 80px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    min-height: 600px;
  }

  .page-home .home-hero__content {
    max-width: 520px;
  }

  .page-home .home-hero__badge {
    left: 24px;
    bottom: 24px;
    font-size: 0.8125rem;
  }

  .page-home .home-guide__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }

  .page-home .home-entry__banner {
    grid-template-columns: 1.1fr 1fr;
  }

  .page-home .home-entry__text {
    padding: 48px;
  }

  .page-home .home-entry__media img {
    height: 100%;
    min-height: 320px;
  }

  .page-home .home-latest__grid {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
  }

  .page-home .home-latest__row {
    padding: 20px;
  }

  .page-home .home-download__card {
    padding: 32px;
  }

  .page-home .home-trust__info {
    gap: 32px;
  }
}
