/* ==========================================================
   ENTRY GATE: "Tap to enter" opening screen
   ========================================================== */

/* ---- ENTRY GATE MODAL ---- */
.enter-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: #3b1812;
  background: radial-gradient(circle at 50% 25%, #fffdf8 0%, #fdf5ea 55%, #f7ecd7 100%);
  transition: opacity .85s ease, visibility .85s ease, transform .85s cubic-bezier(.22, .75, .22, 1);
}

.enter-gate::before {
  content: "";
  position: absolute;
  inset: -4%;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.45), rgba(247, 236, 215, 0.7)),
    url("../assets/images/desktop-bg.webp") center top / cover no-repeat;
  filter: saturate(1.06) brightness(1.02);
  transform: scale(1.03);
  animation: gateDrift 14s ease-in-out infinite alternate;
}

.enter-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.42) 0%, rgba(250, 240, 220, 0.2) 65%, rgba(235, 215, 185, 0.5) 100%);
  pointer-events: none;
}

@keyframes gateDrift {
  to {
    transform: scale(1.14) translate3d(0, -1.3%, 0);
  }
}

.enter-gate.is-open {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

.gate-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 680px);
  padding: 52px 36px 44px;
  text-align: center;
  border: 2px solid #c89c5a;
  border-radius: 44px;
  background: linear-gradient(165deg, rgba(255, 253, 248, 0.97), rgba(250, 241, 224, 0.94));
  box-shadow: 0 30px 90px rgba(127, 29, 29, 0.22), inset 0 0 40px rgba(200, 156, 90, 0.25);
  backdrop-filter: blur(16px);
}

.gate-content::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(200, 156, 90, 0.65);
  border-radius: 36px;
  pointer-events: none;
}

.gate-corner-tl,
.gate-corner-tr,
.gate-corner-bl,
.gate-corner-br {
  position: absolute;
  width: 32px;
  height: 32px;
  color: #c89c5a;
  pointer-events: none;
  z-index: 3;
}

.gate-corner-tl {
  top: 16px;
  left: 16px;
}

.gate-corner-tr {
  top: 16px;
  right: 16px;
  transform: scaleX(-1);
}

.gate-corner-bl {
  bottom: 16px;
  left: 16px;
  transform: scaleY(-1);
}

.gate-corner-br {
  bottom: 16px;
  right: 16px;
  transform: scale(-1);
}

.royal-auspicious-shloka {
  font-family: var(--font-royal);
  font-size: clamp(15px, 2.2vw, 20px);
  letter-spacing: .25em;
  color: var(--crimson);
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(160, 100, 35, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gate-kicker {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.6vw, 14.5px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #8c584a;
}

.gate-forever {
  margin: 18px 0 5px;
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #7d4e3f;
}

.gate-seal {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;

}



.gate-seal span {
  font-family: var(--font-royal);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--crimson);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.gate-seal img.gate-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0px;
  position: relative;
  z-index: 0;
  background: transparent;
}

.nav-monogram img.nav-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.gate-title {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(50px, 11vw, 75px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--crimson);
  text-shadow: 0 4px 24px rgba(160, 100, 35, .22);
}

.gate-title span {
  display: block;
}

.gate-title em {
  display: block;
  margin: -.1em 0;
  color: #c89c5a;
  font-family: var(--font-script);
  font-size: .7em;
  font-style: normal;
}

.hashtag-enter {
  position: relative;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  width: 100%;
}

.hashtag-enter strong {
  display: inline-block;
  padding: 14px 34px;
  border: 2px solid #c89c5a;
  border-radius: 999px;
  background: linear-gradient(135deg, #8a1e1e, #4a1010);
  color: #fffdf8;
  box-shadow: 0 16px 48px rgba(127, 29, 29, .38), 0 0 24px rgba(200, 156, 90, .4);
  font-family: var(--font-royal);
  font-size: clamp(15px, 2.8vw, 18px);
  font-weight: 600;
  letter-spacing: .08em;
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}

.hashtag-enter span {
  display: block;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #8c6e3a;
}

.hashtag-enter:hover strong,
.hashtag-enter:focus-visible strong {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(135deg, #9b2424, #5c1414);
  box-shadow: 0 22px 64px rgba(127, 29, 29, .48), 0 0 32px rgba(200, 156, 90, .6);
}
