html {
    scroll-behavior: smooth;
}

/* Estilo para la clase activa del menú */
.nav-link.active {
    color: #225D00 !important; /* color destacado */
    font-weight: 700;
    text-decoration: underline;
}

.bodyT {
    /*background: linear-gradient(135deg, #000000 31%, #ffffff 15%);*/
    background: linear-gradient(225deg, #ffffff 57.5%, #225D00 39.6%);
    color: white;
    font-family: 'Segoe UI', sans-serif;
}
.navbar {
    background: transparent;
    height: 60px; /* o el alto que quieras fijo */
    /*overflow: hidden;/**/
    display: flex;
    align-items: center; /* centra vertical */
}

.navbar .estuliga {
    font-family: 'Lobster', cursive;
    font-size: 40px; /* más grande */
    line-height: 1;   /* para que no crezca mucho en alto */
    white-space: nowrap; /* evitar que rompa líneas */
    font-weight: normal !important;
}
.estuligaName {
    font-family: 'Lobster', cursive;
    font-weight: normal !important;
    font-size:18px !important;
}
.hero {
    position: relative;
    padding: 4rem 2rem;
    overflow: hidden;
    color: white;
    z-index: 5;
}
.hero h1 {
    font-weight: bold;
    font-size: 2.5rem;
}
.hero p.lead {
    font-weight: 600;
    font-size: 1.2rem;
}
.hero .btn-dark {
    background-color: #444;
    border: none;
}
.player-img {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 50%;
    z-index: 6;
}
.store-buttons img {
    height: 50px;
    margin-right: 10px;
}

/* Fondo diagonal animado */
.background-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #111, #222);
    z-index: 1;
}

.layer-black {
    position: absolute;
    width: 200%;
    height: 80px;
    background: #1a1a1a;
    transform: rotate(-45deg);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    z-index: 2;
}

.linea-verde {
    position: absolute;
    width: 200%;
    height: 22px;
    background: #01ff11;
    transform: rotate(45deg);
    box-shadow: 0 0 25px #01ff11;
    z-index: 3;
}

/* Posiciones de líneas negras */
.layer-black:nth-child(1) { top: 500px; left: -80%; }
.layer-black:nth-child(2) { top: 600px; left: -75%; }
.layer-black:nth-child(3) { top: 700px; left: -70%; }
.layer-black:nth-child(4) { top: 800px; left: -65%; }
.layer-black:nth-child(5) { top: 900px; left: -60%; }
.layer-black:nth-child(6) { top: 1000px; left: -55%; }

/* Posiciones de líneas verdes */
.linea-verde:nth-child(7)  { top: 0px;   left: -5%; }
.linea-verde:nth-child(8)  { top: 100px; left: -10%; }
.linea-verde:nth-child(9)  { top: 200px; left: -15%; }
.linea-verde:nth-child(10) { top: 300px; left: -20%; }
.linea-verde:nth-child(11) { top: 400px; left: -24%; }

.dropdown-menu {
    z-index: 1050 !important;
}

/* Responsive ajustes visuales */
@media (max-width: 991.98px) {
  .navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
  }

  .navbar .nav-link {
    color: white !important;
  }

  .navbar .dropdown-menu {
    background-color: #222;
  }

  .navbar .dropdown-item {
    color: white;
  }

  .navbar .dropdown-item:hover {
    background-color: #444;
  }

  .navbar .navbar-brand img {
    width: 30px;
  }

  .navbar .estuliga {
    font-size: 26px;
  }
}

/* Título Hero ajustes para móviles */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }
}
/* Color oscuro (pantallas grandes, fondo claro) */
@media (min-width: 992px) {
  .navbar .nav-link {
    color: black !important;
  }
  .navbar .nav-link.active {
    color: #225D00 !important;
    font-weight: 700;
    text-decoration: underline;
  }
}

/* Color claro (pantallas pequeñas, fondo oscuro) */
@media (max-width: 991.98px) {
  .navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
  }

  .navbar .nav-link {
    color: white !important;
  }

  .navbar .nav-link.active {
    color: #01ff11 !important;
  }

  .dropdown-menu {
    background-color: #111;
  }

  .dropdown-item {
    color: white;
  }

  .dropdown-item:hover {
    background-color: #333;
  }
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.95); /* Fondo oscuro para que resalte */
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    margin-top: 10px;
  }

  .navbar .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #444;
    color: white !important;
  }

  .navbar .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-toggler {
    border: none;
    background-color: transparent;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}
@media (max-width: 991.98px) {
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}
.navbar-toggler {
  border: 1px solid white;
  padding: 6px 10px;
  border-radius: 6px;
}

@media (min-width: 769px) {
  .espacio-section-estadisticas {
    /* padding: 30px 30px !important; */
  }
  .ancho-estado-estadisticas {
    width: 100px;
  }
}
