html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #0e0e0e;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 40px;
  background-color: #0b0b0b;
  border-bottom: 1px solid #222;
}

.logo img {
  height: 100px;
}

/* ===== NAV ===== */
.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #8f5cff;
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.language-btn {
  background: rgba(15, 15, 15, 0.9);
  color: #ffffff;
  border: 1px solid #333;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.language-btn:hover {
  background: rgba(35, 35, 35, 0.9);
  border-color: #555;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid #333;
  border-radius: 5px;
  margin-top: 5px;
  min-width: 160px;
  display: none;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.language-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-option {
  padding: 12px 15px;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.language-option:hover {
  background: rgba(143, 92, 255, 0.15);
  color: #8f5cff;
}

.language-option img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

/* Ajustes para el header */
.header {
  position: relative;
  min-height: 100px;
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
  .language-selector {
    top: 15px;
    right: 15px;
  }
  
  .language-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .language-dropdown {
    min-width: 140px;
  }
  
  .logo img {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .language-selector {
    top: 10px;
    right: 10px;
  }
  
  .language-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .language-btn span:not(.fa) {
    display: none; /* Oculta el código del idioma en móvil muy pequeño */
  }
  
  .language-btn .fa-globe {
    margin-right: 0;
  }
}

/* ===== COMING SOON ===== */
.coming-soon {
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: #ffffff;
}

.coming-soon h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.coming-soon p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #0b0b0b;
  border-top: 1px solid #222;
  padding: 20px 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  color: #aaa;
  font-size: 0.9rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #8f5cff;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links a {
    margin: 0 10px;
  }
}
