.football-central-hero {
  --fcm-accent: var(--accent-sport, #f5c518);
  --fcm-live: #22c55e;
  --fcm-card-radius: 16px;
  /* ≥ full visual height of .football-central-hero__more-link (border + pad + min-height) */
  --fcm-cta-footer-pad: 36px;
  position: relative;
  margin: 0 0 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--fcm-card-radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 197, 24, 0.22), transparent 38%),
    linear-gradient(145deg, rgba(31, 36, 52, 0.98), rgba(12, 15, 25, 0.99));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.95);
  direction: rtl;
}

.football-central-hero[hidden] {
  display: none !important;
}

.football-central-hero__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.football-central-hero__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.football-central-hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fcm-accent);
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.55);
  animation: fcm-pulse 1.6s ease-out infinite;
}

.football-central-hero__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 900;
}

.football-central-hero__count {
  padding: 3px 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.football-central-hero__viewport {
  position: relative;
  z-index: 1;
  min-height: 128px;
}

.football-central-hero__slides {
  position: relative;
  min-height: 128px;
}

.football-central-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0;
  opacity: 0;
  transform: translateX(-18px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.football-central-hero__slide-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-height: 0;
  padding: 28px 12px 16px;
}

.football-central-hero__bg-sport-icon {
  position: absolute;
  left: -30px;
  bottom: -36px;
  z-index: 0;
  width: 138px;
  height: 138px;
  object-fit: contain;
  opacity: .075;
  filter: grayscale(1);
  transform: rotate(-12deg);
  pointer-events: none;
  user-select: none;
}

.football-central-hero__bg-sport-icon--placeholder::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--fcm-accent);
}

.football-central-hero__league-badge,
.football-central-hero__match {
  position: relative;
  z-index: 1;
}

/* Carousel dots add visual weight at bottom — extra air so teams don’t crowd the league badge */
.football-central-hero--multi .football-central-hero__viewport,
.football-central-hero--multi .football-central-hero__slides {
  min-height: 142px;
}

.football-central-hero--multi .football-central-hero__slide-main {
  padding: 38px 12px 18px;
}

.football-central-hero--multi .football-central-hero__match {
  margin-top: 2px;
}

.football-central-hero__slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.football-central-hero__league-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 0;
  border-radius: 0 0 0 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(245, 197, 24, 0.16) 44%, rgba(255, 255, 255, 0.11) 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: right;
}

.football-central-hero__league-logo {
  flex: 0 0 auto;
  object-fit: contain;
}

.football-central-hero__sport-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
  padding: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.football-central-hero__sport-icon--placeholder::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 4px;
  border-radius: 50%;
  background: var(--fcm-accent);
}

.football-central-hero__league-badge span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-central-hero__match {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.football-central-hero__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.football-central-hero__team-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.32));
}

.football-central-hero__team-logo--placeholder {
  display: inline-block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.football-central-hero__team-name {
  max-width: 100%;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.football-central-hero__team-side {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.25;
}

.football-central-hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 76px;
  padding: 6px 8px;
  border-radius: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.football-central-hero__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 54px;
  padding: 5px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.football-central-hero__status.is-live {
  color: #d9f99d;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.26), rgba(34, 197, 94, 0.08));
  border-color: rgba(34, 197, 94, 0.34);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08), 0 0 14px rgba(34, 197, 94, 0.16);
}

.football-central-hero__status.is-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.75);
  animation: fcm-status-dot 1.25s ease-in-out infinite;
}

.football-central-hero__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 76px;
  color: #fff;
  font-size: 1.36rem;
  font-weight: 1000;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.football-central-hero__score-sep,
.football-central-hero__vs {
  color: var(--fcm-accent);
}

.football-central-hero__vs {
  font-size: 1rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.football-central-hero__time {
  color: rgba(255, 255, 255, 0.74);
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.football-central-hero__footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding-bottom: var(--fcm-cta-footer-pad);
}

.football-central-hero__more-link {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 0 12px 0 var(--fcm-card-radius);
  border: 1px solid rgba(255, 225, 112, 0.55);
  color: #1b1400;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, #fff1a8 0%, #f5c518 42%, #ff8a00 100%);
  background-size: 180% 180%;
  box-shadow: 0 4px 14px rgba(245, 197, 24, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  animation: fcm-bet-cta-shine 3.2s ease-in-out infinite;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.football-central-hero__more-link:hover {
  border-color: rgba(255, 244, 178, 0.9);
  filter: saturate(1.12) brightness(1.05);
}

.football-central-hero__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 0;
  padding: 0;
  margin-top: -10px;
  margin-bottom: -4px;
  line-height: 0;
  position: relative;
  z-index: 6;
}

.football-central-hero__dots:empty {
  display: flex;
  visibility: hidden;
}

.football-central-hero__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.24s ease, background 0.24s ease;
}

.football-central-hero__dot.is-active {
  width: 16px;
  background: var(--fcm-accent);
}

.football-central-hero__score.flash {
  animation: fcm-score-flash 0.75s ease;
}

@keyframes fcm-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(245, 197, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); }
}

@keyframes fcm-score-flash {
  0% { transform: scale(1.12); color: #86efac; text-shadow: 0 0 14px rgba(34, 197, 94, 0.45); }
  100% { transform: scale(1); color: #fff; text-shadow: none; }
}

@keyframes fcm-status-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

@keyframes fcm-bet-cta-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 640px) {
  .football-central-hero {
    width: calc(100% - 16px);
    margin-inline: 8px;
    margin-bottom: 10px;
    --fcm-card-radius: 14px;
    --fcm-cta-footer-pad: 34px;
    border-radius: var(--fcm-card-radius);
  }

  .football-central-hero__head {
    padding: 6px 10px;
  }

  .football-central-hero__viewport,
  .football-central-hero__slides {
    min-height: 122px;
  }

  .football-central-hero__match {
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
    gap: 6px;
  }

  .football-central-hero__slide-main {
    gap: 5px;
    padding: 26px 10px 14px;
  }

  .football-central-hero__bg-sport-icon {
    left: -24px;
    bottom: -30px;
    width: 118px;
    height: 118px;
  }

  .football-central-hero--multi .football-central-hero__viewport,
  .football-central-hero--multi .football-central-hero__slides {
    min-height: 134px;
  }

  .football-central-hero--multi .football-central-hero__slide-main {
    padding: 34px 10px 16px;
  }

  .football-central-hero__league-badge {
    top: 0;
    right: 0;
    max-width: 82%;
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .football-central-hero__league-logo {
    width: 20px;
    height: 20px;
  }

  .football-central-hero__team-logo {
    width: 34px;
    height: 34px;
  }

  .football-central-hero__team-name {
    font-size: 0.78rem;
    line-height: 1.18;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .football-central-hero__team-side {
    padding: 2px 7px;
    font-size: 0.62rem;
  }

  .football-central-hero__center {
    min-height: 72px;
    padding: 5px 6px;
    border-radius: 12px;
  }

  .football-central-hero__status {
    font-size: 0.68rem;
    min-width: 46px;
    padding: 4px 7px;
  }

  .football-central-hero__score {
    font-size: 1.2rem;
    min-width: 68px;
  }

  .football-central-hero__time {
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .football-central-hero__more-link {
    min-height: 25px;
    padding: 5px 9px;
    border-radius: 0 10px 0 var(--fcm-card-radius);
    font-size: 0.68rem;
  }
}

@media (max-width: 390px) {
  .football-central-hero__viewport,
  .football-central-hero__slides {
    min-height: 118px;
  }

  .football-central-hero--multi .football-central-hero__viewport,
  .football-central-hero--multi .football-central-hero__slides {
    min-height: 128px;
  }

  .football-central-hero__match {
    grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
    gap: 5px;
  }

  .football-central-hero__bg-sport-icon {
    left: -20px;
    bottom: -26px;
    width: 102px;
    height: 102px;
  }

  .football-central-hero__team-logo {
    width: 28px;
    height: 28px;
  }

  .football-central-hero__center {
    min-height: 68px;
  }

  .football-central-hero__score {
    font-size: 1.12rem;
    min-width: 62px;
  }

  .football-central-hero__status {
    max-width: 78px;
    white-space: nowrap;
  }

  .football-central-hero__time {
    font-size: 0.56rem;
    letter-spacing: -0.035em;
  }
}
