
.league-section {
  width: 100%;
  background: #ffffff;
  padding: 10px 0;
  box-sizing: border-box;
}

.league-container {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  padding: 0 15px;
  box-sizing: border-box;
}

.league-card {
  width: 150px;
  height: 190px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.league-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.league-logo {
  width: 100%;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px 8px;
  box-sizing: border-box;
}

.league-logo img {
  max-width: 112px;
  max-height: 108px;
  object-fit: contain;
  display: block;
}

.league-title {
  width: 100%;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px 14px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.3;
  color: #222222;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-align: center;
}

/* 平板端 */
@media (max-width: 1024px) {
  .league-container {
    max-width: 100%;
    gap: 16px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 18px 12px;
    scrollbar-width: none;
  }

  .league-container::-webkit-scrollbar {
    display: none;
  }

  .league-card {
    flex: 0 0 150px;
  }
}

/* 手机端 */
@media (max-width: 600px) {
  .league-section {
    padding: 8px 0;
  }

  .league-container {
    gap: 12px;
    padding: 0 12px 10px;
  }

  .league-card {
    flex: 0 0 132px;
    width: 132px;
    height: 168px;
    border-radius: 8px;
  }

  .league-logo {
    height: 118px;
    padding: 12px 10px 6px;
  }

  .league-logo img {
    max-width: 98px;
    max-height: 95px;
  }

  .league-title {
    font-size: 13px;
    min-height: 40px;
    padding-bottom: 12px;
  }
}
