.page-home {
  --home-gold-glow: rgba(245,176,65,0.25);
  --home-accent-red: #8B0000;
  --home-timeline-dot-size: 28px;
  --home-timeline-line-color: #3E6B4E;
  --home-card-transition: 0.35s ease-in-out;
  --home-mobile-padding: 1rem;
  --home-desktop-padding: 2rem;
}

.page-home .container {
  padding: 0 var(--home-mobile-padding);
  max-width: 1200px;
  margin: 0 auto;
}

.page-home .section-header {
  margin: 2.5rem 0 1.5rem 0;
  position: relative;
}

.page-home .section-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-accent);
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 2px;
  opacity: 0.8;
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
  line-height: 1.1;
  border-left: 4px solid var(--primary-accent);
  padding-left: 0.75rem;
}

.page-home .section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0 0;
  padding-left: 0.75rem;
  border-left: 4px solid var(--primary-accent);
}

.page-home .home-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--divider);
}

.page-home .home-section:last-of-type {
  border-bottom: none;
}

/* 时间轴 */
.page-home .section-timeline {
  padding-top: 1rem;
}

.page-home .timeline-banner {
  position: relative;
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1200 / 600;
  max-height: 400px;
}

.page-home .timeline-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .timeline-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,47,31,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  pointer-events: none;
}

.page-home .timeline-banner-year {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--primary-accent);
  line-height: 1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.page-home .timeline-banner-tag {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--secondary-accent);
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 时间轴容器 */
.page-home .timeline-container {
  position: relative;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-home .timeline-line {
  position: absolute;
  left: 13px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--home-timeline-line-color);
  z-index: 1;
}

.page-home .timeline-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
}

.page-home .timeline-dot {
  flex-shrink: 0;
  width: var(--home-timeline-dot-size);
  height: var(--home-timeline-dot-size);
  border-radius: 50%;
  background: var(--primary-bg);
  border: 3px solid var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  transition: box-shadow var(--home-card-transition);
}

.page-home .timeline-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-accent);
}

.page-home .timeline-item:hover .timeline-dot {
  box-shadow: 0 0 0 4px var(--home-gold-glow);
}

.page-home .timeline-card {
  flex: 1;
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--home-card-transition), box-shadow var(--home-card-transition);
}

.page-home .timeline-card:hover {
  border-color: var(--hover-highlight);
  box-shadow: 0 0 20px var(--home-gold-glow);
}

.page-home .timeline-month {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-accent);
  display: block;
  margin-bottom: 0.25rem;
}

.page-home .timeline-event {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0.25rem 0;
}

.page-home .timeline-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0.75rem 0;
  line-height: 1.5;
}

.page-home .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-home .tag-live {
  background: var(--home-accent-red);
  color: #fff;
}

.page-home .tag-upcoming {
  background: var(--primary-accent);
  color: #0A2F1F;
}

.page-home .tag-sport {
  background: var(--divider);
  color: var(--text-primary);
  border: 1px solid var(--primary-accent);
}

/* 联赛卡片网格 */
.page-home .league-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.page-home .league-card {
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--home-card-transition), box-shadow var(--home-card-transition), border-color var(--home-card-transition);
}

.page-home .league-card:hover {
  transform: translateY(-6px);
  border-color: var(--hover-highlight);
  box-shadow: var(--shadow-card), 0 0 20px var(--home-gold-glow);
}

.page-home .league-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.page-home .league-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--home-card-transition);
}

.page-home .league-card:hover .league-card-media img {
  transform: scale(1.05);
}

.page-home .league-card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.page-home .league-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.page-home .league-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.page-home .league-card-focus {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 0.75rem 0;
}

.page-home .league-card-teams {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-home .team-marker {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(10,47,31,0.7);
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--divider);
}

.page-home .league-cta-wrapper,
.page-home .updates-cta-wrapper {
  text-align: center;
  margin-top: 2rem;
}

/* 问题反馈专区 */
.page-home .feedback-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.page-home .feedback-side {
  display: none;
}

.page-home .feedback-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  width: 100%;
}

.page-home .feedback-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color var(--home-card-transition), box-shadow var(--home-card-transition);
}

.page-home .feedback-item:hover {
  border-color: var(--hover-highlight);
  box-shadow: 0 0 16px var(--home-gold-glow);
}

.page-home .feedback-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .feedback-item-content {
  flex: 1;
}

.page-home .feedback-item-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.page-home .feedback-item-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

/* 品牌动态摘要 */
.page-home .updates-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.page-home .update-card {
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--home-card-transition), box-shadow var(--home-card-transition);
}

.page-home .update-card:hover {
  border-color: var(--hover-highlight);
  box-shadow: 0 0 18px var(--home-gold-glow);
}

.page-home .update-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.page-home .update-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--home-card-transition);
}

.page-home .update-card:hover .update-card-img img {
  transform: scale(1.04);
}

.page-home .update-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.page-home .update-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.page-home .update-card-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}

/* 底部行动号召 */
.page-home .section-cta {
  background: linear-gradient(135deg, rgba(10,47,31,0.9), rgba(26,60,42,0.85)), var(--primary-accent);
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  text-align: center;
  border: 1px solid var(--primary-accent);
}

.page-home .cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.page-home .cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
}

.page-home .cta-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.page-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* 按钮 */
.page-home .btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--home-card-transition), box-shadow var(--home-card-transition), transform var(--home-card-transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.page-home .btn-primary {
  background: linear-gradient(135deg, #F5B041, #E67E22);
  color: #0A2F1F;
  border-color: var(--primary-accent);
}

.page-home .btn-primary:hover,
.page-home .btn-primary:focus-visible {
  box-shadow: 0 0 12px var(--home-gold-glow);
  transform: translateY(-2px);
}

.page-home .btn-secondary {
  background: transparent;
  color: var(--primary-accent);
  border: 2px solid var(--primary-accent);
}

.page-home .btn-secondary:hover,
.page-home .btn-secondary:focus-visible {
  background: var(--primary-accent);
  color: #0A2F1F;
  box-shadow: 0 0 12px var(--home-gold-glow);
  transform: translateY(-2px);
}

.page-home .btn-sm {
  font-size: 0.8125rem;
  padding: 0.35rem 1rem;
}

.page-home .btn-lg {
  font-size: 1.1rem;
  padding: 0.65rem 1.75rem;
}

.page-home .btn:focus-visible {
  outline: 2px solid var(--hover-highlight);
  outline-offset: 3px;
}

/* 响应式 */
@media (min-width: 640px) {
  .page-home .container {
    padding: 0 var(--home-desktop-padding);
  }

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

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

  .page-home .feedback-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .page-home .feedback-side {
    display: block;
    flex-shrink: 0;
  }

  .page-home .feedback-side img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius-md);
    opacity: 0.7;
  }
}

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

  .page-home .updates-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .timeline-container {
    padding-left: 3rem;
  }

  .page-home .timeline-dot {
    width: calc(var(--home-timeline-dot-size) + 6px);
    height: calc(var(--home-timeline-dot-size) + 6px);
  }

  .page-home .timeline-dot-inner {
    width: 14px;
    height: 14px;
  }
}

/* 动效减少 */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
