/* ===== 品牌首页专属样式 ===== */
.page-home {
  --hero-title-size: clamp(2.8rem, 7vw, 4.5rem);
  --hero-subtitle-size: clamp(1.2rem, 3vw, 1.8rem);
  --emblem-size: clamp(4rem, 10vw, 7rem);
  --card-img-height: 180px;
  --particle-count: 12;
}

/* 首屏分屏布局 */
.page-home .hero-split {
  background: var(--background-dark, #0D0D0D);
  padding: 3rem 0 4rem;
  border-bottom: 4px solid var(--border-gold, #C9A96E);
  position: relative;
  overflow: hidden;
}

.page-home .hero-split-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.page-home .hero-left {
  text-align: center;
  order: 1;
  z-index: 2;
  position: relative;
}

.page-home .hero-badge {
  display: inline-block;
  font-family: var(--body-font, 'Noto Sans SC', sans-serif);
  font-size: var(--small-size, 0.875rem);
  letter-spacing: 0.15em;
  color: var(--primary-gold, #D4AF37);
  border: 1px solid var(--primary-gold, #D4AF37);
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.page-home .hero-title {
  font-family: var(--heading-font, 'Noto Serif SC', serif);
  font-size: var(--hero-title-size);
  color: var(--accent-white, #F5F5F5);
  line-height: 1.1;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
  letter-spacing: 0.06em;
}

.page-home .hero-subtitle {
  font-family: var(--body-font, 'Noto Sans SC', sans-serif);
  font-size: var(--hero-subtitle-size);
  color: var(--primary-gold, #D4AF37);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin: 0 0 1.2rem;
}

.page-home .hero-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: var(--border-radius, 0.375rem);
  margin-bottom: 1.8rem;
}

.page-home .countdown-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.page-home .countdown-text {
  font-family: var(--body-font, 'Noto Sans SC', sans-serif);
  font-size: var(--small-size, 0.875rem);
  color: var(--text-on-dark, #F5F5F5);
  letter-spacing: 0.04em;
}

.page-home .hero-cta {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  padding: 0.75rem 2.5rem;
}

.page-home .hero-note {
  color: rgba(245, 245, 245, 0.6);
  font-size: var(--small-size, 0.875rem);
  margin: 0;
}

/* 首屏右侧：粒子 + 主图 */
.page-home .hero-right {
  order: 2;
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  z-index: 1;
}

.page-home .particle-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

.page-home .particle {
  position: absolute;
  top: -12%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #FFD700, var(--primary-gold, #D4AF37));
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
  animation: coinFall 4.5s ease-in infinite;
}

.page-home .particle:nth-child(1) { left: 5%;  width: 10px; height: 10px; animation-delay: 0.0s; animation-duration: 4.0s; }
.page-home .particle:nth-child(2) { left: 15%; width: 14px; height: 14px; animation-delay: 0.6s; animation-duration: 5.2s; }
.page-home .particle:nth-child(3) { left: 25%; width: 8px;  height: 8px;  animation-delay: 1.2s; animation-duration: 3.8s; }
.page-home .particle:nth-child(4) { left: 35%; width: 16px; height: 16px; animation-delay: 0.3s; animation-duration: 4.7s; }
.page-home .particle:nth-child(5) { left: 45%; width: 11px; height: 11px; animation-delay: 1.8s; animation-duration: 5.0s; }
.page-home .particle:nth-child(6) { left: 55%; width: 9px;  height: 9px;  animation-delay: 0.9s; animation-duration: 4.2s; }
.page-home .particle:nth-child(7) { left: 65%; width: 13px; height: 13px; animation-delay: 2.1s; animation-duration: 4.9s; }
.page-home .particle:nth-child(8) { left: 75%; width: 7px;  height: 7px;  animation-delay: 0.4s; animation-duration: 3.5s; }
.page-home .particle:nth-child(9) { left: 85%; width: 15px; height: 15px; animation-delay: 1.5s; animation-duration: 5.5s; }
.page-home .particle:nth-child(10) { left: 92%; width: 10px; height: 10px; animation-delay: 2.7s; animation-duration: 4.3s; }
.page-home .particle:nth-child(11) { left: 40%; width: 6px;  height: 6px;  animation-delay: 0.7s; animation-duration: 3.9s; }
.page-home .particle:nth-child(12) { left: 70%; width: 12px; height: 12px; animation-delay: 1.9s; animation-duration: 4.8s; }

@keyframes coinFall {
  0% {
    transform: translateY(-20px) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(calc(100vh + 60px)) rotate(720deg) scale(1);
    opacity: 0;
  }
}

.page-home .hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 3px solid var(--border-gold, #C9A96E);
  box-shadow: 0 8px 40px rgba(212, 175, 55, 0.15);
  position: relative;
  z-index: 2;
}

/* 三个核心入口卡片区域 */
.page-home .entries-grid {
  padding: 4rem 0;
  background: var(--background-dark, #0D0D0D);
  position: relative;
}

.page-home .entries-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-gold, #D4AF37), transparent);
}

.page-home .section-label {
  font-family: var(--heading-font, 'Noto Serif SC', serif);
  font-size: var(--h2-size, 1.75rem);
  color: var(--accent-white, #F5F5F5);
  text-align: center;
  margin: 0 0 2.5rem;
  letter-spacing: 0.08em;
  position: relative;
}

.page-home .section-label::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-gold, #D4AF37);
  margin: 0.8rem auto 0;
}

.page-home .entries-cards {
  gap: 2rem;
}

.page-home .entry-card {
  background: rgba(26, 26, 26, 0.8);
  border: 2px solid var(--border-gold, #C9A96E);
  padding: 1.8rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-card, 0 4px 20px rgba(0,0,0,0.1));
}

.page-home .entry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover, 0 8px 30px rgba(0,0,0,0.2));
  border-color: var(--primary-gold, #D4AF37);
}

.page-home .card-emblem {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 1rem;
  font-family: var(--heading-font, 'Noto Serif SC', serif);
  color: var(--primary-gold, #D4AF37);
  line-height: 1;
}

.page-home .emblem-digit {
  font-size: var(--emblem-size);
  font-weight: 700;
  color: var(--primary-gold, #D4AF37);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.page-home .emblem-unit {
  font-size: calc(var(--emblem-size) * 0.35);
  font-weight: 300;
  color: var(--accent-white, #F5F5F5);
  opacity: 0.7;
}

.page-home .card-img {
  width: 100%;
  max-width: 100%;
  height: var(--card-img-height);
  object-fit: cover;
  border: 1px solid var(--border-gold, #C9A96E);
  margin-bottom: 1.2rem;
  transition: border-color 0.3s ease;
}

.page-home .entry-card:hover .card-img {
  border-color: var(--primary-gold, #D4AF37);
}

.page-home .card-title {
  font-family: var(--heading-font, 'Noto Serif SC', serif);
  font-size: var(--h3-size, 1.25rem);
  color: var(--accent-white, #F5F5F5);
  margin: 0 0 0.6rem;
  letter-spacing: 0.04em;
}

.page-home .card-desc {
  font-family: var(--body-font, 'Noto Sans SC', sans-serif);
  font-size: var(--body-size, 1rem);
  color: rgba(245, 245, 245, 0.7);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  flex: 1;
}

.page-home .card-btn {
  margin-top: auto;
  align-self: center;
}

/* 品牌装饰区 */
.page-home .brand-deco {
  background: var(--background-light, #FEFCF3);
  padding: 3rem 0;
  border-top: 4px solid var(--border-gold, #C9A96E);
}

.page-home .brand-deco-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.page-home .brand-logo-deco {
  width: 200px;
  max-width: 100%;
  height: auto;
  border: none;
  opacity: 0.9;
}

.page-home .trust-statement {
  font-family: var(--body-font, 'Noto Sans SC', sans-serif);
  font-size: var(--small-size, 0.875rem);
  color: var(--text-primary, #1A1A1A);
  max-width: 640px;
  line-height: 1.7;
  margin: 0;
}

.page-home .trust-email {
  color: var(--primary-red, #E74C3C);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.page-home .trust-email:hover {
  color: var(--link-hover, #FFD700);
}

.page-home .trust-phone {
  margin: 0;
  color: var(--text-primary, #1A1A1A);
  opacity: 0.7;
}

.page-home .trust-phone-link {
  color: var(--text-primary, #1A1A1A);
  text-decoration: none;
  border-bottom: 1px solid var(--border-gold, #C9A96E);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .trust-phone-link:hover {
  color: var(--primary-gold, #D4AF37);
  border-color: var(--primary-gold, #D4AF37);
}

/* 响应式：平板及以上 */
@media (min-width: 768px) {
  .page-home .hero-split {
    padding: 4rem 0 5rem;
  }

  .page-home .hero-split-inner {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .page-home .hero-left {
    flex: 1 1 45%;
    text-align: left;
    order: 1;
  }

  .page-home .hero-right {
    flex: 1 1 50%;
    order: 2;
    max-width: none;
  }

  .page-home .hero-badge {
    margin-bottom: 1.2rem;
  }

  .page-home .hero-countdown {
    margin-bottom: 2rem;
  }

  .page-home .hero-cta {
    margin-bottom: 0.6rem;
  }

  .page-home .entry-card {
    padding: 2rem 1.8rem 2.2rem;
  }

  .page-home .card-img {
    --card-img-height: 200px;
  }

  .page-home .brand-deco-inner {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    text-align: left;
  }

  .page-home .trust-statement {
    text-align: left;
  }
}

/* 桌面大屏 */
@media (min-width: 1024px) {
  .page-home .hero-split {
    padding: 5rem 0 6rem;
  }

  .page-home .hero-split-inner {
    gap: 4rem;
  }

  .page-home .hero-left {
    flex: 1 1 42%;
  }

  .page-home .hero-right {
    flex: 1 1 52%;
  }

  .page-home .entries-grid {
    padding: 5rem 0;
  }

  .page-home .entries-cards {
    gap: 2.5rem;
  }

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

  .page-home .card-img {
    --card-img-height: 220px;
  }

  .page-home .hero-image {
    max-height: 500px;
    object-fit: cover;
  }

  .page-home .brand-deco {
    padding: 4rem 0;
  }

  .page-home .brand-deco-inner {
    gap: 3rem;
  }
}

/* 超小屏微调 */
@media (max-width: 380px) {
  .page-home .hero-title {
    font-size: 2.2rem;
  }

  .page-home .hero-subtitle {
    font-size: 1rem;
  }

  .page-home .emblem-digit {
    font-size: 3.5rem;
  }

  .page-home .card-img {
    --card-img-height: 140px;
  }

  .page-home .entry-card {
    padding: 1.2rem 1rem 1.5rem;
  }
}

/* 减少粒子动画以提升移动端性能 */
@media (max-width: 480px) {
  .page-home .particle:nth-child(n+7) {
    display: none;
  }

  .page-home .particle {
    animation-duration: 5s !important;
    animation-delay: 1s !important;
  }
}
