/* ts:1765530526085 */
/* --- بخش باشگاه --- */
.club-section {
  display: flex;
  gap: 0.8rem;
  /* padding: 0.8rem; */
  align-items: center;
}

.club-info {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: var(--cta-border-radius);
  padding: 0.8rem;
  height: 150px;
  text-align: center;
  transition: var(--transition);
}

.club-info:hover {
  background: var(--card-hover-bg);
}

/* .club-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
} */


.club-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  /* background-color: white; */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.club-logo i {
  font-size: 2.5rem;
  color: #007bff; /* رنگ آبی (قابل تغییر) */
}


.club-name {
  font-size: 1.5rem;
  padding: 0 20px;
  color: var(--accent-color);
}

/* --- مربیان --- */
.coach-slider {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  height: 150px;
  border-radius: var(--cta-border-radius);
  padding: 0.5rem;
  overflow: hidden;
  position: relative;
}
.coach-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.coach-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 0;
  font-size: 0.85rem;
}

.coach-card.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.coach-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.4rem;
  border: 2px solid var(--secondary-color);
}

.coach-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.coach-name {
  font-size: 0.8rem;
  color: var(--text-color);
}

.coach-title {
  font-size: 0.7rem;
  color: var(--muted-text);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted-text);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent-color);
}

/* --- بازیکنان --- */
.player-section {
  width: 100%;
  margin-top: 1rem;
  background: var(--card-bg);
  border-radius: var(--cta-border-radius);
  padding: 1rem 0.8rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.player-section .player-header {
  position: relative;
  display: inline-block; /* تا نوار فقط به اندازه متن باشد */
  font-size: 1.6em;
  color: var(--secondary-color-light);
  margin-bottom: 16px;
}

.player-section .player-header::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -4px;
  height: 4px;
  width: 150%;
  background: var(--secondary-color);
  border-radius: 2px;
}

.player-slider {
  width: 100%;
  padding: 0.5rem 0rem;
  overflow: hidden;
  position: relative;
}

.player-track {
  display: flex;
  gap: 0.8rem;
  transition: transform 0.6s ease;
}

.player-card {
  flex: 0 0 20%;
  background: var(--card-hover-bg);
  border-radius: 0.8rem;
  padding: 0.8rem 0.5rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.player-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 0.5rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.player-card:hover .player-icon {
  transform: scale(1.08);
}

.player-name {
  font-size: 0.85rem;
  color: var(--text-color);
  font-weight: 500;
}

/* --- ریسپانسیو --- */
@media (max-width: 992px) {
  .player-card {
    flex: 0 0 20%;
  }
  .player-header {
    font-size: 1rem;
  }
  .player-section .player-header {
    font-size: 1.4em;
  }
  .player-section .player-header::after {
    left: -35px;
  }
}

@media (max-width: 768px) {
  .coach-slider {
    width: 100%;
    height: 140px;
  }
  .club-info {
    height: 140px;
  }
  .player-card {
    flex: 0 0 20%;
  }
  .player-icon {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }
  .player-name {
    font-size: 0.82rem;
  }
}

@media (max-width: 530px) {
  .player-card {
    flex: 0 0 30%;
  }
  .club-info {
    display: block;
  }
  .player-name {
    font-size: 0.82rem;
  }
}
@media (max-width: 480px) {
  .club-info {
    flex: 1;
  }
  .player-track {
    gap: 0.6rem;
  }
  .player-card {
    flex: 0 0 35%;
    padding: 0.6rem 0.4rem;
  }
  .club-name {
    font-size: 0.8rem;
    padding: 0 20px;
  }
    .player-section .player-header {
    font-size: 0.8em;
  }
  .player-section .player-header::after {
    left: -15px;
  }
  .player-icon {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
  .player-header {
    font-size: 0.95rem;
  }
  .player-name {
    font-size: 0.8rem;
  }
}
