* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: normal;
  /* Background image with overlay */
  background: 
    linear-gradient(rgba(35, 39, 46, 0.6), rgba(35, 39, 46, 0.8)),
    url("https://images.unsplash.com/photo-1529070538774-1843cb3265df?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") no-repeat center center fixed;
  background-size: cover;

  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  text-align: center;
  max-width: 600px;
  padding: 2rem;
  z-index: 1;
}

.logo {
  width: 550px;
  margin-bottom: 1.5rem;
  /* ✅ Constant bounce animation */
  animation: bounce 3s ease-in-out infinite;
  will-change: transform;
}

/* Bounce keyframes */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px); /* slight upward bounce */
  }
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f9c74f;
  margin-bottom: 1rem;
}

.subtitle {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ddd;
}

/* ✅ Stacked form layout */
.form {
  display: flex;
  flex-direction: column; /* stack inputs + button */
  gap: 0.8rem;
}

.form input,
.form button {
  padding: 0.7rem;
  border: none;
  border-radius: 4px;
  width: 100%; /* full width for consistency */
}

.form button {
  background: #f9c74f;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.form button:hover {
  background: #f9844a;
}

.hidden {
  display: none;
}

footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aaa;
}

.socials {
  margin-top: 1rem;
}

.socials a {
  margin: 0 0.5rem;
  color: #f9c74f;
  text-decoration: none;
}

.socials a:hover {
  text-decoration: underline;
}

/* 📱 Mobile-friendly tweaks */
@media (max-width: 768px) {
  .logo {
    width: 80%;
    max-width: 300px;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  footer {
    font-size: 0.8rem;
    margin-top: 2rem;
  }

  .socials a {
    display: inline-block;
    margin: 0.3rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .container {
    padding: 1rem;
  }
}
