.clubs {
  padding-bottom: 0;
}

.club-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.club-card {
  position: relative;
  min-height: clamp(500px, 42vw, 620px);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  isolation: isolate;
  background: var(--color-panel);
}

.club-card::before,
.club-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.club-card::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.01);
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.2, 1), filter var(--transition);
}

.club-card--hockey::before {
  background-image: url("../../assets/images/hockey-team.webp");
  background-position: 50% 42%;
}

.club-card--futsal::before {
  background-image: url("../../assets/images/futsal-team.webp");
  background-position: 50% 50%;
}

.club-card::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 14, 42, 0.16), transparent 62%),
    linear-gradient(
      180deg,
      rgba(0, 26, 72, 0.02) 0%,
      rgba(0, 18, 52, 0.08) 30%,
      rgba(0, 12, 38, 0.68) 56%,
      rgba(0, 8, 27, 0.94) 76%,
      #000719 100%
    );
}

.club-card:hover::before {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.club-card__crest {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 92px;
  height: 112px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 17, 52, 0.78);
  backdrop-filter: blur(10px);
}

.club-card__crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.club-card__content {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 32px;
  bottom: 32px;
}

.club-card__content h3 {
  margin: 10px 0 14px;
  font: 700 clamp(2.45rem, 4vw, 4rem) / 0.92 var(--font-display);
  letter-spacing: -0.04em;
  text-shadow: 0 3px 22px rgba(0, 5, 18, 0.75);
  text-transform: uppercase;
}

.club-card__content > p:not(.eyebrow) {
  max-width: 530px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 5, 18, 0.85);
}

.club-card .action-button {
  min-height: 52px;
  grid-template-columns: auto 48px;
  color: var(--color-white);
  border: 1px solid rgba(156, 238, 246, 0.42);
  background: rgba(0, 18, 52, 0.7);
  backdrop-filter: blur(10px);
}

.club-card .action-button span {
  padding-inline: 26px;
}

.club-card .action-button i {
  color: var(--color-cyan);
  border-left: 1px solid rgba(156, 238, 246, 0.26);
  background: rgba(0, 191, 220, 0.08);
  transition: color var(--transition), background var(--transition);
}

.club-card .action-button:hover,
.club-card .action-button:focus-visible {
  color: var(--color-white);
  border-color: var(--color-cyan);
  background: rgba(0, 191, 220, 0.16);
}

.club-card .action-button:hover i,
.club-card .action-button:focus-visible i {
  color: #001a49;
  background: var(--color-cyan);
}
