html, body {
  margin: 0;
  font-family: 'Poppins', 'Helvetica', 'Arial', sans-serif;  
  
  color: #fff;
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #fff; /* opcional */
}

/* Navbar */
.navbar {
  font-weight: 600;
  box-shadow: none !important; /* sin sombra */
  padding-top: 24px;

}

.navbar .nav-link {
  color: #333 !important;  /* texto oscuro */
  transition: 0.3s;
}

.navbar .nav-link:hover {
  color: #9b59b6 !important; /* lilita al hover */
}

/* Espacio por el navbar fijo */
.main-content {
  min-height: 100vh;
  padding-top: 80px;
}

.main-content h1 {
  font-size: 3rem;
  text-shadow: 0px 3px 6px rgba(0,0,0,0.3);
}

.main-content p {
  font-size: 1.3rem;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.3);
}
.navbar-brand img {
  height: 40px;   /* tamaño del logo */
  width: auto;    /* mantiene proporción */
  border-radius: 5px;
}
/* Estado inicial del dropdown */
.dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px); /* más abajo al inicio */
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-top: 15px !important; /* puedes probar 10px, 15px, 20px */

}

/* Cuando Bootstrap aplica .show */
.dropdown-menu.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0); /* vuelve a su lugar */
}
/* Empuja el contenido por debajo del navbar fixed-top */
:root { --navbar-h: 72px; }   /* ajusta 64–80px si tu navbar es más alto */
body { padding-top: var(--navbar-h); }

@media (max-width: 991.98px) {
  :root { --navbar-h: 82px; } /* un poco más en móvil por si el navbar crece */
}
        .separator {
            margin: 3rem 0 2rem 0;
            border-top: 2px solid #dee2e6;
        }
        .centered-footer {
            background-color: #ffffff00;
            color: white;
            padding: 1.5rem 0;
            text-align: center;
            font-size: 0.9rem;
            margin-top: 2rem;
        }
        .footer-content {
            max-width: 600px;
            margin: 0 auto;
            padding: 0 15px;
        }
.custom-header {
    background-color: #0d6efd !important;
}        
/* MINI CAROUSEL */
.mini-carousel-img {
  height: 320px;
  object-fit: cover;
}

/* Bordes suaves */
#miniCarousel {
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .mini-carousel-img {
    height: 160px;
  }
}
/* Sección Noticias y Ranking */
.card {
  border-radius: 10px;
}

.card-header {
  font-size: 1.25rem;
}

.card-body ul li {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .card-header {
    font-size: 1.1rem;
  }
  .card-body ul li {
    font-size: 0.95rem;
  }
}
.noticia-img {
  width: 100%;
  max-width: 100%;   /* ancho máximo de la imagen */
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;     /* centra la imagen */
  border-radius: 8px;
}

.descripcion {
  font-size: 0.95rem;
  color: #fff;
  text-align: justify;  /* centrado */
  margin: 0;           /* elimina cualquier espacio extra */
  padding-top: 0;      /* pegado a la imagen */
}
.footer {
  
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  color: #9b59b6; /* efecto lilita al pasar el mouse */
}
.vip-card-horizontal {
  display: flex;
  background: #00000047;
  border: 0px solid #222;
  border-radius: 8px;
  overflow: hidden;
  min-height: 180px;
}

.vip-image {
  width: 45%;
 
}

.vip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-info {
  width: 55%;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vip-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.vip-desc {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 15px;
}

.vip-price {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 700;
}

.vip-price span {
  color: #dc3545;
  font-weight: 700;
}

.btn-vip {
  background: #8bc34a;
  color: #000;
  font-weight: 700;
  border: none;
  padding: 8px 20px;
  width: fit-content;
}

.btn-vip:hover {
  background: #9ccc65;
}
@media (max-width: 768px) {
  .vip-card-horizontal {
    flex-direction: column;
  }

  .vip-image,
  .vip-info {
    width: 100%;
  }
}
.user-cash, .user-den {
    font-size: 14px;
    cursor: default;
}

.user-cash:hover {
    background: #0d6efd;
}

.user-den:hover {
    background: #b8860b;
}
.page-enter {
  opacity: 0;
  animation: fadeIn 1.0s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
body.index-page {
  position: relative;
  background: #0b0b0b00;
}

/* FONDO REAL */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/bg.png") center top / cover no-repeat;
  z-index: -1;
}
/* Animación visible en cada cambio */
.mini-animate .carousel-item {
  transition: opacity 0.8s ease;
}

.mini-animate .carousel-item img {
  transform: scale(1.05);
  transition: transform 3s ease;
}

.mini-animate .carousel-item.active img {
  transform: scale(1);
}
/* MINI CAROUSEL FIX */
#miniCarousel {
  border-radius: 5px;
  overflow: hidden; /* 🔥 clave */
}

#miniCarousel .carousel-inner {
  border-radius: 5px;
  overflow: hidden;
}

#miniCarousel img {
  border-radius: 5px;
}
/* TITULOS */
.section-title h2 {
  font-weight: 800;
  margin-bottom: 5px;
}

.section-title small {
  letter-spacing: 2px;
  color: #999;
}

/* =======================
   SECTION TITLES
======================= */
.section-title {
    margin-bottom: 20px;
}

.section-title h2 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 4px;

}

.section-title small {
    color: #FFFFFF;
    font-size: 12px;
    letter-spacing: 2px;
}

/* =======================
   NEWS
======================= */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    background: #fff;
    color: black;
    padding: 25px 20px;
    border-radius: 4px;
    transition: transform 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateX(6px);
    background: #E3E3E3;
}

.news-item h5 {
    color: #5C5C5C;
    margin: 8px 0 4px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .8px;
}

.news-item small {
    color: #888;
    font-size: 16px;
    letter-spacing: .5px;
}

/* TAGS */
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 5px;
    letter-spacing: .8px;
}

.tag { 
  background: linear-gradient(135deg, #ff5e5e, #ff8c42); 
  color: #fff;
   }


/* CARD */
.music-card {
  background: #fff;
  border-radius: 5px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.music-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
}

/* COVER */
.music-cover {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.music-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}

/* BPM BADGE */
.bpm-badge {
  background-color: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  z-index: 10;
}
@media (max-width: 768px) {
  .bpm-badge {
    font-size: 0.7rem; /* más pequeño en móviles */
    padding: 0.15rem 0.4rem;
  }
}

/* INFO */
.music-info {
  text-align: center;
  margin-top: 10px;
}

.music-info h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.music-info p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #888;
}
/* =======================
   RESPONSIVE
======================= */
@media (max-width: 768px) {
    .hits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.hits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* DISCORD */
.discord-section {
  padding-right: 25px;
}

.discord-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.discord-text span {
  font-size: 13px;
  letter-spacing: .5px;
  color: #fff;
}

.discord-text strong {
  display: block;
  font-size: 25px;
  color: #fff;
}

/* RANKING */

/* asegura que el ranking no se meta */
.ranking-section {
  width: 100%;
}
.ranking-header span {
  font-size: 13px;
  letter-spacing: 1px;
  color: #fff;
}

.ranking-header strong {
  display: block;
  font-size: 25px;
  color: #fff;
  margin-bottom: 3px;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 40px 1fr 80px 120px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  transition: 0.2s ease;
}

.rank-row:hover {
  background: rgba(255,255,255,0.06);
}

.rank-pos {
  font-weight: 700;
  color: #ffb84d;
}

.rank-nick {
  color: #fff;
}

.rank-level,
.rank-exp {
  font-size: 13px;
  color: #aaa;
}
.discord-icon {
  color: #5865F2; /* color Discord */
}

.discord-icon svg {
  width: 60px;
  height: 60px;

}

/* opcional: separación visual */
@media (min-width: 768px) {
  .ranking-section {
    padding-left: 20px;
  }
}
.discord-section .ratio {
  padding-left: 0.5rem;  /* margen interno a los lados */
  padding-right: 0.5rem;
}
@media (min-width: 768px) {
  .discord-section .ratio {
    padding-left: 0;      /* en desktop lo dejamos pegado al grid */
    padding-right: 0;
  }
}
.discord-section iframe {
  border-radius: 8px;   /* opcional, se ve más bonito */
  overflow: hidden;
}
