/* ── Jogadores page ─────────────────────────────────────── */

.jogadores-page,
.jogador-profile-page {
  padding: 3rem 0 5rem;
}

.jogadores-header {
  text-align: center;
  margin-bottom: 3rem;
}

.jogadores-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: .5rem 0 1rem;
}

.jogadores-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .25rem;
}

/* ── Grid ───────────────────────────────────────────────── */

.jogadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ── Card ───────────────────────────────────────────────── */

.jogador-card {
  display: flex;
  flex-direction: column;
  background: #0f1d30;
  border: 1px solid #16223a;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.jogador-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(34, 197, 94, .12);
}

.jogador-card__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #16223a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jogador-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jogador-card__placeholder {
  font-size: 4rem;
  opacity: .4;
}

.jogador-card__info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.jogador-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.jogador-card__bio {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.jogador-card__cta {
  display: inline-block;
  margin-top: auto;
  padding-top: .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── Empty state ────────────────────────────────────────── */

.jogadores-empty {
  text-align: center;
  padding: 5rem 0;
  color: var(--muted);
}

.jogadores-empty__icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: .4;
}

/* ── Profile ────────────────────────────────────────────── */

.jogador-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .jogador-profile {
    grid-template-columns: 1fr;
  }
}

.jogador-profile__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #16223a;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #16223a;
}

.jogador-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jogador-profile__placeholder {
  font-size: 6rem;
  opacity: .3;
}

.jogador-profile__back {
  display: inline-block;
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color .15s ease;
}

.jogador-profile__back:hover {
  color: var(--text);
}

.jogador-profile__name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 .25rem;
}

.jogador-profile__real-name {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

.jogador-profile__description {
  color: #c8d9ee;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.jogador-profile__cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.jogador-profile__no-slots {
  font-size: .9rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Horários disponíveis ───────────────────────────────── */

.jogador-horarios {
  max-width: 900px;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid #16223a;
}

.jogador-horarios__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 .4rem;
  letter-spacing: -0.01em;
}

.jogador-horarios__subtitle {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 .5rem;
}
.jogador-horarios__charity {
  font-size: .85rem;
  color: #6ee7b7;
  margin: 0 0 1.5rem;
}

.horarios-lista {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.horario-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #0f1d30;
  border: 1px solid #16223a;
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  transition: border-color .15s ease;
}

.horario-card:hover {
  border-color: var(--primary);
}

.horario-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.horario-card__dia {
  font-size: .95rem;
  font-weight: 600;
}

.horario-card__hora {
  font-size: .85rem;
  color: var(--muted);
}

.horario-card__preco {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.horario-card__form {
  margin: 0;
}

.btn--sm {
  padding: .45rem 1rem;
  font-size: .85rem;
}

@media (max-width: 480px) {
  .horario-card {
    flex-wrap: wrap;
    gap: .75rem;
  }

  .horario-card__preco {
    font-size: 1rem;
  }
}

/* ── Resultado de agendamento ───────────────────────────── */

.agendamento-resultado-page {
  padding: 5rem 0;
}

.agendamento-resultado {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: #0f1d30;
  border: 1px solid #16223a;
  border-radius: 1rem;
  padding: 3rem 2rem;
}

.agendamento-resultado__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.agendamento-resultado__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.agendamento-resultado__desc {
  color: #c8d9ee;
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.agendamento-resultado--sucesso {
  border-color: rgba(34, 197, 94, .3);
}

.agendamento-resultado--cancelado {
  border-color: rgba(239, 68, 68, .2);
}

.agendamento-resultado .btn {
  margin-top: 1rem;
}
