/* Personal-finance logo: coin with dollar mark */
.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  clip-path: none;
  background:
    radial-gradient(circle at 30% 28%, rgba(52, 211, 153, 0.45), transparent 46%),
    linear-gradient(145deg, #065F46 0%, #064E3B 50%, #0F172A 100%);
  border: 2px solid #D97706;
  box-shadow: inset 0 0 0 2px rgba(251, 191, 36, 0.22);
}

.logo-mark::before {
  content: "$";
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  color: #FDE68A;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.logo-mark::after {
  content: none;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #e2e8f0;
  border-radius: 1px;
}

/* Hide Scrollbar */
html,
body {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Offset for fixed header (h-16) */
body {
  padding-top: 4rem;
}

/* Small cards: shadow + hover animation */
@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[class*="rounded-xl"][class*="border"]:not([class*="overflow-hidden"]):not(.absolute),
[class*="rounded-2xl"][class*="border"]:not([class*="overflow-hidden"]):not(.absolute) {
  box-shadow: 0 8px 22px rgba(7, 11, 14, 0.5);
  animation: cardEnter 0.55s ease both;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

[class*="rounded-xl"][class*="border"]:not([class*="overflow-hidden"]):not(.absolute):hover,
[class*="rounded-2xl"][class*="border"]:not([class*="overflow-hidden"]):not(.absolute):hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.16), 0 10px 24px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  [class*="rounded-xl"][class*="border"]:not([class*="overflow-hidden"]):not(.absolute),
  [class*="rounded-2xl"][class*="border"]:not([class*="overflow-hidden"]):not(.absolute) {
    animation: none;
    transition: none;
  }

  [class*="rounded-xl"][class*="border"]:not([class*="overflow-hidden"]):not(.absolute):hover,
  [class*="rounded-2xl"][class*="border"]:not([class*="overflow-hidden"]):not(.absolute):hover {
    transform: none;
  }
}
