/* ============================================================
   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;
}

/* Background photo — chair silhouette, sunlight through window */
.age-gate__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/backgrounds/bg-age-gate-chair.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.62) contrast(1.18) saturate(0.88) blur(1px);
  transform: scale(1.02);
  opacity: 1;
}

/* Dark overlay — lighter, let sunlight through */
.age-gate__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,7,0.72) 0%, rgba(5,5,7,0.28) 45%, rgba(5,5,7,0.68) 100%),
    linear-gradient(180deg, rgba(5,5,7,0.65) 0%, rgba(5,5,7,0.18) 40%, rgba(5,5,7,0.78) 100%);
}

/* Vignette — soft edges, warm window glow */
.age-gate__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(5,5,7,0.25) 50%, rgba(5,5,7,0.82) 85%),
    radial-gradient(ellipse at 50% 45%, rgba(210, 139, 102, 0.06) 0%, transparent 45%);
  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 */
.age-gate__logo {
  width: 120px;
  height: auto;
  opacity: 0.88;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 12px rgba(210, 139, 102, 0.12));
}

/* 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-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: clamp(3rem, 5.5vw, 4.5rem) !important;
  line-height: 1.08 !important;
  color: rgba(246, 226, 206, 0.94) !important;
  -webkit-text-fill-color: rgba(246, 226, 206, 0.94) !important;
  margin: 0 0 22px 0 !important;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 22px rgba(210, 139, 102, 0.14),
    0 0 42px rgba(181, 59, 104, 0.08);
}

/* 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: 2.6rem !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: 90px;
    margin-bottom: 24px;
  }
}

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

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

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