/* BP Eagles – Következő mérkőzés */

.bpe-match,
.bpe-match * {
  box-sizing: border-box;
}

.bpe-match {
  --match-blue: #0097df;
  --match-blue-bright: #12acf3;
  --match-black: #030609;
  --match-panel: #080d12;
  --match-panel-light: #0c131a;
  --match-line: rgba(255, 255, 255, 0.105);
  --match-white: #f5f7f9;
  --match-muted: #86929c;
  --match-shell: 1380px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 8vw, 128px) 0;
  color: var(--match-white);
  background:
    radial-gradient(circle at 17% 40%, rgba(0, 151, 223, 0.07), transparent 31%),
    #05080b;
  font-family: "Rajdhani", "Arial Narrow", Arial, sans-serif;
}

.bpe-match::before {
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -220px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(0, 151, 223, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(0, 151, 223, 0.018),
    0 0 0 140px rgba(255, 255, 255, 0.012);
}

.bpe-match__noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
}

.bpe-match__shell {
  width: min(calc(100% - 64px), var(--match-shell));
  margin-inline: auto;
}

.bpe-section-heading {
  display: flex;
  margin-bottom: 34px;
  align-items: flex-end;
  justify-content: space-between;
}

.bpe-section-heading__eyebrow {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  gap: 9px;
  color: var(--match-blue);
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bpe-section-heading__eyebrow i {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--match-blue);
}

.bpe-match .bpe-section-heading h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.bpe-section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #89949d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.bpe-section-heading__link:hover,
.bpe-section-heading__link:focus-visible {
  color: var(--match-blue-bright) !important;
}

.bpe-section-heading__link svg,
.bpe-result-card__link svg,
.bpe-match-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.bpe-section-heading__link:hover svg,
.bpe-result-card__link:hover svg,
.bpe-match-button:hover svg {
  transform: translateX(4px);
}

.bpe-match__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.86fr);
  gap: 22px;
}

.bpe-match__layout + .bpe-match__layout {
  margin-top: 24px;
}

.bpe-match__layout--academy {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--match-line);
}

.bpe-match__layout--academy::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 130px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--match-blue), transparent);
}

.bpe-next-card--academy,
.bpe-result-card--academy {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 35%),
    linear-gradient(315deg, rgba(0, 151, 223, 0.035), transparent 45%),
    var(--match-panel);
}

.bpe-next-card--academy::before,
.bpe-result-card--academy::before {
  background: linear-gradient(90deg, #fff, var(--match-blue));
}

.bpe-next-card,
.bpe-result-card {
  position: relative;
  border: 1px solid var(--match-line);
  background:
    linear-gradient(145deg, rgba(0, 151, 223, 0.055), transparent 35%),
    var(--match-panel);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
}

.bpe-next-card::before,
.bpe-result-card::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 13px;
  width: 95px;
  height: 2px;
  content: "";
  background: var(--match-blue);
  box-shadow: 0 0 16px rgba(0, 151, 223, 0.5);
}

.bpe-next-card__topline {
  display: grid;
  min-height: 47px;
  padding: 0 25px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--match-line);
  color: #6e7a84;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bpe-next-card__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--match-blue-bright);
}

.bpe-next-card__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--match-blue);
  box-shadow: 0 0 9px var(--match-blue);
  animation: bpeMatchPulse 2s ease-in-out infinite;
}

.bpe-next-card__event {
  color: #d1d7dc;
}

.bpe-next-card__format {
  justify-self: end;
  padding: 5px 8px;
  border: 1px solid var(--match-line);
}

.bpe-next-card__content {
  position: relative;
  display: grid;
  min-height: 290px;
  padding: 34px 42px 25px;
  grid-template-columns: 1fr 150px 1fr;
  align-items: center;
}

.bpe-next-card__content::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, var(--match-line), transparent);
}

.bpe-team {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.bpe-team__logo {
  display: grid;
  width: clamp(116px, 10vw, 150px);
  aspect-ratio: 1;
  place-items: center;
  filter: drop-shadow(0 16px 24px rgba(0, 151, 223, 0.13));
}

.bpe-team__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bpe-team__logo--opponent {
  width: clamp(92px, 8vw, 124px);
  color: #89939b;
  filter: none;
}

.bpe-team__logo--opponent svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.bpe-team__name {
  display: flex;
  margin-top: 11px;
  flex-direction: column;
}

.bpe-team__name strong {
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.bpe-team__name span {
  margin-top: 6px;
  color: #65717a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bpe-next-card__center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.bpe-next-card__date,
.bpe-next-card__server {
  color: #74808a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bpe-next-card__time {
  margin-top: 5px;
  color: #dce2e6;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.bpe-next-card__versus {
  margin-block: 12px;
  color: var(--match-blue);
  font-size: 52px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  text-shadow: 0 0 28px rgba(0, 151, 223, 0.25);
}

.bpe-countdown {
  display: grid;
  min-height: 83px;
  padding-inline: 9%;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
  border-top: 1px solid var(--match-line);
  border-bottom: 1px solid var(--match-line);
  background: rgba(0, 0, 0, 0.18);
}

.bpe-countdown > i {
  width: 1px;
  height: 28px;
  background: var(--match-line);
}

.bpe-countdown__item {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.bpe-countdown__item strong {
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}

.bpe-countdown__item span {
  margin-top: 5px;
  color: #64717a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bpe-next-card__footer {
  display: flex;
  min-height: 77px;
  padding: 14px 24px;
  align-items: center;
  justify-content: space-between;
}

.bpe-next-card__status {
  color: #6f7c85;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bpe-match-button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  color: #fff;
  background: var(--match-blue);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.bpe-match-button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: #fff;
  transform: translateX(-102%);
  transition: transform 220ms ease;
}

.bpe-match-button > * {
  position: relative;
  z-index: 1;
}

.bpe-match-button:hover::before,
.bpe-match-button:focus-visible::before {
  transform: translateX(0);
}

.bpe-match-button:hover,
.bpe-match-button:focus-visible,
.bpe-match-button:hover span {
  color: #031018 !important;
}

.bpe-result-card {
  display: flex;
  min-width: 0;
  padding: 25px;
  flex-direction: column;
}

.bpe-result-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.bpe-result-card__eyebrow {
  color: var(--match-blue);
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bpe-match .bpe-result-card h3 {
  margin: 5px 0 0;
  color: #fff !important;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.bpe-result-card__badge {
  padding: 5px 10px;
  border: 1px solid rgba(0, 151, 223, 0.42);
  color: var(--match-blue-bright);
  background: rgba(0, 151, 223, 0.08);
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bpe-result-card__event {
  display: flex;
  margin-top: 23px;
  padding-block: 10px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--match-line);
  border-bottom: 1px solid var(--match-line);
  color: #68747e;
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bpe-result-card__teams {
  display: grid;
  min-height: 194px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.bpe-result-team {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.bpe-result-team img,
.bpe-result-team__placeholder {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  object-fit: contain;
}

.bpe-result-team__placeholder {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #8e99a2;
  background: rgba(255, 255, 255, 0.03);
  font-size: 28px;
  font-weight: 700;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.bpe-result-team strong {
  max-width: 105px;
  margin-top: 9px;
  color: #d7dde1;
  font-size: 12px;
  line-height: 1.05;
  text-transform: uppercase;
}

.bpe-result-score {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bpe-result-score strong {
  color: var(--match-blue-bright);
  font-size: 33px;
}

.bpe-result-score strong:last-child {
  color: #fff;
}

.bpe-result-score span {
  color: #5f6b74;
  font-size: 20px;
}

.bpe-result-card__details {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--match-line);
  border-bottom: 1px solid var(--match-line);
}

.bpe-result-card__details div {
  padding: 12px 8px;
  text-align: center;
}

.bpe-result-card__details div + div {
  border-left: 1px solid var(--match-line);
}

.bpe-result-card__details dt {
  color: #5f6b74;
  font-family: "Inter", Arial, sans-serif;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bpe-result-card__details dd {
  margin: 3px 0 0;
  color: #dfe4e7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.bpe-result-card__link {
  display: flex;
  min-height: 59px;
  margin-top: auto;
  align-items: flex-end;
  justify-content: space-between;
  color: #929da5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.bpe-result-card__link:hover,
.bpe-result-card__link:focus-visible {
  color: var(--match-blue-bright) !important;
}

.bpe-match a:focus-visible {
  outline: 2px solid var(--match-blue-bright);
  outline-offset: 4px;
}

@keyframes bpeMatchPulse {
  50% { opacity: 0.4; box-shadow: 0 0 3px var(--match-blue); }
}

/* Kisebb laptop */
@media (max-width: 1260px) {
  .bpe-match__shell {
    width: min(calc(100% - 40px), var(--match-shell));
  }

  .bpe-next-card__content {
    padding-inline: 25px;
    grid-template-columns: 1fr 130px 1fr;
  }

  .bpe-result-card {
    padding-inline: 20px;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .bpe-match__layout {
    grid-template-columns: 1fr;
  }

  .bpe-result-card {
    min-height: 430px;
  }

  .bpe-result-card__teams {
    min-height: 210px;
  }

  .bpe-result-card__link {
    min-height: 48px;
  }
}

@media (max-width: 700px) {
  .bpe-match {
    padding-block: 76px;
  }

  .bpe-match__shell {
    width: min(calc(100% - 30px), var(--match-shell));
  }

  .bpe-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .bpe-next-card__topline {
    padding-inline: 16px;
    grid-template-columns: 1fr auto;
  }

  .bpe-next-card__event {
    display: none;
  }

  .bpe-next-card__content {
    min-height: 260px;
    padding: 28px 14px 22px;
    grid-template-columns: 1fr 78px 1fr;
  }

  .bpe-team__logo {
    width: 98px;
  }

  .bpe-team__logo--opponent {
    width: 82px;
  }

  .bpe-team__name strong {
    font-size: 17px;
  }

  .bpe-next-card__date,
  .bpe-next-card__server {
    font-size: 6px;
    text-align: center;
  }

  .bpe-next-card__time {
    font-size: 12px;
  }

  .bpe-next-card__versus {
    font-size: 39px;
  }

  .bpe-countdown {
    padding-inline: 2%;
  }

  .bpe-countdown__item strong {
    font-size: 23px;
  }

  .bpe-next-card__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .bpe-next-card__status {
    text-align: center;
  }

  .bpe-match-button {
    justify-content: center;
  }
}

/* Telefon */
@media (max-width: 460px) {
  .bpe-match__shell {
    width: min(calc(100% - 24px), var(--match-shell));
  }

  .bpe-next-card__content {
    min-height: 240px;
    grid-template-columns: 1fr 58px 1fr;
  }

  .bpe-team__logo {
    width: 83px;
  }

  .bpe-team__logo--opponent {
    width: 70px;
  }

  .bpe-team__name strong {
    font-size: 14px;
  }

  .bpe-next-card__date,
  .bpe-next-card__server {
    display: none;
  }

  .bpe-countdown {
    min-height: 72px;
  }

  .bpe-countdown__item strong {
    font-size: 20px;
  }

  .bpe-countdown__item span {
    font-size: 6px;
  }

  .bpe-result-card {
    padding: 20px 14px;
  }

  .bpe-result-card__teams {
    gap: 5px;
  }

  .bpe-result-team img,
  .bpe-result-team__placeholder {
    width: 61px;
    height: 61px;
  }

  .bpe-result-score {
    gap: 4px;
  }

  .bpe-result-score strong {
    font-size: 25px;
  }

  .bpe-result-team strong {
    max-width: 86px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpe-match *,
  .bpe-match *::before,
  .bpe-match *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
