/* ===============================
   NAVIGATION (Rounded for ALL Screens)
============================== */
/* ===============================
   NAVIGATION (Rounded for ALL Screens)
=============================== */
.nav-neon {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: clamp(6px, 1vw, 10px) clamp(12px, 3vw, 30px); /* Adjusted padding */
  border-radius: clamp(20px, 4vw, 50px); /* Adapts based on screen */
  z-index: 100;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  min-width: 260px;
  max-width: 85%;
  transition: all 0.3s ease-in-out;
}

/* Ensure items stay inside the menu on smaller screens */
.nav-neon ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(5px, 2vw, 15px); /* Reduces space between menu items */
  align-items: center;
  justify-content: center;
}

/* Ensure text doesn’t overflow */
.nav-neon ul li a {
  font-size: clamp(0.75rem, 2vw, 1rem); /* Adjusts font size dynamically */
  padding: clamp(6px, 1vw, 10px) clamp(10px, 2vw, 15px);
  text-align: center;
  white-space: nowrap; /* Prevents wrapping */
}

.nav-neon ul li a.active {
  color: #ffffff;
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.7) !important;
  transform: scale(1.1);
}

/* 🔹 Mobile View Fix (iPhones & Smaller Devices) */
@media only screen and (max-width: 768px) {
  .nav-neon {
    width: 92%;
    padding: 8px 3vw;
    border-radius: 5vw;
  }

  .nav-neon ul {
    gap: 6px;
  }

  .nav-neon ul li a {
    font-size: 0.8rem; /* Slightly smaller for mobile */
    padding: 6px 8px;
  }
}

/* 🔹 Extra Small Screens */
@media only screen and (max-width: 480px) {
  .nav-neon {
    width: 95%;
    border-radius: 6vw;
  }

  .nav-neon ul {
    gap: 4px;
  }

  .nav-neon ul li a {
    font-size: 0.75rem;
    padding: 5px 7px;
  }
}

.nav-neon ul li a {
  color: #00ffff;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 15px;
  border-radius: 25px;
  transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.nav-neon ul li a:hover {
  color: #ffffff;
  box-shadow: 0 0 15px #00ffff;
  transform: scale(1.1);
}

/* ===============================
   CHAT MENU ITEM - ENHANCED PULSE EFFECT
============================== */
.nav-neon ul li a.chat-link {
  position: relative;
  color: #ffaa33;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 170, 51, 0.1);
  box-shadow: 0 0 12px rgba(255, 170, 51, 0.6);
  transition: all 0.3s ease-in-out;
  animation: pulse-glow 2.5s infinite ease-in-out, floating 4s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 170, 51, 0.6), 0 0 20px rgba(255, 170, 51, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 200, 100, 0.8), 0 0 30px rgba(255, 170, 51, 0.5);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 170, 51, 0.6), 0 0 20px rgba(255, 170, 51, 0.2);
  }
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

.nav-neon ul li a.chat-link:hover {
  color: #ffcc00;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.8), 0 0 30px rgba(255, 204, 0, 0.6);
  transform: scale(1.08);
}


/* ===============================
   CHAT MENU ITEM - ENHANCED PULSE EFFECT
============================== */
.nav-neon ul li a.chat-link {
  position: relative;
  color: #ffaa33;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 170, 51, 0.1);
  box-shadow: 0 0 12px rgba(255, 170, 51, 0.6);
  transition: all 0.3s ease-in-out;
  animation: pulse-glow 2.5s infinite ease-in-out, floating 4s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 170, 51, 0.6), 0 0 20px rgba(255, 170, 51, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 200, 100, 0.8), 0 0 30px rgba(255, 170, 51, 0.5);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 170, 51, 0.6), 0 0 20px rgba(255, 170, 51, 0.2);
  }
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

.nav-neon ul li a.chat-link:hover {
  color: #ffcc00;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.8), 0 0 30px rgba(255, 204, 0, 0.6);
  transform: scale(1.08);
}
