/* FROZEN: DropDAT animated logo — do not modify timing, colors, or keyframes. */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.05rem;
  position: relative;
  color: var(--text-primary, #f3f6fc);
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.brand-dat {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.02em;
}
.brand-d-wrap {
  position: relative;
  display: inline-block;
  width: 0.72em;
  height: 1em;
  vertical-align: baseline;
}
.brand-d-ghost,
.brand-d {
  display: block;
  line-height: 1;
  font-weight: 700;
}
.brand-d-ghost {
  opacity: 0;
  animation: d-ghost 5.6s linear infinite;
}
.brand-d {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  transform-origin: 50% 55%;
  animation: d-fly-to-cloud 5.6s linear infinite;
  will-change: transform, opacity, color;
  pointer-events: none;
  backface-visibility: hidden;
}
.mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: none;
  isolation: isolate;
}
.mark-drop {
  border-radius: 12px;
  background: rgba(255, 122, 41, 0.14);
  box-shadow: 0 0 0 0 rgba(255, 122, 41, 0.28);
  animation: mark-glow 5.6s ease-in-out infinite;
  overflow: visible;
}
.mark-drop::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 1px solid rgba(253, 181, 72, 0.45);
  opacity: 0.55;
  animation: ring-pulse 5.6s ease-in-out infinite;
  pointer-events: none;
}
.mark-svg {
  width: 32px;
  height: 32px;
  display: block;
  overflow: visible;
}
.mark-cloud {
  transform-box: fill-box;
  transform-origin: center;
  animation: cloud-breathe 5.6s ease-in-out infinite;
}
.mark-pad {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 2px 4px rgba(20, 16, 48, 0.32));
  animation: mark-pad-catch 5.6s linear infinite;
}
.mark-pad circle {
  fill: #fff;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.18); opacity: 0.15; }
}
@keyframes mark-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 41, 0.28); }
  50% { box-shadow: 0 0 0 8px rgba(255, 122, 41, 0); }
}
@keyframes d-fly-to-cloud {
  0%, 14% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 1;
    color: inherit;
  }
  18% {
    transform: translate3d(-2px, -3px, 0) scale(1.02) rotate(-1deg);
    opacity: 1;
    color: inherit;
  }
  24% {
    transform: translate3d(-8px, -9px, 0) scale(1.04) rotate(-3deg);
    color: #fff3df;
  }
  32% {
    transform: translate3d(-18px, -15px, 0) scale(1.03) rotate(-6deg);
    color: #ffe0b0;
  }
  40% {
    transform: translate3d(-30px, -17px, 0) scale(0.98) rotate(-7deg);
    color: #ffc98a;
  }
  48% {
    transform: translate3d(-40px, -15px, 0) scale(0.92) rotate(-5deg);
    color: #ffb15a;
  }
  56% {
    transform: translate3d(-48px, -10px, 0) scale(0.84) rotate(-3deg);
    color: #ff9a3d;
  }
  63% {
    transform: translate3d(-54px, -5px, 0) scale(0.74) rotate(-1deg);
    color: #ff8a32;
  }
  70% {
    transform: translate3d(-58px, -1px, 0) scale(0.62) rotate(0deg);
    color: #ff7a29;
    opacity: 1;
  }
  76% {
    transform: translate3d(-60px, 1px, 0) scale(0.5) rotate(0deg);
    color: #ff7a29;
    opacity: 0.55;
  }
  80% {
    transform: translate3d(-60px, 2px, 0) scale(0.38) rotate(0deg);
    color: #ff7a29;
    opacity: 0;
  }
  81% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 0;
    color: inherit;
  }
  90% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 0;
    color: inherit;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 1;
    color: inherit;
  }
}
@keyframes d-ghost {
  0%, 14% { opacity: 0; }
  20% { opacity: 0.08; }
  28%, 80% { opacity: 0.16; }
  90%, 100% { opacity: 0; }
}
@keyframes mark-pad-catch {
  0%, 60% {
    opacity: 0;
    transform: scale(0.4);
  }
  66% {
    opacity: 0.25;
    transform: scale(0.7);
  }
  72% {
    opacity: 0.7;
    transform: scale(0.92);
  }
  76%, 86% {
    opacity: 1;
    transform: scale(1);
  }
  94% {
    opacity: 0.35;
    transform: scale(0.88);
  }
  100% {
    opacity: 0;
    transform: scale(0.65);
  }
}
@keyframes cloud-breathe {
  0%, 58%, 100% { transform: scale(1); }
  72% { transform: scale(1.04); }
  82% { transform: scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-d-ghost { animation: none !important; opacity: 0 !important; }
  .brand-d {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    color: inherit !important;
  }
  .mark-drop,
  .mark-drop::after,
  .mark-cloud,
  .mark-pad {
    animation: none !important;
  }
  .mark-pad { opacity: 0 !important; }
}
