body {
  margin: 0;
  min-height: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top left, #E8F1FF 0, #ffffff 45%, #faf5ff 100%);
  color: #ffffff;
  overflow-x: hidden;
}

.profile-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* Transparent bridge so hover persists across the gap to the profile dropdown */
.profile-container::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 14px;
  background: transparent;
}

.profile-container .avatar {
  cursor: pointer;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff !important;
  border-radius: 16px;
  padding: 6px;
  min-width: 180px;
  border: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.13), 0 1px 4px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-8px);
  z-index: 1100;
}

/* Invisible bridge between avatar and dropdown */
.profile-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.profile-container:hover .profile-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-dropdown a {
  display: flex;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #000e33 !important;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-dropdown a i {
  width: 15px;
  font-size: 0.85rem;
  opacity: 0.38;
  transition: opacity 0.15s ease;
}


/* Profile dropdown menu */
.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px); /* Reduced gap from 12px to 8px */
  right: 0;
  background: #000e33;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 180px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-10px);
  z-index: 1100;
}

/* Add invisible bridge between avatar and dropdown */
.profile-dropdown::before {
  content: '';
  position: absolute;
  top: -12px; /* Covers the gap */
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.profile-container:hover .profile-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px; /* Increased from 10px to 12px for easier clicking */
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.profile-dropdown a i {
  width: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.profile-dropdown a:hover {
  background: linear-gradient(135deg, #0066ff, #c27aff);
}

.profile-dropdown a i {
  width: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.profile-dropdown a:hover {
  background: rgba(75, 91, 213, 0.08) !important;
  color: #4b5bd5 !important;
}

.profile-dropdown a:hover i {
  opacity: 0.85;
}

.profile-dropdown a:hover {
  background: linear-gradient(135deg, #0066ff, #c27aff);
}

.guest-mobile-menu {
  background-color: white !important;
}
.guest-nav-left {
  align-items: center;
  gap: 32px;
  justify-content: center;
  grid-column: 2;
      margin: 0;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #ffffff;
}

/* ───── NAVBAR ───── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  height: 72px;
  padding: 0 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  grid-column: 2;
}

.nav-logo {
  width: 160px;
  height: auto;
  grid-column: 1;
  justify-self: start;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  grid-column: 3;
  justify-self: end;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: #000e33;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 18px;
  background: transparent;
}


.nav-item:hover i {
  transform: translateY(1px);
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0066ff, #c27aff);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: left center;
  transition: opacity 0.22s ease, transform 0.25s ease;
}

.nav-item:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s ease, background 0.2s ease;
}
.icon-btn:hover {
  color: #000e33;
  background: rgba(0, 0, 0, 0.04);
}
.create-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  box-shadow: none;
  transition: box-shadow 0.25s ease, transform 0.15s ease;
}

.create-btn:hover {
  box-shadow: 0 6px 22px rgba(0, 102, 255, 0.38);
  transform: translateY(-1px);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.avatar:hover {
  transform: scale(1.03);
  box-shadow: none;
}


.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.menu-toggle {
  display: none;
}

a {
  text-decoration: none;
  color: white;
}
.hamburger {
  color: #000e33;
  font-size: 22px;
  cursor: pointer;
  display: none;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 16px 24px 24px;
  gap: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.menu-toggle:checked ~ .mobile-menu {
  display: flex;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #ffffff;
  border-radius: 14px;
  padding: 6px;
  min-width: 190px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #000e33 !important;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown a:hover {
  background: rgba(75, 91, 213, 0.08);
  color: #4b5bd5 !important;
}
/* ───── NAVBAR RESPONSIVE ───── */

@media (max-width: 1100px) {
  .navbar {
    padding: 0 32px;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-logo {
    width: 180px;
  }

  .nav-left {
    gap: 20px;
  }
}



@media (max-width: 768px) {
  /* ───── GLOBAL OVERFLOW FIX ───── */
  * {
    max-width: 100vw;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .nav-logo {
    width: 170px;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-right .create-btn {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /* Mobile menu link styling */
  .mobile-menu {
    z-index: 9999;
  }

  .mobile-menu a {
    color: #000e33 !important;
    text-decoration: none;
  }

  .mobile-menu .nav-item {
    color: #000e33  ;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
  }

  .mobile-menu .create-btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }


}


@media (max-width: 900px) {
  .navbar {
    padding: 0 24px;
  }

  .nav-logo {
    width: 180px;
  }

  .nav-left {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }

   .mobile-menu .nav-item {
    color: #000e33  ;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
  }

  .controls-right .create-btn {
    font-size: 12px;
    width: 50%;
    white-space: nowrap;
  }
  .nav-logo {
    width: 170px;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-right .create-btn {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

a {
  text-decoration: none;
}

.avatar:hover,
.create-btn:hover,
.notification-bell:hover,
.submit-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

/* ───── NOTIFICATIONS ───── */

.notification-container {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2000001 !important;
}

.notification-bell {
  position: relative;
}

.rr-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;

  /* 🔑 FIX */
  z-index: 100000;
}


.rr-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.group-monogram-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at top left, rgba(0,102,255,0.14), transparent 40%),
    radial-gradient(circle at top right, rgba(194,122,255,0.18), transparent 40%),
    linear-gradient(135deg, #eef4ff 0%, #f5efff 55%, #f8f3ff 100%);

  overflow: hidden;
}

.group-monogram-placeholder span {
  color: #000e33;
  font-size: 48px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  display: none;
  box-shadow: 0 0 0 2px #ffffff;;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding-right: 4px;
  margin-bottom: 14px;
}
.close-icon {
  font-size: 22px;
  line-height: 1;
  color: #1a1a1a;
  opacity: 0.7;
}
#shareModalContent {
  position: relative;
}
.close-modal:hover {
  transform: rotate(90deg);
}
#shareModal {
  display: none; /* you already toggle this */
  position: fixed;
  inset: 0;
  z-index: 9999;
}


.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.confirm-modal.active {
  display: flex;
}

.confirm-modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  text-align: center;
}

.confirm-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 59, 48, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #ff3b30;
}

.confirm-modal-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
}

.confirm-modal-message {
  margin: 0 0 28px;
  font-size: 1rem;
  color: #000e33;
  opacity: 0.7;
  line-height: 1.5;
}

.confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirm-delete-btn,
.confirm-cancel-btn {
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.confirm-delete-btn {
  background: #ff3b30;
  color: white;
}

.confirm-delete-btn:hover {
  background: #e02d21;
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.3);
}

.confirm-cancel-btn {
  background: transparent;
  border: 1px solid rgba(0, 14, 51, 0.2);
  color: #000e33;
}

.confirm-cancel-btn:hover {
  background: rgba(0, 14, 51, 0.05);
}

@media (max-width: 480px) {
  .confirm-modal-content {
    padding: 24px;
  }

    .notification-modal {
  position: absolute;
  top: 52px;
  right: 50px !important;
  width: 320px;
  max-height: 420px;
  border-radius: 16px;
  padding: 12px 0;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  overflow-y: auto;
  z-index: 2000001 !important;
}

  .confirm-modal-actions {
    flex-direction: column-reverse;
  }

  .confirm-delete-btn,
  .confirm-cancel-btn {
    width: 100%;
    justify-content: center;
  }

  .sort-dropdown label {
    display: none;
  }

  .search-bar {
    width: 90% !important;
  }
}


#shareModalContent {
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto;
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}


.modal-close {
      position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 26px;
    line-height: 34px;
}

.modal-close:hover {
  transform: rotate(90deg) !important;
}
.user-modal-body {
  padding: 16px 28px 28px;
  overflow-y: auto;
  flex: 1;
}


.share-rec-close:hover i {
  transform: rotate(90deg);
}/* subtle rotate on hover */
.rr-modal-close:hover i{
  transform: rotate(90deg) scale(1.05);
  opacity: 0.8;
}
.share-profile-close:hover i {
  transform: rotate(90deg);
}

.notification-modal {
  position: absolute;
  top: 52px;
  right: 0;
  width: 320px;
  max-height: 420px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%) !important;
  border-radius: 16px;
  color: #000e33;
  padding: 12px 0;
  border: 1px solid rgba(0, 14, 51, 0.06) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  overflow-y: auto;
  z-index: 2000001 !important;
}
.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 8px;
  border-bottom: 1px solid rgba(0, 14, 51, 0.08);

}

.notification-header h4 {
   font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.notif-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
  z-index: 2000001 !important;
}

.notification-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.88rem;
    border-bottom: 1px solid rgba(0, 14, 51, 0.06);
  z-index: 2000001 !important;
}


.notification-entry.unread {
  background: rgba(0, 102, 255, 0.06);
}
.notification-empty {
  padding: 12px 16px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.notification-avatar.monogram {
  border: 1px solid transparent;

  background:
    linear-gradient(135deg, #eef4ff 0%, #f5efff 55%, #f8f3ff 100%) padding-box,
    linear-gradient(135deg, #0066ff 0%, #c27aff 100%) border-box;

  color: #000e33;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;

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

  overflow: hidden;
}
.notification-avatar.monogram::after {
  content: attr(data-initials);

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

  width: 100%;
  height: 100%;

  border-radius: 50%;

  background:
    radial-gradient(circle at top left, rgba(0,102,255,0.22), transparent 45%),
    radial-gradient(circle at top right, rgba(194,122,255,0.28), transparent 45%),
    linear-gradient(135deg, #eef4ff 0%, #f5efff 55%, #f8f3ff 100%);

  color: #000e33;
}
.nav-monogram {
  width: 90%;
  height: 90%;
  border-radius: 50%;
background:
  radial-gradient(circle at top left, rgba(0,102,255,0.22), transparent 45%),
  radial-gradient(circle at top right, rgba(194,122,255,0.28), transparent 45%),
  linear-gradient(135deg, #eef4ff 0%, #f5efff 55%, #f8f3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  font-size: 0.85rem;
  color: #000e33;

  border: 1px solid rgba(194,122,255,0.14);
}
.notification-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.notif-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.notif-name {
  font-weight: 600;
  color: #000e33;
  text-decoration: none;
}

.notif-name:hover {
  text-decoration: underline;
}

.trip-link {
  color: #4b5bd5;
  text-decoration: none;
}
.invite-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.invite-actions button {
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.invite-actions button:first-child {
  background: #4b5bd5;
  color: #ffffff;
}

.invite-actions button:last-child {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

.invite-status {
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* make dropdown nicer on mobile */
@media (max-width: 768px) {
  .notification-modal {
    right: 50%;
    transform: translateX(50%);
    width: min(360px, calc(100vw - 32px));
      z-index: 2000001 !important; /* above nav dropdowns */

  }
}


.trip-link:hover {
  text-decoration: underline;
}

.comment-timestamp {
  font-size: 0.75rem;
  opacity: 0.65;
}

.invite-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.invite-actions button {
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.invite-actions button:first-child {
  background: #4b5bd5;
  color: #ffffff;
}

.invite-actions button:last-child {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .notification-modal {
    right: 50%;
    transform: translateX(50%);
    width: min(360px, calc(100vw - 32px));
    z-index: 2000001 !important;
  }
}

/* ───── DESTINATIONS HERO ───── */
main {
    background-color: #fff;
}
.destinations-hero {
  background:
    radial-gradient(circle at top left, rgba(194, 122, 255, 0.08), transparent 40%),
    radial-gradient(circle at top right, rgba(0, 102, 255, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  color: #000e33;
  padding: 72px 24px 44px;
  position: relative;
  overflow: visible;
  border-bottom: 1px solid rgba(0,0,0,0.05);

}

.destinations-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #000e33;
  padding-bottom: 20px;
    text-align: center;

}

.destinations-hero p {
  font-size: 1.1rem;
  color: #545459;
  opacity: 0.85;
      text-align: center;

  margin: 0 0 36px;
}

/* old search-stack replaced by dest-search-wrap — kept for safety */
.destinations-search.search-stack { display: none; }

.search-container { position: relative; max-width: 600px; margin: 0 auto; }

/* ───── CONTROLS (replaced by dest-sort-bar) ───── */
.destinations-controls { display: none; }

/* ───── DESTINATIONS GRID ───── */

.destinations-grid-section {
  max-width: none;
  margin: 0;
  padding: 0 0 80px;
  min-height: 400px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0px;
}

/* ─── DESTINATION TILE CARDS ─── */
.destination-card {
  position: relative;
  aspect-ratio: 0.84;
  overflow: hidden;
  background: #e9ecf5;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: none;
}

.destination-card:hover .dest-tile-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.22) 32%, rgba(0,0,0,0.84) 100%);
}

.dest-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-tile-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #eef2ff, #f5edff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dest-tile-placeholder i {
  font-size: 2rem;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dest-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.02) 0%,
    rgba(0,0,0,0.18) 38%,
    rgba(0,0,0,0.88) 100%
  );
  transition: background 0.25s ease;
}

.dest-tile-bottom {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dest-tile-name {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.dest-tile-meta {
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* keep .destination-image alive for backward-compat with updateDestinationCardImages */
.destination-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(194, 122, 255, 0.2));
}

.destination-name {
  font-size: 1.2rem;
  color: #000e33;
  font-weight: 600;
  padding-left: 12px;
  margin: 0;
}

.trending-badge {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}.visibility-toggle {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  margin-top: 4px;
}

.vis-pill {
  border: none;
  background: transparent;
  padding: 6px 16px;
  font-size: 12px;
  cursor: pointer;
  color: #4b5563;
  transition: all 0.2s;
}

.vis-pill.active {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
}
.destination-region {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0 0 12px;
}

.destination-stats {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

.stat i {
  color: #4b5bd5;
  font-size: 0.9rem;
}

/* ───── LOADING & EMPTY STATES ───── */

.loading-spinner {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner i {
  font-size: 3rem;
  color: #4b5bd5;
  margin-bottom: 16px;
}

.loading-spinner p {
  font-size: 1rem;
  opacity: 0.7;
  color: #000e33
}

.no-results {
  text-align: center;
  padding: 80px 20px;
  color: #000e33;
}


.no-results i {
  font-size: 4rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.no-results h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.no-results p {
  font-size: 1rem;
  opacity: 0.7;
  margin: 0;
}

/* ───── RESPONSIVE DESTINATIONS ───── */

@media (max-width: 900px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .destinations-hero h1 {
    font-size: 2rem;
  }

  .destinations-hero p {
    font-size: 1rem;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .mobile-menu .create-btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .filter-chips {
    width: 100%;
  }
html, body { overflow-x: hidden; }

  .filter-chip {
    flex: 1;
    text-align: center;
  }
}

/* ─────────── FOOTER ─────────── */
    /* ====== Footer ====== */
  /* ====== RoamRecs Footer (system style) ====== */
.rr-footer {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  color: #000e33;
  padding: 64px 24px 40px;
  border-top: 1px solid rgba(0, 14, 51, 0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
/* subtle hero-like glow */
.rr-footer::before{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  background:
    radial-gradient(900px 420px at 18% 10%, rgba(0,102,255,0.18), transparent 60%),
    radial-gradient(900px 520px at 85% 25%, rgba(194,122,255,0.16), transparent 62%);
  filter: blur(40px);
  opacity: 0.8;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Logo + tagline */
.footer-logo-wrapper{
  text-align: left;
  margin-bottom: 26px;
}

.footer-logo{
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 14, 51, 0.65);
}

/* Columns */
.footer-columns{
  display: flex;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-col{
  min-width: 160px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 14, 51, 0.5);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #000e33;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #4b5bd5;
}

/* Divider */
.footer-divider {
  margin: 36px 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 14, 51, 0.08),
    transparent
  );
}


.footer-app-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}


.footer-badges img {
  height: 40px;
  margin-right: 10px;
  opacity: 0.9;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.footer-badges img:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* App badges row + CTA */
.footer-app-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}


.footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;

  background: linear-gradient(90deg, #0066ff, #c27aff);
  box-shadow: 0 16px 40px rgba(75,91,213,0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}

.footer-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(75,91,213,0.34);
}

/* Bottom row */
.footer-bottom {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 20px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.footer-legal {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(0, 14, 51, 0.5);
  line-height: 1.4;
}


.footer-legal-subtle {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(0, 14, 51, 0.42);
  text-align: center;
}


.footer-socials {
  display: flex;
  gap: 12px;
  justify-self: end;
}

@media (max-width: 900px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }

  .footer-legal-subtle {
    text-align: left;
  }

  .footer-socials {
    justify-self: start;
  }
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 14, 51, 0.05);
  color: #000e33;
  transition: all 0.18s ease;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #fff;
}

.rr-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(
    circle at top,
    rgba(194, 122, 255, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.footer-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-heart i {
  font-size: 0.85rem;

  /* gradient heart */
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* fallback for non-webkit */
  color: #c27aff;
}

.footer-heart i {
  transition: transform 0.2s ease;
}

.footer-made:hover .footer-heart i {
  transform: scale(1.15);
}


.footer-made {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(0, 14, 51, 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}
/* gradient heart */
.footer-heart i {
  font-size: 0.85rem;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #c27aff;
  transition: transform 0.2s ease;
}

/* subtle hover = feels alive */
.footer-made:hover .footer-heart i {
  transform: scale(1.15);
}

/* NYC link styling */
.footer-city-link {
  color: #000e33;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

/* subtle underline on hover */
.footer-city-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.footer-city-link:hover::after {
  transform: scaleX(1);
}

.footer-legal-subtle {
  font-size: 0.72rem;
  opacity: 0.6;
  margin-top: 4px;
}

.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-legal,
.footer-legal-subtle {
  margin: 0;
}

.footer-legal-subtle {
  font-size: 0.72rem;
  opacity: 0.6;
}


.mycollections-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px; /* nice */
}

.destination-cta {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #4b5bd5;
  font-size: 14px;
  text-align: left;
  transition: color 0.2s ease;
}



/* tile cards don't use flex — overriding legacy rule */
.destination-card {
  display: block;
  height: auto;
}


/* ✅ Ensure consistent bio height */
.group-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  min-height: 2.8em; /* ✅ This ensures even empty bios take up 2 lines of space */
  max-height: 2.8em;
  margin: 0.5rem 0;
}
/* ✅ Group image container for positioning badge */
.group-image-container {
  position: relative;
  width: 100%;
}

/* ✅ Privacy badge on card image */
.privacy-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.privacy-badge i {
  font-size: 11px;
}

/* ✅ Privacy filter toggle */
.controls-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.privacy-filter {
  display: flex;
  align-items: center;
}

.privacy-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  color: #000e33;
}

.privacy-toggle-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.privacy-toggle-label input[type="checkbox"]:hover {
  border-color: #c27aff;
}

.privacy-toggle-label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  border-color: transparent;
}

.privacy-toggle-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.privacy-toggle-label span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.privacy-toggle-label i {
  color: #000e33;
  font-size: 13px;
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .destinations-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .controls-left {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .sort-dropdown,
  .privacy-filter {
    width: 100%;
  }
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.seo-destinations-links {
  padding: 56px 0px;
  color: #000e33;
    background: radial-gradient(circle at top left, #E8F1FF 0, #ffffff 45%, #faf5ff 100%);

}


.seo-destinations-links .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.seo-destinations-links h2 {
  margin-bottom: 12px;
}

.seo-destinations-links p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #666;
  line-height: 1.7;
}

.seo-destinations-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
}

.seo-destinations-links a {
  color: #4b5bd5;
  text-decoration: none;
  font-weight: 500;
}

.seo-destinations-links a:hover {
  text-decoration: underline;
}
.guest-login-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;

  color: #000e33 !important;

  /* 👇 FIXED */
  background: rgba(0, 14, 51, 0.04);
  border: 1px solid rgba(0, 14, 51, 0.15) !important;

  box-shadow: 0 6px 16px rgba(0, 14, 51, 0.08);

  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.guest-login-btn:hover {
  background: rgba(0, 14, 51, 0.07) !important;
  border-color: rgba(0, 14, 51, 0.25) !important;
  transition: 0.3s ease-in-out;
}

/* ─────────── DEST SEARCH BAR ─────────── */
.dest-search-wrap {
  max-width: 600px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 14, 51, 0.12);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 20px 50px rgba(0, 14, 51, 0.08), 0 2px 6px rgba(0, 14, 51, 0.05);
  transition: box-shadow 0.2s ease;
}



.dest-search-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dest-search-icon i {
  font-size: 0.82rem;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#destinationSearch {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: #000e33;
  padding: 6px 0;
}

#destinationSearch::placeholder {
  color: #9aa0b5;
}

.dest-search-clear {
  display: none;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(0, 14, 51, 0.35);
  flex-shrink: 0;
  padding: 0;
  font-size: 1.1rem;
  transition: color 0.15s ease;
}

.dest-search-clear:hover {
  color: #000e33;
}

@media (max-width: 768px) {
  .dest-search-wrap {
    margin: 20px 16px 0;
    max-width: none;
  }
}

/* ─────────── SORT PILLS ─────────── */
.dest-sort-bar {
  max-width: none;      /* remove constraint */
  margin: 0;            /* remove centering */
  padding: 48px 48px 0;    /* remove left/right padding */
}
.dest-sort-bar::-webkit-scrollbar {
  display: none;
}

.dest-sort-pills {
  display: flex;
  gap: 8px;
  width: max-content;
}

.dest-sort-pill {
  border: 1px solid rgba(0, 14, 51, 0.12);
  background: #f7f8fc;
  color: #4a4f6b;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.dest-sort-pill:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: rgba(75, 91, 213, 0.28);
  box-shadow: 0 10px 24px rgba(0, 14, 51, 0.09);
    background: rgba(0, 102, 255, 0.06);
  border-color: #4b5bd5;
  transform: translateY(-1px);
  color: #4b5bd5;
}

.dest-sort-pill.active {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.20);
}

@media (max-width: 768px) {
  .dest-sort-bar {
    padding: 14px 16px 0;
  }
}

.dest-input-field-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.dest-rotating-placeholder {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0b5;
  font-size: 1rem;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.dest-rotating-placeholder.fade-out {
  opacity: 0;
  transform: translateY(-55%);
}

.dest-rotating-placeholder.hidden {
  opacity: 0;
}

#destinationSearch {
  position: relative;
  z-index: 1;
  width: 100%;
  background: transparent;
}

/* ─────────── SORT PILLS ─────────── */
.dest-sort-bar {
  width: 100%;
  margin: 0;
  padding: 32px 24px 0;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dest-sort-bar::-webkit-scrollbar {
  display: none;
}

.dest-sort-pills {
  display: flex;
  gap: 8px;
  width: max-content;
  max-width: none;
}

.dest-sort-pill {
  border: 1px solid rgba(0, 14, 51, 0.12);
  background: #f7f8fc;
  color: #4a4f6b;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.dest-sort-pill.active {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.20);
}

@media (max-width: 768px) {
  .dest-sort-bar {
    padding: 18px 16px 0;
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
  }

  .dest-sort-pills {
    padding: 0 16px;
  }

  .dest-sort-pill {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

/* FORCE GROUP CARDS INTO EDITORIAL IMAGE TILE MODE */
#groupsGrid .destination-card {
  position: relative !important;
  aspect-ratio: 0.84 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #e9ecf5 !important;
  display: block !important;
}

#groupsGrid .group-image-container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

#groupsGrid .group-image-container img,
#groupsGrid .destination-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#groupsGrid .destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.02) 0%,
    rgba(0,0,0,0.18) 38%,
    rgba(0,0,0,0.88) 100%
  );
  pointer-events: none;
}

#groupsGrid .destination-name,
#groupsGrid .group-bio,
#groupsGrid .destination-stats,
#groupsGrid .group-card-actions {
  position: relative !important;
  z-index: 2 !important;
  color: #ffffff !important;
}

#groupsGrid .destination-name {
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 96px !important;
  padding-left: 0 !important;
  margin: 0 !important;
  font-size: clamp(1.35rem, 2vw, 1.9rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35) !important;
}

#groupsGrid .group-bio {
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 54px !important;
  margin: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
  opacity: 0.9 !important;
}

#groupsGrid .destination-stats {
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 22px !important;
  font-size: 0.78rem !important;
  gap: 12px !important;
}

#groupsGrid .destination-stats .stat,
#groupsGrid .destination-stats i {
  color: rgba(255,255,255,0.9) !important;
}
/* TOP OVERLAY WRAPPER */
#groupsGrid .group-card-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 3;

  display: flex;
  justify-content: space-between;
  align-items: center;
}
#groupsGrid .created-by {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

#groupsGrid .created-by span {
  color: #c27aff; /* your brand purple */
  font-weight: 700;
}
#groupsGrid .join-btn,
#groupsGrid .joined-btn,
#groupsGrid .edit-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;

  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.18);
  color: #ffffff;

  border: 1px solid rgba(255,255,255,0.35);

  transition: all 0.2s ease;
}

/* primary action */
#groupsGrid .join-btn {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  border: none;
}

/* subtle states */
#groupsGrid .joined-btn {
  background: rgba(255,255,255,0.2);
}

#groupsGrid .join-btn:hover,
#groupsGrid .edit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

#groupsGrid .group-created-by {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  right: 18px !important;
  z-index: 6 !important;
  margin: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.82) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45) !important;
}

#groupsGrid .group-created-by a {
  color: #ffffff !important;
  opacity: 0.95 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
#groupsGrid .group-card-actions {
  position: absolute !important;
  top: 54px !important;
  left: 18px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 7 !important;
  display: flex !important;
  gap: 10px !important;
  margin: 0 !important;
}

#groupsGrid .group-created-by {
  opacity: 0 !important;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#groupsGrid .destination-card:hover .group-created-by {
  opacity: 1 !important;
  transform: translateY(0);
}

#groupsGrid .group-card-actions {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 7 !important;
  display: flex !important;
  gap: 8px !important;
  margin: 0 !important;
}

#groupsGrid .join-btn,
#groupsGrid .joined-btn,
#groupsGrid .delete-btn,
#groupsGrid .edit-btn,
#groupsGrid button {
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}
#groupsGrid .joined-btn,
#groupsGrid .group-card-actions button:not(.join-btn) {
  background: rgba(255,255,255,0.22) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  backdrop-filter: blur(10px);
}


.nav-create-menu {
  position: relative;
}

.nav-create-trigger {
  white-space: nowrap;
}

.nav-create-chevron {
  font-size: 0.72rem;
  margin-left: 2px;
  opacity: 0.85;
}

.nav-create-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 6px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 14, 51, 0.08);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 2500;
}

.nav-create-menu:hover .nav-create-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-create-dropdown button {
  width: 100%;
  border: none;
  background: transparent;
  color: #000e33;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
}

.nav-create-dropdown button:hover {
  background: rgba(75, 91, 213, 0.08);
  color: #4b5bd5;
}

.nav-create-menu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 14px;
  background: transparent;
}
