.page-home {
  --hero-pad: clamp(1.5rem, 4vw, 3rem);
  --hero-offset: clamp(0px, 2.5vw, 36px);
  --slant-angle: 8deg;
  --trend-card-bg: #FFFFFF;

  font-family: var(--font-body);
  color: var(--clr-text);
  line-height: 1.6;
}

.page-home .content-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-home .breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
  padding-bottom: var(--space-2);
  font-size: var(--fs-small);
  color: var(--clr-primary-soft);
}

.page-home .breadcrumbs a {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 600;
}

.page-home .breadcrumbs a:hover {
  color: var(--clr-accent);
}

.page-home .tag-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clr-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.page-home .tag-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15);
}

.page-home .hero-section {
  position: relative;
  overflow: hidden;
  background: var(--clr-primary);
  color: var(--clr-white);
  padding-top: var(--space-6);
  padding-bottom: var(--space-7);
}

.page-home .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.98), rgba(27, 58, 91, 0.88)), radial-gradient(circle at 85% 15%, rgba(255, 90, 31, 0.2), transparent 40%);
  z-index: 1;
}

.page-home .hero-section::after {
  content: "2025  LIVE  DATA 2025";
  position: absolute;
  right: -2rem;
  bottom: 1rem;
  font-family: var(--font-data);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}

.page-home .hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.page-home .hero-copy {
  max-width: 640px;
}

.page-home .hero-copy h1 {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.12;
  margin: 0 0 var(--space-4);
  color: var(--clr-white);
  letter-spacing: -0.01em;
}

.page-home .hero-copy h1 span {
  color: var(--clr-accent);
}

.page-home .hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: var(--space-5);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.page-home .hero-actions .btn {
  padding: 0.8em 1.6em;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .hero-actions .btn:hover {
  transform: translateY(-3px);
}

.page-home .btn-accent {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: var(--shadow-accent);
}

.page-home .btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--clr-white);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin: 0;
  list-style: none;
}

.page-home .hero-stats .stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .hero-stats .stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.page-home .hero-stats .stat-label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2);
}

.page-home .hero-stats .data-stat {
  font-family: var(--font-data);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--clr-white);
}

.page-home .hero-stats .is-accent .data-stat {
  color: var(--clr-accent-soft);
}

.page-home .hero-visual {
  position: relative;
}

.page-home .hero-stage {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  backdrop-filter: blur(6px);
}

.page-home .hero-stage-label {
  display: block;
  font-family: var(--font-data);
  font-size: var(--fs-small);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

.page-home .hero-chart {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .chart-grid-lines line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.page-home .hero-chart .chart-line {
  filter: drop-shadow(0 0 8px rgba(255, 90, 31, 0.3));
}

.page-home .hero-chart .chart-dot {
  animation: home-pulse-dot 2s ease-in-out infinite;
}

.page-home .hero-chart .chart-dot.is-large {
  animation-delay: 1s;
}

@keyframes home-pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.7; }
}

.page-home .hero-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 90, 31, 0.9);
  color: var(--clr-white);
  font-size: var(--fs-small);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-accent);
}

.page-home .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: home-pulse 1.6s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.page-home .hero-image {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(45%, 480px);
  height: min(60%, 280px);
  object-fit: cover;
  opacity: 0.12;
  z-index: 1;
  border-radius: var(--radius-lg);
  transform: translateY(10%);
  mask-image: linear-gradient(135deg, transparent, black 40%);
  -webkit-mask-image: linear-gradient(135deg, transparent, black 40%);
}

.page-home .section {
  padding-block: var(--space-7);
}

.page-home .section-desc {
  font-size: var(--fs-body);
  color: var(--clr-text);
  max-width: 620px;
  line-height: 1.7;
}

.page-home .check-section,
.page-home .settle-section,
.page-home .history-section {
  border-bottom: 1px solid var(--clr-gray-border);
}

.page-home .check-layout,
.page-home .settle-layout,
.page-home .history-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

.page-home .check-media .img-frame,
.page-home .settle-media .img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-soft));
}

.page-home .check-media img,
.page-home .settle-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-home .check-content h2,
.page-home .settle-content h2,
.page-home .history-copy h2,
.page-home .zone-head h2,
.page-home .section-head h2,
.page-home .trend-section h2 {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 1.2;
  color: var(--clr-primary);
  margin: 0 0 var(--space-4);
}

.page-home .check-content .section-desc,
.page-home .settle-content .section-desc,
.page-home .history-copy .section-desc {
  margin-bottom: var(--space-5);
}

.page-home .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.page-home .feature-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--clr-accent);
  border-radius: var(--radius-sm);
  transform: rotate(45deg);
}

.page-home .feature-list strong {
  color: var(--clr-primary);
  font-weight: 700;
}

.page-home .btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-home .btn:hover {
  transform: translateY(-2px);
}

.page-home .btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-sm);
}

.page-home .btn-accent {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: var(--shadow-accent);
}

.page-home .settle-section {
  background: var(--clr-gray-bg);
}

.page-home .settle-content {
  order: 2;
}

.page-home .settle-media {
  order: 1;
}

.page-home .settle-steps {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}

.page-home .step-item {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.page-home .step-num {
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--clr-accent);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-pale);
  border-radius: 50%;
}

.page-home .step-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-home .zone-section {
  background: linear-gradient(180deg, var(--clr-white), var(--clr-gray-bg));
}

.page-home .zone-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.page-home .zone-head .section-desc {
  margin-top: var(--space-3);
}

.page-home .zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.page-home .plate-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--clr-accent);
}

.page-home .plate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.page-home .zone-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.page-home .zone-league-tag {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--fs-small);
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
}

.page-home .zone-status {
  font-size: var(--fs-tiny);
  color: var(--clr-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.page-home .zone-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
}

.page-home .zone-card h3 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: var(--fs-h3);
  color: var(--clr-primary);
  margin: 0 0 var(--space-3);
}

.page-home .zone-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-text);
  margin-bottom: var(--space-4);
}

.page-home .zone-meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  border-top: 1px dashed var(--clr-gray-border);
  padding-top: var(--space-3);
  font-size: var(--fs-small);
  color: var(--clr-primary-soft);
}

.page-home .zone-meta .data-stat {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--clr-accent);
}

.page-home .zone-depth {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-gray-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.page-home .zone-chart-img {
  border-radius: 0;
}

.page-home .zone-chart-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  display: block;
}

.page-home .zone-depth-copy {
  padding: var(--space-5);
}

.page-home .zone-depth-copy h3 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: var(--fs-h3);
  color: var(--clr-primary);
  margin: 0 0 var(--space-3);
}

.page-home .zone-depth-copy p {
  font-size: var(--fs-body);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.page-home .zone-depth-copy a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--clr-accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .zone-depth-copy a:hover {
  border-bottom-color: var(--clr-accent);
}

.page-home .history-section {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.page-home .history-section h2 {
  color: var(--clr-white);
}

.page-home .history-section .tag-label {
  color: var(--clr-accent-soft);
}

.page-home .history-section .tag-label::before {
  background: var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.2);
}

.page-home .history-section .section-desc {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .history-section .feature-list li {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .history-section .feature-list strong {
  color: var(--clr-white);
}

.page-home .history-section .btn-primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: var(--shadow-accent);
}

.page-home .history-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  backdrop-filter: blur(6px);
}

.page-home .history-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: var(--fs-h3);
  color: var(--clr-white);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-2);
}

.page-home .history-panel-head .data-stat {
  font-size: var(--fs-h3);
  color: var(--clr-accent-soft);
}

.page-home .history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.page-home .history-score {
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--clr-white);
  background: rgba(255, 90, 31, 0.15);
  padding: 0.2em 0.8em;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}

.page-home .history-panel-foot {
  padding-top: var(--space-4);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  letter-spacing: 0.06em;
}

.page-home .trend-section {
  background: var(--clr-gray-bg);
}

.page-home .section-head .section-desc {
  margin-top: var(--space-3);
}

.page-home .trend-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.page-home .trend-card {
  background: var(--trend-card-bg);
  border: 1px solid var(--clr-gray-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.page-home .trend-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.page-home .trend-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--clr-primary);
}

.page-home .trend-live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--clr-accent);
  font-size: var(--fs-tiny);
  letter-spacing: 0.1em;
}

.page-home .trend-card h3 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--clr-primary);
  margin: 0;
}

.page-home .trend-figure {
  text-align: center;
  padding: var(--space-4);
  background: var(--clr-accent-pale);
  border-radius: var(--radius-md);
}

.page-home .trend-figure .data-stat {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: var(--fs-h1);
  color: var(--clr-primary);
}

.page-home .trend-bars {
  display: grid;
  gap: var(--space-3);
}

.page-home .bar-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-small);
  color: var(--clr-text);
}

.page-home .bar-row span:last-child {
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--clr-primary);
}

.page-home .trend-card a {
  display: inline-block;
  margin-top: auto;
  color: var(--clr-accent);
  font-weight: 700;
  font-size: var(--fs-small);
  text-decoration: none;
}

.page-home .trend-card a:hover {
  text-decoration: underline;
}

.page-home .trend-foot {
  margin-top: var(--space-5);
  text-align: center;
  font-size: var(--fs-small);
  color: var(--clr-text);
}

.page-home .trend-foot a {
  color: var(--clr-accent);
  font-weight: 700;
  text-decoration: none;
}

.page-home .trend-foot a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .page-home .hero-panel {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-7);
    align-items: center;
    padding-top: var(--space-4);
  }

  .page-home .check-layout,
  .page-home .settle-layout,
  .page-home .history-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }

  .page-home .settle-content {
    order: 1;
  }

  .page-home .settle-media {
    order: 2;
  }

  .page-home .zone-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

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

  .page-home .zone-depth {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .page-home .zone-depth-copy {
    padding: var(--space-6);
  }

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

@media (min-width: 1024px) {
  .page-home .hero-copy h1 {
    font-size: var(--fs-h1);
  }

  .page-home .hero-image {
    opacity: 0.15;
  }

  .page-home .check-layout,
  .page-home .settle-layout {
    gap: var(--space-8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
