* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  min-height: 100vh;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: gradientShift 20s ease infinite;
  background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a1c4fd, #c2e9fb);
  background-size: 400% 400%;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #e59824; }
}

.container {
  background-color: rgba(224, 245, 253, 0.85);
  border: 8px solid #e08a25;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  animation: fadeUp 0.8s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 200px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.typing-header {
  font-size: 2rem;
  font-weight: 700;
  color: #e59824;
  border-right: 3px solid #e59824;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 2.5s steps(20, end) forwards, blink-caret 0.75s step-end infinite;
  margin-bottom: 0.5rem;
}

.intro {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e59824;
  margin-bottom: 1rem;
}

.subtext {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #501314;
}

.button-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

button {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #e08a25, #e59824);
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #e08a25;
}

button:active {
  transform: scale(0.98);
  box-shadow: 0 0 5px #e08a25 inset;
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
  animation: fadeUp 0.8s ease-out;
}

footer a {
  color: #e08a25;
  text-decoration: none;
  font-weight: 700;
}

footer a:hover {
  text-decoration: underline;
}

.help-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #e08a25;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  animation: fadeUp 0.8s ease-out;
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .typing-header {
    font-size: 1.5rem;
  }

  .intro {
    font-size: 1.1rem;
  }

  .subtext {
    font-size: 1.1rem;
  }

  button {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }
}
