/* =============================================
   roster.css — Roster & Coaches Styles
   ============================================= */

/* Position Tabs */
.position-tabs {
  display: flex;
  border: 1.5px solid var(--color-navy);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pos-tab {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  border-right: 1.5px solid var(--color-navy);
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  transition: var(--transition-fast);
}
.pos-tab:last-child { border-right: none; }
.pos-tab.active,
.pos-tab:hover { background: var(--color-navy); color: var(--color-white); }

/* Roster Grid */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.player-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.player-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.player-photo-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, var(--color-navy-mid) 0%, var(--color-navy) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.player-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.player-number-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  pointer-events: none;
}
.player-silhouette {
  font-size: 64px;
  color: rgba(255,255,255,0.18);
  position: relative;
  z-index: 1;
}

.player-info { padding: 14px 10px 16px; }
.player-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 4px;
}
.player-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 4px;
}
.player-pos {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Coaches */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.coach-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}
.coach-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
}

.coach-photo-wrap {
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.coach-photo-wrap img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.coach-photo-wrap i { font-size: 72px; color: rgba(255,255,255,0.12); }

.coach-info { padding: 20px; min-height: 150px; }
.coach-role {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 4px;
  line-height: 1.35;
}
.coach-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 8px;
}
.coach-bio {
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  line-height: 1.6;
}
