* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0b0f1a;
  color: #cfdff6;
  line-height: 1.6;
}








.navbar {
  background-color: #0d1a2f;
  padding: 0 30px;
  display: flex;
  align-items: center;
  height: 74px;
  width: 100%;
  box-sizing: border-box;
  position: relative; 
  border-bottom: none; 
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; 
  background: linear-gradient(to right, #1e90ff, #5aa0ff);
  border-radius: 2px 2px 0 0;
}
.nav-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  height: 67px;
  margin: 0;
  flex-shrink: 0;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  position: absolute;
  right: 0;
  margin: 0;
  padding: 0 30px;
  height: 70px;
  align-items: center;
  top: 0;
  background-color: transparent;
}
.nav-links li a {
  text-decoration: none;
  color: #a9c8ff;
  font-weight: bold;
  transition: color 0.3s;
}
.nav-links li a:hover {
  color: #5a9eff;
}





.hero {
  background: linear-gradient(rgba(10,20,40,0.85), rgba(10,20,40,0.85)),
              url('img/fondols.jpg') no-repeat center center / cover;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  color: #cfdff6;
  position: relative;
  overflow: hidden;
}

.hero-text {
  max-width: 800px;
}

.logo {
  height: 365px;
  width: auto;
  margin-bottom: -40px;
  animation: pulseScale 4.5s ease-in-out infinite;
  transform-origin: center center;
  filter: drop-shadow(0 0 10px #1e90ff);
}
@keyframes backgroundGlow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.1);
  }
}

.hero {
  animation: backgroundGlow 10s ease-in-out infinite;
}
@keyframes pulseScale {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px #1e90ff);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px #4da6ff);
  }
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #8bbfff;
  text-shadow: 0 0 10px rgba(139, 191, 255, 0.7);
  position: relative;
  display: inline-block;
}
.hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #5a9eff;
  margin: 15px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 8px #5a9eff;
}
.hero p {
  font-size: 1.2rem;
  color: #a9c8ff;
  margin-bottom: 30px;
  text-shadow: 0 0 6px rgba(169, 200, 255, 0.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}








.cta-buttons .btn {
  background-color: #1e90ff;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  margin: 5px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  transform: scale(1);
}

.cta-buttons .btn:hover {
  background-color: #1565c0;
  transform: scale(1.05);
}

.cta-buttons .btn.secondary {
  background-color: #072252c9;
}

.cta-buttons .btn.secondary:hover {
  background-color: #6671be;
  transform: scale(1.05);
}





.about {
  padding: 60px 20px;
  text-align: center;
  background-color: #101929;
}
.about h2 {
  font-size: 2rem;
  color: #70b6ff;
  margin-bottom: 20px;
}
.about p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #c4d6f3;
}







.info-boxes {
  width: 100%;
  padding: 40px 20px;
  background-color: #0f1a28;
  display: flex;
  justify-content: center;
}
.info-box.server-status {
  width: 100%;
  max-width: 640px;
  background: #192c45;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(14, 114, 187, 0.3);
  text-align: center;background: rgba(28, 46, 74, 0.25);
backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.1);

}
.info-box.server-status h3 {
  color: #7abaff;
  margin-bottom: 15px;
  font-size: 1.5rem;
}
.info-box.server-status iframe {
  width: 100%;
  height: 150px;
  border-radius: 8px;
}






.features {
  background-color: #121e32;
  padding: 60px 20px;
  text-align: center;
}
.features h2 {
  font-size: 2rem;
  color: #70b6ff;
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  grid-auto-rows: 1fr; 
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(30, 143, 255, 0.155);
}


.feature-item {
  background-color: #1c2e4a;
  padding: 20px;
  border-radius: 7px;
  box-shadow: 0 0 10px rgba(42, 108, 182, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  
  box-sizing: border-box;
  height: 100%;
}
.feature-item:hover {
  transform: none; 
}
.feature-item h4 {
  color: #8bbfff;
  margin-bottom: 10px;
}

.feature-item p {
  color: #a5cfff;
  font-size: 1rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}


.footer {
  background: #0c1828;
  color: #c2dbff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  position: relative;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 1.4s;
  box-shadow: inset 0 4px 10px -6px #1e90ff; 
  border-top: 3px solid transparent; 
  border-image: linear-gradient(to right, #1e90ff, #5aa0ff) 1; 
}




@media (max-width: 1024px) {
  .nav-links {
    position: static;
    justify-content: flex-end;
    padding: 0;
    gap: 15px;
  }
  .nav-container {
    max-width: 100%;
    padding: 0 15px;
  }
  .logo {
    height: 280px;
    margin-bottom: -20px;
  }
  .hero-text {
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 10px;
    font-size: 0.9rem;
    padding: 0 10px;
  }
  .nav-logo {
    height: 50px;
  }
  .logo {
    height: 200px;
    margin-bottom: -10px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .cta-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .about {
    padding: 40px 15px;
  }
  .features {
    padding: 40px 15px;
  }
}




::-webkit-scrollbar {
  width: 12px; 
}
::-webkit-scrollbar-track {
  background: #0b0f1a; 
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: #1e90ff; 
  border-radius: 10px;
  border: 3px solid #0b0f1a; 
}
::-webkit-scrollbar-thumb:hover {
  background-color: #5aa0ff; 
}






* {
  scrollbar-width: thin;
  scrollbar-color: #064583 #0b0f1a;
}
.footer {
  background: #0c1828;
  color: #c2dbff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.footer .footer-text {
  flex-grow: 1;
}


.credit-toggle {
  cursor: pointer;
  font-size: 1.3rem;
  color: #5aa0ff;
  user-select: none;
  border: 1.5px solid #5aa0ff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}
.credit-toggle:hover,
.credit-toggle:focus {
  background-color: #1e90ff;
  color: #fff;
  outline: none;
}
.credit-text {
  position: absolute;
  bottom: 50px;
  right: 20px;
  background-color: #1c2e4a;
  color: #8bbfff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(42, 108, 182, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  user-select: none;
  z-index: 100;
}
.credit-text.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


.news-section {
  background-color: #0f1a28;
  padding: 60px 20px;
  color: #cfdff6;
  text-align: center;
}

.news-section h2 {
  font-size: 2rem;
  color: #70b6ff;
  margin-bottom: 40px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.news-item {
  background-color: #1c2e4a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(30, 144, 255, 0.25);
}

.news-item h4 {
  color: #8bbfff;
  margin-bottom: 10px;
}

.news-item p {
  color: #a5cfff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.news-item .date {
  font-size: 0.85rem;
  color: #85a7d6;
  font-style: italic;
}
.news-item a {
  color: #5aa0ff;
  text-decoration: underline;
  transition: color 0.3s;
}

.news-item a:hover {
  color: #1e90ff;
}
.news {
  padding: 30px 20px; /* antes capaz tenías 60px */
  background-color: #0f1a28;
  color: #cfdff6;
  text-align: left;
}
.news-image {
  width: 100%;
  max-width: 250px;  /* o el tamaño que prefieras */
  margin: 10px auto;
  display: block;
  border-radius: 3px;

}
.news-item {
  position: relative;
  padding-bottom: 40px; /* deja espacio para la fecha */
  background-color: #1c2e4a;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  color: #a5cfff;
}

.news-item .date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.9rem;
  color: #7abaff;
  user-select: none;
}

.news h2 {
  margin-top: 10px; /* bajá esto para subir el título */
  margin-bottom: 20px;
  color: #70b6ff;
  font-size: 2rem;
}
.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #1e90ff, #5aa0ff);
  margin: 40px auto;
  width: 80%;
  border-radius: 3px;
}
.lancer {
  width: 100%;
  max-width: 400px;  /* o el tamaño que prefieras */
  margin: 10px auto;
  display: block;
  border-radius: 3px;

}

