.g-button.g-button--invert:hover {
  text-shadow: none;
}
@media (max-width: 480px) {
  .ymaps-2-1-79-balloon__content {
    max-width: 300px !important;
    width: 100% !important;
    min-width: unset !important;
    min-width: 200px !important;
    padding-right: 20px !important;
  }
  .ymaps-2-1-79-balloon__content ymaps {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }
}
body.popup-lock {
  overflow: hidden;
  touch-action: none;
}
.popup-container {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 6, 12, 0.91);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.popup-container.opened {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.popup-container.opened .popup-first {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.popup-first-wrap {
  width: 100%;
  max-width: 480px;
  padding: 20px;
  box-sizing: border-box;
}
.popup-first.popup18 {
  background: linear-gradient(160deg, rgba(26, 16, 14, 0.98) 0%, rgba(14, 10, 10, 0.99) 100%);
  border: 1px solid rgba(255, 70, 0, 0.4);
  box-shadow: 0 0 40px rgba(255, 70, 0, 0.28), inset 0 0 25px rgba(255, 70, 0, 0.08);
  border-radius: 20px;
  padding: 42px 32px;
  text-align: center;
  color: #f8fafc;
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  position: relative;
  overflow: hidden;
}
.popup-first.popup18::before {
  content: "";
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 70, 0, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.popup-first.popup18 .age-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 2px solid #ff4600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 70, 0, 0.6), inset 0 0 12px rgba(255, 70, 0, 0.3);
  background: rgba(255, 70, 0, 0.08);
  transition: all 0.3s ease;
}
.popup-first.popup18 .age-badge span {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 70, 0, 0.8);
}
.popup-first.popup18 .title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 0 16px rgba(255, 70, 0, 0.35);
}
.popup-first.popup18 .note {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 28px;
}
.popup-first.popup18 .note p {
  margin: 0 0 10px;
}
.popup-first.popup18 .note p:last-child {
  margin-bottom: 0;
}
.popup-first.popup18 .note a {
  color: #ff5e1a;
  text-decoration: underline;
}
.popup-first.popup18 .note a:hover {
  color: #fff;
}
.popup-first.popup18 .btns {
  display: flex;
  gap: 14px;
  justify-content: center;
}
@media (max-width: 480px) {
  .popup-first.popup18 .btns {
    flex-direction: column;
  }
}
.popup-first.popup18 .btns .call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  outline: none;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.popup-first.popup18 .btns .call.yes {
  background: linear-gradient(135deg, #ff4600 0%, #b33100 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(255, 70, 0, 0.45);
}
.popup-first.popup18 .btns .call.yes:hover {
  background: linear-gradient(135deg, #ff5e1a 0%, #ff4600 100%);
  box-shadow: 0 6px 28px rgba(255, 70, 0, 0.7);
  transform: translateY(-2px);
}
.popup-first.popup18 .btns .call.yes:active {
  transform: translateY(0);
}
.popup-first.popup18 .btns .call.no {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.popup-first.popup18 .btns .call.no:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.popup-first.popup18 .btns .call.no:active {
  transform: translateY(0);
}
@media (max-width: 480px) {
  .popup-first.popup18 {
    padding: 30px 20px;
  }
  .popup-first.popup18 .title {
    font-size: 16px;
  }
}
.popup-first.popup18:hover .age-badge {
  transform: scale3d(1.2, 1.2, 1.2);
}
