.welcome-section {
  background-image: 
    linear-gradient(rgba(75, 0, 130, 0.8), rgba(25, 8, 41, 0.555)), 
    url("../../assets/images/fondo.jpg"); 
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.dropdown {
  display: inline-block;
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  width: 100%;
  overflow: auto;
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
  background-color: rgba(75, 0, 130, 0.8);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  color: #FFF;
  padding: 5px;
  text-decoration: none;
  
}
.dropdown-content a:hover {
  color: #FFFFFF;
  background-color: #00A4BD;
}


.welcome-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,
      0,
      0,
      0.5);
  z-index: -1;
}

.welcome-section h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px #fff,      
               0 0 10px #6f42c1,  
               0 0 15px #6f42c1,  
               0 0 20px #6f42c1,  
               0 0 30px #6f42c1;  
}

.welcome-section p {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.welcome-section .btn-primary {
  font-size: 1.125rem;
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.swipe-up {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  z-index: 1;
}

.swipe-up span {
  font-size: 1rem;
  color: #fff;
  display: block;
  margin-bottom: 10px;
  animation: fadeIn 2s ease-out 1s;
}

.swipe-up i {
  font-size: 2.5rem;
  color: #fff;
  animation: bounce 1.5s infinite;
}

@media (max-width: 767px) {

}




@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

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

  60% {
    transform: translateY(-5px);
  }
}

.btn-custom {
    font-size: 1.2rem;  
    padding: 0.75rem 1.5rem; 
    transition: transform 0.3s;  
    transform: scale(1); 
    min-width: 200px; 
    text-align: center; 
  }
  
  .btn-custom:hover {
    transform: scale(1.1); 
  }
  
  .btn-outline-primary-custom {
    color: white; 
    border-color: #007bff; 
    background-color: transparent;
  }
  
  .btn-outline-primary-custom i {
    color: white;
  }
  
  .btn-danger-custom {
    color: white;
    background-color: #dc3545; 
    border-color: #dc3545; 
  }
  
  .btn-danger-custom i {
    color: white;
  }

  @media (max-width: 768px) {
    .btn-custom {
      display: none;
    }
  }
  
  @media (max-width: 576px) {
    .welcome-section h1 {
      color: #fff;
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 1rem;
      text-shadow: 0 0 5px #fff,      
                   0 0 10px #6f42c1,  
                   0 0 15px #6f42c1,  
                   0 0 20px #6f42c1,  
                   0 0 30px #6f42c1;  
    }
    
    .welcome-section p {
      font-size: 1.3rem;
      font-weight: 300;
      margin-bottom: 2rem;
      text-align:start;
    }
    
  }
  
  section {
    margin-bottom: 4rem; 
  }
  
.minimal-stat-card {
  padding: 1.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease; 
  text-align: center;
}

.minimal-stat-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); 
}

.minimal-stat-icon {
  background: linear-gradient(135deg, #6c63ff, #a36bff);
  color: #fff;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto; 
  font-size: 2rem;
}

.minimal-stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.minimal-stat-description {
  font-size: 1.1rem;
  color: #777;
  margin-top: 0.3rem;
}


#como-conectarse {
  padding: 3.5rem 1.5rem;
  border-radius: 12px;
  

}

#como-conectarse h3 {
  color: #333;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.connect-step {
  padding: 1.8rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); 
  transition: box-shadow 0.3s ease; 
}

.connect-step:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); 
}

.connect-icon {
  color: #6c63ff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.connect-step h5 {
  font-weight: 600;
  margin-top: 0.5rem;
  color: #333;
  font-size: 1.25rem;
}

.connect-step p {
  color: #666;
  font-size: 1rem;
  margin-top: 0.5rem;
}

#como-conectarse a.btn {
  border-radius: 25px;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(108, 99, 255, 0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#como-conectarse a.btn:hover {
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.6);
  transform: translateY(-2px);
}


.hidden {
  opacity: 0; 
  transform: translateY(20px); 
  transition: opacity 0.8s ease, transform 0.8s ease; 
}

.visible {
  opacity: 1; 
  transform: translateY(0);
}

/*
====================================================
================= HOME MODERNO =====================
====================================================
*/

.welcome-section {
  min-height: calc(100vh - 112px);
  padding: 48px 0;
  background-image:
    linear-gradient(135deg, rgba(5, 8, 22, 0.84), rgba(12, 18, 35, 0.55)),
    url("../../assets/images/fondo.jpg");
}

.welcome-section::before {
  background:
    radial-gradient(circle at top center, rgba(168, 85, 247, 0.26), transparent 32%),
    linear-gradient(180deg, rgba(4, 8, 20, 0.12), rgba(4, 8, 20, 0.46));
}

.hero-content {
  width: min(1080px, 92vw);
  min-height: calc(100vh - 180px);
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 34px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.3), rgba(8, 12, 24, 0.65));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.34);
}

.welcome-section h1 {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
  text-shadow: 0 10px 28px rgba(109, 40, 217, 0.3);
}

.welcome-section p,
.hero-lead {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.92) !important;
}

.btn-custom {
  min-width: 220px;
  border-radius: 999px !important;
  padding: 0.95rem 1.6rem;
}

.btn-outline-primary-custom {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.btn-danger-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

#info-estadisticas,
#como-conectarse,
#caracteristicas-servidor {
  width: min(1180px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

.minimal-stat-card,
.connect-step {
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.minimal-stat-icon {
  box-shadow: 0 18px 34px rgba(109, 40, 217, 0.22);
}

.minimal-stat-value,
#como-conectarse h3,
.connect-step h5 {
  color: var(--text-primary);
}

.connect-step p,
.minimal-stat-description,
#caracteristicas-servidor p {
  color: var(--text-secondary) !important;
}

body.light-mode .hero-content {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.96));
  border-color: rgba(124, 58, 237, 0.12);
}

body.light-mode .welcome-section p,
body.light-mode .hero-lead {
  color: var(--text-secondary) !important;
}

@media (max-width: 768px) {
  .hero-content {
    min-height: auto;
    padding: 2rem 1.4rem;
    border-radius: 24px;
  }

  .btn-custom {
    min-width: 100%;
  }
}

