html.eca-age-gate-pending,
html.eca-age-gate-pending body {
  overflow: hidden !important;
}

html.eca-age-gate-pending body > * {
  visibility: hidden;
}

html.eca-age-gate-pending body > #eca-age-gate {
  visibility: visible;
}

html.eca-age-gate-verified #eca-age-gate {
  display: none !important;
}

.eca-age-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  color: var(--eca-text, #fff);
  font-family: inherit;
}

.eca-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 35%), var(--eca-bg, #000);
}

.eca-age-gate__dialog {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 5vh auto;
  padding: 32px;
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.45);
}

.eca-age-gate__eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--eca-accent, #d4af37);
}

.eca-age-gate__title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.15;
  color: var(--eca-text, #fff);
}

.eca-age-gate__message {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
}

.eca-age-gate__label,
.eca-age-gate__checkbox-wrap {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.eca-age-gate__input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--eca-text, #fff);
  font-size: 16px;
  box-sizing: border-box;
}

.eca-age-gate__input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.eca-age-gate__hint {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.eca-age-gate__feedback {
  min-height: 24px;
  margin-top: 12px;
  color: #ff8c8c;
  font-size: 14px;
}

.eca-age-gate__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.eca-age-gate__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.eca-age-gate__button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.eca-age-gate__button--primary {
  border: none;
  background: var(--eca-accent, #d4af37);
  color: #111;
  font-weight: 700;
}

.eca-age-gate__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--eca-text, #fff);
}

.eca-age-gate__logo-wrap {
  margin-bottom: 20px;
}

.eca-age-gate__logo {
  max-width: 180px;
  height: auto;
}

@media (max-width: 640px) {
  .eca-age-gate__dialog {
    margin: 0;
    min-height: 100vh;
    border-radius: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .eca-age-gate__title {
    font-size: 26px;
  }

  .eca-age-gate__actions {
    flex-direction: column;
  }

  .eca-age-gate__button {
    width: 100%;
  }
}
