/* === AGE POPUP STYLES ПІД ДИЗАЙН САЙТУ === */

.age-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* коробка як картки на сайті */
.age-popup-box {
  max-width: 520px;
  width: 90%;
  background: #f4f0e5;           /* бежевий як фон сайту */
  border-radius: 22px;
  border: 2px solid #d1b676;     /* золота рамка */
  padding: 32px 32px 22px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
}

/* заголовок як на герої сайту */
.age-popup-box h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  color: #004225;                /* темно-зелений */
}

/* текст */
.age-popup-box p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 24px;
  color: #333022;
}

/* посилання всередині тексту */
.age-popup-box p a {
  color: #004225;
  font-weight: 600;
  text-decoration: underline;
}

/* головна кнопка як "Explorar Agora" */
.age-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60%;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #004225;           /* темно-зелений */
  color: #ffffff;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
              filter 0.15s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.age-btn-main:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.age-btn-main:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* "Sair" — як текстове посилання під блоками на сайті */
.age-exit-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: #004225;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* щоб не скролили сторінку, поки попап відкритий */
body.age-locked {
  overflow: hidden;
}
