.page-home {
  --home-hero-min-height: 620px;
  --home-radius-lg: 16px;
  --home-radius-md: 12px;
  display: block;
  background: var(--bg-deep);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  min-height: var(--home-hero-min-height);
  display: flex;
  align-items: center;
  background: var(--bg-deep);
}

.page-home .home-hero__media,
.page-home .home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero__media img {
  opacity: 0.42;
}

.page-home .home-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 20, 40, 0.92) 0%, rgba(10, 20, 40, 0.62) 54%, rgba(18, 49, 94, 0.42) 100%);
}

.page-home .home-hero__frame {
  position: absolute;
  inset: 20px 14px;
  border: 1px solid rgba(45, 226, 230, 0.22);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}

.page-home .home-hero__frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(198, 255, 0, 0.55) 0 20px, transparent 20px 40px);
}

.page-home .home-hero__pitchline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.page-home .home-hero__pitchline svg {
  display: block;
  width: 100%;
  height: 36px;
}

.page-home .home-hero__wrap {
  position: relative;
  z-index: 3;
  padding: 76px 0 72px;
}

.page-home .home-hero__crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--txt-steel);
  margin-bottom: 28px;
}

.page-home .home-hero__crumb a {
  color: var(--acc-green);
  text-decoration: none;
}

.page-home .home-hero__crumb em {
  font-style: normal;
  color: var(--txt-steel);
}

.page-home .home-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-hero__tag {
  color: var(--acc-orange);
  font-weight: 700;
}

.page-home .home-hero__title {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--txt-ice);
  font-weight: 900;
}

.page-home .home-hero__title span {
  display: block;
  margin-top: 8px;
  font-size: 0.48em;
  font-weight: 700;
  color: var(--acc-green);
  letter-spacing: 0.04em;
}

.page-home .home-hero__lead {
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--txt-steel);
  margin: 0 0 28px;
}

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

.page-home .home-hero__matches {
  background: linear-gradient(160deg, rgba(18, 49, 94, 0.95), rgba(10, 20, 40, 0.9));
  border: 1px solid rgba(45, 226, 230, 0.22);
  border-radius: var(--home-radius-lg);
  padding: 20px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38), 0 0 0 4px rgba(10, 20, 40, 0.3);
}

.page-home .home-hero__matches-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.page-home .home-match-stack {
  display: grid;
  gap: 10px;
}

.page-home .home-match-card {
  border-radius: 10px;
}

.page-home .home-match-card__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: rgba(240, 244, 255, 0.05);
  border: 1px solid rgba(240, 244, 255, 0.08);
  border-radius: 10px;
  color: var(--txt-ice);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.page-home .home-match-card__btn:hover {
  background: rgba(198, 255, 0, 0.06);
  border-color: rgba(198, 255, 0, 0.35);
  transform: translateY(-2px);
}

.page-home .home-match-card__league {
  flex: 0 0 auto;
  min-width: 36px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--acc-orange);
  color: var(--txt-ice);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.page-home .home-match-card__teams {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.page-home .home-match-card__teams em {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.page-home .home-match-card__teams strong {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--acc-green);
  background: rgba(10, 20, 40, 0.55);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.page-home .home-match-card__clock {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--line-cyan);
  background: rgba(45, 226, 230, 0.1);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

.page-home .home-match-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 0;
  padding: 12px;
  background: rgba(10, 20, 40, 0.5);
  border-radius: 8px;
}

.page-home .home-match-detail > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-home .home-match-detail dt {
  color: var(--txt-steel);
  font-size: 13px;
}

.page-home .home-match-detail dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--txt-ice);
}

.page-home .home-hero__footlink {
  display: inline-flex;
  margin-top: 14px;
  color: var(--txt-steel);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 196, 208, 0.4);
  transition: color 0.3s, border-color 0.3s;
}

.page-home .home-hero__footlink:hover {
  color: var(--acc-green);
  border-color: var(--acc-green);
}

.page-home .home-videos {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(115deg, transparent 0%, rgba(18, 49, 94, 0.5) 48%, transparent 100%), var(--bg-deep);
}

.page-home .home-videos::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(45, 226, 230, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-home .home-videos__head {
  margin-bottom: 16px;
}

.page-home .home-videos__lead {
  max-width: 78ch;
  color: var(--txt-steel);
  margin: 0 0 32px;
  line-height: 1.7;
}

.page-home .home-videos__layout {
  display: grid;
  gap: 24px;
}

.page-home .home-videos__feature {
  background: rgba(18, 49, 94, 0.55);
  border: 1px solid rgba(45, 226, 230, 0.16);
  border-radius: var(--home-radius-lg);
  padding: 14px;
}

.page-home .home-videos__cover {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: var(--bg-stadium);
}

.page-home .home-videos__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.page-home .home-videos__feature:hover .home-videos__cover img {
  transform: scale(1.04);
}

.page-home .home-videos__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: var(--acc-green);
  background: radial-gradient(circle, rgba(10, 20, 40, 0.35) 0%, transparent 65%);
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.page-home .home-videos__feature:hover .home-videos__play {
  transform: scale(1.1);
  opacity: 1;
}

.page-home .home-videos__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.78);
  color: var(--acc-green);
  font-size: 12px;
  border: 1px solid rgba(198, 255, 0, 0.35);
}

.page-home .home-videos__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
}

.page-home .home-videos__league {
  color: var(--acc-orange);
  font-weight: 700;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
}

.page-home .home-videos__feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  margin: 8px 0;
  color: var(--txt-ice);
}

.page-home .home-videos__feature-desc {
  color: var(--txt-steel);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}

.page-home .home-videos__list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-videos__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(18, 49, 94, 0.5);
  border: 1px solid rgba(240, 244, 255, 0.08);
  border-radius: 12px;
  color: var(--txt-ice);
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.page-home .home-videos__item:hover {
  transform: translateX(6px);
  border-color: rgba(198, 255, 0, 0.4);
  background: rgba(198, 255, 0, 0.06);
}

.page-home .home-videos__rank {
  font-size: 15px;
  color: var(--acc-orange);
  font-family: var(--font-mono);
}

.page-home .home-videos__item-body {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.page-home .home-videos__item-body strong {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-videos__arrow {
  color: var(--line-cyan);
}

.page-home .home-history {
  background: linear-gradient(130deg, rgba(255, 106, 0, 0.12) 0%, transparent 28%), var(--bg-stadium);
  padding: 72px 0;
}

.page-home .home-history__layout {
  display: grid;
  gap: 32px;
}

.page-home .home-history__visual {
  position: relative;
  align-self: center;
  max-width: 360px;
  margin: 0 auto;
}

.page-home .home-history__visual img {
  width: 100%;
  height: auto;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(198, 255, 0, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.page-home .home-history__stamp {
  position: absolute;
  left: -12px;
  bottom: 18px;
  padding: 8px 16px;
  background: var(--acc-orange);
  color: var(--txt-ice);
  font-weight: 800;
  font-size: 14px;
  border-radius: 6px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.page-home .home-history__content {
  min-width: 0;
}

.page-home .home-history__content .section-head {
  margin-bottom: 14px;
}

.page-home .home-history__lead {
  color: var(--txt-steel);
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-home .home-history__timeline {
  position: relative;
  margin: 0 0 28px;
  padding-left: 22px;
}

.page-home .home-history__timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--acc-orange), var(--line-cyan) 55%, var(--acc-green));
}

.page-home .home-history__item {
  position: relative;
}

.page-home .home-history__item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--acc-green);
}

.page-home .home-history__round {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
  padding: 13px 14px;
  background: rgba(10, 20, 40, 0.42);
  border: 1px solid rgba(240, 244, 255, 0.06);
  border-radius: 10px;
  color: var(--txt-ice);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background 0.3s, border-color 0.3s;
}

.page-home .home-history__round:hover {
  background: rgba(10, 20, 40, 0.68);
  border-color: rgba(198, 255, 0, 0.32);
}

.page-home .home-history__round-label {
  flex: 0 0 auto;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 106, 0, 0.2);
  color: var(--acc-orange);
  font-weight: 700;
}

.page-home .home-history__round-pair {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}

.page-home .home-history__round-pair b {
  font-size: 14px;
}

.page-home .home-history__round-pair .mono {
  color: var(--txt-steel);
  font-size: 12px;
}

.page-home .home-history__round-score {
  font-size: 16px;
  color: var(--acc-green);
}

.page-home .home-history__round-detail p {
  margin: -2px 0 12px;
  padding: 12px 14px;
  background: rgba(240, 244, 255, 0.05);
  border-radius: 0 8px 8px 8px;
  border-left: 2px solid var(--line-cyan);
  color: var(--txt-steel);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-lineups {
  padding: 72px 0;
  background: radial-gradient(circle at 88% 10%, rgba(45, 226, 230, 0.1), transparent 22%), var(--bg-deep);
}

.page-home .home-lineups__layout {
  display: grid;
  gap: 32px;
}

.page-home .home-lineups__content {
  min-width: 0;
}

.page-home .home-lineups__lead {
  color: var(--txt-steel);
  line-height: 1.7;
  margin: 0 0 26px;
  max-width: 58ch;
}

.page-home .home-lineups__panel {
  background: linear-gradient(160deg, rgba(18, 49, 94, 0.66), rgba(10, 20, 40, 0.7));
  border: 1px solid rgba(240, 244, 255, 0.1);
  border-radius: var(--home-radius-lg);
  padding: 18px;
}

.page-home .home-lineups__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.page-home .home-lineups__tab {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(240, 244, 255, 0.16);
  color: var(--txt-steel);
  font-size: 13px;
  font-weight: 600;
}

.page-home .home-lineups__tab.is-active {
  background: var(--acc-green);
  color: var(--bg-deep);
  border-color: var(--acc-green);
  font-weight: 700;
}

.page-home .home-lineups__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-home .home-lineups__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: rgba(240, 244, 255, 0.04);
  border-radius: 8px;
}

.page-home .home-lineups__status {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.page-home .home-lineups__status--grass {
  color: var(--bg-deep);
  background: var(--state-grass);
}

.page-home .home-lineups__status--alert {
  color: var(--txt-ice);
  background: var(--state-alert);
}

.page-home .home-lineups__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.page-home .home-lineups__meta b {
  color: var(--txt-ice);
  font-size: 14px;
}

.page-home .home-lineups__meta em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--line-cyan);
}

.page-home .home-lineups__time {
  font-size: 12px;
  white-space: nowrap;
}

.page-home .home-lineups__snapshot {
  margin-top: 14px;
}

.page-home .home-lineups__snapshot-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  background: rgba(198, 255, 0, 0.06);
  border: 1px dashed rgba(198, 255, 0, 0.35);
  border-radius: 8px;
  color: var(--acc-green);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.page-home .home-lineups__snapshot-btn:hover {
  background: rgba(198, 255, 0, 0.12);
}

.page-home .home-lineups__prev {
  list-style: none;
  margin: 10px 0 0;
  padding: 10px;
  background: rgba(10, 20, 40, 0.5);
  border-radius: 8px;
  display: grid;
  gap: 8px;
}

.page-home .home-lineups__prev li {
  display: flex;
  justify-content: space-between;
  color: var(--txt-steel);
  font-size: 14px;
}

.page-home .home-lineups__prev .mono {
  color: var(--line-cyan);
}

.page-home .home-lineups__more {
  display: inline-block;
  margin-top: 16px;
  color: var(--txt-steel);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 196, 208, 0.4);
}

.page-home .home-lineups__more:hover {
  color: var(--acc-green);
  border-color: var(--acc-green);
}

.page-home .home-lineups__visual {
  align-self: center;
  justify-self: center;
}

.page-home .home-lineups__visual img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(45, 226, 230, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.page-home .home-tags {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--bg-stadium) 0%, var(--bg-deep) 100%);
}

.page-home .home-tags__lead {
  max-width: 72ch;
  color: var(--txt-steel);
  line-height: 1.7;
  margin: 0 0 28px;
}

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

.page-home .home-tags__col {
  background: rgba(10, 20, 40, 0.4);
  border: 1px solid rgba(45, 226, 230, 0.15);
  border-radius: var(--home-radius-md);
  padding: 18px;
}

.page-home .home-tags__col-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--acc-orange);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.page-home .home-tags__col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 12px;
}

.page-home .home-tags__col-list a {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(240, 244, 255, 0.05);
  border: 1px solid rgba(240, 244, 255, 0.1);
  border-radius: 999px;
  color: var(--txt-ice);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.page-home .home-tags__col-list a:hover {
  background: rgba(198, 255, 0, 0.1);
  border-color: rgba(198, 255, 0, 0.4);
  color: var(--acc-green);
}

.page-home .home-tags__records {
  background: rgba(10, 20, 40, 0.6);
  border: 1px solid rgba(198, 255, 0, 0.14);
  border-radius: var(--home-radius-md);
  padding: 20px;
}

.page-home .home-tags__records-title {
  margin: 0 0 8px;
  color: var(--txt-ice);
  font-size: 18px;
  font-family: var(--font-display);
}

.page-home .home-tags__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(240, 244, 255, 0.07);
}

.page-home .home-tags__row:last-child {
  border-bottom: 0;
}

.page-home .home-tags__module {
  font-weight: 700;
  color: var(--acc-green);
  font-size: 13px;
}

.page-home .home-tags__tag {
  color: var(--txt-ice);
  font-size: 14px;
}

.page-home .home-help {
  padding: 56px 0 72px;
  background: var(--bg-deep);
}

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

.page-home .home-help__card {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(18, 49, 94, 0.62), rgba(10, 20, 40, 0.72));
  border: 1px solid rgba(240, 244, 255, 0.08);
  border-radius: var(--home-radius-md);
  color: var(--txt-ice);
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.page-home .home-help__card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 226, 230, 0.38);
}

.page-home .home-help__card-title {
  font-family: var(--font-display);
  font-size: 17px;
}

.page-home .home-help__card-text {
  color: var(--txt-steel);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-help__card-link {
  color: var(--acc-orange);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

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

@media (min-width: 768px) {
  .page-home .home-videos__layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .page-home .home-history__layout {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

  .page-home .home-lineups__layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

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

  .page-home .home-help__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__grid {
    grid-template-columns: 1fr minmax(430px, 520px);
    gap: 48px;
  }

  .page-home .home-hero__wrap {
    padding: 96px 0 84px;
  }
}
