/* HotHotPepper — age gate full-screen */

.age-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.age-gate-modal.is-open {
  opacity: 1;
  visibility: visible;
}

html.age-gate-skip .age-gate-modal {
  display: none;
}

.age-gate-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100dvh;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 28%, rgba(255, 77, 148, 0.22), transparent 58%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(255, 77, 148, 0.1), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #000 55%, #050505 100%);
  padding:
    calc(2rem + env(safe-area-inset-top, 0px))
    clamp(1.25rem, 5vw, 3rem)
    calc(1.75rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: #fff;
  box-shadow: none;
  overflow: auto;
  transform: none;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.age-gate-modal.is-open .age-gate-panel {
  transform: none;
  opacity: 1;
}

.age-gate-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 4.5rem 4.5rem,
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 4.5rem 4.5rem;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.age-gate-panel > * {
  position: relative;
  z-index: 1;
}

.age-gate-kicker {
  margin: 0 0 1.5rem;
  color: #ff4d94;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.age-gate-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.age-gate-brand .site-brand-logo--age-gate {
  flex-direction: column;
  align-items: center;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  max-width: min(96vw, 32rem);
  gap: 0.85rem;
}

.age-gate-brand .site-brand-logo--age-gate .site-brand-logo__mark {
  width: clamp(5.5rem, 18vw, 7.5rem);
  height: clamp(5.5rem, 18vw, 7.5rem);
  filter: drop-shadow(0 0 22px rgba(255, 77, 148, 0.55));
}

.age-gate-brand .site-brand-logo--age-gate .site-brand-logo__word {
  overflow: visible;
  text-overflow: unset;
  white-space: nowrap;
}

.age-gate-title {
  margin: 0 0 1rem;
  max-width: 22rem;
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #fff;
}

.age-gate-text {
  margin: 0 auto 2rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
}

.age-gate-text a {
  color: #ff7ab2;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 77, 148, 0.45);
  transition: color 0.14s ease, border-color 0.14s ease;
}

.age-gate-text a:hover {
  color: #fff;
  border-bottom-color: #ff4d94;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  width: min(100%, 22rem);
  margin: 0 auto 2rem;
}

.age-gate-btn {
  width: 100%;
  min-width: 0;
  flex: none;
  min-height: 3.15rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.age-gate-btn:active {
  transform: scale(0.985);
}

.age-gate-btn--confirm {
  border: 0;
  background: #ff4d94;
  color: #fff;
  box-shadow: 0 0.65rem 1.6rem rgba(255, 77, 148, 0.35);
  text-transform: uppercase;
}

.age-gate-btn--confirm:hover {
  background: #ff6bab;
  filter: none;
  box-shadow: 0 0.75rem 1.8rem rgba(255, 77, 148, 0.42);
}

.age-gate-btn--deny {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}

.age-gate-btn--deny:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

body.age-gate-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  .age-gate-actions {
    width: min(100%, 24rem);
  }

  .age-gate-title {
    max-width: 28rem;
  }
}
