/* اسپلش برند نیل — همان گرادیان واترمارک فوتر */
.neyl-splash {
  --ns-cream: #e7e2da;
  --ns-clay: #c4a484;
  --ns-sand: #e4d5c3;
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background: var(--ns-cream);
  overflow: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.neyl-splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.neyl-splash__glow {
  position: absolute;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(196, 164, 132, 0.28) 0%,
    rgba(228, 213, 195, 0.12) 42%,
    transparent 70%
  );
  filter: blur(8px);
  animation: neyl-splash-pulse 2.4s ease-in-out infinite;
}

.neyl-splash__panel {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 1.25rem;
  padding: 2.5rem 3rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.05) 40%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 28px 70px -28px rgba(0, 0, 0, 0.4);
  animation: neyl-splash-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.neyl-splash__mark {
  margin: 0;
  font-family: "Vazirmatn", "Inter", system-ui, sans-serif;
  font-size: clamp(3.8rem, 14vw, 7.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(228, 213, 195, 0.35) 40%,
    rgba(196, 164, 132, 0.22) 70%,
    rgba(0, 0, 0, 0.05) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

.neyl-splash__mark sup {
  font-size: 0.35em;
  margin-inline-start: 0.08em;
  vertical-align: super;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.neyl-splash__line {
  width: 48px;
  height: 2px;
  border-radius: 999px;
  background: var(--ns-clay);
  opacity: 0.85;
  animation: neyl-splash-line 1.1s ease 0.25s both;
}

.neyl-splash__tag {
  margin: 0;
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

@keyframes neyl-splash-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes neyl-splash-line {
  from {
    opacity: 0;
    transform: scaleX(0.35);
  }
  to {
    opacity: 0.85;
    transform: scaleX(1);
  }
}

@keyframes neyl-splash-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neyl-splash__panel,
  .neyl-splash__glow,
  .neyl-splash__line {
    animation: none !important;
  }
  .neyl-splash {
    transition-duration: 0.2s;
  }
}
