.page-home {
  --home-orange-glow: rgba(255, 107, 53, 0.4);
  --home-amber-glow: rgba(244, 162, 33, 0.25);
  --home-card-bg: rgba(255, 255, 255, 0.06);
  --home-border: rgba(255, 255, 255, 0.14);
  --home-pad: 48px;
}

.page-home .site-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.page-home .home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-block: 24px 64px;
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -30%;
  width: 50%;
  height: 160%;
  background: linear-gradient(115deg, transparent 42%, var(--green-mid) 42.5%, rgba(43, 93, 107, 0.25) 52%, transparent 52.5%);
  clip-path: polygon(55% 0, 100% 0, 80% 100%, 30% 100%);
  z-index: 0;
  pointer-events: none;
}

.page-home .home-hero-left,
.page-home .home-hero-right {
  position: relative;
  z-index: 1;
}

.page-home .home-hero-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  padding-left: 4px;
}

.page-home .home-hero-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 9vw, 84px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--white);
}

.page-home .home-hero-title br {
  display: none;
}

.page-home .home-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--light);
  max-width: 46em;
  margin: 0 0 24px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero-actions .btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-hero-actions .btn--primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}

.page-home .home-hero-actions .btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 4px var(--home-orange-glow);
  transform: translateY(-2px);
}

.page-home .home-hero-actions .btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.page-home .home-hero-actions .btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

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

.page-home .home-hero-image img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.page-home .home-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 61, 46, 0.85) 0%,
    rgba(11, 61, 46, 0.1) 45%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-radius: 16px;
  z-index: 1;
}

.page-home .home-countdown-card {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: 16px;
  padding: 20px;
  color: var(--white);
  box-shadow: 0 0 44px var(--home-orange-glow);
}

.page-home .home-countdown-card::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 50%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    var(--amber);
  );
  opacity: 0;
}

.page-home .home-countdown-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .home-countdown-time {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
}

.page-home .home-countdown-num {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.page-home .home-countdown-unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.page-home .home-countdown-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 14px;
  line-height: 1.5;
}

.page-home .home-countdown-link {
  display: inline-block;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.page-home .home-countdown-link:hover {
  border-color: var(--white);
}

.page-home .home-destination {
  padding-block: 64px 40px;
  position: relative;
  background-color: var(--bg-darker);
}

.page-home .home-destination .section-head {
  margin-bottom: 32px;
}

.page-home .home-destination .section-tag {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .home-destination .section-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.05;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.page-home .home-destination .section-desc {
  color: var(--muted);
  font-size: 14px;
  max-width: 52em;
  line-height: 1.7;
}

.page-home .home-destination-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-destination-card {
  position: relative;
  background: var(--home-card-bg);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  overflow: hidden;
}

.page-home .home-destination-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 24px solid var(--accent);
  border-left: 24px solid transparent;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.page-home .home-destination-card:hover::before,
.page-home .home-destination-card:focus-within::before {
  opacity: 1;
}

.page-home .home-destination-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.page-home .home-step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.16em;
}

.page-home .home-destination-card .card_title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.page-home .home-destination-card p:not(.card_title) {
  color: var(--light);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
  padding-right: 12px;
}

.page-home .home-destination-card .btn--ghost {
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-destination-card .btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-home .home-first-visit {
  padding-block: 64px 56px;
  background-color: var(--light);
  border-top: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}

.page-home .home-first-visit .section-tag {
  color: var(--accent-deep);
}

.page-home .home-first-visit .section-title {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.page-home .home-first-visit .section-desc {
  color: #34463d;
  font-size: 15px;
  line-height: 1.7;
  max-width: 48em;
}

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

.page-home .home-first-layout .btn--primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .home-first-layout .btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}

.page-home .home-first-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .home-first-stat .stat_value {
  font-size: 34px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.page-home .home-first-stat .stat--amber {
  color: var(--accent-deep);
}

.page-home .home-first-stat .stat--white {
  color: var(--ink);
}

.page-home .home-first-stat .stat_label {
  font-size: 13px;
  color: #51635a;
  letter-spacing: 0.04em;
}

.page-home .home-first-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-home .home-first-card-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
  min-height: 260px;
}

.page-home .home-first-card {
  position: absolute;
  border-radius: 16px;
  padding: 20px;
  width: 84%;
  box-shadow: 0 16px 36px rgba(11, 61, 46, 0.16);
}

.page-home .home-first-card--back {
  background: var(--green-mid);
  border: 1px solid rgba(255, 255, 255, 0.3);
  top: 6px;
  left: 0;
  transform: rotate(-5deg);
  color: var(--white);
}

.page-home .home-first-card--front {
  background: var(--white);
  border: 2px solid var(--accent);
  top: 30px;
  right: 0;
  z-index: 2;
}

.page-home .home-first-card-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.page-home .home-first-card--back .home-first-card-label {
  color: rgba(255, 255, 255, 0.8);
}

.page-home .home-first-card--back .home-first-card-value {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  margin: 0;
}

.page-home .home-first-card--front .home-first-card-label {
  color: var(--muted);
}

.page-home .home-first-card-league {
  color: var(--green-mid);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}

.page-home .home-first-card-match {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 12px;
}

.page-home .home-first-card .home-vs {
  color: var(--accent);
  font-weight: 800;
  padding-inline: 4px;
}

.page-home .home-lineup-section {
  padding-block: 64px 40px;
}

.page-home .home-lineup-section .section-tag {
  color: var(--accent);
}

.page-home .home-lineup-section .section-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  margin: 8px 0 12px;
}

.page-home .home-lineup-section .section-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 50em;
}

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

.page-home .home-lineup-content .path {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  position: relative;
}

.page-home .home-lineup-content .path::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-mid) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.page-home .home-lineup-content .path_node {
  position: relative;
  padding-left: 44px;
  margin-bottom: 28px;
  border-left-style: none;
}

.page-home .home-lineup-content .path_node:nth-child(3) {
  margin-bottom: 0;
}

.page-home .home-lineup-content .path_node::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--bg-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent);
}

.page-home .home-lineup-content .path_node h3 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.page-home .home-lineup-content .path_node p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.page-home .home-lineup-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

.page-home .home-lineup-card {
  background: var(--home-card-bg);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  padding: 18px 22px;
  order: 2;
}

.page-home .home-lineup-card-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}

.page-home .home-lineup-card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--amber);
  margin: 0 0 16px;
}

.page-home .home-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--home-amber-glow);
}

.page-home .home-lineup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px;
  border-bottom: 1px solid var(--home-border);
  margin: 0;
}

.page-home .home-lineup-row:last-child {
  border-bottom: none;
}

.page-home .home-lineup-row dt {
  color: var(--light);
  font-size: 13px;
  font-weight: 600;
  width: 40px;
}

.page-home .home-lineup-row dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-home .home-shirt-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.page-home .home-lineup-image {
  margin: 0;
  order: 1;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.page-home .home-lineup-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  max-height: 260px;
}

.page-home .home-lineup-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(11, 61, 46, 0.4) 100%);
  border-radius: 14px;
  pointer-events: none;
}

.page-home .home-review-section {
  padding-block: 64px 56px;
  position: relative;
  overflow: hidden;
}

.page-home .home-review-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--accent), var(--amber), var(--green-mid), var(--steel));
}

.page-home .home-review-section .section-head {
  text-align: left;
}

.page-home .home-review-section .section-tag {
  color: var(--accent-deep);
}

.page-home .home-review-section .section-title {
  color: var(--ink);
}

.page-home .home-review-section .section-desc {
  color: #34463d;
}

.page-home .home-review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.page-home .home-review-card {
  background: var(--white);
  border: 1px solid rgba(11, 61, 46, 0.12);
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-home .home-review-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 22px solid var(--accent);
  border-left: 22px solid transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-home .home-review-card:hover::before {
  opacity: 1;
}

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

.page-home .home-review-card .card_title {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  margin: 18px 0 8px;
}

.page-home .home-review-card p {
  color: #45564e;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.page-home .home-review-card .btn--ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  transition: border-color 0.2s, color 0.2s;
}

.page-home .home-review-card .btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-home .home-review-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
}

.page-home .home-review-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px;
  border-radius: 16px;
}

.page-home .home-review-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(43, 93, 107, 0.5), transparent 55%, rgba(255, 107, 53, 0.6));
  border-radius: 16px;
  pointer-events: none;
}

.page-home .home-league {
  padding-block: 64px 72px;
}

.page-home .home-league .section-tag {
  color: var(--accent);
}

.page-home .home-league .section-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  margin: 8px 0 12px;
}

.page-home .home-league .section-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 52em;
}

.page-home .home-league-list {
  margin-top: 32px;
  border-top: 1px solid var(--home-border);
}

.page-home .home-league-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name ar" "desc ar";
  align-items: center;
  gap: 0 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--home-border);
  text-decoration: none;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.page-home .home-league-item:hover {
  padding-left: 12px;
}

.page-home .home-league-item-name {
  grid-area: name;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.page-home .home-league-item:hover .home-league-item-name {
  color: var(--accent);
}

.page-home .home-league-item-desc {
  grid-area: desc;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.page-home .home-league-item-ar {
  grid-area: ar;
  color: var(--accent);
  font-size: 28px;
  width: 32px;
  text-align: center;
}

.page-home .v-note {
  display: inline-block;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 12px;
  vertical-align: middle;
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .page-home .home-hero {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: start;
    padding-block: 48px 80px;
  }

  .page-home .home-hero-title br {
    display: block;
  }

  .page-home .home-hero-desc {
    font-size: 17px;
  }

  .page-home .home-hero-image img {
    max-height: 340px;
  }

  .page-home .home-destination-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .home-first-layout {
    grid-template-columns: 6fr 5fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .home-first-stat .stat_value {
    font-size: 40px;
  }

  .page-home .home-lineup-layout {
    grid-template-columns: 6fr 5fr;
    gap: 48px;
  }

  .page-home .home-lineup-visual {
    flex-direction: column;
  }

  .page-home .home-lineup-image img {
    max-height: 280px;
  }

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

  .page-home .home-review-image img {
    max-height: 460px;
  }
}

@media (min-width: 1024px) {
  .page-home .site-container {
    padding-inline: 40px;
  }

  .page-home .home-hero {
    gap: 56px;
  }

  .page-home .home-hero-image img {
    max-height: 380px;
  }

  .page-home .home-countdown-card {
    padding: 24px;
  }

  .page-home .home-countdown-num {
    font-size: 54px;
  }
}
