@font-face {
  font-family: "Furore-2";
  src: url("../fonts/Furore-2.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background-color: #ffffff;
}

body:has(.navbar-fixed) {
  padding-top: 80px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 30px;
  max-width: 180px;
}

@media (min-width: 768px) {
  .brand-logo {
    height: 34px;
  }
}

.navbar {
  display: flex;
  align-items: center;
  min-height: 4rem;
  width: 100%;
}

:where(.navbar > :not(script, style)) {
  display: inline-flex;
  align-items: center;
}

.navbar-start {
  width: 50%;
  justify-content: flex-start;
}

.navbar-center {
  flex-shrink: 0;
}

.navbar-end {
  width: 50%;
  justify-content: flex-end;
}

.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition: all 0.3s ease;
}

.fi-de {
  background-image: url("../flags/png/de.png");
}

.fi-cn {
  background-image: url("../flags/png/cn.png");
}

.fi-es {
  background-image: url("../flags/png/es.png");
}

.fi-nl {
  background-image: url("../flags/png/nl.png");
}

.fi-sa {
  background-image: url("../flags/png/sa.png");
}

.fi-tw {
  background-image: url("../flags/png/tw.png");
}

.lang-menu {
  visibility: visible;
  transition:
    opacity 100ms ease-out,
    transform 100ms ease-out,
    visibility 100ms ease-out;
}

.lang-menu[data-open="false"] {
  visibility: hidden;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.lang-menu[data-open="true"] {
  opacity: 1;
  transform: scale(1);
}

.clone-toast {
  animation: clone-toast-in 200ms ease-out both;
}

.copy-nowrap {
  white-space: nowrap;
}

.btn-dynamic {
  background: linear-gradient(135deg, #fce7f3, #f9a8d4, #fbcfe8, #fce7f3);
  background-size: 300% 300%;
  color: #9d174d;
  animation:
    gradient-flow 5s ease infinite,
    cta-pink-pulse 3s ease-in-out infinite;
}

.btn-dynamic:hover {
  filter: saturate(1.08) brightness(1.02);
}

.btn-dynamic:focus-visible {
  outline: 3px solid #f9a8d4;
  outline-offset: 4px;
}

@keyframes cta-pink-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 15px -3px rgba(244, 114, 182, 0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(244, 114, 182, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 15px -3px rgba(244, 114, 182, 0.35);
  }
}

@keyframes clone-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-dynamic {
    animation: none;
  }

  .clone-toast {
    animation: none;
  }
}
