/* Gateway — dark redesign + visible snowfall + drifting clouds */
html,
body.landing-gate {
  margin: 0;
  min-height: 100%;
  background: #071f33;
}

.landing-gate {
  font-family: "Outfit", system-ui, sans-serif;
}

.gate {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px 32px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 50% 0%, rgb(157 211 241), #2196F3 55%), linear-gradient(165deg, #52afff 0%, #1688e7 55%, #4da1e7 100%);
}

.gate-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.gate-glow {
  position: absolute;
  width: min(80vw, 560px);
  height: min(80vw, 560px);
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 154, 46, 0.16), transparent 68%);
  filter: blur(10px);
  animation: gatePulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* ===== Classic snow PNG layers ===== */
.snow {
  display: block !important;
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-repeat: repeat;
  transform: translate3d(0, -100%, 0);
  animation-name: snowFall !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-fill-mode: none !important;
  opacity: 1 !important;
}

.snow.foreground {
  background-image: url(../img/snow-large-075d267ecbc42e3564c8ed43516dd557.png);
  animation-duration: 14s !important;
}

.snow.foreground.layered {
  animation-delay: 7s !important;
}

.snow.middleground {
  background-image: url(../img/snow-medium-0b8a5e0732315b68e1f54185be7a1ad9.png);
  animation-duration: 18s !important;
}

.snow.middleground.layered {
  animation-delay: 9s !important;
}

.snow.background {
  background-image: url(../img/snow-small-1ecd03b1fce08c24e064ff8c0a72c519.png);
  animation-duration: 26s !important;
}

.snow.background.layered {
  animation-delay: 13s !important;
}

@keyframes snowFall {
  0% {
    transform: translate3d(0, -100%, 0);
  }

  100% {
    transform: translate3d(12%, 100%, 0);
  }
}

/* ===== Extra bright flake particles (visible on dark bg) ===== */
.flake {
  position: absolute;
  top: -12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 4;
  animation-name: flakeDrop !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

.flake.soft {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

@keyframes flakeDrop {
  0% {
    transform: translate3d(0, -10vh, 0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translate3d(40px, 110vh, 0);
    opacity: 0;
  }
}

/* ===== Clouds — slow L→R / R→L ===== */
.clouds_one,
.clouds_two,
.clouds_three {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 300%;
  background-repeat: repeat-x;
  background-position: 0 center;
  pointer-events: none;
  will-change: transform;
  z-index: 2;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

.clouds_one {
  background-image: url(../img/cloud3.png);
  background-size: auto 52%;
  opacity: 0.28;
  animation-name: cloudLtr !important;
  animation-duration: 55s !important;
}

.clouds_two {
  background-image: url(../img/cloud1.png);
  background-size: auto 45%;
  opacity: 0.22;
  top: 10%;
  animation-name: cloudRtl !important;
  animation-duration: 75s !important;
}

.clouds_three {
  background-image: url(../img/cloud3.png);
  background-size: auto 58%;
  opacity: 0.16;
  top: -6%;
  animation-name: cloudLtr !important;
  animation-duration: 95s !important;
}

@keyframes cloudLtr {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-33.333%, 0, 0);
  }
}

@keyframes cloudRtl {
  0% {
    transform: translate3d(-33.333%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* ===== Content ===== */
.gate-inner {
  position: relative;
  z-index: 5;
  width: min(820px, 100%);
  text-align: center;
  animation: gateRise 0.85s ease-out both;
}

.gate-hero-pic {
  display: block;
  width: min(620px, 94vw);
  max-height: min(62vh, 540px);
  height: auto;
  object-fit: contain;
  margin: 0 auto 14px;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  animation: gateFloat 5s ease-in-out infinite;
}

.gate-quote {
  margin: 0 auto 22px;
  max-width: 38rem;
  padding: 0;
  border: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.gate-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #b87a12;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(184, 122, 18, 0.35);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.gate-enter i {
  transition: transform .25s ease;
}

.gate-enter:hover {
  background: #d49a2e;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(184, 122, 18, 0.42);
  color: #fff !important;
}

.gate-enter:hover i {
  transform: translateX(4px);
}

.gate-enter:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes gateRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gateFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes gatePulse {

  0%,
  100% {
    opacity: 0.65;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.06);
  }
}

@media (max-width: 575px) {
  .gate-hero-pic {
    width: 96vw;
    max-height: 48vh;
  }

  .gate-enter {
    width: 100%;
    justify-content: center;
  }
}