/* A brief, non-blocking introduction using the original Vatan smile. */
.vatan-opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: radial-gradient(ellipse at center, #fff 0%, #fff9f3 60%, #f8ede2 100%);
  animation: vatan-opening-fade 2.45s ease both;
}
.vatan-opening__mark {
  position: relative;
  width: min(300px, 62vw);
  aspect-ratio: 2788 / 1363;
  animation: vatan-opening-arrive 1.25s cubic-bezier(.2,.7,.2,1) both;
}
.vatan-opening__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vatan-opening__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.95) 49%, transparent 63%);
  background-size: 240% 100%;
  -webkit-mask-image: url("assets/logo-alt.png");
  mask-image: url("assets/logo-alt.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  clip-path: polygon(27.2% 58.4%,31.4% 43%,32.2% 52.3%,38% 58.5%,46% 61.4%,54% 59.4%,60.5% 53.8%,63.2% 44%,65.1% 31%,66% 43%,68.4% 54%,64.2% 49%,60% 61.1%,53% 68.5%,46% 70%,38% 66%,31% 55.4%,29% 58.7%);
  animation: vatan-opening-smile 1.6s ease-in-out .25s both;
}
@keyframes vatan-opening-arrive {
  from { opacity: 0; transform: translateY(7px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes vatan-opening-smile {
  from { background-position: 150% 0; }
  to { background-position: -100% 0; }
}
@keyframes vatan-opening-fade {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vatan-opening { display: none; animation: none; }
}
