/* ===== GLASSY NAV BAR (GLASSMORPHISM) ===== */
.nav-container {
  font-family: 'Inter', sans-serif;
  background: #0d0d0d;
  color: white;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 30px 28px; 
  z-index: 2000 !important;
}


/* ===== BASE NAV STRUCTURE ===== */
.nav-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4),
               0 2px 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ffffff, #dcdcdc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.2));
  transition: all 0.3s ease;
}


.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.nav-menu.collapsed {
  display: none;
}

.nav-center,
.nav-actions,
.donate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ===== NAV LINKS ===== */
.nav-center a {
  padding: 6px 12px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
}

.nav-center a:hover {
  background: #ff1a1a;
  color: white;
  transform: scale(1.07);
}

#active-nav-link {
  background-color: #ff1a1a !important;
  color: white;
  font-weight: bolder;
}

/* ===== NAV BUTTONS ===== */
.nav-actions button {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-actions button:hover {
  background-color: #ff1a1a;
  transform: scale(1.05);
  color: white;
}

.nav-actions button:active {
  background-color: #cc0000;
}

/* Tooltip style for ESD & EHD */
a.tooltip {
  position: relative;
}

/* Tooltip box */
a.tooltip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: -35px;           /* position under the link */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2000 !important;
}

/* Show tooltip on hover */
a.tooltip:hover::after {
  opacity: 1;
}


/* ===== CART ===== */
#cart-count {
  position: absolute;
  top: 0px;
  right: 0px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

.cart-icon {
  position: relative;
  display: inline-block;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px;
}

/* ===== DONATION BUTTONS WITH OFFICIAL BRAND COLORS ===== */
.donate-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ========== Stripe ========== */
#stripe-button {
  background: linear-gradient(145deg, #6e64ff, #5546ff);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  padding: 10px 16px;
  box-shadow: 0 4px 10px rgba(99, 91, 255, 0.4);
  transition: all 0.3s ease;
}
#stripe-button:hover {
  background: linear-gradient(145deg, #5546ff, #3d30cc);
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(85, 70, 255, 0.6);
}

/* ========== PayPal ========== */
#paypal-button {
  background: linear-gradient(145deg, #ffe082, #ffc439);
  color: #003087;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  padding: 10px 16px;
  box-shadow: 0 4px 10px rgba(255, 196, 57, 0.5);
  transition: all 0.3s ease;
}
#paypal-button:hover {
  background: linear-gradient(145deg, #ffd633, #e5ac00);
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 180, 0, 0.6);
}

/* ========== Bitcoin ========== */
button[onclick="copyBTC()"] {
  background: linear-gradient(145deg, #ffa733, #f7931a);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  padding: 10px 16px;
  box-shadow: 0 4px 10px rgba(247, 147, 26, 0.4);
  transition: all 0.3s ease;
}
button[onclick="copyBTC()"]:hover {
  background: linear-gradient(145deg, #f08a00, #de7300);
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(240, 138, 0, 0.6);
}

/* ========== Ethereum ========== */
button[onclick="copyETH()"] {
  background: linear-gradient(145deg, #4d4d4d, #3c3c3d);
  color: #00ffff;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  padding: 10px 16px;
  box-shadow: 0 4px 10px rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}
button[onclick="copyETH()"]:hover {
  background: linear-gradient(145deg, #2b2b2c, #1f1f20);
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 255, 255, 0.3);
}


.copy-msg {
  font-size: 0.75rem;
  color: #00ff88;
}

/* ===== MODAL ===== */
.modal.show {
  display: flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .modal.active {
    padding: 10px;
  }

  .modal-content {
    width: 95%;
    max-width: 95%;
    padding: 15px;
  }

  .nav-center,
  .nav-actions,
  .donate-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions button,
  .donate-buttons button {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
  }

  .menu-toggle {
    display: none !important;
  }
}
