.matches-section {
  padding: 60px 0;
  background-color: #111;
  color: var(--color-text);
}

.matches-section .section-title {
  font-size: var(--h2-size);
  margin-bottom: 30px;
  color: var(--color-text);
}

/* Swiper оболочка */
.matches-swiper {
  padding-bottom: 40px;
  position: relative;
  overflow: visible;
}

.swiper-slide {
  width: 100%; /* Растягивается на всю доступную ширину */
  max-width: 320px;
  box-sizing: border-box;
}


/* Карточка матча */
.match-card {
    display: flex;
    position: relative;
    background: var(--color-text);
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    height: 16rem;
    text-align: center;
    box-shadow: 0 0 6px var(--color-accent);
    transition: transform 0.3s ease;
    align-content: space-around;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-hover);
}

.hot-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.4rem;
  color: #ff4500;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

/* Команды */
.teams-with-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

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

.team-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 2px #000);
}

.team-name {
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--color-bg);
}

.vs {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-muted);
  margin: 0 10px;
}

.match-time {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 10px;
}

/* Стрелки swiper */
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-accent);
  top: 35%;
  width: 32px;
  height: 32px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}

/* Адаптив */
@media (max-width: 768px) {
  .match-card {
    width: 220px;
  }
}
