.age-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 54, 136, 0.9), rgba(48, 52, 67, 0.9));
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(5px);
  box-sizing: border-box;
}

.age-modal {
  background: #ffffff;
  color: #233688;
  max-width: 500px;
  width: 100%;
  padding: 42px 32px 38px 32px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: fadeInUp 0.45s ease-out;
  position: relative;
}

.age-modal h2 {
  font-size: 28px;
  margin-bottom: 22px;
  color: #233688;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-text,
.confirm-text {
  font-size: 18px;
  margin-bottom: 16px;
  color: #303443;
  font-weight: 600;
}

.confirm-text {
  margin-top: 25px;
  color: #000;
  font-weight: 700;
}

.confirmation-list {
  list-style: none;
  padding: 0;
  margin: 20px auto 25px;
  max-width: 440px;
  text-align: left;
  color: #233688;
  font-size: 17px;
  padding-left: 18px;
}

.confirmation-list li {
  margin-bottom: 14px;
  position: relative;
  font-weight: 600;
  line-height: 1.6;
}

.confirmation-list li::before {
  content: "✔";
  position: absolute;
  left: -24px;
  color: #ff4567;
  font-weight: 900;
  font-size: 18px;
  top: 2px;
}

.confirmation-list a {
  color: #233688;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.3s ease;
}

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

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

.age-btn-yes,
.age-btn-no {
  flex: 1 1 140px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  user-select: none;
}

.age-btn-yes {
  background-color: #233688;
  color: #fff;
}

.age-btn-yes:hover {
  background-color: #1a2a76;
  box-shadow: 0 8px 20px rgba(35, 54, 136, 0.5);
}

.age-btn-no {
  background-color: #ff4567;
  color: #fff;
}

.age-btn-no:hover {
  background-color: #cc3a56;
  box-shadow: 0 8px 20px rgba(255, 69, 103, 0.5);
}

.responsible-gamble-text {
  font-size: 16px;
  color: #ff4567;
  margin-top: 32px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
  padding: 0 10px;
}

/* Анимация */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

body.age-lock {
  overflow: hidden;
}