/* Общий 18+ экран для взрослых проектов. Хедер остаётся видимым. */
.adult-content {
  transition: filter .3s ease, opacity .3s ease;
}

.age-locked .adult-content {
  filter: blur(18px) saturate(.7);
  opacity: .52;
  pointer-events: none;
  user-select: none;
}

.age-locked {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(13, 7, 18, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity .25s ease, visibility .25s ease;
}

.age-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate__card {
  width: min(100%, 650px);
  padding: clamp(28px, 5vw, 48px);
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, rgba(67, 24, 95, .97), rgba(29, 12, 43, .98));
  box-shadow: 0 30px 100px rgba(0,0,0,.56);
  font-family: "Bahnschrift TRGU", Bahnschrift, sans-serif;
  text-align: center;
}

.age-badge {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #d9234e;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}

.age-gate h1 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Bahnschrift TRGU", Bahnschrift, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  text-shadow: none;
}

.age-gate p {
  margin: 0 auto 26px;
  max-width: 540px;
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.55;
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.age-continue,
.age-back {
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  font: 700 1.05rem/1.2 "Bahnschrift TRGU", Bahnschrift, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.age-continue {
  border: 0;
  color: #fff;
  background: #d9234e;
}

.age-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.age-continue:hover,
.age-continue:focus-visible {
  background: #ef2d5a;
}

.age-back:hover,
.age-back:focus-visible {
  background: rgba(255,255,255,.15);
}
