.age-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 32, 64, 0.5), rgba(239, 83, 15, 0.5));
  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: #f5f5f5;
  text-align: center;
  backdrop-filter: blur(6px);
  box-sizing: border-box;
}

.age-modal {
  background: #ffffff;
  color: #082040;
  max-width: 480px;
  width: 100%;
  padding: 40px 32px 35px 32px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(8, 32, 64, 0.35);
  text-align: center;
  animation: fadeInUp 0.45s ease-out;
  position: relative;
}

.age-modal h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ef530f;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-left: 5px;
  padding-right: 5px;
}

.info-text,
.confirm-text {
  font-size: 18px;
  margin-bottom: 16px;
  color: #03489c;
  font-weight: 600;
  padding-left: 6px;
  padding-right: 6px;
}

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

.confirmation-list {
  list-style: none;
  padding: 0;
  margin: 20px auto 25px;
  max-width: 440px;
  text-align: left;
  color: #03489c;
  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: #ef530f;
  font-weight: 900;
  font-size: 18px;
  top: 2px;
}

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

.confirmation-list a:hover {
  text-decoration: underline;
  color: #ef530f;
}

.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 14px rgba(8, 32, 64, 0.3);
  transition: all 0.3s ease;
  user-select: none;
}

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

.age-btn-yes:hover {
  background-color: #082040;
  box-shadow: 0 8px 20px rgba(8, 32, 64, 0.5);
}

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

.age-btn-no:hover {
  background-color: #c4450b;
  box-shadow: 0 8px 20px rgba(239, 83, 15, 0.6);
}

.responsible-gamble-text {
  font-size: 16px;
  color: #ef530f;
  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;
}