*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Vazirmatn",Tahoma,Arial,sans-serif;background:#061c1d}
/* =========================================================
   Premium Splash Loader — وقت‌جو
   مستقل از Home؛ هیچ Layout اصلی را تغییر نمی‌دهد.
   ========================================================= */
.vaghtjo-splash {
  --splash-brand: #14b8a6;
  --splash-brand-deep: #0d9488;
  --splash-brand-light: #5eead4;
  --splash-emerald: #10b981;

  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 44%, rgba(20, 184, 166, .18), transparent 23%),
    radial-gradient(circle at 18% 82%, rgba(16, 185, 129, .10), transparent 32%),
    radial-gradient(circle at 84% 16%, rgba(94, 234, 212, .08), transparent 30%),
    linear-gradient(145deg, #061c1d 0%, #082a2a 43%, #041617 100%);
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity .72s cubic-bezier(.22,1,.36,1),
    visibility 0s linear 0s;
}

.vaghtjo-splash::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .32;
  background-image:
    linear-gradient(rgba(94,234,212,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,234,212,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
}

.vaghtjo-splash::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 28%, rgba(1,12,13,.16) 58%, rgba(1,8,9,.66) 100%);
  box-shadow: inset 0 0 180px rgba(0,0,0,.48);
}

.vaghtjo-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .72s cubic-bezier(.22,1,.36,1),
    visibility 0s linear .72s;
}

.splash-center {
  position: relative;
  z-index: 4;
  width: min(88vw, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(-1.5vh);
}

.splash-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(210px, 43vw, 390px);
  aspect-ratio: 3 / 1;
  filter: drop-shadow(0 24px 55px rgba(20,184,166,.20));
  animation: splashFloat 4.2s ease-in-out infinite;
}

.splash-logo {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter:
    brightness(1.08)
    drop-shadow(0 0 8px rgba(94,234,212,.24))
    drop-shadow(0 0 26px rgba(20,184,166,.24));
  animation:
    splashLogoEnter 1.15s cubic-bezier(.16,1,.3,1) both,
    splashLogoPulse 2.7s ease-in-out 1.1s infinite;
}

.splash-logo-wrap::before {
  content: '';
  position: absolute;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: rgba(20,184,166,.23);
  filter: blur(48px);
  animation: splashGlow 2.7s ease-in-out 1.05s infinite;
}

.splash-logo-ring {
  position: absolute;
  z-index: 1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(94,234,212,.16);
  box-shadow:
    0 0 30px rgba(20,184,166,.08),
    inset 0 0 30px rgba(20,184,166,.04);
  animation: splashRing 6s linear infinite;
}

.splash-logo-ring::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--splash-brand-light);
  box-shadow: 0 0 16px 4px rgba(94,234,212,.55);
  transform: translateX(-50%);
}

.splash-logo-ring-inner {
  width: 56%;
  border-color: rgba(20,184,166,.12);
  animation-direction: reverse;
  animation-duration: 8s;
}

.splash-logo-ring-inner::after {
  top: auto;
  bottom: -3px;
  background: var(--splash-emerald);
  box-shadow: 0 0 14px 3px rgba(16,185,129,.42);
}

.splash-wordline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(250px, 55vw);
  margin-top: 24px;
  opacity: 0;
  animation: splashTextIn .8s ease .55s forwards;
}

.splash-wordline span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(94,234,212,.35));
}

.splash-wordline span:last-of-type {
  background: linear-gradient(90deg, rgba(94,234,212,.35), transparent);
}

.splash-wordline i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--splash-brand-light);
  box-shadow: 0 0 13px rgba(94,234,212,.8);
}

.splash-caption {
  margin-top: 12px;
  color: rgba(220,255,250,.70);
  font-size: clamp(.72rem, 1.8vw, .84rem);
  font-weight: 500;
  letter-spacing: -.015em;
  opacity: 0;
  animation: splashTextIn .8s ease .72s forwards;
}

.splash-progress {
  position: relative;
  width: min(150px, 34vw);
  height: 2px;
  margin-top: 27px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(94,234,212,.10);
  opacity: 0;
  animation: splashTextIn .6s ease .8s forwards;
}

.splash-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--splash-brand-light), var(--splash-emerald));
  box-shadow: 0 0 12px rgba(94,234,212,.45);
  animation: splashProgress 1.9s cubic-bezier(.25,.8,.25,1) .65s forwards;
}

.splash-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(88vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(94,234,212,.055);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.splash-orbit::before,
.splash-orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--splash-brand-light);
  box-shadow: 0 0 18px 3px rgba(94,234,212,.38);
}

.splash-orbit::before {
  width: 4px;
  height: 4px;
  top: 7%;
  left: 19%;
}

.splash-orbit::after {
  width: 3px;
  height: 3px;
  right: 11%;
  bottom: 25%;
  opacity: .65;
}

.splash-orbit-a {
  animation: splashOrbitA 18s linear infinite;
}

.splash-orbit-b {
  width: min(64vw, 640px);
  border-color: rgba(20,184,166,.065);
  animation: splashOrbitB 13s linear infinite reverse;
}

.splash-orbit-c {
  width: min(112vw, 1150px);
  border-color: rgba(16,185,129,.035);
  animation: splashOrbitA 26s linear infinite reverse;
}

.splash-aura {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: .18;
}

.splash-aura-a {
  width: 34vw;
  height: 34vw;
  min-width: 250px;
  min-height: 250px;
  background: #14b8a6;
  top: 16%;
  left: -9%;
  animation: splashAuraA 8s ease-in-out infinite;
}

.splash-aura-b {
  width: 30vw;
  height: 30vw;
  min-width: 220px;
  min-height: 220px;
  background: #10b981;
  right: -8%;
  bottom: 8%;
  animation: splashAuraB 10s ease-in-out infinite;
}

.splash-corner {
  position: absolute;
  width: 70px;
  height: 70px;
  opacity: .35;
  border-color: rgba(94,234,212,.26);
}

.splash-corner-tl {
  top: 28px; left: 28px;
  border-top: 1px solid; border-left: 1px solid;
}
.splash-corner-tr {
  top: 28px; right: 28px;
  border-top: 1px solid; border-right: 1px solid;
}
.splash-corner-bl {
  bottom: 28px; left: 28px;
  border-bottom: 1px solid; border-left: 1px solid;
}
.splash-corner-br {
  bottom: 28px; right: 28px;
  border-bottom: 1px solid; border-right: 1px solid;
}

@keyframes splashLogoEnter {
  0%   { opacity: 0; transform: scale(.66); filter: blur(13px) brightness(.75) drop-shadow(0 0 0 rgba(94,234,212,0)); }
  55%  { opacity: 1; transform: scale(1.06); filter: blur(0) brightness(1.1) drop-shadow(0 0 26px rgba(94,234,212,.34)); }
  100% { opacity: 1; transform: scale(1); filter: blur(0) brightness(1.08) drop-shadow(0 0 26px rgba(20,184,166,.24)); }
}

@keyframes splashLogoPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.055); }
}

@keyframes splashGlow {
  0%, 100% { transform: scale(.88); opacity: .16; }
  50%      { transform: scale(1.18); opacity: .30; }
}

@keyframes splashFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes splashRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes splashOrbitA {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes splashOrbitB {
  from { transform: translate(-50%, -50%) rotate(0deg) scale(.98); }
  to   { transform: translate(-50%, -50%) rotate(360deg) scale(.98); }
}

@keyframes splashAuraA {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(7vw, 4vh, 0) scale(1.18); }
}

@keyframes splashAuraB {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-6vw, -5vh, 0) scale(1.14); }
}

@keyframes splashTextIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes splashProgress {
  from { width: 0; transform: translateX(-100%); }
  to   { width: 100%; transform: translateX(0); }
}

@media (max-width: 600px) {
  .splash-center {
    transform: translateY(-2vh);
  }

  .splash-logo-wrap {
    width: min(78vw, 330px);
  }

  .splash-orbit-a { width: 120vw; }
  .splash-orbit-b { width: 82vw; }
  .splash-orbit-c { width: 150vw; }

  .splash-corner {
    width: 42px;
    height: 42px;
  }

  .splash-corner-tl,
  .splash-corner-tr { top: 18px; }
  .splash-corner-bl,
  .splash-corner-br { bottom: 18px; }
  .splash-corner-tl,
  .splash-corner-bl { left: 18px; }
  .splash-corner-tr,
  .splash-corner-br { right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .vaghtjo-splash *,
  .vaghtjo-splash::before,
  .vaghtjo-splash::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
