/* Overlays that render before any interaction: the age gate and the cookie bar.
   Both are on screen for a first-time visitor, so they stay in the critical path. */

/* ============ age gate ============ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 10, 15, .92);
  backdrop-filter: blur(4px);
}
.age-gate__panel {
  display: flex;
  width: 1080px;
  max-width: 100%;
  border-radius: var(--r-40);
  overflow: hidden;
  box-shadow: var(--shadow-modal);
  animation: modal-in var(--t-slow) cubic-bezier(.16, 1, .3, 1) both;
}
.age-gate__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  width: 380px;
  flex: none;
  padding: 44px;
  background: var(--red);
  color: var(--bone);
}
.age-gate__age { font-family: var(--font-display); font-size: 120px; line-height: 1.09; letter-spacing: -4px; }
.age-gate__side-note { font-size: 13px; line-height: 18px; opacity: .8; }
.age-gate__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  padding: 44px;
  background: #111111;
  color: var(--bone);
}
.age-gate__title { font-family: var(--font-display); font-size: 40px; line-height: 44px; }
.age-gate__body { font-size: 15px; line-height: 24px; color: var(--slate); }
.age-gate__actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.age-gate__fine { margin-top: auto; font-size: 12px; line-height: 18px; color: var(--grey); }
.age-gate__fine a { color: var(--red); }

/* ============ cookie bar + preferences ============ */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--surface);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, .4);
  animation: cookie-in var(--t-slow) ease both;
}
@keyframes cookie-in { from { transform: translateY(100%); } to { transform: none; } }
.cookie-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.cookie-bar__title {
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 13px;
  letter-spacing: 1.5px;
  color: var(--red-text);
  margin-bottom: 4px;
}
.cookie-bar__body { font-size: 13px; line-height: 19px; color: var(--slate); max-width: 780px; }
.cookie-bar__body a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }



@media (max-width: 1199px) {
  .age-gate { padding: 0; }
  .age-gate__panel { flex-direction: column; width: 100%; min-height: 100%; border-radius: 0; }
  .age-gate__side { width: auto; padding: 24px 16px; flex-direction: row; align-items: baseline; gap: 16px; }
  .age-gate__age { font-size: 56px; letter-spacing: -2px; }
  .age-gate__side-note { display: none; }
  .age-gate__main { padding: 24px 16px 40px; }
  .age-gate__title { font-size: 28px; line-height: 30.5px; }
  .age-gate__actions { flex-direction: column; }
  .age-gate__actions .btn { width: 100%; }

  .cookie-bar__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-bar__actions .btn { flex: 1; }
}
