body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f7fa;
  margin: 0;
}

.age-overlay {
  position: fixed;
  display: none;
  /* скрываем по умолчанию */
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 30, 0.85);
  /* чуть более тёмный фон */
  z-index: 9999;
  animation: fadeInOverlay 0.4s ease forwards;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.age-modal {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  padding: 40px 50px;
  max-width: 540px;
  width: 90%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
  color: #f0f4f8;
  animation: slideInModal 0.5s ease forwards;
  font-weight: 500;
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.age-modal h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffcc00;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.age-modal .info-text {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
  color: #dce6f1;
}

.age-modal .confirm-text {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffeb99;
}

.confirmation-list {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 30px;
  text-align: left;
  color: #e6eaf3;
  font-size: 15px;
}

.confirmation-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.confirmation-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #ffcc00;
  font-weight: bold;
  font-size: 18px;
  top: 0;
  line-height: 1;
}

.confirmation-list a {
  color: #ffe066;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.confirmation-list a:hover {
  color: #ffd633;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.age-btn-yes,
.age-btn-no {
  cursor: pointer;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 38px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  user-select: none;
  min-width: 140px;
}

.age-btn-yes {
  background: #ffcc00;
  color: #1e3c72;
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.age-btn-yes:hover {
  background: #ffd633;
  box-shadow: 0 8px 24px rgba(255, 214, 51, 0.8);
}

.age-btn-no {
  background: #e63946;
  color: #f0f4f8;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.age-btn-no:hover {
  background: #b02a36;
  box-shadow: 0 8px 24px rgba(176, 42, 54, 0.8);
}