/* Estilos para la página de dominios */
.dominios-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.dominios-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInDown 1s ease;
}

.dominios-header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #7ecbff;
  text-shadow: 0 0 20px rgba(126, 203, 255, 0.3);
}

.dominios-header p {
  font-size: 1.3rem;
  color: #e3e6eb;
  opacity: 0.9;
}

.dominios-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  width: 100%;
  animation: fadeInUp 1s ease 0.3s both;
}

.dominio-card {
  background: linear-gradient(135deg, rgba(78, 170, 255, 0.1) 0%, rgba(126, 203, 255, 0.05) 100%);
  border: 2px solid rgba(78, 170, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dominio-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(126, 203, 255, 0.1) 0%, transparent 70%);
  transition: all 0.6s;
  opacity: 0;
  pointer-events: none;
}

.dominio-card:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.dominio-card:hover {
  transform: translateY(-10px);
  border-color: rgba(78, 170, 255, 0.8);
  box-shadow: 0 20px 60px rgba(78, 170, 255, 0.3);
}

.dominio-icon {
  font-size: 4rem;
  color: #7ecbff;
  margin-bottom: 20px;
  transition: all 0.4s;
}

.dominio-card:hover .dominio-icon {
  transform: scale(1.2) rotate(10deg);
}

.dominio-nombre {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.dominio-descripcion {
  font-size: 1.1rem;
  color: #e3e6eb;
  opacity: 0.8;
  margin-bottom: 25px;
}

.dominio-url {
  display: inline-block;
  background: rgba(78, 170, 255, 0.2);
  padding: 12px 30px;
  border-radius: 10px;
  color: #7ecbff;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(78, 170, 255, 0.4);
  cursor: pointer;
  font-family: 'Segoe UI', Arial, sans-serif;
  position: relative;
  z-index: 10;
}

.dominio-url:hover {
  background: rgba(78, 170, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(78, 170, 255, 0.4);
}

.eye-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: rgba(35, 39, 58, 0.8);
  border: 2px solid rgba(78, 170, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.eye-button:hover {
  background: rgba(78, 170, 255, 0.2);
  border-color: rgba(78, 170, 255, 0.8);
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(78, 170, 255, 0.5);
}

.eye-button i {
  color: #7ecbff;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.eye-button:hover i {
  transform: scale(1.2);
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-out {
  animation: fadeOut 0.8s ease forwards;
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ocultar elementos */
.hidden {
  display: none !important;
}

#wiki-content {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10000;
}

#wiki-content.show {
  opacity: 1;
  animation: fadeIn 0.8s ease forwards;
}

#wiki-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .dominios-header h1 {
    font-size: 2.5rem;
  }

  .dominio-nombre {
    font-size: 2rem;
  }

  .dominio-card {
    padding: 30px 20px;
  }

  .eye-button {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
  }
}
