.players-page-main {
  flex: 1;
}

.players-page-wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.players-page-title {
  margin: 0 0 3rem;
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #111111;
}

.players-group {
  margin-bottom: 3rem;
}

.players-group-title {
  margin: 0 0 1.5rem;
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ef4444;
  line-height: 1.2;
}

.players-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.fade-in {
  opacity: 1;
  transform: none;
}

.player-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.player-card {
  overflow: hidden;
  border: 1px solid hsl(0 0% 88%);
  border-radius: 0.5rem;
  background: #ffffff;
  color: #141414;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.group-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
              0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

.player-card-media {
  display: flex;
  height: 13rem;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 95%);
}

.player-icon {
  width: 4rem;
  height: 4rem;
  color: rgba(107, 114, 128, 0.3);
}

.player-card-body {
  padding: 1rem;
}

.player-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.player-number {
  font-family: 'Teko', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  color: #ef4444;
}

.player-name {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.group-card:hover .player-name {
  color: #ef4444;
}

.player-stats-grid {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.player-stats-grid span {
  display: block;
}

@media (min-width: 640px) {
  .players-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .players-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .players-page-title {
    font-size: 3.75rem;
  }
}

.profile-page-main {
  flex: 1;
}

.profile-page-wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: inherit;
  text-decoration: none;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.back-button:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #ef4444;
}

.back-icon {
  width: 1rem;
  height: 1rem;
}

.profile-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.fade-static {
  opacity: 1;
  transform: none;
}

.profile-card,
.stat-card,
.details-card {
  overflow: hidden;
  border: 1px solid hsl(0 0% 88%);
  border-radius: 0.5rem;
  background: #ffffff;
  color: #141414;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.profile-image-wrap {
  display: flex;
  height: 18rem;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 95%);
}

.profile-image-icon {
  width: 6rem;
  height: 6rem;
  color: rgba(107, 114, 128, 0.3);
}

.profile-card-body {
  padding: 1.5rem;
  text-align: center;
}

.profile-number {
  display: inline-block;
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #ef4444;
}

.profile-name {
  margin: 0.5rem 0 0;
  font-family: 'Teko', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
  color: #111111;
}

.profile-position {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.125rem;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 500;
}

.profile-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card-body {
  padding: 1rem;
  text-align: center;
}

.stat-number {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: #ef4444;
}

.stat-label {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.details-card-body {
  padding: 1.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item {
  min-width: 0;
}

.info-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.info-value {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
}

.bio-block {
  min-width: 0;
}

.bio-title {
  margin: 0 0 0.5rem;
  font-family: 'Teko', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: #111111;
}

.bio-text {
  margin: 0;
  line-height: 1.75;
  color: #6b7280;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .profile-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-right {
    grid-column: span 2 / span 2;
  }
}