/* ============================================
   PACIFIC ESPORTS - ROSTER PAGE STYLESHEET
   ============================================ */

/* ROSTER HERO - IDENTICA ALLA HOME */
.roster-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 80px;
  overflow: hidden;
}

.roster-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.roster-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  filter: brightness(0.3);
}

.roster-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0.2) 0%,
    rgba(10, 12, 16, 0.15) 40%,
    rgba(10, 12, 16, 0.85) 75%,
    rgba(10, 12, 16, 0.95) 100%
  );
}

.roster-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  padding-top: 80px;
}

.roster-hero-title {
  font-family: "Outfit", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-transform: uppercase;
}

.roster-hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #a0aab4;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* GRID SECTION */
.roster-grid-section {
  background: #0a0c10;
  padding: 100px 0 120px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6fbbfe;
  padding: 6px 16px;
  border: 1px solid rgba(111, 187, 254, 0.3);
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.accent {
  background: linear-gradient(135deg, #6fbbfe 0%, #8ecdfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* PLAYERS GRID */
.roster-players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* PLAYER CARD */
.roster-player-card {
  background: #141a24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.roster-player-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 187, 254, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* FOTO PROFILO */
.roster-player-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d1117;
}

.roster-player-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.roster-player-card:hover .roster-player-img {
  transform: scale(1.05);
}

/* PLACEHOLDER PER GIOCATORI SENZA FOTO */
.roster-player-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #11161e 0%, #0d1117 100%);
}

.roster-player-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.roster-player-placeholder span {
  font-family: "Outfit", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(111, 187, 254, 0.2);
  transition: all 0.35s ease;
}

.roster-player-card:hover .roster-player-placeholder span {
  color: rgba(111, 187, 254, 0.4);
  transform: scale(1.1);
}

/* NOME PLAYER */
.roster-player-info {
  padding: 20px 16px 24px;
  text-align: center;
  background: #141a24;
}

.roster-player-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.roster-player-divider {
  display: block;
  width: 30px;
  height: 2px;
  background: #6fbbfe;
  margin: 8px auto 0;
  border-radius: 1px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.roster-player-card:hover .roster-player-divider {
  width: 50px;
  opacity: 1;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}