
.trx_popup {
	-webkit-animation-name: fadeIn_popup;
	animation-name: fadeIn_popup;
}
.trx_popup.close {
	-webkit-animation-name: fadeOut_popup;
	animation-name: fadeOut_popup;
}
/* Custom styles
*******************************/
.age-restriction {
  font-size: 24px;
  letter-spacing: 1px;
 padding-top: 20px;
  padding-bottom: 2px;
  display: inline-block;
  position: relative;
}

.age-restriction::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 222, 49, 0.7),
    transparent
  );
}


.age-box {
  font-size: 12px;        /* ← سایز کل متن */
  line-height: 1.8;       /* ← فاصله بین دو خط */
  letter-spacing: 0.5px;
  text-align: center;
  color: #f2f2f2;
 gap: 16px;
}

.age-box strong {
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;   
 gap: 16px;
}
.trx_popup .trx_popup_container {
    width: 500px !important;
    max-width: 90vw !important;
}

.age-enter-btn {
  display: block;
  margin: 25px auto 0;
  padding: 1px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000
  background: #d4af37
  border: none;         
  border-radius: 1px;
  cursor: pointer;

  box-shadow:
    0 6px 14px  rgba(255, 222, 49, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);

  transition: all 0.25s ease;
}

.age-enter-btn:hover {
  background: linear-gradient(180deg, #ffc266, #ff9900);
  box-shadow:
    0 8px 18px rgba(255, 153, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.age-enter-btn:active {
  transform: translateY(1px);
  box-shadow:
    0 4px 4px rgba(255, 153, 0, 0.4),
    inset 0 2px 2px rgba(0, 0, 0, 0.2);
}
.trx_popup button.age-exit-btn {
  background-color: #000 !important;     /* مشکی واقعی */
  background-image: none !important;     /* حذف گرادیان طلایی */
  border: 2px solid #d4af37 !important;  /* کادر طلایی */
  color: #d4af37 !important;             /* متن طلایی */

  padding: 1px 34px;
margin-top: 10px;
margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 1px;
  cursor: pointer;

  box-shadow: none !important;
  text-shadow: none !important;
}

/* Hover */
.trx_popup button.age-exit-btn:hover {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  box-shadow: 0 0 10px rgba(212,175,55,0.35);
}
@media (max-width: 768px) {
  .trx_popup .trx_popup_container {
    width: 90vw !important;
    min-height: 400px;             /* حداقل ارتفاع */
    max-height: calc(100vh - 40px);/* جلوگیری از برش در لبه‌ها */
    overflow-y: auto;
    margin: 20px auto;             /* فاصله منظم از بالاوپایین */
    border-radius: 8px;            /* اگر بخواهید گوشه‌هاگردتر شوند */
  }
}
