.age-verification {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.age-verification.is-open {
  visibility: visible;
  opacity: 1;
}

.age-verification__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 13, 15, 0.85);
  backdrop-filter: blur(6px);
}

.age-verification__dialog {
  position: relative;
  z-index: 1;
  background-color: var(--color-surface);
  border: 1px solid var(--color-yellow);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-verification__logo img {
  max-height: 56px;
  width: auto;
}

.age-verification__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  color: #fff;
  margin: 0;
}

.age-verification__subtitle {
  font-family: var(--font-body);
  color: var(--color-text-soft);
  font-size: 14px;
  margin: 0;
}

.age-verification__consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
}

.age-verification__consent input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-yellow);
  background-color: var(--color-bg);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.age-verification__consent input:checked {
  background-color: var(--color-yellow);
}

.age-verification__consent input:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 6.5l3 3 5-7' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.age-verification__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.age-verification__actions .btn {
  width: 100%;
}
