/* ==========================================================================
   Lake Hoops - Roster Page Styles
   ========================================================================== */

body {
  padding: 20px;
}

/* Header
   ========================================================================== */
.header {
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: center;
  background: var(--color-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Hero Logo Override
   ========================================================================== */
.hero-logo {
  width: 120px;
  margin-bottom: 16px;
}

/* Typography Overrides
   ========================================================================== */
h1 {
  font-size: 2.2rem;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

h2 {
  font-size: 1.3rem;
}

/* Navigation
   ========================================================================== */
nav {
  margin-bottom: 24px;
}

/* Roster Grid
   ========================================================================== */
.roster-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

/* Player Card
   ========================================================================== */
.player-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(29, 21, 53, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Player Photo
   ========================================================================== */
.player-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  background: var(--color-purple-light);
}

/* Player Info
   ========================================================================== */
.player-info {
  padding: 20px;
  text-align: center;
}

.player-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Player Details
   ========================================================================== */
.player-details {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Year Badge
   ========================================================================== */
.year-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-purple-light);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: 1px solid var(--color-border);
  margin-top: 8px;
}

/* Photo Credit
   ========================================================================== */
.photo-credit {
  max-width: 1200px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Responsive
   ========================================================================== */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  .roster-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 12px;
  }

  .player-photo {
    height: 360px;
    object-fit: contain;
    background: var(--color-card);
    padding: 12px;
  }
}
