body {
  background-color: #0b0d13 !important;
  font-family: 'Poppins', sans-serif !important;
  color: #e2e8f0 !important;
}

h4 {
  font-weight: 700;
  color: #e2e8f0;
}

.jugador-card {
  flex: 0 0 auto;
  width: 237px;
  height: 250px;
  background: #0f1118;
  border: 1px solid #1a1e2b;
  border-radius: 8px;
  scroll-snap-align: start;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  text-align: center;
}

.jugador-card:hover {
  transform: translateY(-4px);
}

.jugador-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.jugador-card h6 {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600;
  font-size: 20px;
  margin-top: 0.5rem;
  color: #e2e8f0;
}

.jugador-card small {
  color: #64748b;
}

/* ── Cards de publicaciones ────────────────────────────────── */
.card {
  background: #0f1118 !important;
  border: 1px solid #1a1e2b !important;
  color: #e2e8f0 !important;
}

.card-body {
  color: #e2e8f0 !important;
}

.card .text-muted {
  color: #64748b !important;
}

/* ── Consejo del día ─────────────────────────────────────────── */
.consejo-box {
  background-color: #FDAB55;
  border-radius: 16px;
}

.consejo-icon {
  width: 50px;
}

.consejo-titulo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.5em;
  margin: 0;
}

.consejo-frase {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1em;
  margin: 0;
  color: white;
}

/* ── Texto motivacional ─────────────────────────────────────── */
.texto-motivacional {
  background-color: #8C6AB2;
  border-radius: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 17px;
}

/* ── Slider ──────────────────────────────────────────────────── */
.slider-container {
  position: relative;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-wrapper {
  overflow: hidden;
  margin: 0 auto;
  height: 300px;
  padding: 0 10px;
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.jugadores-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
}

.jugadores-carousel::-webkit-scrollbar {
  display: none;
}

.jugadores-carousel.dragging {
  cursor: grabbing;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0f1118;
  border: 1px solid #1a1e2b;
  font-size: 2rem;
  padding: 0 10px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  color: #e2e8f0;
}

.slider-btn:hover {
  background-color: #1a1e2b;
  border-color: #16a34a;
  color: #16a34a;
}

.slider-btn.prev {
  left: -20px;
}

.slider-btn.next {
  right: -20px;
}

.container .star {
  width: 60px !important;
}

/* ── Feed filtros ────────────────────────────────────────────── */
.feed-filtros {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.feed-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feed-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  background: #0f1118;
  border: 1.5px solid #1a1e2b;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}

.feed-pill:hover {
  background: #1a1e2b;
  color: #e2e8f0;
  text-decoration: none;
}

.feed-pill.active {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.feed-pill-hint {
  font-size: 0.7rem;
  background: rgba(255,255,255,0.2);
  padding: 1px 6px;
  border-radius: 99px;
  margin-left: 2px;
}

/* ── Fin feed filtros ────────────────────────────────────────── */

/* ── Destacar box ────────────────────────────────────────────── */
.destacar-box-modern {
  background: linear-gradient(135deg, rgb(4, 94, 67), #1c5f0b);
  color: white;
  border-radius: 18px;
  padding: 25px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Poppins', sans-serif;
}

.destacar-box-modern .contenido-destacar h5 {
  font-weight: 700;
  font-size: 1.2rem;
}

.destacar-box-modern .contenido-destacar p {
  font-size: 0.95rem;
  color: #f0f0f0;
}

.destacar-box-modern .btn {
  background-color: white;
  color: #0984e3;
  border-radius: 20px;
  transition: all 0.2s ease-in-out;
}

.destacar-box-modern .btn:hover {
  background-color: #dfe6e9;
  color: #2d3436;
}

.icono-destacar i {
  font-size: 2.5rem;
  color: #ffeaa7;
  animation: shine 1.5s infinite ease-in-out;
}

@keyframes shine {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* ── Botón cargar más ────────────────────────────────────────── */
.btn-feed-mas {
  background: #0f1118;
  border: 1.5px solid #1a1e2b;
  color: #e2e8f0;
  padding: 10px 28px;
  border-radius: 99px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .2s;
}

.btn-feed-mas:hover {
  border-color: #16a34a;
  color: #16a34a;
}

/* ── Perfiles sugeridos ──────────────────────────────────────── */
.sugeridos-box {
  background: #0f1118;
  border: 1px solid #1a1e2b;
  border-radius: 14px;
  padding: 16px;
}

.sugeridos-titulo {
  font-weight: 600;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.sugerido-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #1a1e2b;
  text-decoration: none;
  transition: opacity .15s;
}

.sugerido-item:last-child { border-bottom: none; }
.sugerido-item:hover { opacity: 0.8; }

.sugerido-foto {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #1a1e2b;
}

.sugerido-nombre {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.sugerido-rol {
  font-size: 0.78rem;
  color: #64748b;
}

/* ── Alert oscuro ────────────────────────────────────────────── */
.alert-warning {
  background: #1a1700 !important;
  border-color: #3a3000;
  color: #e2e8f0 !important;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .slider-wrapper {
    max-width: calc(220px * 6 + 20px * 5);
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .slider-wrapper {
    max-width: calc(220px * 4 + 20px * 3);
  }
}

@media (max-width: 991.98px) and (min-width: 576px) {
  .slider-wrapper {
    max-width: calc(220px * 3 + 20px * 2);
  }
}

@media (max-width: 575.98px) {
  .slider-wrapper {
    max-width: calc(220px * 2 + 20px * 1);
  }
}

@media (max-width: 768px) {
  .jugador-card {
    width: 170px;
    height: auto;
  }

  .jugador-card img {
    height: 170px;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 576px) {
  .feed-filtros { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .jugador-card {
    width: 150px;
  }

  .jugador-card img {
    height: 150px;
  }
}
