.page-home {
  background: var(--green);
  color: var(--white);
  overflow-x: clip;
}

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

.page-home .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.4rem;
}

.page-home .section-head {
  max-width: 48rem;
}

.page-home .section-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.05;
  margin: 0.75rem 0 0;
  color: var(--white);
}

.page-home .section-sub {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(245, 247, 244, 0.72);
  margin-top: 0.6rem;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 9.5rem) 0 4rem;
  background: var(--green);
}

.page-home .hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.3) contrast(1.15);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -14%;
  width: 60%;
  height: 92%;
  background: var(--orange);
  transform: rotate(12deg);
  z-index: 1;
  border-radius: 8px;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -20%;
  width: 42%;
  height: 55%;
  background: var(--grass);
  opacity: 0.45;
  transform: rotate(-8deg);
  z-index: 1;
}

.page-home .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4rem 3rem;
  align-items: center;
}

.page-home .hero-copy {
  max-width: 40rem;
}

.page-home .hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 1.25rem 0 1rem;
  color: var(--white);
}

.page-home .hero-title-accent {
  color: var(--orange-soft);
  display: inline-block;
}

.page-home .hero-copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245, 247, 244, 0.85);
  max-width: 30rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.page-home .btn {
  text-decoration: none;
  border-radius: var(--radius-pill);
}

.page-home .btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 1px solid var(--orange);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.page-home .btn-primary:hover {
  background: var(--orange-soft);
  border-color: var(--orange-soft);
}

.page-home .btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245, 247, 244, 0.45);
  transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.page-home .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-soft);
}

.page-home .hero-scorer {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 12px 12px 0 rgba(255, 75, 43, 0.5);
}

.page-home .hero-scorer::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(26, 26, 26, 0.22);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
  z-index: 1;
}

.page-home .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.page-home .panel-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.page-home .round-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.page-home .round-switch .tag {
  font-family: var(--font-data);
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(26, 26, 26, 0.2);
  color: var(--ink);
  background: transparent;
}

.page-home .round-switch .tag-hot {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.page-home .table-scroll {
  overflow-x: auto;
  position: relative;
  z-index: 2;
}

.page-home .data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.page-home .data-table th {
  font-family: var(--font-data);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(26, 26, 26, 0.65);
  border-bottom: 2px solid rgba(26, 26, 26, 0.16);
  padding: 0.55rem 0.5rem;
  text-align: left;
}

.page-home .data-table th.num,
.page-home .data-table td.num {
  text-align: right;
  font-family: var(--font-data);
  font-weight: 600;
}

.page-home .data-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.page-home .data-table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .data-table tbody tr:hover {
  background: rgba(255, 75, 43, 0.1);
}

.page-home .data-table .rank {
  font-family: var(--font-data);
  font-weight: 600;
  color: rgba(26, 26, 26, 0.55);
}

.page-home .panel-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  position: relative;
  z-index: 2;
}

.page-home .scorer-texture {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 180px;
  height: 120px;
  object-fit: cover;
  opacity: 0.14;
  border-radius: 12px 0 0 0;
  pointer-events: none;
}

.page-home .crumbs {
  padding: 1.4rem 0;
  font-size: 0.82rem;
  color: rgba(245, 247, 244, 0.6);
}

.page-home .crumbs a {
  color: var(--white);
  text-decoration: none;
}

.page-home .crumbs a:hover {
  color: var(--orange-soft);
}

.page-home .crumb-sep {
  margin: 0 0.4rem;
  color: var(--orange-soft);
}

.page-home .crumb-current {
  color: rgba(245, 247, 244, 0.72);
}

.page-home .data-dash {
  background: linear-gradient(135deg, var(--green) 0%, var(--grass) 100%);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.page-home .dash-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.page-home .dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.page-home .stat.card {
  background: rgba(245, 247, 244, 0.06);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.page-home .stat.card:hover {
  background: rgba(245, 247, 244, 0.1);
  transform: translateY(-4px);
}

.page-home .stat-label {
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 247, 244, 0.65);
  display: block;
  margin-bottom: 0.5rem;
}

.page-home .stat-value {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--white);
  display: block;
}

.page-home .stat-value .stat-unit {
  font-size: 0.95rem;
  color: var(--orange-soft);
  margin-left: 0.2rem;
}

.page-home .stat-caption {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: rgba(245, 247, 244, 0.62);
}

.page-home .dash-illustration {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius);
  opacity: 0.75;
  margin: 0 auto;
}

.page-home .match-focus {
  background: var(--green);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.page-home .match-layout {
  display: grid;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.page-home .match-list {
  display: grid;
  gap: 1.25rem;
}

.page-home .match-card {
  background: rgba(245, 247, 244, 0.07);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.page-home .match-card:hover {
  background: rgba(245, 247, 244, 0.12);
  transform: translateY(-3px);
}

.page-home .match-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.page-home .match-league {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--orange-soft);
  text-transform: uppercase;
}

.page-home .match-round {
  font-size: 0.6rem;
  font-family: var(--font-data);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 75, 43, 0.2);
  color: var(--orange-soft);
}

.page-home .match-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 0 0.4rem;
}

.page-home .match-card h3 .vs {
  color: var(--orange);
  font-size: 1rem;
  margin: 0 0.2rem;
}

.page-home .match-time {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: rgba(245, 247, 244, 0.6);
  margin-bottom: 0.6rem;
}

.page-home .match-preview {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(245, 247, 244, 0.78);
  margin-bottom: 1rem;
}

.page-home .match-media img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

.page-home .update-note {
  background: var(--beige);
  color: var(--ink);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.page-home .update-card {
  background: var(--beige);
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 12px 12px 0 rgba(11, 59, 46, 0.7);
  color: var(--ink);
}

.page-home .update-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0.75rem 0 0.75rem;
}

.page-home .update-head p {
  color: rgba(26, 26, 26, 0.72);
  max-width: 44rem;
  line-height: 1.7;
}

.page-home .update-steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-home .update-step {
  border-top: 2px solid var(--green);
  padding-top: 1rem;
}

.page-home .step-num {
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.6rem;
}

.page-home .update-step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.page-home .update-step p {
  font-size: 0.9rem;
  color: rgba(26, 26, 26, 0.72);
  line-height: 1.7;
}

.page-home .update-tip {
  margin-top: 1.8rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 75, 43, 0.12);
  border-left: 3px solid var(--orange);
  font-size: 0.85rem;
  font-family: var(--font-data);
  color: var(--ink);
}

.page-home .update-more {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(26, 26, 26, 0.68);
  line-height: 1.7;
}

.page-home .update-more a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 75, 43, 0.4);
}

.page-home .update-more a:hover {
  color: var(--orange-soft);
}

.page-home .topic-entrance {
  background: var(--green);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.page-home .league-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.page-home .league-card {
  background: rgba(245, 247, 244, 0.07);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.2rem;
  text-decoration: none;
  color: var(--white);
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-home .league-card::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: -1rem;
  width: 70px;
  height: 70px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.18;
  transition: opacity var(--duration) var(--ease);
}

.page-home .league-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.page-home .league-card:hover::after {
  opacity: 0.38;
}

.page-home .league-code {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--orange-soft);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.page-home .league-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
}

.page-home .league-count {
  font-size: 0.76rem;
  color: rgba(245, 247, 244, 0.6);
}

.page-home .round-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.page-home .filter-label {
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(245, 247, 244, 0.6);
  margin-right: 0.25rem;
}

.page-home .round-filter-row .tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  color: var(--white);
  font-family: var(--font-data);
  font-size: 0.78rem;
  text-decoration: none;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.page-home .round-filter-row .tag:hover {
  border-color: var(--orange);
}

.page-home .round-filter-row .tag-hot {
  background: var(--orange);
  border-color: var(--orange);
}

.page-home .entrance-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .page-home .dash-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .dash-layout {
    grid-template-columns: 1fr 180px;
  }

  .page-home .update-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

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

  .page-home .hero-scorer {
    padding: 2rem;
  }

  .page-home .dash-layout {
    grid-template-columns: 1fr 320px;
  }

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