/* ===== 页面专属：宝威赛场 · 赛前中枢 ===== */
.page-home {
  --hero-min-height: 100vh;
  --countdown-glow: 0 0 30px rgba(255, 215, 0, 0.45), 0 0 60px rgba(255, 215, 0, 0.25), 0 0 90px rgba(255, 69, 0, 0.15);
  --card-skew-guide: 0.5deg;
  --card-skew-scorer: -1.2deg;
  --card-skew-feedback: 0.8deg;
  --card-border-glow: 0 0 12px rgba(255, 69, 0, 0.25), 0 0 24px rgba(255, 69, 0, 0.08);
  --ticker-bg: rgba(13, 13, 13, 0.85);
  display: flex;
  flex-direction: column;
}

/* ---- 首屏 Hero ---- */
.page-home .hero {
  position: relative;
  min-height: var(--hero-min-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #0D0D0D 0%, #0A1F44 45%, #1A1A2E 100%);
  padding: 2rem 1rem;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

.page-home .hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 69, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 69, 0, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 70%);
}

.page-home .hero__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 45% 15%, rgba(255, 69, 0, 0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(255, 215, 0, 0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 85% 25%, rgba(0, 255, 127, 0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15% 75%, rgba(255, 69, 0, 0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 55% 80%, rgba(255, 215, 0, 0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 85%, rgba(255, 69, 0, 0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 55%, rgba(0, 255, 127, 0.2) 0%, transparent 100%);
  animation: particle-drift 12s ease-in-out infinite alternate;
  opacity: 0.7;
}

@keyframes particle-drift {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(10px, -8px) scale(1.02); }
  50% { transform: translate(-6px, 12px) scale(0.98); }
  75% { transform: translate(14px, 6px) scale(1.03); }
  100% { transform: translate(-10px, -10px) scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__particles {
    animation: none;
  }
  .page-home .hero__countdown-number {
    animation: none;
  }
  .page-home .news-ticker__track {
    animation: none;
  }
  .page-home .card {
    transition: none;
  }
  .page-home .hero__scroll-hint-arrow {
    animation: none;
    opacity: 0.5;
  }
}

.page-home .hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: var(--container-max, 1200px);
  min-height: var(--hero-min-height);
  padding: 4rem 0;
}

.page-home .hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.page-home .hero__title {
  font-family: var(--font-heading, "Bebas Neue", Impact, sans-serif);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  letter-spacing: 0.06em;
  color: var(--color-primary, #FF4500);
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-home .hero__countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.page-home .hero__countdown:hover {
  background: rgba(255, 69, 0, 0.08);
}

.page-home .hero__countdown-label {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary, #B0B0C0);
}

.page-home .hero__countdown-number {
  font-family: var(--font-heading, "Bebas Neue", Impact, sans-serif);
  font-size: clamp(3.5rem, 14vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent, #FFD700);
  text-shadow: var(--countdown-glow);
  line-height: 1;
  transition: text-shadow 0.3s ease;
  animation: pulse-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.35), 0 0 40px rgba(255, 69, 0, 0.12); }
  100% { text-shadow: 0 0 40px rgba(255, 215, 0, 0.55), 0 0 80px rgba(255, 69, 0, 0.25); }
}

.page-home .hero__countdown-note {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  color: var(--color-text-secondary, #B0B0C0);
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.page-home .hero__status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 1.2rem;
}

.page-home .hero__status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
  color: var(--color-text, #FFFFFF);
  letter-spacing: 0.02em;
}

.page-home .hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.page-home .hero__status-dot--live {
  background: var(--color-success, #00FF7F);
  box-shadow: 0 0 8px rgba(0, 255, 127, 0.6);
  animation: dot-blink 2s ease-in-out infinite;
}

.page-home .hero__status-dot--sync {
  background: var(--color-accent, #FFD700);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-home .hero__trust {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  color: var(--color-text-secondary, #B0B0C0);
  opacity: 0.8;
  margin-top: 0.8rem;
  letter-spacing: 0.03em;
}

.page-home .hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary, #B0B0C0);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.page-home .hero__scroll-hint:hover {
  opacity: 1;
}

.page-home .hero__scroll-hint-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-primary, #FF4500);
  border-bottom: 2px solid var(--color-primary, #FF4500);
  transform: rotate(45deg);
  animation: scroll-arrow 2s ease-in-out infinite;
}

@keyframes scroll-arrow {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ---- 三大核心卡片 ---- */
.page-home .cards-section {
  padding: 4rem 1rem 4rem;
  background: linear-gradient(180deg, #0D0D0D 0%, #12122a 100%);
  position: relative;
}

.page-home .cards-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-primary, #FF4500), var(--color-accent, #FFD700), transparent);
  opacity: 0.6;
}

.page-home .section-title {
  font-family: var(--font-heading, "Bebas Neue", Impact, sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text, #FFFFFF);
  margin: 0 0 2.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--color-primary, #FF4500);
  display: inline-block;
  position: relative;
}

.page-home .section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40%;
  height: 3px;
  background: var(--color-accent, #FFD700);
}

.page-home .cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .card {
  background: var(--color-surface, #1C1C3A);
  border: 1px solid var(--color-border, rgba(255, 69, 0, 0.4));
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-home .card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.15), transparent 40%, transparent 60%, rgba(255, 215, 0, 0.08));
  z-index: 0;
  pointer-events: none;
}

.page-home .card > * {
  position: relative;
  z-index: 1;
}

.page-home .card:hover {
  border-color: var(--color-primary, #FF4500);
  box-shadow: var(--card-border-glow), 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.page-home .card--guide:hover {
  transform: translateY(-4px) rotate(var(--card-skew-guide));
}

.page-home .card--scorer:hover {
  transform: translateY(-4px) rotate(var(--card-skew-scorer));
}

.page-home .card--feedback:hover {
  transform: translateY(-4px) rotate(var(--card-skew-feedback));
}

.page-home .card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: rgba(255, 69, 0, 0.08);
  border: 1px solid rgba(255, 69, 0, 0.2);
  padding: 0.5rem;
}

.page-home .card__icon--left {
  align-self: flex-start;
}

.page-home .card__icon--top-left {
  align-self: flex-start;
}

.page-home .card__icon--top-right {
  align-self: flex-end;
}

.page-home .card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 60px;
  max-height: 60px;
  filter: drop-shadow(0 0 6px rgba(255, 69, 0, 0.2));
}

.page-home .card__body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.page-home .card__title {
  font-family: var(--font-heading, "Bebas Neue", Impact, sans-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary, #FF4500);
  margin: 0;
  line-height: 1.2;
}

.page-home .card__desc {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.6;
  color: var(--color-text-secondary, #B0B0C0);
  margin: 0;
  flex: 1;
}

.page-home .card .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-primary, #FF4500);
  color: #FFFFFF;
  border: none;
  padding: 0.65rem 1.6rem;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.25);
}

.page-home .card .btn:hover {
  background: #e63d00;
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.45);
  transform: translateY(-2px);
}

.page-home .card .btn--outline {
  background: transparent;
  border: 1px solid var(--color-primary, #FF4500);
  color: var(--color-primary, #FF4500);
  box-shadow: none;
}

.page-home .card .btn--outline:hover {
  background: rgba(255, 69, 0, 0.1);
  box-shadow: 0 0 16px rgba(255, 69, 0, 0.3);
  border-color: var(--color-primary, #FF4500);
}

/* ---- 最新赛报 ---- */
.page-home .news-section {
  padding: 3rem 1rem 4rem;
  background: linear-gradient(180deg, #12122a 0%, #0D0D0D 100%);
  position: relative;
}

.page-home .news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.3), transparent);
}

.page-home .news-ticker {
  background: var(--ticker-bg);
  border: 1px solid var(--color-border, rgba(255, 69, 0, 0.25));
  border-radius: 10px;
  padding: 0.75rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary, #FF4500) transparent;
  margin-bottom: 1.5rem;
  position: relative;
}

.page-home .news-ticker::-webkit-scrollbar {
  height: 4px;
}

.page-home .news-ticker::-webkit-scrollbar-track {
  background: transparent;
}

.page-home .news-ticker::-webkit-scrollbar-thumb {
  background: var(--color-primary, #FF4500);
  border-radius: 4px;
}

.page-home .news-ticker__track {
  display: flex;
  gap: 1.2rem;
  padding: 0.25rem 1.2rem;
  min-width: max-content;
}

.page-home .news-ticker__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.page-home .news-ticker__item:hover {
  background: rgba(255, 69, 0, 0.08);
  border-color: rgba(255, 69, 0, 0.25);
}

.page-home .news-ticker__time {
  font-family: var(--font-data, "Bebas Neue", monospace);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--color-accent, #FFD700);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 3.5rem;
}

.page-home .news-ticker__text {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 0.9rem;
  color: var(--color-text, #FFFFFF);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.page-home .tag--live {
  background: rgba(0, 255, 127, 0.12);
  color: var(--color-success, #00FF7F);
  border: 1px solid rgba(0, 255, 127, 0.25);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.page-home .news-section__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.page-home .news-section__note {
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: 0.75rem;
  color: var(--color-text-secondary, #B0B0C0);
  opacity: 0.6;
  letter-spacing: 0.03em;
}

.page-home .news-section .btn {
  background: var(--color-primary, #FF4500);
  color: #FFFFFF;
  border: none;
  padding: 0.7rem 2rem;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 12px rgba(255, 69, 0, 0.25);
}

.page-home .news-section .btn:hover {
  background: #e63d00;
  box-shadow: 0 0 24px rgba(255, 69, 0, 0.45);
  transform: translateY(-2px);
}

/* ---- data-reveal 滚动显现（渐进增强） ---- */
.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-home [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

.page-home [data-reveal-delay="100"] { transition-delay: 0.1s; }
.page-home [data-reveal-delay="200"] { transition-delay: 0.2s; }
.page-home [data-reveal-delay="300"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- 桌面端布局 >= 768px ---- */
@media (min-width: 768px) {
  .page-home .hero {
    padding: 3rem 2rem;
  }

  .page-home .hero__grid-overlay {
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 50%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 50%, transparent 75%);
  }

  .page-home .hero__status {
    gap: 2.5rem 3.5rem;
  }

  .page-home .cards-section {
    padding: 5rem 2rem 5rem;
  }

  .page-home .cards-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto;
    gap: 1.8rem;
    align-items: start;
  }

  .page-home .card--guide {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    padding: 2.2rem 1.8rem;
    transform: rotate(var(--card-skew-guide));
  }

  .page-home .card--guide:hover {
    transform: rotate(var(--card-skew-guide)) translateY(-4px);
  }

  .page-home .card--scorer {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    padding: 1.8rem 1.5rem;
    transform: rotate(var(--card-skew-scorer));
  }

  .page-home .card--scorer:hover {
    transform: rotate(var(--card-skew-scorer)) translateY(-4px);
  }

  .page-home .card--feedback {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    padding: 1.8rem 1.5rem;
    transform: rotate(var(--card-skew-feedback));
  }

  .page-home .card--feedback:hover {
    transform: rotate(var(--card-skew-feedback)) translateY(-4px);
  }

  .page-home .card__icon {
    width: 100px;
    height: 100px;
  }

  .page-home .card__icon-img {
    max-width: 70px;
    max-height: 70px;
  }

  .page-home .news-section {
    padding: 4rem 2rem 5rem;
  }

  .page-home .news-ticker__track {
    gap: 1.5rem;
    padding: 0.5rem 1.5rem;
  }

  .page-home .news-section__footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---- 桌面宽屏 >= 1024px ---- */
@media (min-width: 1024px) {
  .page-home .hero__inner {
    gap: 1.5rem;
  }

  .page-home .cards-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }

  .page-home .card--guide {
    padding: 2.5rem 2rem;
  }

  .page-home .card--scorer,
  .page-home .card--feedback {
    padding: 2rem 1.8rem;
  }

  .page-home .news-ticker {
    padding: 1rem 0;
  }

  .page-home .news-ticker__item {
    padding: 0.8rem 1.2rem;
  }
}
