.main {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #2b3035;
}

.main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/torii.webp");
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  z-index: -1;
  transform: scale(1.05);
}


.title p {
    font-family: "M PLUS 1", sans-serif;
    text-shadow: 0px 0px 10px rgb(0, 0, 0);
  margin-top: 20px;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff;
}

.player-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 2px;
  margin-bottom: 50px;
}

.player-card {
  display: flex;
  align-items: flex-start;
  background-color: #2b2d31;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;

  flex-wrap: wrap;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}


.player-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.player-info {
    flex: 1;
    min-width: 200px;
}

.name-and-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.player-name {
    font-family: "M PLUS 1", sans-serif;
    font-size: 1.2rem;
    margin: 0;
    color: #ffffff;
}

.player-tags {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 5px;
}

.tag {
  background-color: #e0e0e0;
  color: #555;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}


.player-bio {
  font-size: 0.95rem;
  color: #d1d1d1;
  line-height: 1.5;
}


@media screen and (max-width: 768px) {
  .player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .player-icon {
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
  }


  .name-and-tags {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 10px;
  }

  .player-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .player-info {
    width: 100%;
  }
}
