.age-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 160px;
}

.age-modal-overlay.active {
  display: flex;
}

.age-modal {
  background-color: #10182a;
  border: 2px solid #ffffff;
  border-radius: 12px;
  padding: 32px 40px;
  text-align: center;
  max-width: 450px;
  width: 90%;
}

.age-modal-logo img {
  max-height: 44px;
  width: auto;
  margin: 0 auto 1rem;
}

.age-modal h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 21px;
}

.age-modal p {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.9;
}

.age-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 21px 0;
}

.age-checkbox input[type="checkbox"] {
  width: 28px;
  height: 28px;
  border: 1px solid #1da1ff;
  border-radius: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.2s ease;
}

.age-checkbox input[type="checkbox"]:checked {
  background-color: #1da1ff;
}

.age-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 7px;
  height: 14px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.age-checkbox label {
  font-family: "Archivo Black", sans-serif;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.9;
  cursor: pointer;
}

.age-modal .age-disclaimer {
  max-width: 347px;
  margin: 0 auto 21px;
}

.age-modal .btn-primary {
  width: 347px;
  max-width: 100%;
}

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

@media (max-width: 768px) {
  .age-modal-overlay {
    padding-top: 80px;
    align-items: flex-start;
  }

  .age-modal {
    padding: 24px;
  }

  .age-modal h2 {
    font-size: 20px;
  }

  .age-modal p {
    font-size: 14px;
  }

  .age-checkbox label {
    font-size: 16px;
  }

  .age-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
  }

  .age-checkbox input[type="checkbox"]:checked::after {
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
  }
}
