@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

/* Animations */
@keyframes fade {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes glow {
  0%,100% { box-shadow: 0 0 8px #3f00ff55; }
  50% { box-shadow: 0 0 16px #a3f7ff88; }
}

/* ==================================
   NEW NAVBAR — BOTTOM LEFT
================================== */

.navbar {
  position: fixed;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  background: none !important;
  box-shadow: none !important;
  animation: fade 0.5s ease-out;
}

.nav-left-bg {
  background: #1a2a4a;
  padding: 6px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.logo img {
  height: 55px;
  width: auto;
  animation: pulse 3s infinite;
}

/* Buttons */
.nav-links, .extra-buttons {
  display: flex;
  gap: 6px;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #3a6fb5;
  border: 1px solid rgba(163,247,255,0.12);
  text-decoration: none;
  transition: .3s;
  animation: glow 2.5s infinite;
}

.nav-links a:hover {
  background: #2b5a9a;
  border-color: #cfe6ff;
  transform: scale(1.1);
}

.nav-links a i {
  color: #e0e6ff;
  font-size: 1.4em;
  text-shadow: 0 0 5px #a3f7ff88;
}

/* Extra dropdown */
.extra-buttons {
  position: absolute;
  bottom: 70px;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(15, 20, 35, 0.92);
  padding: 8px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .25s ease;
}

/* ==================================
   PROFILE BUTTON — BOTTOM RIGHT
================================== */

#profile-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(15, 20, 35, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  text-decoration: none;
  z-index: 10000;
  transition: .12s ease;
}

#profile-float-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(163,247,255,.15);
}

#profile-float-name {
  font-weight: 600;
  color: #a3f7ff;
  font-size: .95rem;
}
.nav-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4d4d; /* Red notification color */
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    pointer-events: none; /* Don't block clicks to the icon */
}