.page-home {
  --home-c-epl: #E6321A;
  --home-c-laliga: #1B4FC4;
  --home-c-jleague: #0FA862;
  --home-c-gold: #F5C518;
  --home-dark: #0D0D12;
  --home-card-shadow: 0 10px 30px rgba(13, 13, 18, 0.08);
  --home-line: rgba(229, 230, 240, 0.85);
  overflow-x: hidden;
}

.page-home .home-hero {
  background-color: var(--home-dark);
  background-image:
    radial-gradient(ellipse at 78% 20%, rgba(27, 79, 196, 0.34), transparent 42%),
    radial-gradient(ellipse at 92% 88%, rgba(230, 50, 26, 0.22), transparent 34%),
    linear-gradient(115deg, transparent 0%, transparent 72%, rgba(245, 197, 24, 0.05) 72%, transparent 74%);
  position: relative;
  overflow: hidden;
  padding: 52px 0 72px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-race);
  z-index: 1;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 4%;
  width: 120px;
  height: 4px;
  background: var(--gradient-race);
  opacity: 0.9;
  z-index: 1;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.page-home .home-hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-home .home-hero__eyebrow {
  margin-bottom: 18px;
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.page-home .home-hero__title span {
  display: block;
  margin-top: 14px;
  color: var(--home-c-gold);
  font-size: 24px;
  line-height: 1.3;
}

.page-home .home-hero__lead {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 56ch;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .home-hero__actions .btn {
  padding: 12px 20px;
  border-radius: 0;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background-color 0.25s;
}

.page-home .home-hero__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.page-home .home-hero .btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.68);
  color: #ffffff;
  background: transparent;
}

.page-home .home-hero .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.page-home .home-hero__right {
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-home .home-hero__media {
  position: relative;
  margin-bottom: 16px;
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .home-hero__round {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 10px 12px;
  background: var(--home-c-epl);
  color: #ffffff;
  font-family: var(--font-data);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.page-home .home-hero__round-num {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-home .home-hero__round-text {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.page-home .home-hero__league-links {
  display: flex;
  gap: 10px;
}

.page-home .home-hero__league-link {
  flex: 1;
  display: block;
  text-align: center;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 3px solid transparent;
  letter-spacing: 0.12em;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.page-home .home-hero__league-link:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.page-home .home-hero__league-link--epl {
  border-bottom-color: var(--home-c-epl);
}

.page-home .home-hero__league-link--laliga {
  border-bottom-color: var(--home-c-laliga);
}

.page-home .home-hero__league-link--jleague {
  border-bottom-color: var(--home-c-jleague);
}

.page-home .home-hero__note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}

.page-home .home-standings {
  background-color: var(--c-light);
  background-image:
    linear-gradient(rgba(27, 79, 196, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 79, 196, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  padding: 60px 0 72px;
}

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

.page-home .home-standings__head {
  display: grid;
  gap: 20px;
  margin-bottom: 26px;
}

.page-home .home-standings__intro {
  display: flex;
  flex-direction: column;
}

.page-home .home-standings__kicker,
.page-home .home-guide__kicker,
.page-home .home-faq__kicker,
.page-home .home-trust__kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--c-primary);
  text-transform: uppercase;
}

.page-home .home-standings__kicker::before,
.page-home .home-guide__kicker::before,
.page-home .home-faq__kicker::before {
  content: "◆";
  display: inline-block;
  margin-right: 6px;
  color: var(--c-primary);
  transform: scale(0.8);
}

.page-home .home-standings h2,
.page-home .home-guide h2,
.page-home .home-faq h2,
.page-home .home-trust h2 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.page-home .home-standings__intro > .home-standings__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
  max-width: 66ch;
}

.page-home .home-standings__update {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--home-line);
  box-shadow: var(--shadow-card);
  padding: 12px 14px;
  align-self: end;
}

.page-home .home-standings__update-img {
  display: block;
  width: 80px;
  height: auto;
  object-fit: cover;
}

.page-home .home-standings__update-text {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--c-text);
}

.page-home .home-standings__filter {
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-home .home-standings__filter .tag-btn {
  border-radius: 0;
  font-size: 13px;
}

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

.page-home .home-standings__card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--home-line);
  box-shadow: var(--shadow-card);
  padding: 20px 16px 14px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, opacity 0.3s;
}

.page-home .home-standings__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: var(--home-c-epl);
}

.page-home .home-standings__card--laliga::before {
  background: var(--home-c-laliga);
}

.page-home .home-standings__card--jleague::before {
  background: var(--home-c-jleague);
}

.page-home .home-standings__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-card-shadow);
}

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

.page-home .home-standings__round {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  font-family: var(--font-data);
  letter-spacing: 0.04em;
}

.page-home .home-standings__league-name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--c-text);
}

.page-home .home-standings__table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
  padding: 0 4px;
}

.page-home .home-rank-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 13px;
}

.page-home .home-rank-table th {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  text-align: center;
  padding: 8px 4px;
  border-bottom: 2px solid #e9eaf0;
  white-space: nowrap;
}

.page-home .home-rank-table td {
  font-family: var(--font-data);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  padding: 11px 4px;
  border-bottom: 1px solid #f0f1f5;
  color: var(--c-text);
}

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

.page-home .home-rank-table tbody tr:hover {
  background: #fafafc;
}

.page-home .home-rank-table td:first-child {
  color: var(--c-muted);
  font-weight: 700;
}

.page-home .home-rank-table td:nth-child(2) {
  font-family: var(--font-body);
  font-weight: 800;
  text-align: left;
  padding-left: 8px;
  white-space: nowrap;
}

.page-home .home-rank-table__pts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  font-size: 17px;
  font-weight: 800;
  color: var(--c-primary);
  background: rgba(230, 50, 26, 0.08);
  border: 1px solid rgba(230, 50, 26, 0.18);
}

.page-home .home-standings__card--laliga .home-rank-table__pts {
  color: var(--home-c-laliga);
  background: rgba(27, 79, 196, 0.07);
  border-color: rgba(27, 79, 196, 0.16);
}

.page-home .home-standings__card--jleague .home-rank-table__pts {
  color: var(--home-c-jleague);
  background: rgba(15, 168, 98, 0.08);
  border-color: rgba(15, 168, 98, 0.18);
}

.page-home .home-standings__more {
  margin-top: 30px;
  text-align: center;
}

.page-home .home-standings__more .btn {
  border-radius: 0;
  font-weight: 700;
  padding: 12px 24px;
}

.page-home .home-guide {
  background: #ffffff;
  padding: 64px 0 72px;
  position: relative;
}

.page-home .home-guide::before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: var(--gradient-race);
  opacity: 0.22;
}

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

.page-home .home-guide__head {
  margin-bottom: 36px;
  max-width: 760px;
}

.page-home .home-guide__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

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

.page-home .home-guide__timeline {
  position: relative;
  padding-left: 28px;
}

.page-home .home-guide__timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--home-c-epl) 0%, var(--home-c-laliga) 62%, var(--home-c-jleague) 100%);
}

.page-home .home-guide__match {
  position: relative;
  background: #fbfbfd;
  border: 1px solid var(--home-line);
  border-left: 4px solid var(--home-c-epl);
  box-shadow: var(--shadow-card);
  padding: 22px 20px 20px;
  margin-bottom: 22px;
}

.page-home .home-guide__match--second {
  border-left-color: var(--home-c-laliga);
}

.page-home .home-guide__match::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 28px;
  width: 12px;
  height: 12px;
  background: var(--home-c-epl);
  transform: rotate(45deg);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--home-c-epl);
}

.page-home .home-guide__match--second::before {
  background: var(--home-c-laliga);
  box-shadow: 0 0 0 2px var(--home-c-laliga);
}

.page-home .home-guide__match-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-home .home-guide__match-day {
  background: var(--home-dark);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
}

.page-home .home-guide__match-time {
  margin-left: auto;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 15px;
  color: var(--c-primary);
}

.page-home .home-guide__match--second .home-guide__match-time {
  color: var(--home-c-laliga);
}

.page-home .home-guide__match-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 900;
  color: var(--c-text);
}

.page-home .home-guide__match-desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-muted);
}

.page-home .home-guide__match-tips {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-guide__match-tips li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-muted);
}

.page-home .home-guide__match-tips li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--home-c-gold);
  font-size: 11px;
}

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

.page-home .home-guide__media-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(4% 0, 100% 0, 100% 92%, 96% 100%, 0 100%, 0 8%);
}

.page-home .home-guide__media-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--c-muted);
  text-align: right;
  letter-spacing: 0.04em;
}

.page-home .home-faq {
  background: var(--c-light);
  padding: 64px 0 72px;
}

.page-home .home-faq__head {
  max-width: 760px;
  margin-bottom: 32px;
}

.page-home .home-faq__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.page-home .home-faq__grid {
  display: grid;
  gap: 22px;
}

.page-home .home-faq__card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-top: 5px solid var(--home-c-laliga);
  box-shadow: var(--shadow-card);
  padding: 30px 24px 26px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.page-home .home-faq__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-card-shadow);
}

.page-home .home-faq__card--accent {
  border-top-color: var(--home-c-epl);
}

.page-home .home-faq__card-num {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: var(--font-data);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: #e5e7f2;
  z-index: 0;
}

.page-home .home-faq__card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 900;
  color: var(--c-text);
}

.page-home .home-faq__steps {
  list-style: none;
  counter-reset: haha-step;
  margin: 0 0 24px;
  padding: 0;
}

.page-home .home-faq__steps li {
  counter-increment: haha-step;
  position: relative;
  padding: 9px 0 9px 40px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text);
  border-bottom: 1px dashed #e3e5ef;
}

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

.page-home .home-faq__steps li::before {
  content: counter(haha-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 800;
  color: var(--home-c-laliga);
  background: rgba(27, 79, 196, 0.08);
  border-radius: 0 8px 0 8px;
}

.page-home .home-faq__card--accent .home-faq__steps li::before {
  color: var(--home-c-epl);
  background: rgba(230, 50, 26, 0.08);
}

.page-home .home-faq__note {
  margin: 24px 0 0;
  padding: 14px 16px;
  background: rgba(245, 197, 24, 0.15);
  border-left: 4px solid var(--home-c-gold);
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text);
}

.page-home .home-trust {
  position: relative;
  background-color: var(--home-dark);
  padding: 76px 0 84px;
  overflow: hidden;
}

.page-home .home-trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, var(--home-c-epl) 0%, var(--home-c-gold) 40%, var(--home-c-laliga) 100%);
  z-index: 2;
}

.page-home .home-trust__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.15) contrast(1.05);
}

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

.page-home .home-trust__card {
  max-width: 740px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--home-c-gold);
  padding: 38px 30px 34px;
  margin-left: auto;
  backdrop-filter: blur(2px);
}

.page-home .home-trust__kicker {
  color: var(--home-c-gold);
  font-size: 14px;
}

.page-home .home-trust h2 {
  color: #ffffff;
  font-size: 34px;
}

.page-home .home-trust__lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 24px;
}

.page-home .home-trust__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 24px;
}

.page-home .home-trust__item {
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--home-c-gold);
  padding: 14px 14px 12px;
}

.page-home .home-trust__item span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.page-home .home-trust__item strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  font-family: var(--font-data);
}

.page-home .home-trust__note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 22px;
  padding-left: 12px;
  border-left: 2px solid rgba(245, 197, 24, 0.7);
}

.page-home .home-trust .btn {
  border-radius: 0;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 14px;
}

@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 72px 0 88px;
  }

  .page-home .home-hero__title {
    font-size: 46px;
  }

  .page-home .home-hero__title span {
    font-size: 30px;
  }

  .page-home .home-hero__lead {
    font-size: 16px;
  }

  .page-home .home-standings {
    padding: 72px 0 84px;
  }

  .page-home .home-standings__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .page-home .home-standings h2,
  .page-home .home-guide h2,
  .page-home .home-faq h2,
  .page-home .home-trust h2 {
    font-size: 38px;
  }

  .page-home .home-guide {
    padding: 76px 0 84px;
  }

  .page-home .home-faq {
    padding: 76px 0 84px;
  }

  .page-home .home-faq__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-trust {
    padding: 88px 0 96px;
  }

  .page-home .home-trust__card {
    padding: 48px 42px 42px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 600px;
  }

  .page-home .home-hero__left {
    padding-right: 48px;
  }

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

  .page-home .home-guide__layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .page-home .home-guide__match {
    padding: 26px 24px 22px;
  }

  .page-home .home-guide__media-caption {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__title {
    font-size: 52px;
  }

  .page-home .home-hero__title span {
    font-size: 32px;
  }

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