
/* ==========================================
   MERO SANSAR PREMIUM WELCOME SPLASH
========================================== */

.welcome-splash[hidden] {
  display: none !important;
}

.welcome-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 25px 20px;
  color: #fff;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(114,72,190,.30), transparent 42%),
    radial-gradient(ellipse at 8% 90%, rgba(24,125,150,.20), transparent 38%),
    linear-gradient(145deg,#090d20 0%,#11152e 48%,#1a1033 100%);
  transition: opacity .48s ease, transform .48s ease;
}

.welcome-splash::before,
.welcome-splash::after {
  content: "";
  position: absolute;
  width: min(88vw,520px);
  aspect-ratio: 1;
  border: 1px solid rgba(211,190,255,.10);
  border-radius: 50%;
  left: 50%;
  top: 43%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.welcome-splash::after {
  width: min(112vw,680px);
  border-color: rgba(211,190,255,.055);
}

.welcome-content {
  position: relative;
  z-index: 2;
  width: min(100%,410px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: welcome-content-in .9s ease both;
}

.welcome-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(34px,8vh,66px);
  color: rgba(233,224,255,.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
}

.welcome-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a98bff;
  box-shadow: 0 0 13px #a98bff;
}

.welcome-emblem {
  position: relative;
  width: 164px;
  height: 164px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
}

.welcome-emblem-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,177,255,.48);
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  box-shadow: 0 0 35px rgba(153,111,255,.18),
              inset 0 0 30px rgba(153,111,255,.08);
  animation: welcome-ring-turn 16s linear infinite;
}

.welcome-emblem-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(201,177,255,.25);
  border-radius: 50%;
}

.welcome-emblem-ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(112,212,218,.17);
  border-radius: 50%;
}

.welcome-logo-wrap {
  width: 112px;
  height: 112px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 31px;
  background: linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.06));
  box-shadow: 0 16px 50px rgba(0,0,0,.35),
              0 0 35px rgba(150,111,255,.28);
  transform: rotate(-4deg);
}

.welcome-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.welcome-emblem-star {
  position: absolute;
  right: 5px;
  bottom: 12px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  color: #f4d78a;
  background: #292044;
  box-shadow: 0 4px 18px rgba(0,0,0,.3);
}

.welcome-eyebrow {
  margin: 0 0 7px;
  color: #b9a7ed;
  font-size: 12px;
  font-weight: 700;
}

.welcome-title {
  margin: 0;
  color: #fff;
  font-size: clamp(42px,12vw,58px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.8px;
}

.welcome-title span {
  background: linear-gradient(100deg,#e3d7ff,#b69aff,#83d8df);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-description {
  max-width: 310px;
  margin: 14px 0 0;
  color: rgba(239,235,250,.72);
  font-size: 13px;
  line-height: 1.9;
}

.welcome-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 112px;
  margin: 25px 0 24px;
  color: #d6c5ff;
  font-size: 11px;
}

.welcome-divider span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg,transparent,rgba(207,188,255,.55));
}

.welcome-divider span:last-child {
  transform: rotate(180deg);
}

.welcome-start-button {
  width: min(100%,310px);
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 17px;
  color: #17132a;
  background: linear-gradient(105deg,#e6d9ff,#bca4ff 55%,#8edce0);
  box-shadow: 0 12px 35px rgba(133,102,222,.28),
              inset 0 1px 0 rgba(255,255,255,.7);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.welcome-start-button b {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #f6f1ff;
  background: rgba(31,24,58,.82);
  font-size: 16px;
}

.welcome-start-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 42px rgba(133,102,222,.38);
}

.welcome-start-button:active {
  transform: scale(.98);
}

.welcome-start-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.welcome-footer {
  margin: 28px 0 0;
  color: rgba(226,217,247,.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}

.welcome-orbit {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(143,199,224,.10);
  border-radius: 50%;
  pointer-events: none;
}

.welcome-orbit-one {
  left: -175px;
  top: 12%;
}

.welcome-orbit-two {
  right: -190px;
  bottom: 8%;
  width: 340px;
  height: 340px;
}

.welcome-bottom-glow {
  position: absolute;
  left: 50%;
  bottom: -210px;
  width: 440px;
  height: 300px;
  border-radius: 50%;
  background: rgba(99,73,177,.22);
  filter: blur(70px);
  transform: translateX(-50%);
  pointer-events: none;
}

.welcome-splash-leaving {
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

body.welcome-splash-active {
  overflow: hidden;
}

/* ANIMATIONS */

@keyframes welcome-content-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes welcome-ring-turn {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* SMALL SCREEN */

@media (max-height:650px) {
  .welcome-kicker { margin-bottom: 18px; }

  .welcome-emblem {
    width: 118px;
    height: 118px;
    margin-bottom: 18px;
  }

  .welcome-logo-wrap {
    width: 82px;
    height: 82px;
  }

  .welcome-description { margin-top: 8px; }
  .welcome-divider { margin: 14px 0; }
  .welcome-footer { margin-top: 16px; }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .welcome-content,
  .welcome-emblem-ring {
    animation: none !important;
  }

  .welcome-splash,
  .welcome-start-button {
    transition: none !important;
  }
}
