/* ============================================================
   SAPIOLOV — AGE GATE
   Loads LAST on age-gate.html. Luxury intro screen.
   ============================================================ */

.page-age-gate {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #050507 !important;
}

.age-gate {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 100000 !important;
}

/* Minimal background — no photo. Delicate echo of the home nebula:
   deep magenta glows low-left / low-right on a clean dark base. */
.age-gate__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 520px at 18% 72%, rgba(139,18,88,0.20) 0%, rgba(139,18,88,0.05) 42%, transparent 74%),
    radial-gradient(680px 520px at 84% 68%, rgba(139,18,88,0.15) 0%, rgba(139,18,88,0.04) 44%, transparent 76%),
    #050507;
}

/* Subtle vertical depth — darken top and bottom only */
.age-gate__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,7,0.55) 0%, transparent 32%, transparent 68%, rgba(5,5,7,0.65) 100%);
}

/* Vignette — soft focus + faint copper breath behind the content */
.age-gate__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 32%, rgba(5,5,7,0.45) 78%, rgba(5,5,7,0.78) 100%),
    radial-gradient(ellipse at 50% 44%, rgba(210, 139, 102, 0.05) 0%, transparent 48%);
  pointer-events: none;
}

/* Content block */
.age-gate__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(92vw, 580px);
  padding: 48px 32px;
}

/* Logo — same metallic wordmark as home hero (assets/sapiolov-wordmark.png, ratio ~4.95) */
.age-gate__logo {
  width: clamp(240px, 40vw, 420px);
  height: auto;
  opacity: 1;
  margin-bottom: 34px;
  filter:
    drop-shadow(0 3px 16px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 40px rgba(232, 180, 159, 0.14));
}

/* Badge */
.age-gate__badge {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.64rem !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(232, 201, 127, 0.72);
  border: 1px solid rgba(210, 139, 102, 0.30);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 28px;
  display: inline-block;
  background: rgba(5,5,7,0.36);
}

/* Title */
.age-gate__title {
  /* Font matched 1:1 to home hero tagline (#hero .hero-tagline) */
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem) !important;
  line-height: 1.2 !important;
  color: #f6e1d2 !important;
  -webkit-text-fill-color: #f6e1d2 !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: 0.01em;
  text-shadow: none !important;
}

/* Lead text */
.age-gate__lead {
  font-family: 'Montserrat', sans-serif !important;
  font-size: clamp(0.95rem, 1.4vw, 1.12rem) !important;
  font-weight: 300 !important;
  font-style: normal !important;
  line-height: 1.78 !important;
  color: rgba(232, 217, 204, 0.68) !important;
  -webkit-text-fill-color: rgba(232, 217, 204, 0.68) !important;
  margin: 0 0 14px 0 !important;
  max-width: 460px;
}

/* Whisper line */
.age-gate__whisper {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  color: rgba(232, 201, 127, 0.62) !important;
  -webkit-text-fill-color: rgba(232, 201, 127, 0.62) !important;
  margin: 0 0 38px 0 !important;
}

/* Buttons container */
.age-gate__buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}

/* Primary CTA — ENTER */
.age-gate__btn-enter {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: 0.30em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 54px;
  padding: 0 36px !important;
  background: linear-gradient(135deg, rgba(126,60,52,0.96), rgba(203,127,103,0.92), rgba(144,66,75,0.96)) !important;
  color: rgba(255, 239, 222, 0.96) !important;
  -webkit-text-fill-color: rgba(255, 239, 222, 0.96) !important;
  border: 1px solid rgba(232, 201, 127, 0.35) !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  box-shadow:
    inset 0 1px 0 rgba(255,235,205,0.18),
    0 0 28px rgba(181,59,104,0.14);
}

.age-gate__btn-enter:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,235,205,0.22),
    0 0 36px rgba(181,59,104,0.22) !important;
  border-color: rgba(232, 201, 127, 0.50) !important;
}

/* Secondary CTA — LEAVE */
.age-gate__btn-leave {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 54px;
  padding: 0 28px !important;
  background: rgba(5,5,7,0.36) !important;
  color: rgba(232, 217, 204, 0.55) !important;
  -webkit-text-fill-color: rgba(232, 217, 204, 0.55) !important;
  border: 1px solid rgba(210, 139, 102, 0.22) !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
}

.age-gate__btn-leave:hover {
  border-color: rgba(210, 139, 102, 0.40) !important;
  color: rgba(232, 217, 204, 0.75) !important;
  -webkit-text-fill-color: rgba(232, 217, 204, 0.75) !important;
  transform: translateY(-1px);
}

/* Legal links */
.age-gate__legal {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.62rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0.08em;
  color: rgba(180, 170, 160, 0.32) !important;
  -webkit-text-fill-color: rgba(180, 170, 160, 0.32) !important;
}

.age-gate__legal a {
  color: rgba(180, 170, 160, 0.32) !important;
  -webkit-text-fill-color: rgba(180, 170, 160, 0.32) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.age-gate__legal a:hover {
  color: rgba(210, 139, 102, 0.55) !important;
  -webkit-text-fill-color: rgba(210, 139, 102, 0.55) !important;
}

.age-gate__dot {
  margin: 0 8px;
  opacity: 0.4;
}

/* ---- COOKIE BANNER — COMPACT ON AGE GATE ---- */

.page-age-gate #mx-cookie-banner {
  padding: 10px 16px !important;
  font-size: 0.68rem !important;
  gap: 10px !important;
  background: rgba(5, 5, 7, 0.96) !important;
  border-top: 1px solid rgba(210, 139, 102, 0.12) !important;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .age-gate__content {
    padding: 32px 20px;
    width: 100%;
  }

  .age-gate__bg {
    background-position: center center;
  }

  .age-gate__title {
    font-size: 1.7rem !important;
  }

  .age-gate__lead {
    font-size: 0.9rem !important;
  }

  .age-gate__buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .age-gate__btn-enter,
  .age-gate__btn-leave {
    width: 100%;
    min-width: unset;
  }

  .age-gate__logo {
    width: clamp(210px, 64vw, 320px);
    margin-bottom: 26px;
  }
}

@media (max-width: 480px) {
  .age-gate__title {
    font-size: 1.5rem !important;
  }

  .age-gate__badge {
    font-size: 0.58rem !important;
    padding: 5px 14px;
  }

  .age-gate__whisper {
    font-size: 1rem !important;
  }
}
