.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.age-modal__box {
  position: relative;
  z-index: 1;
  background-color: #111;
  border: 1px solid rgba(158, 238, 13, 0.25);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: ageScaleIn 0.3s ease-out;
}

@keyframes ageScaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.age-modal__logo {
  margin-bottom: 8px;
}

.age-modal__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-white);
  line-height: 1.2;
}

.age-modal__subtitle {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white-60);
}

.age-modal__check-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.age-modal__check {
  display: none;
}

.age-modal__check-box {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 2px solid rgba(158, 238, 13, 0.5);
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
}

.age-modal__check:checked + .age-modal__check-box {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.age-modal__check:checked + .age-modal__check-box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 12px;
  border: solid #0d0d0d;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.age-modal__check-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
}

.age-modal__disclaimer {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-white-60);
  line-height: 1.5;
  max-width: 380px;
}

.age-modal__button {
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  padding: 18px 32px;
  letter-spacing: 0;
  margin-top: 4px;
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
}

.age-modal__button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

body.age-locked {
  overflow: hidden;
}

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

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

  .age-modal__subtitle {
    font-size: 16px;
  }

  .age-modal__check-text {
    font-size: 16px;
  }

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