.age-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.age-modal-overlay.hidden {
  display: none;
}

.age-modal {
  background: #1a1b2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.age-modal__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #ffffff;
  margin: 8px 0 0;
}

.age-modal__subtitle {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.age-modal__checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin: 8px 0;
}

.age-modal__checkbox input {
  display: none;
}

.age-modal__checkmark {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: transparent;
  position: relative;
  transition: all 0.2s ease;
}

.age-modal__checkbox input:checked + .age-modal__checkmark {
  background: linear-gradient(135deg, #99e007, #fff400);
  border-color: #99e007;
}

.age-modal__checkbox input:checked + .age-modal__checkmark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #131420;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.age-modal__label {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
}

.age-modal__label strong {
  font-weight: 700;
}

.age-modal__disclaimer {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 0;
  max-width: 360px;
}

.age-modal__btn {
  width: 100%;
  max-width: 380px;
  padding: 18px 32px;
  border: none;
  border-radius: 60px;
  background: linear-gradient(135deg, #99e007, #fff400);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #131420;
  cursor: pointer;
  margin-top: 8px;
  transition:
    opacity 0.2s ease,
    transform 0.1s ease;
}

.age-modal__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.age-modal__btn:not(:disabled):hover {
  opacity: 0.9;
}

.age-modal__btn:not(:disabled):active {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .age-modal {
    padding: 36px 24px;
  }

  .age-modal__title {
    font-size: 22px;
  }

  .age-modal__btn {
    font-size: 18px;
    padding: 16px 24px;
  }
}
