/* EarnPaste global nav — matches startpaste.html nav chrome */

.ep-nav-slot-hidden {
  display: none !important;
}

html.ep-shell-busy,
html.ep-shell-busy body {
  background: #060608 !important;
}

html.ep-shell-busy #ep-page,
#ep-page.ep-page-dim {
  visibility: hidden !important;
}

.ep-shell-spinner {
  position: fixed;
  inset: 0;
  z-index: 10900;
  display: none;
  align-items: center;
  justify-content: center;
  background: #060608;
  pointer-events: none;
}

.ep-shell-spinner.is-on {
  display: flex;
  pointer-events: auto;
}

.ep-shell-spinner__ring {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9999px;
  border: 2.5px solid rgba(74, 222, 128, 0.22);
  border-top-color: #4ade80;
  animation: ep-shell-spin 0.55s linear infinite;
}

@keyframes ep-shell-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  #ep-page,
  .ep-shell-spinner,
  .ep-shell-spinner__ring {
    transition: none;
    animation: none;
  }
}

/* profile.html / view.html — mobile: DMs only, no Payout Rates.
   App chrome (body.ep-app) keeps Home + Rates + one DMs like the SPA. */
@media (max-width: 767px) {
  body[data-ep-nav-dms="true"]:not(.ep-app) #mobileBottomNav [data-ep-nav="payoutrates"],
  body.ep-dms-nav-active:not(.ep-app) #mobileBottomNav [data-ep-nav="payoutrates"] {
    display: none !important;
  }

  body[data-ep-nav-dms="true"]:not(.ep-app) #mobileBottomNav [data-ep-nav="dms"],
  body.ep-dms-nav-active:not(.ep-app) #mobileBottomNav [data-ep-nav="dms"] {
    display: flex !important;
    flex-direction: column;
  }
}

.nav-link[data-ep-nav="dms"]:not(.ep-nav-slot-hidden),
.mobile-nav-item[data-ep-nav="dms"]:not(.ep-nav-slot-hidden) {
  display: inline-flex !important;
}

.mobile-nav-item[data-ep-nav="dms"]:not(.ep-nav-slot-hidden) {
  flex-direction: column;
}

body[data-ep-nav-dms="true"]:not(.ep-app) .nav-link[data-ep-nav="payoutrates"],
body.ep-dms-nav-active:not(.ep-app) .nav-link[data-ep-nav="payoutrates"] {
  display: none !important;
}

body[data-ep-nav-dms="true"]:not(.ep-app) .nav-link[data-ep-nav="dms"],
body.ep-dms-nav-active:not(.ep-app) .nav-link[data-ep-nav="dms"] {
  display: inline-flex !important;
}

.ep-dms-nav-icon-wrap,
.mobile-nav-icon.relative {
  position: relative;
}

@keyframes ep-dms-nav-notif-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 3px rgba(10, 10, 14, 0.96),
      0 2px 6px rgba(0, 0, 0, 0.45),
      0 0 0 0 rgba(255, 59, 48, 0.55);
  }
  50% {
    transform: scale(1.12);
    box-shadow:
      0 0 0 3px rgba(10, 10, 14, 0.96),
      0 5px 18px rgba(0, 0, 0, 0.5),
      0 0 20px 6px rgba(255, 59, 48, 0.45);
  }
}

.ep-dms-nav-badge.hidden,
.startpaste-tile-notif-badge.ep-dms-nav-badge.hidden {
  display: none !important;
  visibility: hidden !important;
  animation: none !important;
  pointer-events: none !important;
}

[data-ep-nav="payoutrates"] [data-ep-dms-badge] {
  display: none !important;
  visibility: hidden !important;
  animation: none !important;
}

.ep-dms-nav-badge,
.startpaste-tile-notif-badge.ep-dms-nav-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  z-index: 25;
  box-sizing: border-box;
  min-width: 1.125rem;
  min-height: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  box-shadow:
    0 0 0 2px rgba(10, 10, 14, 0.96),
    0 1px 4px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  transform: none;
}

.ep-dms-nav-badge:not(.hidden),
.startpaste-tile-notif-badge.ep-dms-nav-badge:not(.hidden) {
  display: inline-flex !important;
  animation: ep-dms-nav-notif-pulse 1.85s ease-in-out infinite;
}

.mobile-nav-icon .ep-dms-nav-badge {
  top: -6px;
  right: -9px;
}

@media (prefers-reduced-motion: reduce) {
  .ep-dms-nav-badge:not(.hidden) {
    animation: none !important;
  }
}

@media (min-width: 768px) {
  #mobileBottomNav {
    display: none !important;
  }
  .nav-link.text-green-400 {
    color: rgb(74 222 128) !important;
  }
}

@media (max-width: 767px) {
  html.ep-globalnav-active .scroll-more-arrow {
    display: none !important;
  }
}

html.ep-globalnav-active,
html.ep-globalnav-active body {
  box-sizing: border-box;
}

html.ep-globalnav-active:not(.ep-nav-min-320):not(.ep-nav-min-580),
html.ep-globalnav-active:not(.ep-nav-min-320):not(.ep-nav-min-580) body {
  width: 100%;
  max-width: 100%;
}

body.ep-globalnav-active {
  display: block !important;
  margin: 0;
  position: relative;
}

/* Preserve page min-width + horizontal scroll (startpaste, index, payoutrates). */
html.ep-globalnav-active.ep-nav-min-320,
html.ep-globalnav-active.ep-nav-min-320 body {
  min-width: 370px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

html.ep-globalnav-active.ep-nav-min-580,
html.ep-globalnav-active.ep-nav-min-580 body {
  min-width: 580px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Fixed nav must span at least the same min-width as the page. */
html.ep-globalnav-active.ep-nav-min-320 #startpaste-site-chrome,
html.ep-globalnav-active.ep-nav-min-320 #startpaste-site-nav {
  min-width: 370px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

html.ep-globalnav-active.ep-nav-min-580 #startpaste-site-chrome,
html.ep-globalnav-active.ep-nav-min-580 #startpaste-site-nav {
  min-width: 580px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

html.ep-globalnav-active.ep-nav-min-320 #startpaste-site-nav,
html.ep-globalnav-active.ep-nav-min-580 #startpaste-site-nav {
  right: 0;
}

html.ep-globalnav-active #mobileBottomNav,
html.ep-globalnav-active.ep-nav-min-320 #mobileBottomNav,
html.ep-globalnav-active.ep-nav-min-580 #mobileBottomNav {
  min-width: 0 !important;
  left: 12px;
  right: auto;
}

@media (max-width: 767px) {
  body.ep-globalnav-active:not(.ep-no-mobile-nav-pad) {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (min-width: 768px) {
  body.ep-globalnav-active:not(.ep-no-desktop-nav-pad) {
    padding-top: 4rem !important;
  }
  body.ep-globalnav-active:not(.ep-no-mobile-nav-pad) {
    padding-bottom: 0 !important;
  }
}

#startpaste-site-chrome {
  position: relative;
  z-index: 11000;
}

#startpaste-site-nav,
#mobileBottomNav {
  z-index: 11000 !important;
}

#userDropdown,
#mobileUserDropdown {
  z-index: 11001 !important;
}

#userPhoto,
#userPhotoDropdown,
#mobileUserPhoto,
#mobileUserPhotoDropdown {
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  background: #0d0d14;
}

.ep-nav-user-header {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.75);
}

.ep-nav-user-header--desktop {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4375rem;
}

#userDropdown.ep-nav-desktop-dropdown {
  width: 18rem;
  min-width: 18rem;
  max-width: 20rem;
  box-sizing: border-box;
}

.ep-nav-user-identity {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  min-width: 0;
}

.ep-nav-user-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgb(229 231 235);
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}

.ep-nav-mobile-user-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.75);
  min-width: 0;
}

.ep-nav-mobile-user-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: rgb(229 231 235);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#userDropdown .ep-nav-view-profile {
  align-self: flex-start;
  margin-top: 0.0625rem;
}

#mobileUserDropdown .ep-nav-view-profile {
  align-self: center;
  margin-top: 0;
  flex-shrink: 0;
}

.ep-nav-view-profile {
  display: none;
  padding: 0.125rem 0.4375rem;
  border: none;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  color: rgba(134, 239, 172, 0.92);
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ep-nav-view-profile:not(.hidden) {
  display: inline-flex;
  align-items: center;
}

.ep-nav-view-profile:hover {
  color: rgb(187 247 208);
  background: rgba(16, 185, 129, 0.16);
}

.nav-translucent {
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.5) 0%, rgba(6, 6, 8, 0.45) 50%, rgba(3, 3, 5, 0.5) 100%);
}

.nav-enhanced-desktop,
.startpaste-site-nav {
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 40px -10px rgba(74, 222, 128, 0.15);
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
  z-index: 11000 !important;
}

.nav-enhanced-desktop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.4) 50%, transparent 100%);
  opacity: 0.8;
}

@media (min-width: 768px) {
  #startpaste-site-nav .ep-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    min-height: 4rem;
    max-height: 4rem;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
  }

  #startpaste-site-nav .ep-nav-brand-wrap,
  #startpaste-site-nav .ep-nav-auth {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
  }

  #startpaste-site-nav .ep-nav-brand {
    display: flex;
    align-items: center;
    line-height: 1;
    margin: 0;
    padding: 0;
  }

  #startpaste-site-nav #authButtons:not(.hidden),
  #startpaste-site-nav #userSection:not(.hidden) {
    display: flex;
    align-items: center;
    margin: 0;
    height: auto;
  }

  #startpaste-site-nav #authButtons button {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin: 0;
  }

  /* Match left (EarnPaste) and right (Sign in) inset with the profile rail padding */
  body.ep-has-profile-desktop-side #startpaste-site-nav .ep-nav-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/*
 * Bergice liquidglass lens on live page content:
 * rim-only SDF refraction (no turbulence / no JPEG scene).
 * Frost + Konsta specular sit on top of the warped backdrop.
 */
#mobileBottomNav.mobile-nav-glass {
  left: 12px !important;
  right: auto !important;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  width: auto;
  max-width: none;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  position: fixed !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15) !important;
  /* will-change:transform (profile hide-on-scroll) makes backdrop-filter sample empty */
  will-change: auto !important;
}

#mobileBottomNav.mobile-nav-glass::before,
#mobileBottomNav.mobile-nav-glass::after {
  content: none !important;
  display: none !important;
}

#mobileBottomNav.mobile-nav-glass.mobile-nav-scrolled {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mobile-nav-glass__plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  background: transparent;
  /* Blur lives here — not on a nested isolated/clipped child (that went fully clear on startpaste). */
  backdrop-filter: blur(4px) saturate(160%);
  -webkit-backdrop-filter: blur(4px) saturate(160%);
}

.mobile-nav-glass__refract,
.mobile-nav-glass__overlay,
.mobile-nav-glass__specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.mobile-nav-glass__refract {
  z-index: 0;
  overflow: hidden;
  background: transparent;
  filter: url(#ep-liquid-glass);
}

.mobile-nav-glass__overlay {
  z-index: 1;
  background: rgba(0, 0, 0, 0.06);
}

.mobile-nav-glass__specular {
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

#ep-liquid-glass-svg {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.mobile-nav-glass__hl {
  position: absolute;
  left: 1px;
  top: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
  transition: opacity 300ms ease;
}

.mobile-nav-glass__hl-orb {
  position: absolute;
  z-index: 10;
  border-radius: 50%;
  pointer-events: none;
  background-image: radial-gradient(
    circle at center,
    color-mix(in oklab, rgba(255, 255, 255, 0.3) 100%, transparent),
    transparent 50%
  );
}

.mobile-nav-glass__inner {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 0.1rem;
  min-height: 3.35rem;
  padding: 0.22rem 0.32rem;
  border-radius: inherit;
  pointer-events: auto;
  overflow: visible;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.mobile-nav-glass__inner.is-sliding {
  touch-action: none;
}

.mobile-nav-indicator {
  position: absolute;
  top: 0.22rem;
  bottom: 0.22rem;
  left: 0;
  width: var(--ep-nav-ind-w, 0px);
  --ep-nav-ind-delta: 0;
  border-radius: 9999px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  transform: translate3d(var(--ep-nav-ind-x, 0px), 0, 0);
  transform-origin: center;
  transition: opacity 0.2s ease;
  will-change: transform, width;
}

.mobile-nav-indicator.is-sliding-to {
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    width 340ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.mobile-nav-indicator.is-visible {
  opacity: 1;
}

.mobile-nav-indicator__blob {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform-origin: center center;
  transform: scale(1);
  transition:
    transform 0.2s ease-out,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.mobile-nav-indicator.is-pressed .mobile-nav-indicator__blob {
  transform: none;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-indicator.is-dragging,
.mobile-nav-indicator.is-dragging .mobile-nav-indicator__blob {
  transition: none !important;
}

#mobileBottomNav .mobile-nav-item.is-slide-target {
  color: rgba(244, 244, 245, 0.96);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-glass__refract {
    filter: none;
  }
  .mobile-nav-indicator,
  .mobile-nav-indicator__blob {
    transition: none;
  }
  .mobile-nav-indicator.is-pressed .mobile-nav-indicator__blob {
    transform: none;
  }
}

#mobileBottomNav .mobile-nav-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.28rem 0.12rem;
  border-radius: 1.35rem;
  text-decoration: none;
  color: rgba(156, 163, 175, 0.8);
  text-shadow: none;
  background: transparent;
  transform: none;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none;
}

#mobileBottomNav .mobile-nav-item:active,
#mobileBottomNav .mobile-nav-item:hover {
  color: rgba(209, 213, 219, 0.92);
  background: transparent;
  transform: none;
}

#mobileBottomNav .mobile-nav-item.active {
  color: #4ade80;
  background: transparent;
}

#mobileBottomNav .mobile-nav-item.active .mobile-nav-icon {
  color: #4ade80;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.85));
}

#mobileBottomNav .mobile-nav-item.active .mobile-nav-label {
  color: #4ade80;
}

#mobileBottomNav .mobile-nav-item[href='/premium.html'].active,
#mobileBottomNav .mobile-nav-item[href='/premium.html'].active .mobile-nav-label {
  color: #fcd34d;
}

#mobileBottomNav .mobile-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
  transition: transform 0.2s ease, color 0.2s ease;
}

#mobileBottomNav .mobile-nav-item:active .mobile-nav-icon,
#mobileBottomNav .mobile-nav-item:hover .mobile-nav-icon {
  transform: none;
}

#mobileBottomNav .mobile-nav-label {
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.01em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#mobileBottomNav .mobile-nav-center {
  position: relative;
  justify-content: center;
  padding-top: 0.18rem;
  padding-bottom: 0.18rem;
}

#mobileBottomNav #mobileUserSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

#mobileBottomNav #mobileUserSection .mobile-nav-label {
  display: block;
  line-height: 1.1;
  margin-top: 2px;
}

#mobileBottomNav .mobile-nav-icon-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 0;
  line-height: 0;
  overflow: visible;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

#mobileBottomNav .mobile-nav-center:active .mobile-nav-icon-center,
#mobileBottomNav .mobile-nav-center:hover .mobile-nav-icon-center {
  transform: none;
}

#mobileUserPhoto,
#mobileUserPhotoDropdown {
  width: 26px !important;
  height: 26px !important;
  border-radius: 9999px;
}

#mobileBottomNav #mobileUserSection .relative {
  width: 26px;
  height: 26px;
  line-height: 0;
}

#mobileBottomNav .mobile-nav-center.premium-user {
  background: transparent;
}

#mobileBottomNav .mobile-nav-center.premium-user .mobile-nav-icon-center {
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.3));
}

#mobilePremiumIndicator {
  position: absolute;
  top: -0.2rem;
  right: -0.25rem;
  animation: ep-nav-premium-pulse 2s ease-in-out infinite;
}

#mobilePremiumIndicator.hidden {
  display: none !important;
}

@keyframes ep-nav-premium-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

#mobileBottomNav .mobile-nav-center:active,
#mobileBottomNav .mobile-nav-center:hover {
  color: rgba(244, 244, 245, 0.92);
  background: transparent;
  transform: none;
}

#mobileBottomNav .mobile-auth-prominent {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#mobileBottomNav #mobileUserSection.hidden,
#mobileBottomNav #mobileAuthSection.hidden,
#mobileBottomNav .mobile-auth-prominent.hidden {
  display: none !important;
}

#mobileBottomNav .mobile-auth-prominent:active,
#mobileBottomNav .mobile-auth-prominent:hover {
  color: rgba(187, 247, 208, 0.95);
  background: transparent;
  transform: none;
}

#mobileUserDropdown.ep-mobile-user-dropdown {
  left: 1rem;
  right: 1rem;
  bottom: calc(5.65rem + env(safe-area-inset-bottom, 0px));
}

.mobile-auth-icon {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 60%;
  color: #4ade80 !important;
  position: relative;
}

.mobile-auth-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 60%;
  animation: ep-nav-auth-pulse 2s ease-in-out infinite;
}

.mobile-auth-label {
  color: #4ade80 !important;
  font-weight: 500;
  font-size: 10px !important;
}

@keyframes ep-nav-auth-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

#mobileUserDropdown {
  transform: translateY(10px) scale(0.95);
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#mobileUserDropdown:not(.hidden) {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.nav-link {
  color: rgb(209 213 219);
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-link:hover {
  color: rgb(134 239 172);
  transform: translateY(-1px);
}

.nav-link::selection,
.nav-link span::selection,
.mobile-nav-label::selection {
  background: rgba(16, 185, 129, 0.45);
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

#userDropdown {
  transform: translateY(-10px) scale(0.95);
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#userDropdown:not(.hidden) {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .nav-link span {
    display: none;
  }
  .nav-link svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.mobile-nav-item[href='/premium.html'] svg,
.nav-link[href='/premium.html'] svg {
  filter: drop-shadow(0 0 8px #fbbf24) drop-shadow(0 0 16px #f59e0b);
  color: #fbbf24;
  transition: all 0.3s ease;
}

.mobile-nav-item[href='/premium.html']:hover svg {
  transform: none;
}
.nav-link[href='/premium.html']:hover svg {
  filter: drop-shadow(0 0 12px #fbbf24) drop-shadow(0 0 24px #f59e0b);
  transform: scale(1.1);
}

.mobile-nav-item[href='/premium.html'] .mobile-nav-label,
.nav-link[href='/premium.html'] span {
  color: #fbbf24;
  font-weight: 600;
}

.tile-premium-border {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}
