.page-home {
  --page-shadow-sm: 3px 3px 0 0 rgba(27, 67, 50, 0.08);
  --page-shadow-lg: 8px 8px 0 0 rgba(27, 67, 50, 0.12);
  --page-angle: -1.5deg;
  background: var(--white);
  overflow-x: hidden;
}
.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 92vh;
  padding: 64px 0 72px;
  background: var(--green-deep);
  isolation: isolate;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -28px;
  height: 56px;
  background: var(--white);
  transform: rotate(var(--page-angle));
  z-index: 3;
}
.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(27, 67, 50, 0.96) 0%, rgba(45, 106, 79, 0.86) 45%, rgba(45, 106, 79, 0.42) 100%);
}
.page-home .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-home .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}
.page-home .breadcrumbs .current {
  color: var(--white);
}
.page-home .hero-kicker {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 0 16px;
  border-left: 3px solid var(--orange);
  padding-left: 12px;
}
.page-home .hero-title {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.page-home .hero-tagline {
  margin: 0 0 20px;
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 0.08em;
}
.page-home .hero-lead {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
}
.page-home .hero-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.page-home .legend-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 10px;
}
.page-home .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  display: inline-block;
}
.page-home .legend-dot--orange {
  background: var(--orange);
}
.page-home .legend-dot--blue {
  background: var(--blue);
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .home-hero .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  border: 1px solid transparent;
}
.page-home .home-hero .btn-accent {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}
.page-home .home-hero .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.page-home .home-hero .btn-accent:hover {
  background: #d6593c;
  border-color: #d6593c;
}
.page-home .home-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.page-home .home-map {
  padding: 72px 0;
  background: var(--green-light);
}
.page-home .section-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.page-home .section-index {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 5px 10px;
  line-height: 1;
  white-space: nowrap;
  margin-top: 6px;
  background: var(--white);
}
.page-home .section-title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--green-deep);
  line-height: 1.2;
}
.page-home .section-desc {
  margin: 0;
  font-size: 14px;
  color: #556b63;
  line-height: 1.6;
}
.page-home .map-board {
  position: relative;
  background: var(--white);
  border: 1px solid var(--green);
  box-shadow: var(--page-shadow-lg);
  padding: 24px 20px;
}
.page-home .map-lines {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.page-home .map-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.page-home .map-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--green);
  box-shadow: var(--page-shadow-sm);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-home .map-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--green);
}
.page-home .map-card:nth-child(2)::before {
  background: var(--orange);
}
.page-home .map-card:nth-child(3)::before {
  background: var(--blue);
}
.page-home .map-card:nth-child(4)::before {
  background: var(--green-deep);
}
.page-home .map-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--page-shadow-lg);
}
.page-home .map-card-idx {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.12em;
}
.page-home .map-card strong {
  font-size: 16px;
  color: var(--green-deep);
  line-height: 1.3;
}
.page-home .map-card > span:last-child {
  font-size: 13px;
  color: #5b6b66;
  line-height: 1.5;
}
.page-home .home-favorite {
  padding: 80px 0;
  background: var(--white);
}
.page-home .split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.page-home .split-copy .section-heading,
.page-home .desktop-copy .section-heading,
.page-home .home-schedule .section-heading {
  margin-bottom: 20px;
}
.page-home .copy-paragraph {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #3e4f4a;
}
.page-home .check-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.page-home .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
}
.page-home .split-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.page-home .split-links .btn,
.page-home .support-banner .btn {
  padding: 11px 22px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  display: inline-block;
  border: 1px solid transparent;
}
.page-home .split-links .btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green);
}
.page-home .split-links .btn-outline:hover {
  background: var(--green-light);
}
.page-home .link-arrow {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.page-home .link-arrow:hover {
  color: var(--orange);
}
.page-home .split-visual {
  position: relative;
  padding: 0 8px 8px 0;
}
.page-home .favorite-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--green-light);
  box-shadow: var(--page-shadow-lg);
}
.page-home .float-chip {
  position: absolute;
  right: -4px;
  bottom: -14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--white);
  border: 2px solid var(--green-deep);
  box-shadow: var(--page-shadow-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink);
}
.page-home .chip-label {
  color: var(--green);
  font-weight: 700;
}
.page-home .chip-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
}
.page-home .chip-unit {
  font-size: 12px;
  color: #586a64;
}
.page-home .home-league {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  border-top: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
}
.page-home .home-league .section-title {
  color: var(--white);
}
.page-home .home-league .section-desc {
  color: rgba(255, 255, 255, 0.72);
}
.page-home .home-league .section-index {
  background: transparent;
}
.page-home .league-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}
.page-home .league-tabs {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px;
  align-self: center;
}
.page-home .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 12px;
}
.page-home .league-tabs .tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
}
.page-home .league-tabs .tab[aria-selected="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.page-home .league-tabs .tab:hover {
  border-color: var(--orange);
}
.page-home .league-panel {
  margin-top: 0;
}
.page-home .rank-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--white);
  font-size: 14px;
}
.page-home .rank-table th {
  text-align: left;
  font-family: var(--font-data);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.page-home .rank-table td {
  padding: 11px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
}
.page-home .rank-table td:nth-child(1) {
  font-family: var(--font-data);
  color: var(--orange);
  font-weight: 700;
  width: 48px;
}
.page-home .rank-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.08);
}
.page-home .league-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-home .league-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--page-shadow-lg);
}
.page-home .refresh-card {
  background: var(--white);
  border-left: 4px solid var(--orange);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-home .refresh-label {
  font-size: 12px;
  color: #5b6b66;
}
.page-home .refresh-times {
  font-family: var(--font-data);
  font-size: 20px;
  color: var(--green-deep);
  font-weight: 700;
}
.page-home .home-desktop {
  padding: 80px 0;
  background: var(--white);
}
.page-home .desktop-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border: 3px solid var(--green-deep);
  box-shadow: 10px 10px 0 0 var(--green-light);
  padding: 28px 20px;
}
.page-home .desktop-copy .section-heading {
  margin-bottom: 18px;
}
.page-home .desktop-feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
}
.page-home .desktop-feature-grid li {
  background: var(--green-light);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid var(--green);
}
.page-home .desktop-copy .btn {
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  display: inline-block;
  border: 1px solid transparent;
}
.page-home .desktop-copy .btn-accent {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 rgba(231, 111, 81, 0.3);
}
.page-home .desktop-copy .btn-accent:hover {
  background: #d6593c;
}
.page-home .desktop-demo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .demo-window {
  width: 100%;
  max-width: 480px;
  background: var(--green-deep);
  border: 1px solid var(--green);
  box-shadow: var(--page-shadow-lg);
  overflow: hidden;
}
.page-home .demo-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  padding: 10px 14px;
}
.page-home .demo-traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b6b6b;
}
.page-home .demo-traffic--red {
  background: #e76f51;
}
.page-home .demo-traffic--yellow {
  background: #e9c46a;
}
.page-home .demo-traffic--green {
  background: #2d6a4f;
}
.page-home .demo-url {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.page-home .demo-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 20px 32px;
}
.page-home .demo-line {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}
.page-home .demo-code {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--green-light);
  line-height: 1.5;
}
.page-home .demo-code--dim {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.page-home .home-schedule {
  padding: 80px 0;
  background: var(--gray);
}
.page-home .schedule-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.page-home .schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-home .match-row {
  background: var(--white);
  border-left: 4px solid var(--green);
  box-shadow: var(--page-shadow-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.page-home .match-time {
  font-family: var(--font-data);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-deep);
  min-width: 50px;
}
.page-home .match-teams {
  flex: 1;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 160px;
}
.page-home .match-league-tag {
  background: var(--green-light);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border: 1px solid var(--green);
}
.page-home .match-flag {
  font-size: 12px;
  color: #5b6b66;
  border: 1px solid #cbd5d2;
  padding: 4px 8px;
  white-space: nowrap;
}
.page-home .match-flag--done {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-light);
}
.page-home .match-flag--live {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}
.page-home .schedule-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-home .schedule-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--green-light);
  box-shadow: var(--page-shadow-lg);
}
.page-home .schedule-note {
  margin: 0;
  font-size: 13px;
  color: #5b6b66;
  line-height: 1.6;
  border-left: 3px solid var(--orange);
  padding-left: 12px;
}
.page-home .home-trust {
  padding: 64px 0;
  background: var(--green-deep);
  color: var(--white);
}
.page-home .trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.page-home .trust-item {
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px 12px;
  background: rgba(255, 255, 255, 0.04);
}
.page-home .trust-num {
  display: block;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.page-home .trust-num small {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 2px;
}
.page-home .trust-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.page-home .trust-statement {
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
}
.page-home .home-support-note {
  padding: 48px 0 80px;
  background: var(--green-light);
}
.page-home .support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--green);
  box-shadow: var(--page-shadow-lg);
  padding: 24px 20px;
}
.page-home .support-banner-copy h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--green-deep);
}
.page-home .support-banner-copy p {
  margin: 0;
  font-size: 14px;
  color: #5b6b66;
}
.page-home .support-banner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .support-banner .btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green);
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  display: inline-block;
}
.page-home .support-banner .btn-outline:hover {
  background: var(--green-light);
}
@media (min-width: 768px) {
  .page-home .home-hero {
    min-height: 84vh;
  }
  .page-home .map-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .schedule-split {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .desktop-panel {
    padding: 36px 32px;
  }
}
@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 88vh;
  }
  .page-home .hero-inner {
    padding: 0 40px;
  }
  .page-home .map-lines {
    display: block;
  }
  .page-home .map-cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .map-board {
    padding: 40px 32px;
  }
  .page-home .split-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .league-split {
    grid-template-columns: 3fr 2fr;
  }
  .page-home .desktop-panel {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .page-home .schedule-split {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
