.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.age-gate-overlay.is-visible {
  display: flex;
}

.age-gate-modal {
  width: min(100%, 520px);
  padding: 32px 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 19, 47, 0.96), rgba(14, 12, 31, 0.98));
  border: 1px solid rgba(131, 56, 236, 0.45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 0, 110, 0.12);
  color: #ffffff;
  text-align: center;
}

.age-gate-title {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
}

.age-gate-text {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.age-gate-btn-secondary {
  min-width: 132px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.age-gate-btn-secondary:hover,
.age-gate-btn-secondary:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
  outline: none;
}

.age-gate-message {
  min-height: 24px;
  margin-top: 18px;
  color: #ff7f96;
  font-weight: 600;
  line-height: 1.5;
}

body.age-gate-active,
html.age-gate-active {
  overflow: hidden;
}

@media (max-width: 575px) {
  .age-gate-overlay {
    padding: 16px;
  }

  .age-gate-modal {
    padding: 28px 20px;
  }

  .age-gate-title {
    font-size: 1.7rem;
  }

  .age-gate-actions {
    flex-direction: column;
  }

  .age-gate-actions .cmn-btn,
  .age-gate-btn-secondary {
    width: 100%;
  }
}
