.page-home {
  --home-card-radius: 22px;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(138, 43, 226, 0.16), transparent 28%),
    var(--deep-space-blue);
  color: var(--mineral-cream);
  font-family: var(--font-body);
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home .container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home a {
  color: var(--electric-gold);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-home a:hover {
  color: var(--mineral-cream);
}

.page-home a:focus-visible,
.page-home .btn:focus-visible,
.page-home .map-card:focus-within {
  outline: 3px solid var(--neon-purple);
  outline-offset: 4px;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
}

.page-home .masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-stroke);
}

.page-home .home-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-home .brand-mark {
  color: var(--electric-gold);
  font-size: 22px;
  line-height: 1;
}

.page-home .home-brand-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-brand-cn {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mineral-cream);
}

.page-home .home-brand-en {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.page-home .home-draw-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--glass-stroke);
  border-radius: 999px;
  background: rgba(42, 59, 76, 0.45);
}

.page-home .current-draw-label {
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .current-draw-number {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--electric-gold);
}

.page-home .current-draw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--alert-red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2);
}

.page-home .home-hero {
  position: relative;
  padding: clamp(40px, 8vw, 88px) 0 clamp(36px, 6vw, 64px);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 215, 0, 0.5) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(138, 43, 226, 0.6) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(196, 126, 90, 0.4) 0 1px, transparent 1.3px);
  background-position: 0 0, 80px 40px, 160px 120px;
  background-size: 220px 220px, 180px 180px, 260px 260px;
  opacity: 0.55;
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.page-home .breadcrumb a {
  color: var(--mineral-cream);
}

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

.page-home .hero-kicker {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric-gold);
}

.page-home .page-title {
  margin: 10px 0 18px;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--mineral-cream);
}

.page-home .hero-lead {
  max-width: 62ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #d6e0e8;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.page-home .hero-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  border: 1px solid transparent;
}

.page-home .btn:hover {
  transform: translateY(-2px);
  color: var(--deep-space-blue);
}

.page-home .btn-gold {
  background: var(--electric-gold);
  color: var(--deep-space-blue);
}

.page-home .btn-ghost {
  background: transparent;
  color: var(--mineral-cream);
  border-color: var(--glass-stroke);
}

.page-home .btn-ghost:hover {
  border-color: var(--electric-gold);
  background: rgba(255, 215, 0, 0.08);
  color: var(--electric-gold);
}

.page-home .hero-figure {
  position: relative;
  margin: 0;
}

.page-home .hero-figure::after {
  content: "";
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.2), transparent 65%);
  pointer-events: none;
}

.page-home .hero-pic {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 640px;
  border-radius: var(--home-card-radius);
  border: 1px solid var(--glass-stroke);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  background: rgba(42, 59, 76, 0.4);
}

.page-home .hero-figure figcaption {
  margin-top: 10px;
  text-align: right;
}

.page-home .index-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.page-home .alert-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: linear-gradient(90deg, var(--alert-red), rgba(230, 57, 70, 0.82));
  color: #ffffff;
}

.page-home .alert-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.page-home .alert-strip strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-home .alert-strip a {
  margin-left: auto;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .quick-panel {
  border-bottom: 1px solid var(--glass-stroke);
  background: rgba(42, 59, 76, 0.4);
}

.page-home .quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 16px 0;
}

.page-home .quick-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-left: 2px solid var(--mineral-terracotta);
}

.page-home .quick-label {
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .quick-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 20px;
  color: var(--electric-gold);
}

.page-home .section {
  padding: clamp(36px, 6vw, 76px) 0;
  position: relative;
}

.page-home .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.page-home .section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--mineral-cream);
}

.page-home .section-sub {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-purple);
}

.page-home .section-more {
  flex: 0 0 auto;
  padding-bottom: 4px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--electric-gold);
}

.page-home .section-more:hover {
  color: var(--mineral-cream);
  border-color: var(--mineral-cream);
}

.page-home .section-draw {
  background: linear-gradient(180deg, rgba(42, 59, 76, 0.16), rgba(10, 26, 47, 0.2));
}

.page-home .draw-layout {
  display: grid;
  gap: 24px;
}

.page-home .glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-stroke);
  border-radius: var(--home-card-radius);
  backdrop-filter: blur(12px);
}

.page-home .draw-card {
  position: relative;
  padding: clamp(20px, 4vw, 36px);
  overflow: hidden;
}

.page-home .draw-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -70px;
  right: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.3), transparent 68%);
  pointer-events: none;
}

.page-home .draw-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-home .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid transparent;
}

.page-home .tag--terracotta {
  background: rgba(196, 126, 90, 0.16);
  border-color: rgba(196, 126, 90, 0.5);
  color: var(--mineral-terracotta);
}

.page-home .draw-number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0.02em;
  color: var(--electric-gold);
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
}

.page-home .draw-intro {
  margin: 18px 0 22px;
  max-width: 56ch;
  color: #d6e0e8;
  line-height: 1.7;
}

.page-home .ball-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-stroke);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--mineral-cream);
}

.page-home .ball-main {
  border-color: rgba(255, 215, 0, 0.75);
  color: var(--electric-gold);
  box-shadow: inset 0 0 14px rgba(255, 215, 0, 0.08);
}

.page-home .ball-special {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.page-home .ball-label {
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .hot-cold {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
}

.page-home .home-chip {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.08);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--electric-gold);
}

.page-home .home-chip.cold {
  border-color: rgba(138, 43, 226, 0.5);
  background: rgba(138, 43, 226, 0.1);
  color: #cfb7ff;
}

.page-home .draw-aside {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(135deg, rgba(42, 59, 76, 0.9), rgba(10, 26, 47, 0.92));
  border: 1px solid var(--glass-stroke);
  border-radius: var(--home-card-radius);
}

.page-home .draw-aside h3 {
  margin: 12px 0 8px;
  font-weight: 500;
  font-size: 20px;
  color: var(--mineral-cream);
}

.page-home .draw-aside p {
  color: #d6e0e8;
  line-height: 1.6;
}

.page-home .diff-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.page-home .diff-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-stroke);
  transition: background 0.2s ease, padding 0.2s ease;
}

.page-home .diff-list li:hover {
  background: rgba(255, 215, 0, 0.05);
  padding-inline: 8px;
}

.page-home .diff-list li span:first-child {
  font-family: var(--font-mono);
  color: var(--electric-gold);
}

.page-home .diff-symbol {
  color: var(--mineral-terracotta);
  font-size: 14px;
}

.page-home .aside-note {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.page-home .section-schedule {
  background: rgba(10, 26, 47, 0.55);
}

.page-home .schedule-layout {
  display: grid;
  gap: 28px;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--glass-stroke);
}

.page-home .timeline-item {
  position: relative;
  padding: 0 0 28px 24px;
}

.page-home .timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mineral-terracotta);
  box-shadow: 0 0 0 5px rgba(196, 126, 90, 0.12);
}

.page-home .timeline-index {
  position: absolute;
  left: -14px;
  top: -2px;
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.page-home .timeline-body h3 {
  margin: 0 0 6px;
  font-weight: 500;
  font-size: 18px;
  color: var(--mineral-cream);
}

.page-home .timeline-body p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.page-home .schedule-note {
  padding: clamp(20px, 3vw, 28px);
}

.page-home .schedule-note h3 {
  margin: 0 0 16px;
  font-weight: 500;
  font-size: 20px;
  color: var(--electric-gold);
}

.page-home .data-table {
  width: 100%;
  border-collapse: collapse;
}

.page-home .data-table th,
.page-home .data-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--glass-stroke);
}

.page-home .data-table th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--electric-gold);
  letter-spacing: 0.04em;
}

.page-home .data-table td {
  font-family: var(--font-mono);
  color: var(--mineral-cream);
}

.page-home .data-table tbody tr {
  transition: background 0.2s ease;
}

.page-home .data-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.06);
}

.page-home .text-muted {
  color: var(--text-muted);
}

.page-home .section-trend {
  background:
    radial-gradient(circle at 82% 20%, rgba(138, 43, 226, 0.18), transparent 36%),
    var(--deep-space-blue);
}

.page-home .trend-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .trend-figure {
  margin: 0;
}

.page-home .trend-figure img {
  display: block;
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  border: 1px solid var(--glass-stroke);
  background: rgba(42, 59, 76, 0.45);
}

.page-home .trend-figure figcaption {
  margin-top: 8px;
}

.page-home .trend-info .metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.page-home .stat-number {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 300;
  line-height: 1;
  color: var(--electric-gold);
}

.page-home .metric-unit {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.page-home .trend-info h3 {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 22px;
  color: var(--mineral-cream);
}

.page-home .trend-info p {
  max-width: 52ch;
  color: #d6e0e8;
  line-height: 1.7;
}

.page-home .feature-list {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .feature-list li {
  position: relative;
  padding-left: 20px;
  color: #d6e0e8;
}

.page-home .feature-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--neon-purple);
}

.page-home .section-download {
  background: linear-gradient(135deg, rgba(196, 126, 90, 0.15), rgba(10, 26, 47, 0.28)), var(--deep-space-blue);
}

.page-home .download-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .download-figure {
  position: relative;
  margin: 0;
}

.page-home .download-figure::after {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.14), transparent 70%);
  pointer-events: none;
}

.page-home .download-figure img {
  display: block;
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  border: 1px solid var(--glass-stroke);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  background: rgba(42, 59, 76, 0.5);
}

.page-home .download-figure figcaption {
  margin-top: 8px;
}

.page-home .download-content .download-lead {
  margin: 0 0 22px;
  max-width: 54ch;
  font-size: 20px;
  line-height: 1.7;
  color: var(--mineral-cream);
}

.page-home .spec-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.page-home .spec-list li {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-stroke);
  color: #d6e0e8;
}

.page-home .spec-list li span {
  min-width: 96px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--mineral-terracotta);
}

.page-home .version-note {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.page-home .section-map {
  background: rgba(42, 59, 76, 0.22);
}

.page-home .map-banner {
  margin: 0 0 24px;
}

.page-home .map-banner img {
  display: block;
  width: 100%;
  max-width: 800px;
  border-radius: 18px;
  border: 1px solid var(--glass-stroke);
  background: rgba(42, 59, 76, 0.5);
}

.page-home .map-grid {
  display: grid;
  gap: 18px;
}

.page-home .map-card {
  position: relative;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-stroke);
  border-radius: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.page-home .map-card:hover {
  border-color: rgba(255, 215, 0, 0.45);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.page-home .map-index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mineral-terracotta);
}

.page-home .map-card h3 {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 20px;
  color: var(--mineral-cream);
}

.page-home .map-card p {
  margin: 0 0 16px;
  color: #cbd8e4;
  line-height: 1.6;
}

.page-home .map-card a {
  font-weight: 600;
}

.page-home .map-trust {
  margin-top: clamp(24px, 4vw, 44px);
  padding: 18px 22px;
  border-left: 4px solid var(--mineral-moss);
  background: rgba(92, 107, 77, 0.16);
  color: var(--mineral-cream);
}

.page-home .map-trust p {
  margin: 0;
  line-height: 1.7;
}

@media (min-width: 720px) {
  .page-home .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .page-home .trend-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (min-width: 960px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .page-home .draw-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .page-home .schedule-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-home .download-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

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