/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  overflow: hidden;
  height: 100vh;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

/* Cintilla superior */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 30, 30, 0.8); /* gris oscuro con transparencia */
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
  z-index: 10; /* Para que esté encima de los gifs */
}

.top-bar a {
  color: white;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.top-bar a:hover {
  opacity: 1;
}

/* Gifs flotantes */
.gif {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: auto;
}

.gif:hover {
  opacity: 1;
}
.centered-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  text-align: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1s; /* Empieza 1 segundo después */
  z-index: 20; /* Encima de todo */
}

.centered-text h1 {
  font-weight: 600;
  font-size: 3.5rem;
  margin-bottom: 0.3rem;
}

.centered-text h2 {
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.5rem;
}

/* Animación fade + subida */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
}

.email-button {
  background: none;
  border: 2px solid white;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: background 0.3s ease, color 0.3s ease;

  /* Parte para fijarlo centrado abajo */
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

  /* Inicialmente oculto */
  opacity: 0;
}

.email-button.show {
  opacity: 1;
}

.email-button:hover {
  background: white;
  color: black;
}


  a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  cursor: pointer;
}

.card {
  position: absolute;
  top: 24px;
  left: 0;
  background: white;
  color: #333;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 100;
  white-space: nowrap;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Botón principal */
.button-content {
  display: flex;
  align-items: center;
  justify-content: center; /* Centrar el texto */
  background: linear-gradient(135deg, #606060, #101010); /* Gris oxford → gris casi negro */
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition:
    background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.3s ease,
    box-shadow 0.4s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.button-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(96, 96, 96, 0.4), rgba(16, 16, 16, 0.4));
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.button-content::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: scale(0);
  transition: transform 0.6s ease-out;
  z-index: -1;
}

.button-content:hover::before {
  opacity: 1;
}

.button-content:hover::after {
  transform: scale(1);
}

.button-content:hover {
  background: linear-gradient(135deg, #101010, #606060); /* Invertido al hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px) scale(1.03);
}

.button-content:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.text {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: letter-spacing 0.3s ease;
}

.button-content:hover .text {
  letter-spacing: 1px;
}

/* Animación de pulso */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(96, 96, 96, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(96, 96, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(96, 96, 96, 0);
  }
}

.button-content {
  animation: pulse 3s infinite;
}

/* Hover ripple */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.button-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  transform: scale(0);
  opacity: 0;
}

.button-content:active::before {
  animation: ripple 0.6s linear;
}

  
 
  



  





