/* public_html/blog/nav/nav-desktop.css */

/* =========================================================
   DESKTOP NAV
========================================================= */

/* =========================================================
   FONTS
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bitcount+Prop+Single&display=swap');

/* =========================================================
   ROOT COLORS — DESKTOP NAV ONLY
========================================================= */
:root {
  --nav-text: #ffffff;
  --nav-accent: #7bb5ff;
  --nav-hover: rgba(255, 255, 255, 0.15);
  --nav-shadow: rgba(0, 0, 0, 0.35);

  --nav-bg: rgba(0, 0, 0, 0.15);
  --nav-border: rgba(255,255,255,0.08);
  --nav-dropdown-bg: rgba(20, 24, 30, 0.85);
}

/* =========================================================
   DESKTOP NAV BAR (GLASS)
========================================================= */
#nav-desktop {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--nav-border);
  z-index: 9999;
}

/* =========================================================
   NAV INNER LAYOUT
========================================================= */
#nav-desktop .nav-inner {
  width: 100%;
  max-width: 1350px;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================
   LOGO
========================================================= */
#nav-desktop .logo-text a {
  text-decoration: none;
}

#nav-desktop .logo-bio {
  font-family: 'Bitcount Prop Single';
  font-size: 42px;

  background: linear-gradient(90deg, #00d1c1, #30c9ff, #7bb5ff);
  background-size: 200%;
  -webkit-background-clip: text;
  color: transparent;

  text-shadow: 0 3px 6px var(--nav-shadow);
}

#nav-desktop .logo-journal {
  font-family: 'Bitcount Prop Single';
  font-size: 42px;
  font-weight: 600;
  color: #eef5ff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* =========================================================
   CENTER MENU
========================================================= */
#nav-desktop .menu-center {
  display: flex;
  align-items: center;
  gap: 28px;
}

#nav-desktop .menu-center > a,
#nav-desktop .has-submenu > a {
  display: flex;
  align-items: center;
  gap: 6px;

  padding: 8px 6px;

  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--nav-text);
  text-decoration: none;

  text-shadow: 0 2px 5px var(--nav-shadow);
}

#nav-desktop .menu-center > a:hover,
#nav-desktop .has-submenu > a:hover {
  color: var(--nav-accent);
}

/* =========================================================
   SUBMENUS (DESKTOP HOVER)
========================================================= */
#nav-desktop .has-submenu {
  position: relative;
}

#nav-desktop .has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

/* =========================================================
   SUBMENU — STRUCTURE (NO MOTION)
========================================================= */
#nav-desktop .submenu {
  display: none;

  position: absolute;
  top: 26px;
  left: 0;

  width: 240px;
  padding: 14px 0;
  list-style: none;

  z-index: 5000;

  opacity: 1;
  transform: none;
}

/* =========================================================
   SUBMENU — MATERIAL
========================================================= */
#nav-desktop .submenu {
  background: var(--nav-dropdown-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.2);

  box-shadow:
    0 8px 25px rgba(0,0,0,0.45),
    inset 0 0 12px rgba(255,255,255,0.04);
}

#nav-desktop .has-submenu.submenu-active > .submenu {
  display: block;
}

#nav-desktop .submenu .subitem a {
  display: block;
  margin: 4px 10px;
  padding: 14px 22px;

  font-size: 15px;
  color: #e8ecf3;
  font-family: "Inter", sans-serif;
  text-decoration: none;

  border-radius: 16px;
}

#nav-desktop .submenu .subitem a:hover {
  color: var(--nav-accent);
}

/* =========================================================
   RIGHT ACTIONS
========================================================= */
#nav-desktop .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#nav-desktop .nav-actions a {
  padding: 10px 14px;
  border-radius: 8px;

  font-family: "Inter", sans-serif;
  color: var(--nav-text);
  text-decoration: none;

  text-shadow: 0 2px 5px var(--nav-shadow);
}

#nav-desktop .nav-actions a:hover {
  background: var(--nav-hover);
}

/* =========================================================
   DONATE BUTTON
========================================================= */
#donate-button-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#custom-donate-btn {
  position: absolute;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 14px;
  border-radius: 999px;

  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: #ffffff;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);

  pointer-events: none;
  white-space: nowrap;
}

#custom-donate-btn .heart {
  color: #ff4d6d;
  font-size: 0.9rem;
}

#donate-button iframe,
#donate-button img {
  opacity: 0;
}

#donate-button {
  position: relative;
  z-index: 1;
}

#donate-button-container:hover #custom-donate-btn {
  background: var(--nav-hover);
  border-color: var(--nav-accent);
}

/* =========================================================
   DESKTOP ONLY SAFETY
========================================================= */
@media (max-width: 900px) {
  #nav-desktop {
    display: none;
  }
}

/* =========================================================
   WILDVERSE LOGO — STATIC
========================================================= */
#nav-desktop .logo-wildverse {
  font-family: 'Bitcount Prop Single', sans-serif;
  font-size: 36px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  position: relative;
  display: inline-block;
  text-decoration: none;

  background: linear-gradient(
    135deg,
    #e8f1ff 0%,
    #9fdcff 30%,
    #6fbaff 55%,
    #dfefff 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 2px 6px rgba(0,0,0,0.45),
    0 0 20px rgba(123,181,255,0.15);
}
