/* page-home 专属样式 */
.page-home {
  --hero-bg-overlay: linear-gradient(135deg, var(--deep-sea-blue) 0%, #0D1B2A 60%, #1A0A2E 100%);
  --section-spacing: 4rem;
  --card-transition: 0.5s ease;
  --search-glow: 0 0 12px rgba(255, 87, 34, 0.6), 0 0 24px rgba(212, 175, 55, 0.3);
}

/* 首屏 */
.page-home .section-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem 1rem;
  background: var(--hero-bg-overlay);
}

.page-home .hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}

.page-home .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-home .page-context {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-highlight);
  text-transform: uppercase;
  border: 1px solid var(--gold-highlight);
  padding: 0.25rem 1rem;
  margin-bottom: 1.5rem;
}

.page-home .hero-title {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-home .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-title {
    font-size: 5.5rem;
  }
}

.page-home .hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.page-home .section {
  padding: var(--section-spacing) 0;
}

.page-home .section-heading {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.page-home .section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold-highlight);
  margin-top: 0.5rem;
}

.page-home .section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* 伤停check升级 */
.page-home .upgrade-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .page-home .upgrade-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.page-home .upgrade-text .step-list {
  margin: 1.5rem 0;
}

.page-home .upgrade-chart {
  position: relative;
  perspective: 1000px;
  cursor: default;
}

.page-home .upgrade-chart img {
  width: 100%;
  height: auto;
  display: block;
  backface-visibility: hidden;
  transition: transform var(--card-transition);
}

.page-home .card-flip-back {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--deep-sea-blue);
  backface-visibility: hidden;
  transform: rotateY(180deg);
  transition: transform var(--card-transition);
  border-radius: var(--border-radius);
}

.page-home .upgrade-chart[data-flip]:hover img {
  transform: rotateY(-180deg);
}

.page-home .upgrade-chart[data-flip]:hover .card-flip-back {
  transform: rotateY(0deg);
}

/* 速度对比区 */
.page-home .section-speed {
  background: var(--dark-bg);
}

.page-home .speed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .page-home .speed-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.page-home .speed-figure {
  padding: 1.5rem;
}

.page-home .speed-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.page-home .speed-bar {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 4px;
  text-align: right;
  color: #fff;
}

.page-home .old-bar {
  background: rgba(255,255,255,0.2);
  max-width: 100%;
}

.page-home .new-bar {
  background: var(--vibrant-orange);
  max-width: 50%;
}

.page-home .speed-figure img {
  width: 100%;
  height: auto;
  margin-top: 1rem;
}

.page-home .speed-text .big-number {
  font-size: 4rem;
  font-weight: bold;
  color: var(--gold-highlight);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-home .speed-text .big-number span {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  color: var(--text-secondary);
}

/* 赛制日程订阅 */
.page-home .schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .page-home .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.page-home .schedule-card {
  background: var(--deep-sea-blue);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.page-home .schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.page-home .schedule-date {
  font-size: 0.9rem;
  color: var(--gold-highlight);
  margin-bottom: 0.5rem;
}

.page-home .schedule-match {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-home .subscribe-btn {
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-home .subscribe-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 10px var(--vibrant-orange);
}

.page-home .schedule-cta {
  text-align: center;
  margin-top: 2rem;
}

/* 站内检索 */
.page-home .section-search {
  background: var(--deep-sea-blue);
}

.page-home .search-box {
  max-width: 600px;
  margin: 0 auto;
}

.page-home .search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border: 2px solid var(--gold-highlight);
  border-radius: var(--border-radius);
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  outline: none;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.page-home .search-input:focus {
  box-shadow: var(--search-glow);
  border-color: var(--vibrant-orange);
}

.page-home .search-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.8;
}

.page-home .search-hint {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* 品牌展示区 */
.page-home .brand-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
}

.page-home .brand-display img {
  max-width: 200px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

.page-home .brand-tagline {
  font-size: 1.2rem;
  color: var(--gold-highlight);
  letter-spacing: 0.1em;
}

/* 响应式通用调整 */
@media (max-width: 767px) {
  .page-home .section {
    padding: 2.5rem 0;
  }
  .page-home .section-heading {
    font-size: 1.6rem;
  }
  .page-home .hero-title {
    font-size: 2.2rem;
  }
  .page-home .speed-text .big-number {
    font-size: 2.8rem;
  }
}
