@font-face {
  font-family: 'RockwellStd';
  src: url('fonts/RockwellStd.otf') format('opentype');
}

body {
  margin: 0;
  background-color: #000000;
  color: #FFD700;
  font-family: 'RockwellStd', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  overflow: hidden;
}

.container {
  max-width: 600px;
  padding: 20px;
  animation: fadeIn 2s ease-in;
}

.logo {
  width: 250px;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.text-box {
  height: 120px; /* altura fija para evitar movimiento */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#rotating-text {
  margin: 0;
  width: 100%;
  transition: opacity 0.3s ease;
}

.cta {
  color: #FFD700;
  text-decoration: none;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  animation: neon 1.5s infinite alternate;
}

.cta:hover {
  background-color: #FFD700;
  color: #000000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes neon {
  from {
    text-shadow:
      0 0 5px #FFD700,
      0 0 10px #FFD700,
      0 0 20px #FFD700;
  }
  to {
    text-shadow:
      0 0 10px #FFA500,
      0 0 20px #FFA500,
      0 0 30px #FFA500;
  }
}
/* Ajuste para textos largos en móviles */
@media (max-width: 768px) {
  .text-box {
    width: 90%;
    padding: 10px;
    box-sizing: border-box;
  }

  .text-box h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    word-wrap: break-word;
  }

  .cta {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

