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

body {
  font-family: 'Segoe UI', sans-serif;
  background: url('NepPath.jpg') no-repeat center center/cover;
  color: white;
}

header {
  background-color: #ff5a20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.logo img {
  width: 50px; height: 50px; border-radius: 50%;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px; height: 3px; background-color: white;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #ff5a20;
    flex-direction: column;
    width: 150px;
    display: none;
    padding: 10px;
    border-radius: 8px;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 60px;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
}

.hero-content h1 {
  color: #ff5a20;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.join-btn {
  background: #ff5a20;
  border: none;
  padding: 12px 24px;
  color: white;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
}

/* ==== Signin Popup ==== */
.popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #222;
  padding: 30px;
  border-radius: 10px;
  display: none;
  z-index: 9999;
  width: 300px;
}

.popup h2 {
  margin-bottom: 15px;
  color: #ff5a20;
}

.popup input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
}

.popup button {
  background: #ff5a20;
  border: none;
  padding: 10px 15px;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.popup .close {
  position: absolute;
  top: 5px; right: 10px;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

/* ==== Stylish Center Alert ==== */
.alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 30px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  display: none;
  z-index: 9999;
  text-align: center;
  animation: fadeInOut 3s ease forwards;
}

.alert.success {
  background-color: rgba(0, 128, 0, 0.9);
  border: 2px solid #00ff00;
}

.alert.error {
  background-color: rgba(255, 0, 0, 0.9);
  border: 2px solid #ff0000;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}