.page-home {
  --home-gold-soft: rgba(212, 168, 67, 0.18);
  --home-gold-line: rgba(212, 168, 67, 0.45);
  --home-electric-soft: rgba(27, 231, 255, 0.16);
  --home-title-size: clamp(2.4rem, 6vw, 4.8rem);
  --home-section-title: clamp(1.5rem, 3.2vw, 2.4rem);
  background: var(--x-warm);
}

.page-home .home-hero,
.page-home .home-announce,
.page-home .home-apple,
.page-home .home-refresh,
.page-home .home-download,
.page-home .home-feedback {
  padding: var(--x-space-6) 0;
}

@media (min-width: 860px) {
  .page-home .home-hero,
  .page-home .home-announce,
  .page-home .home-apple,
  .page-home .home-refresh,
  .page-home .home-download,
  .page-home .home-feedback {
    padding: var(--x-space-7) 0;
  }
}

.page-home .home-section-head {
  margin-bottom: var(--x-space-5);
}

.page-home .home-section-head .x-label {
  display: inline-block;
  margin-bottom: var(--x-space-2);
}

.page-home a:focus-visible,
.page-home .x-btn:focus-visible {
  outline: 2px solid var(--x-electric);
  outline-offset: 3px;
}

/* 首屏动态欢迎区 */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--x-space-7) + var(--x-header-h));
  background:
    radial-gradient(circle at 78% 18%, var(--home-electric-soft), transparent 42%),
    linear-gradient(120deg, var(--x-blue-deep), var(--x-blue) 55%, var(--x-teal));
  color: var(--x-white);
}

.page-home .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--x-space-5);
  align-items: center;
}

@media (min-width: 860px) {
  .page-home .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--x-space-6);
  }
}

.page-home .home-breadcrumb {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--x-space-5);
  color: rgba(255, 255, 255, 0.62);
}

.page-home .home-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .home-breadcrumb a:hover {
  color: var(--x-gold);
  border-color: var(--x-gold);
}

.page-home .home-breadcrumb-sep {
  margin: 0 0.5rem;
  color: var(--x-gold);
}

.page-home .hero-title {
  margin: 0 0 var(--x-space-4);
  font-size: var(--home-title-size);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.page-home .hero-title-accent {
  color: var(--x-gold);
  padding: 0 0.1em;
  background: linear-gradient(90deg, var(--home-gold-soft), transparent 70%);
  box-decoration-break: clone;
}

.page-home .hero-lead {
  max-width: 34rem;
  margin: 0 0 var(--x-space-5);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--x-space-3);
}

.page-home .home-hero .x-btn-ghost {
  color: var(--x-white);
}

.page-home .hero-visual {
  position: relative;
  max-width: 640px;
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--home-gold-line);
  border-radius: var(--x-radius-lg);
  box-shadow: var(--x-shadow-lg);
}

.page-home .hero-visual-tag {
  position: absolute;
  top: var(--x-space-3);
  left: var(--x-space-3);
  box-shadow: var(--x-shadow);
}

.page-home .hero-visual-caption {
  margin: var(--x-space-3) 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .hero-speedline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 7rem;
  opacity: 0.9;
  pointer-events: none;
}

/* 公告栏 */
.page-home .home-announce {
  background: var(--x-warm);
}

.page-home .announce-title {
  display: inline-block;
  margin: var(--x-space-2) 0 var(--x-space-2);
  padding: 0.14em 0.6em;
  background: linear-gradient(90deg, var(--x-gold), #e2b953);
  color: var(--x-ink);
  transform: skewX(-8deg);
  font-size: var(--home-section-title);
  line-height: 1.25;
  font-weight: 900;
}

.page-home .announce-desc,
.page-home .refresh-desc,
.page-home .feedback-desc {
  max-width: 48rem;
  margin: 0 0 var(--x-space-5);
  line-height: 1.8;
  color: rgba(10, 27, 42, 0.72);
}

.page-home .announce-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--x-space-4);
}

@media (min-width: 720px) {
  .page-home .announce-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--x-space-5);
  }
}

.page-home .announce-card {
  padding: var(--x-space-5);
  background:
    linear-gradient(var(--x-white), var(--x-white)) padding-box,
    linear-gradient(135deg, var(--x-gold), var(--x-electric), var(--x-red)) border-box;
  border: 1px solid transparent;
  border-radius: var(--x-radius-lg);
  box-shadow: var(--x-shadow-card);
  transition: transform 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .announce-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--x-shadow);
}

@keyframes pagehomePulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.page-home .announce-tag {
  display: inline-block;
  margin-bottom: var(--x-space-3);
  padding: 0.15em 0.6em;
  border: 1px solid var(--x-red);
  border-radius: var(--x-radius);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--x-red);
  animation: pagehomePulse 1.8s ease-in-out infinite;
}

.page-home .announce-card:hover .announce-tag {
  animation-play-state: paused;
}

.page-home .announce-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--x-blue);
}

.page-home .announce-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(10, 27, 42, 0.72);
}

/* 苹果端新版服务 */
.page-home .home-apple {
  background: linear-gradient(135deg, var(--x-blue), var(--x-teal));
  color: var(--x-white);
}

.page-home .apple-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--x-space-6);
  align-items: center;
}

@media (min-width: 860px) {
  .page-home .apple-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--x-space-7);
  }
}

.page-home .apple-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--x-electric);
  border-radius: var(--x-radius-lg);
  box-shadow: var(--x-shadow);
}

.page-home .apple-copy {
  max-width: 36rem;
}

.page-home .apple-title {
  margin: var(--x-space-2) 0 var(--x-space-3);
  font-size: var(--home-section-title);
  line-height: 1.2;
  font-weight: 900;
  color: var(--x-white);
}

.page-home .apple-desc {
  margin: 0 0 var(--x-space-4);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .apple-list {
  list-style: none;
  margin: 0 0 var(--x-space-5);
  padding: 0;
}

.page-home .apple-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.page-home .apple-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 0.75rem;
  height: 2px;
  background: var(--x-electric);
  transform: skewX(-30deg);
}

.page-home .home-apple .x-btn-ghost {
  color: var(--x-white);
  border-color: rgba(255, 255, 255, 0.72);
}

.page-home .home-apple .x-btn-ghost:hover {
  background: var(--x-gold);
  border-color: var(--x-gold);
  color: var(--x-ink);
}

/* 近三年主页改版回顾 */
.page-home .home-refresh {
  background: var(--x-warm);
}

.page-home .refresh-title,
.page-home .feedback-title {
  display: inline-block;
  margin: var(--x-space-2) 0 var(--x-space-2);
  font-size: var(--home-section-title);
  line-height: 1.2;
  font-weight: 900;
  color: var(--x-blue);
}

.page-home .refresh-title {
  transform: skewX(-8deg);
}

.page-home .refresh-backdrop {
  margin: 0 0 var(--x-space-5);
}

.page-home .refresh-backdrop img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 18rem;
  object-fit: cover;
  border-radius: var(--x-radius-lg);
  box-shadow: var(--x-shadow-card);
}

.page-home .timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--x-space-4);
  margin-top: var(--x-space-5);
}

@media (min-width: 720px) {
  .page-home .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--x-space-5);
  }
}

.page-home .timeline-item {
  position: relative;
  padding: var(--x-space-5) var(--x-space-5) var(--x-space-5) var(--x-space-6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), #f8f2e8);
  border-left: 4px solid var(--x-gold);
  border-radius: var(--x-radius);
  box-shadow: var(--x-shadow-card);
  transition: transform 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .timeline-item:hover,
.page-home .timeline-item:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--x-shadow);
}

.page-home .timeline-year {
  display: inline-block;
  margin-bottom: var(--x-space-2);
  font-family: var(--x-font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--x-red);
}

.page-home .timeline-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--x-blue);
}

.page-home .timeline-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(10, 27, 42, 0.72);
}

.page-home .timeline-extra {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: rgba(10, 27, 42, 0.6);
}

@media (hover: hover) {
  .page-home .timeline-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: max-height 350ms ease, opacity 200ms ease, transform 250ms ease;
  }

  .page-home .timeline-item:hover .timeline-extra,
  .page-home .timeline-item:focus-within .timeline-extra {
    max-height: 15rem;
    opacity: 1;
    transform: none;
  }
}

.page-home .link-more {
  display: inline-block;
  margin-top: var(--x-space-5);
  color: var(--x-blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--x-gold);
  transition: color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .link-more:hover {
  color: var(--x-red);
  border-color: var(--x-red);
}

/* 最新版资料下载 */
.page-home .home-download {
  background: linear-gradient(135deg, var(--x-blue-deep), var(--x-blue));
  color: var(--x-white);
}

.page-home .download-title {
  margin: var(--x-space-2) 0 var(--x-space-3);
  font-size: var(--home-section-title);
  line-height: 1.2;
  font-weight: 900;
  color: var(--x-white);
}

.page-home .download-desc {
  max-width: 46rem;
  margin: 0 0 var(--x-space-5);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--x-space-4);
  margin-bottom: var(--x-space-5);
}

@media (min-width: 720px) {
  .page-home .download-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--x-space-5);
  }
}

.page-home .download-card {
  position: relative;
  padding: var(--x-space-5);
  background: linear-gradient(180deg, var(--x-blue-light), rgba(10, 27, 42, 0.42));
  border: 1px solid var(--home-gold-line);
  border-radius: var(--x-radius-lg);
  overflow: hidden;
  transition: transform 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--x-shadow);
}

.page-home .download-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--x-gold);
}

.page-home .download-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .download-visual {
  display: flex;
  flex-wrap: wrap;
  gap: var(--x-space-5);
  align-items: center;
  margin-top: var(--x-space-5);
}

.page-home .download-visual img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  border: 1px solid var(--home-gold-line);
  border-radius: var(--x-radius-lg);
  box-shadow: var(--x-shadow);
}

.page-home .download-note {
  flex: 1 1 16rem;
  max-width: 34rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .download-note p {
  margin: 0 0 var(--x-space-4);
}

.page-home .home-download .x-btn-gold {
  position: relative;
  overflow: hidden;
}

@keyframes pagehomeRipple {
  from { transform: scale(0); opacity: 0.6; }
  to { transform: scale(14); opacity: 0; }
}

.page-home .home-download .x-btn-gold::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-left: -1rem;
  margin-top: -1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  pointer-events: none;
}

.page-home .home-download .x-btn-gold:active::after {
  animation: pagehomeRipple 500ms ease-out;
}

/* 问题反馈与收藏引导 */
.page-home .home-feedback {
  background: var(--x-warm);
}

.page-home .feedback-desc {
  margin-bottom: var(--x-space-5);
}

.page-home .feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--x-space-5);
}

@media (min-width: 800px) {
  .page-home .feedback-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-home .feedback-card {
  padding: var(--x-space-5);
  background: var(--x-white);
  border-top: 4px solid var(--x-gold);
  border-radius: var(--x-radius-lg);
  box-shadow: var(--x-shadow-card);
  transition: transform 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .feedback-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--x-shadow);
}

.page-home .feedback-card h3 {
  margin: 0 0 var(--x-space-3);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--x-blue);
}

.page-home .feedback-card p {
  margin: 0 0 var(--x-space-3);
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(10, 27, 42, 0.72);
}

.page-home .feedback-contact {
  list-style: none;
  margin: 0 0 var(--x-space-3);
  padding: 0 0 var(--x-space-3);
  border-bottom: 1px solid rgba(10, 27, 42, 0.1);
}

.page-home .feedback-contact li {
  display: flex;
  gap: 0.75rem;
  padding: 0.4rem 0;
  line-height: 1.6;
  color: rgba(10, 27, 42, 0.82);
}

.page-home .feedback-contact span {
  min-width: 3.6rem;
  font-weight: 700;
  color: var(--x-teal);
}

.page-home .favorite-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--x-space-3);
  margin: 0 0 var(--x-space-3);
  padding: 0;
}

.page-home .favorite-links a {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--x-gold);
  border-radius: var(--x-radius);
  text-decoration: none;
  font-weight: 700;
  color: var(--x-blue);
  transition: background 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .favorite-links a:hover {
  background: var(--x-gold);
  color: var(--x-white);
}

.page-home .link-ink {
  color: rgba(10, 27, 42, 0.85);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--x-gold);
  transition: color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home .link-ink:hover {
  color: var(--x-red);
  border-color: var(--x-red);
}
