.page-home {
  --home-section-pad: 64px;
  --home-radius: 18px;
  --green-deep: #00A86B;
  --blue-deep: #1040CC;
  color: var(--text-primary);
  background: var(--bg-deep);
}

.page-home [id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.page-home .breadcrumb {
  position: relative;
  z-index: 3;
  padding: 18px 20px 0;
}

.page-home .home-dashboard {
  position: relative;
  padding: 48px 0 96px;
  overflow: hidden;
}

@media (min-width: 920px) {
  .page-home .home-dashboard {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 72px 0 128px;
  }
}

.page-home .dashboard-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.page-home .dashboard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 20, 0.94) 0%, rgba(10, 14, 20, 0.76) 55%, rgba(10, 14, 20, 0.48) 100%);
}

.page-home .dashboard-container {
  position: relative;
  z-index: 1;
}

.page-home .dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 920px) {
  .page-home .dashboard-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.page-home .dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: var(--bg-glass);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.page-home .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(0, 230, 138, 0.16);
}

.page-home .dashboard-intro h1 {
  margin: 10px 0 0;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.page-home .dashboard-slogan {
  display: block;
  margin-top: 10px;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--accent-green);
}

.page-home .dashboard-lead {
  margin: 22px 0 30px;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-home .dashboard-stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 480px) {
  .page-home .dashboard-stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-home .stat-block-glass {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-m);
  padding: 20px 22px;
  transition: border-color var(--transition);
}

.page-home .stat-block-glass:hover {
  border-color: rgba(0, 230, 138, 0.4);
}

.page-home .stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.page-home .stat-value-lg {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.page-home .stat-num-green {
  color: var(--accent-green);
}

.page-home .stat-num-blue {
  color: var(--accent-blue);
}

.page-home .stat-unit {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.page-home .stat-trend {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.page-home .stat-trend-up {
  color: var(--accent-green);
}

.page-home .dashboard-map {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--home-radius);
  padding: 26px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.page-home .map-section + .map-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .dashboard-map-title {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

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

.page-home .map-index-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}

.page-home .map-index-link:hover,
.page-home .map-index-link:focus-visible {
  border-left-color: var(--accent-green);
  background: var(--bg-glass);
  outline: none;
}

.page-home .map-index-num {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--accent-green);
}

.page-home .dashboard-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .page-home .dashboard-map-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-home .map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 16px 20px;
  border-radius: var(--radius-m);
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .map-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-blue);
}

.page-home .map-card-blue::before {
  background: var(--accent-blue);
}

.page-home .map-card-green::before {
  background: var(--accent-green);
}

.page-home .map-card-orange::before {
  background: var(--accent-orange);
}

.page-home .map-card-surface::before {
  background: var(--text-secondary);
}

.page-home .map-card:hover,
.page-home .map-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  outline: none;
}

.page-home .map-card-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.page-home .map-card-name {
  font-family: var(--font-title);
  font-size: 1.14rem;
  font-weight: 600;
}

.page-home .map-card-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.page-home .home-comparison {
  padding-top: calc(var(--home-section-pad) + 36px);
  padding-bottom: calc(var(--home-section-pad) + 36px);
  background: var(--bg-surface);
  color: var(--text-on-surface);
  clip-path: polygon(0 36px, 100% 0, 100% calc(100% - 36px), 0 100%);
}

.page-home .comparison-heading {
  margin-bottom: 36px;
}

.page-home .home-comparison .section-title,
.page-home .home-onboard .section-title {
  color: var(--text-on-surface);
}

.page-home .home-comparison .section-subtitle,
.page-home .home-onboard .section-subtitle {
  color: var(--text-on-surface-soft);
}

.page-home .section-kicker-blue {
  color: var(--accent-blue);
}

.page-home .section-kicker-green {
  color: var(--green-deep);
}

.page-home .section-kicker-orange {
  color: var(--accent-orange);
}

.page-home .home-onboard .section-kicker-blue {
  color: var(--blue-deep);
}

.page-home .comparison-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: stretch;
}

@media (min-width: 920px) {
  .page-home .comparison-layout {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 44px;
  }
}

.page-home .comparison-chart {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 24px;
  background: var(--bg-deep);
  border-radius: var(--radius-l);
  overflow: hidden;
}

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

.page-home .chart-grid line {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-dasharray: 4 8;
}

.page-home .chart-line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .chart-line-blue {
  stroke: var(--accent-blue);
}

.page-home .chart-line-green {
  stroke: var(--accent-green);
}

.page-home .chart-node {
  fill: var(--accent-orange);
  stroke: var(--bg-surface);
  stroke-width: 4;
}

.page-home .chart-node-alt {
  fill: var(--accent-blue);
}

.page-home .chart-labels text {
  fill: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  text-anchor: middle;
}

.page-home .chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-home .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-primary);
}

.page-home .legend-item::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent-blue);
}

.page-home .legend-green::before {
  background: var(--accent-green);
}

.page-home .legend-orange::before {
  background: var(--accent-orange);
}

.page-home .comparison-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .comparison-aside img {
  width: 100%;
  height: auto;
  max-height: 320px;
  border-radius: var(--radius-m);
  object-fit: cover;
}

.page-home .comparison-points {
  padding: 22px;
  background: var(--bg-deep);
  color: var(--text-primary);
  border-radius: var(--radius-m);
}

.page-home .comparison-points h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 1.12rem;
}

.page-home .comparison-points ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

.page-home .schedule-heading {
  margin-bottom: 36px;
}

.page-home .schedule-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 920px) {
  .page-home .schedule-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
  }
}

.page-home .schedule-list {
  display: grid;
  gap: 16px;
}

.page-home .schedule-card {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color var(--transition);
}

.page-home .schedule-card[open] {
  border-color: rgba(0, 230, 138, 0.4);
}

.page-home .schedule-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-home .schedule-summary::-webkit-details-marker {
  display: none;
}

.page-home .schedule-summary:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: -3px;
}

.page-home .schedule-tag {
  flex: 0 0 auto;
}

.page-home .schedule-title {
  flex: 1 1 180px;
  min-width: 180px;
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 600;
}

.page-home .schedule-count {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.page-home .schedule-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-green);
  transition: transform var(--transition);
}

.page-home .schedule-card[open] .schedule-arrow {
  transform: rotate(45deg);
}

.page-home .schedule-detail {
  padding: 4px 18px 18px;
  display: grid;
  gap: 10px;
}

.page-home .schedule-detail p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-home .match-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-s);
}

@media (min-width: 640px) {
  .page-home .match-row {
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 16px;
  }
}

.page-home .match-teams {
  font-weight: 600;
}

.page-home .match-stat {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.page-home .schedule-aside {
  display: grid;
  gap: 20px;
}

.page-home .schedule-aside img {
  width: 100%;
  height: auto;
  max-height: 360px;
  border-radius: var(--radius-m);
  object-fit: cover;
}

.page-home .schedule-note {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-m);
}

.page-home .schedule-note p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-home .btn-sm {
  justify-self: start;
  padding: 8px 18px;
  font-size: 0.86rem;
}

.page-home .home-onboard {
  padding-top: calc(var(--home-section-pad) + 36px);
  padding-bottom: calc(var(--home-section-pad) + 36px);
  background: var(--bg-surface);
  color: var(--text-on-surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
}

.page-home .onboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

@media (min-width: 920px) {
  .page-home .onboard-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
}

.page-home .onboard-steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .onboard-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--bg-deep);
  border-left: 4px solid var(--accent-green);
  border-radius: var(--radius-m);
}

.page-home .onboard-num {
  flex: 0 0 auto;
  padding: 8px 12px;
  background: rgba(0, 230, 138, 0.14);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1;
}

.page-home .onboard-step-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.12rem;
  color: var(--text-primary);
}

.page-home .onboard-step-body p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-home .onboard-visual {
  display: grid;
  gap: 16px;
}

.page-home .onboard-visual img {
  width: 100%;
  height: auto;
  max-height: 460px;
  border-radius: var(--radius-l);
  object-fit: cover;
  display: block;
}

.page-home .onboard-tip {
  padding: 18px 20px;
  background: var(--bg-deep);
  border-radius: var(--radius-m);
}

.page-home .onboard-tip p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.page-home .onboard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-onboard .btn-ghost {
  border-color: var(--text-on-surface-soft);
  color: var(--text-on-surface);
}

.page-home .home-onboard .btn-ghost:hover,
.page-home .home-onboard .btn-ghost:focus-visible {
  border-color: var(--text-on-surface);
  background: rgba(10, 14, 20, 0.06);
}

.page-home .home-trust {
  padding: 40px 0 56px;
}

.page-home .trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-l);
}

.page-home .trust-line {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 68ch;
}
