/* Desktop nav menu (base styling) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 13px;
  color: #7A729E;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 400;
  white-space: nowrap;
}
.nav-link:hover {
  color: #F5F2FF;
  background: rgba(255,255,255,0.06);
}

/* shared.css — mobile nav, cookie banner, skip link, accessibility */

/* Skip to content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  padding: 8px 16px;
  background: #8B5CF6;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #F5F2FF;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 31, 0.7);
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: #0D0B1F;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-drawer.open {
  pointer-events: all;
}
.mobile-drawer.open .mobile-drawer-overlay {
  opacity: 1;
}
.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}
.mobile-nav-link {
  font-size: 20px;
  font-weight: 300;
  color: #C2BCDC;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
  transition: color 0.2s;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.02em;
}
.mobile-nav-link:hover {
  color: #F5F2FF;
}
.mobile-nav-cta {
  margin-top: 24px;
  padding: 14px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: block;
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(22, 19, 48, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#cookie-banner.visible {
  transform: translateY(0);
}
.cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 13px;
  color: #C2BCDC;
  line-height: 1.55;
}
.cookie-text a {
  color: #8B5CF6;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.cookie-accept {
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  color: #fff;
}
.cookie-reject {
  background: rgba(255, 255, 255, 0.08);
  color: #C2BCDC;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Mobile responsive: show hamburger, hide desktop nav */
@media (max-width: 900px) {
  .nav-links {
    gap: 0;
    font-size: 12px;
  }
  .nav-link {
    padding: 5px 7px;
    font-size: 12px;
  }
  .nav-badge-desktop {
    display: none !important;
  }
}
@media (max-width: 560px) {
  .nav-links {
    display: none;
  }
}
@media (max-width: 600px) {
  .cookie-inner {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
