/* Match landing page — pitch-pattern panel layout, no photography. */
:root {
  --match-night: #061827;
  --match-deep: #0a243b;
  --match-panel: #0e2d46;
  --match-line: #26465e;
  --match-cyan: #43c4ed;
  --match-copy: #b6c9d5;
  --match-muted: #8ba8ba;
}

.match-details-page {
  background: var(--match-night);
  color: #fff;
}

.match-details-page .skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  display: block;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 11px 15px;
  transform: translateY(calc(-100% - 20px));
  border: 1px solid var(--match-cyan);
  border-radius: 4px;
  background: var(--match-panel);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform .18s ease;
}

.match-details-page .skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.match-details-page .site-header {
  background: rgba(6, 24, 39, .96);
  border-bottom-color: rgba(139, 168, 186, .2);
}

.match-details-page .site-nav a,
.match-details-page .text-link {
  transition: color .18s ease;
}

.match-details-page .site-nav a:hover,
.match-details-page .text-link:hover {
  color: var(--match-cyan);
}

/* Hero: a pitch-line pattern instead of photography, with a live match-card
   mockup sitting in normal flow beside the copy (no floating overlap). */
.match-details-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(50px, 6vw, 86px) 0 80px;
  background:
    repeating-linear-gradient(0deg, rgba(67, 196, 237, .05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(67, 196, 237, .05) 0 1px, transparent 1px 64px),
    radial-gradient(ellipse at 18% 0%, rgba(24, 81, 108, .4), transparent 48%),
    linear-gradient(180deg, #08243a 0%, var(--match-night) 82%);
}

.match-details-page .hero-glow-one,
.match-details-page .hero-glow-two {
  display: none;
}

.match-details-page .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
  max-width: var(--max);
}

.match-details-page .hero-copy {
  max-width: 600px;
  margin: 0;
}

.match-details-page .hero .eyebrow {
  margin: 0 0 20px;
  color: var(--match-cyan);
}

.match-details-page .hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: .98;
  letter-spacing: -.06em;
}

.match-details-page .hero h1 em {
  color: var(--match-cyan);
  font-style: normal;
}

.match-details-page .hero-text {
  max-width: 480px;
  margin: 22px 0 0;
  color: #c0d0da;
  font-size: 16px;
  line-height: 1.75;
}

.match-details-page .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 21px;
  margin-top: 28px;
}

.match-details-page .trust-row {
  gap: 8px 12px;
  margin: 25px 0 0;
  color: #9eb7c7;
}

/* Match-card mockup: a scoreboard ticket, not a photo or a floating profile card. */
.match-details-page .match-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border: 1px solid var(--match-line);
  border-top: 2px solid var(--match-cyan);
  background: linear-gradient(150deg, #0e2d46, #0a243b 76%);
  box-shadow: 0 34px 78px rgba(0, 0, 0, .38);
}

.match-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--match-line);
}

.match-card-when {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.match-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(67, 196, 237, .5);
  border-radius: 999px;
  color: var(--match-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.match-card-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--match-cyan);
}

.match-card-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 26px 20px 22px;
}

.match-card-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.match-card-crest {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(67, 196, 237, .4);
  border-radius: 50%;
  background: rgba(67, 196, 237, .08);
  color: var(--match-cyan);
}

.match-card-crest svg {
  width: 26px;
  height: 26px;
}

.match-card-team span {
  color: #d6e3ea;
  font-size: 12.5px;
  font-weight: 700;
}

.match-card-vs {
  color: #6f8fa3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.match-card-fill {
  margin: 0 20px 20px;
}

.match-card-fill-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #9eb7c7;
  font-size: 11px;
  font-weight: 700;
}

.match-card-fill-row strong {
  color: #fff;
  font-size: 12.5px;
}

.match-card-fill-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.match-card-fill-bar {
  width: 64%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--match-cyan), #8be3fb);
}

.match-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--match-line);
  color: #89a9ba;
  font-size: 11.5px;
}

.match-card-foot svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--match-cyan);
}

/* A concise direct answer gives search visitors context before the detail. */
.match-details-page .match-answer-section {
  padding: 35px 0;
  background: var(--match-deep);
}

.match-details-page .match-answer-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4px 0 4px 21px;
  border-inline-start: 2px solid var(--match-cyan);
  background: transparent;
}

.match-details-page .match-answer-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(67, 196, 237, .5);
  border-radius: 50%;
  color: var(--match-cyan);
  font-size: 19px;
  font-weight: 700;
}

.match-details-page .match-answer-card h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.match-details-page .match-answer-card p {
  max-width: 950px;
  margin: 0;
  color: var(--match-copy);
  font-size: 14px;
  line-height: 1.7;
}

.match-details-page .section {
  padding: 100px 0;
}

.match-details-page .section-lead {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--match-copy);
  font-size: 15px;
  line-height: 1.7;
}

/* Two ways to host: a pair of unequal panels, not a 3-up card grid or a table. */
.match-details-page .host-section {
  background: var(--match-deep);
}

.match-details-page .host-section .section-heading {
  max-width: 700px;
  margin: 0 0 44px;
}

.match-details-page .host-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.match-details-page .host-path {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--match-line);
  background: linear-gradient(160deg, #0e2d46, #0a243b 78%);
}

.match-details-page .host-path.is-club {
  border-top: 2px solid var(--match-cyan);
}

.match-details-page .host-path.is-player {
  border-top: 2px solid rgba(67, 196, 237, .45);
}

.match-details-page .host-path-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid rgba(67, 196, 237, .38);
  background: rgba(67, 196, 237, .08);
  color: var(--match-cyan);
}

.match-details-page .host-path-icon svg {
  width: 23px;
  height: 23px;
}

.match-details-page .host-path h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 21px;
  letter-spacing: -.02em;
}

.match-details-page .host-path > p {
  margin: 0 0 20px;
  color: var(--match-copy);
  font-size: 14px;
  line-height: 1.65;
}

.match-details-page .host-path-list {
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.match-details-page .host-path-list li {
  position: relative;
  padding-inline-start: 22px;
  color: #d6e3ea;
  font-size: 13.5px;
  line-height: 1.6;
}

.match-details-page .host-path-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--match-cyan);
  transform: rotate(45deg);
}

.match-details-page .host-path .button {
  width: fit-content;
}

/* Audience row: three linked settings, the third flowing from the second. */
.match-details-page .audience-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin-top: 16px;
  border: 1px solid var(--match-line);
  background: var(--match-night);
}

.match-details-page .audience-pill {
  position: relative;
  flex: 1 1 240px;
  padding: 24px 24px 26px;
  border-inline-end: 1px solid var(--match-line);
}

.match-details-page .audience-pill:last-child {
  border-inline-end: 0;
}

.match-details-page .audience-pill-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border: 1px solid rgba(67, 196, 237, .4);
  border-radius: 50%;
  color: var(--match-cyan);
}

.match-details-page .audience-pill-icon svg {
  width: 18px;
  height: 18px;
}

.match-details-page .audience-pill h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 16px;
}

.match-details-page .audience-pill p {
  margin: 0;
  color: var(--match-copy);
  font-size: 13px;
  line-height: 1.6;
}

.match-details-page .audience-pill-note {
  display: block;
  margin-top: 12px;
  color: var(--match-muted);
  font-size: 10.5px;
  font-style: italic;
}

/* Matchday toolkit: an icon spec-list, not boxed cards. */
.match-details-page .spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 10px;
}

.match-details-page .spec-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--match-line);
}

.match-details-page .spec-item-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(67, 196, 237, .38);
  background: rgba(67, 196, 237, .08);
  color: var(--match-cyan);
}

.match-details-page .spec-item-icon svg {
  width: 21px;
  height: 21px;
}

.match-details-page .spec-item h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 16px;
}

.match-details-page .spec-item p {
  margin: 0;
  color: var(--match-copy);
  font-size: 13px;
  line-height: 1.6;
}

/* FAQ: shares the accordion pattern used across landing pages. */
.match-details-page .match-faq-section {
  background: var(--match-deep);
}

.match-details-page .faq {
  display: block;
  max-width: 990px;
  margin: 0 auto;
}

.match-details-page .faq > div:first-child {
  max-width: 730px;
  margin: 0 0 36px;
}

.match-details-page .faq h2 {
  max-width: 700px;
}

.match-details-page .faq-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--match-line);
}

.match-details-page .faq-item {
  border: 0;
  border-bottom: 1px solid var(--match-line);
  background: transparent;
}

.match-details-page .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 2px;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.match-details-page .faq-item summary::-webkit-details-marker {
  display: none;
}

.match-details-page .faq-item summary .faq-question {
  display: block;
  width: auto;
  height: auto;
  flex: 1 1 auto;
  color: #fff;
  border: 0;
  border-radius: 0;
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
  text-align: start;
}

.match-details-page .faq-item summary > span:last-child {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid rgba(67, 196, 237, .55);
  border-radius: 50%;
  color: var(--match-cyan);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

.match-details-page .faq-item[open] summary > span:last-child {
  transform: rotate(45deg);
}

.match-details-page .faq-item p {
  max-width: 780px;
  margin: -2px 35px 20px 0;
  color: var(--match-copy);
  font-size: 14px;
  line-height: 1.7;
}

/* Closing action: one strong full-width decision point. */
.match-details-page .final-cta {
  padding: 73px 0;
  border-top: 1px solid rgba(67, 196, 237, .22);
  border-bottom: 1px solid rgba(67, 196, 237, .22);
  background: linear-gradient(105deg, #0b314d, #08263e 62%, #0b314d);
  color: #fff;
}

.match-details-page .final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "eyebrow action" "title action" "copy action";
  align-items: center;
  column-gap: 45px;
  max-width: var(--max);
  text-align: start;
}

.match-details-page .final-cta-inner > .eyebrow {
  grid-area: eyebrow;
  margin: 0 0 10px;
  color: var(--match-cyan);
}

.match-details-page .final-cta-inner h2 {
  grid-area: title;
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.match-details-page .final-cta-inner p:not(.eyebrow) {
  grid-area: copy;
  max-width: 660px;
  margin: 13px 0 0;
  color: #bdd0dc;
  font-size: 15px;
  line-height: 1.65;
}

.match-details-page .final-cta-inner .button {
  grid-area: action;
}

.match-details-page .site-footer {
  background: #051523;
}

/* This static page has no scroll reveals; keep all sections immediately visible. */
.match-details-page .hero-copy,
.match-details-page .match-card,
.match-details-page .section-heading,
.match-details-page .host-path,
.match-details-page .audience-pill,
.match-details-page .spec-item,
.match-details-page .faq > div:first-child,
.match-details-page .final-cta-inner,
.match-details-page .faq-item {
  animation: none !important;
  animation-timeline: auto !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1000px) {
  .match-details-page .spec-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 900px) {
  .match-details-page .hero {
    padding: 40px 0 60px;
  }

  .match-details-page .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .match-details-page .hero-copy {
    max-width: 620px;
  }

  .match-details-page .hero h1 {
    max-width: 13ch;
  }

  .match-details-page .match-card {
    max-width: 480px;
  }

  .match-details-page .host-paths {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .match-details-page .hero {
    padding: 28px 0 44px;
  }

  .match-details-page .hero h1 {
    max-width: 630px;
    font-size: clamp(42px, 10vw, 62px);
  }

  .match-details-page .hero-text {
    max-width: 620px;
    margin: 17px 0 0;
    font-size: 15px;
  }

  .match-details-page .hero-actions {
    align-items: center;
    margin-top: 20px;
  }

  .match-details-page .match-answer-section {
    padding: 29px 0;
  }

  .match-details-page .match-answer-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding-inline-start: 14px;
  }

  .match-details-page .match-answer-mark {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .match-details-page .match-answer-card h2 {
    font-size: 17px;
  }

  .match-details-page .match-answer-card p {
    font-size: 13px;
  }

  .match-details-page .section {
    padding: 72px 0;
  }

  .match-details-page .host-path {
    padding: 24px 20px;
  }

  .match-details-page .audience-row {
    flex-direction: column;
  }

  .match-details-page .audience-pill {
    border-inline-end: 0;
    border-bottom: 1px solid var(--match-line);
  }

  .match-details-page .audience-pill:last-child {
    border-bottom: 0;
  }

  .match-details-page .spec-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    padding: 18px 0;
  }

  .match-details-page .spec-item-icon {
    width: 38px;
    height: 38px;
  }

  .match-details-page .faq > div:first-child {
    margin-bottom: 25px;
  }

  .match-details-page .faq-item summary {
    gap: 15px;
    padding: 17px 0;
    font-size: 14px;
  }

  .match-details-page .faq-item p {
    margin: -1px 0 18px;
    font-size: 13px;
  }

  .match-details-page .final-cta {
    padding: 57px 0;
  }

  .match-details-page .final-cta-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "title" "copy" "action";
    gap: 0;
  }

  .match-details-page .final-cta-inner h2 {
    font-size: clamp(31px, 8vw, 43px);
  }

  .match-details-page .final-cta-inner p:not(.eyebrow) {
    margin-top: 12px;
    font-size: 14px;
  }

  .match-details-page .final-cta-inner .button {
    justify-self: start;
    margin-top: 22px;
  }
}

[dir="rtl"] .match-details-page .hero-actions,
[dir="rtl"] .match-details-page .trust-row {
  direction: rtl;
}

[dir="rtl"] .match-details-page .match-answer-card {
  padding: 4px 21px 4px 0;
}

@media (prefers-reduced-motion: reduce) {
  .match-details-page *,
  .match-details-page *::before,
  .match-details-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
