/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  background-color: #1c1c1c;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1; /* fills available space */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeInContainer 1s ease-out forwards;
}

h1 {
  font-size: 3rem;
  margin: 2rem 0 1.5rem;
  font-weight: 600;
}

p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.text-container {
  text-align: left;
  max-width: 600px; /* limits width for better readability */
  margin: 0 auto;
}

.text-container p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}

.fade-in.delay {
  animation-delay: 0.6s;
}

.fade-in.delay-2 {
  animation-delay: 1.2s;
}

.fade-in.delay-3 {
  animation-delay: 1.8s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInContainer {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.glow-link {
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
  margin: 2rem 0 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.glow-link:hover {
  background-color: transparent; /* or use #1c1c1c to match your bg */
  border-color: #f24848;
  color: #fff;
  /* box-shadow: offset-x offset-y blur-radius color; */
  box-shadow: 0 0 4px rgba(242, 72, 72, 0.3), 0 0 8px rgba(242, 72, 72, 0.4),
    0 0 12px rgba(242, 72, 72, 0.5);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* subtle line */
  padding: 1rem 0;
  text-align: center;
  color: #fff;
  margin-top: 3rem;
}

.footer p {
  font-size: 1rem;
  margin: 0;
}

/* Tablet (768px and down) */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  p,
  .text-container p {
    font-size: 1.1rem;
  }

  .text-container {
    max-width: 90%;
    text-align: left;
    margin: 0 auto;
  }

  .footer p {
    font-size: 0.85rem;
  }
}

/* Mobile (480px and down) */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
    margin-top: 1.5rem;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  p,
  .text-container p {
    font-size: 1rem;
  }

  .text-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
  }

  .footer p {
    font-size: 0.8rem;
  }
}
