/* Obsidian glass first-visit age declaration modal matching Pollo's Market. */
body.pollo-age-open {
  overflow: hidden;
}

body.pollo-age-open .cookie-panel {
  visibility: hidden;
  pointer-events: none;
}

.pollo-age-gate[hidden],
.pollo-age-gate [hidden] {
  display: none;
}

.pollo-age-gate {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
  font-family: var(--sans, 'Inter Tight', system-ui, sans-serif);
  color: #eef2fa;
  color-scheme: dark;
  opacity: 0;
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pollo-age-gate.is-visible {
  opacity: 1;
}

.pollo-age-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(28, 42, 74, 0.38), rgba(5, 6, 10, 0.88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pollo-age-card {
  position: relative;
  z-index: 1;
  width: min(500px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  padding: clamp(26px, 4vw, 36px);
  border-radius: 22px;
  border: 1px solid rgba(168, 198, 255, 0.22);
  background:
    radial-gradient(ellipse 85% 42% at 50% 0%, rgba(106, 169, 255, 0.14), transparent 72%),
    linear-gradient(165deg, rgba(19, 23, 34, 0.96), rgba(11, 13, 19, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 28px 80px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(106, 169, 255, 0.08);
  transform: translateY(12px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pollo-age-gate.is-visible .pollo-age-card {
  transform: translateY(0) scale(1);
}

.pollo-age-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.pollo-age-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f4f7ff;
}

.pollo-age-brand em {
  font-family: var(--serif, 'Source Serif 4', Georgia, serif);
  font-style: italic;
  font-weight: 400;
  color: #8cbcff;
}

.pollo-age-brand .site-brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(106, 169, 255, 0.12);
  border: 1px solid rgba(106, 169, 255, 0.28);
}

.pollo-age-brand .site-brand-mark svg {
  width: 18px;
  height: 18px;
}

.pollo-age-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(106, 169, 255, 0.3);
  background: rgba(106, 169, 255, 0.1);
  color: #9dc5ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.pollo-age-card h2 {
  margin: 0 0 14px;
  font-family: var(--sans, 'Inter Tight', system-ui, sans-serif);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.pollo-age-card h2 em {
  font-family: var(--serif, 'Source Serif 4', Georgia, serif);
  font-style: italic;
  font-weight: 400;
  color: #7ab3ff;
}

.pollo-age-lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #dfe6f5;
}

.pollo-age-note {
  margin: 0 0 26px;
  font-size: 13px;
  line-height: 1.65;
  color: #9aa7c0;
}

.pollo-age-note a {
  color: #8cbcff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pollo-age-note a:hover {
  color: #b9d7ff;
}

.pollo-age-actions {
  display: grid;
  gap: 10px;
}

.pollo-age-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.pollo-age-btn--primary {
  border: 1px solid #8bc0ff;
  background: linear-gradient(135deg, #79b4ff, #5b9cf5);
  color: #061224;
  box-shadow: 0 8px 24px rgba(106, 169, 255, 0.24);
}

.pollo-age-btn--primary:hover {
  background: linear-gradient(135deg, #95c5ff, #74adff);
}

.pollo-age-btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #c3cde0;
}

.pollo-age-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pollo-age-card :focus-visible {
  outline: 2px solid #8bc0ff;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .pollo-age-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pollo-age-gate,
  .pollo-age-card,
  .pollo-age-btn {
    transition: none;
  }
}
