:root {
  --color-text-primary: #111111;
  --color-text-secondary: #555555;
  --color-text-tertiary: #888888;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.outer {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 2rem 1.5rem;
}

.clock {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text-tertiary);
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.4s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.label {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
  line-height: 1;
  position: relative; /* Necesario para que el contenedor de puntos se alinee aquí */
}

.links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

/* Botón base: Centrado exacto sin modificar el alto ni la separación vertical */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--color-text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Flecha: Totalmente fuera del flujo a la derecha */
.arrow {
  position: absolute;
  left: 100%;
  margin-left: 6px;
  top: 50%;
  opacity: 0;
  transform: translateY(-50%) translate(-4px, 4px); 
  display: inline-block;
  font-size: 11px;
  color: var(--color-text-secondary);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

/* Animaciones de desplazamiento balanceado en Hover */
@media (hover: hover) {
  .btn:hover {
    color: var(--color-text-primary);
    transform: translateX(-6px); /* El bloque se desplaza a la izquierda al hacer hover */
  }

  .btn:hover .arrow {
    opacity: 1;
    transform: translateY(-50%) translate(0, 0); /* La flecha viaja suavemente a su sitio */
  }
}

/* --- ANIMACIÓN PREMIUM DE PUNTOS SUSPENSIVOS --- */
.dots-container {
  position: absolute;
  display: inline-flex;
  margin-left: 3px;
}

.dot {
  opacity: 0;
  font-weight: 500;
  animation: wave-dot 1.5s infinite ease-in-out;
}

/* Retrasos escalonados para crear el efecto ola */
.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.25s;
}

.dot:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes wave-dot {
  0% {
    opacity: 0;
    transform: translateY(2px);
  }
  25% {
    opacity: 1;
    transform: translateY(0);
  }
  75% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-2px);
  }
}

/* Responsivo para móviles */
@media (max-width: 480px) {
  .outer {
    padding: 1.5rem;
  }

  .clock {
    top: 1rem;
    right: 1rem;
    font-size: 10px;
  }

  .label {
    font-size: 20px;
  }
}