:root {
  --rojo-principal: #d90429;
  --rojo-secundario: #ff4d6d;
  --rojo-oscuro: #8b0015;

  --fondo-oscuro: #0f0f14;
  --fondo-gradiente: linear-gradient(135deg, #0f0f14 0%, #1a1a25 100%);

  --blanco: #ffffff;
  --gris-claro: #f5f5f7;
  --gris-texto: #9a9a9a;

  /* VARIABLES CORREGIDAS */
  --idv-rojo: var(--rojo-principal);
  --idv-rojo-oscuro: var(--rojo-oscuro);
  --idv-blanco: var(--blanco);
  --idv-gris: #111118;
  --idv-azul: #1a1a25;
  --idv-azul-claro: #2c2c3a;
}

/* GENERAL */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--fondo-gradiente);
  color: var(--blanco);
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

section {
  padding: 80px 0;
}

/*  HERO  */
.hero-section {
  position: relative;
  height: 75vh;
  min-height: 500px;
  background: linear-gradient(135deg,
      #0f0f14 0%,
      #0d3b2e 40%,
      #146c43 75%,
      #1f8f5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Luz decorativa verde */
.hero-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(31, 143, 95, 0.25);
  filter: blur(120px);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}


.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content img {
  width: 140px;
  margin-bottom: 20px;
  animation: floatLogo 3s ease-in-out infinite;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ffffff, #1f8f5f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}


.hero-content p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 20px auto 30px;
  color: rgba(255, 255, 255, 0.85);
}

/* BOTONES */

.btn-idv {
  background: linear-gradient(90deg, #146c43, #1f8f5f);
  color: white;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(31, 143, 95, 0.25);
}

.btn-idv:hover {
  background: linear-gradient(90deg, #1f8f5f, #28a76f);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(31, 143, 95, 0.35);
}


.btn-idv-outline {
  border: 2px solid white;
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  transition: 0.3s;
}

.btn-idv-outline:hover {
  background: white;
  color: #146c43;
  border-color: #146c43;
}

/*  NAVBAR  */

.navbar-idv {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-idv .nav-link {
  color: white !important;
  font-weight: 600;
}

/* LOGO NAVBAR AJUSTADO */
.navbar-idv .navbar-brand img {
  height: 40px;
  width: auto;
  transition: 0.3s ease;
}

.navbar-idv .navbar-brand img:hover {
  transform: scale(1.05);
}


/*  TARJETAS  */

.noticia-card,
.palmares-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  transition: 0.4s ease;
  color: white;
}

.noticia-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(4, 217, 100, 0.3);
}

.noticia-card .card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: white !important;
}

.noticia-card .card-text,
.noticia-card small,
.noticia-card span,
.noticia-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/*  TABLA */

.tabla-posiciones {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  color: white;
}

.tabla-posiciones thead {
  background: linear-gradient(90deg, #146c43, #1f8f5f);
}

.noticia-badge {
  background: linear-gradient(90deg, #146c43, #1f8f5f);
  color: white;
}

.palmares-item h5 {
  color: white;
}

.palmares-item p {
  color: rgba(255, 255, 255, 0.7);
}


.footer-idv {
  background: #0f0f14;
  color: white;
  padding: 60px 0 30px;
}

.footer-idv h5 {
  background: linear-gradient(90deg, #146c43, #1f8f5f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}


.footer-idv p,
.footer-idv a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-idv a:hover {
  color: white;
}


.estadio-section {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}


/*ICONOS MODERNOS PROYECCIÓN*/
.palmares-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, #146c43, #1f8f5f, #ffd700);
  background-clip: text;
  /* estándar */
  -webkit-background-clip: text;
  /* para Chrome/Safari */
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* fallback */
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}


.palmares-item:hover .palmares-icon {
  transform: scale(1.3);
}

.palmares-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.palmares-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.palmares-item h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.palmares-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}


/* ANIMACIONES  */

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}