body {
  background-image: url("../images/home-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* semi-transparent black overlay */
  z-index: -1;
}

.navbar {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  background: linear-gradient(135deg, #ff4d4d, #ff9900, #00ccff);
  background-size: 200% auto;
  transition: all 0.4s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.nav-links a:hover {
  background-position: right center;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Login link styled separately */
.nav-right .login-link {
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  background: linear-gradient(135deg, #ff9900, #007bff, #6610f2);
  background-size: 200% auto;
  transition: all 0.4s ease;
  animation: pulse 2.5s infinite;
}

.nav-right .login-link:hover {
  background-position: right center;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(102, 16, 242, 0.7);
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(102, 16, 242, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(102, 16, 242, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(102, 16, 242, 0.3); }
}

.home {
  flex: 1;
  text-align: center;
  padding: 100px 20px 40px;
}

.gradient-title {
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(90deg, #a20707, #010803, #033852);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 4s linear infinite;
  margin-bottom: 20px;
}

@keyframes shine {
  to {
    background-position: -200% center;
  }
}

.subheading {
  font-size: 18px;
  margin-bottom: 40px;
  color: #fff;
  font-weight: bold;
}

.how-to-use {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.how-to-use h2 {
  color: #00ccff;
  margin-bottom: 15px;
}

.how-to-use ul {
  list-style: none;
  padding-left: 0;
}

.how-to-use li {
  margin: 10px 0;
  font-size: 16px;
}

.footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 13px;
}
