.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.popup-overlay.show {
    display: flex !important;
}

.popup-content {
    background: linear-gradient(96.2deg, #593925 10.4%, #3B2416 43.8%, #1D1109 105.8%);
    border-radius: 15px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.close-btn:hover {
    color: #FFFFFF;
}

.popup-header {
    background: linear-gradient(70.6deg, rgb(172, 30, 255) 0.3%, rgb(65, 35, 251) 55.8%, rgb(35, 251, 224) 105.1%);
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.popup-header .title,
.popup-body .title {
    font-size: 28px;
    margin: 0;
    font-weight: 500;
    background: #FFFFFF;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.popup-body {
    padding: 2rem;
    text-align: center;
}
.popup-body p {
    margin-bottom: 1rem;
    font-size: 20px;
    line-height: 1.6;
}
.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
}
.promo-code {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    color: #ee5a24;
    border: 2px dashed #ee5a24;
    display: inline-block;
    margin: 0.5rem;
}

.countdown {
    color: #DFCFB8;
    font-weight: bold;
    padding-top: 20px;
    font-size: 20px;
}

#countdown-timer {
    color: #E9AB4B;
    font-size: 20px;
}

.popup-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.popup-buttons .buy-button{
  display: block;
  width: 100%;
  background: #B88B45;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 700;
  font-size: 17px;
  transition: opacity 0.2s;
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (max-width: 415px) {
    .popup-body .title {
    font-size: 26px;
}
	.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
	width: 300px;
	height: 200px;
}
}
@media (max-width: 430px) {
    .popup-body .title {
    font-size: 26px;
}
	.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
	width: 300px;
	height: 200px;
}
}
@media (max-width: 448px) {
    .popup-body .title {
    font-size: 26px;
}
	.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
	width: 300px;
	height: 200px;
}
}
@media (max-width: 460px) {
    .popup-body .title {
    font-size: 26px;
}
	.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
	width: 300px;
	height: 200px;
}
}
@media (max-width: 480px) {
    .popup-body .title {
    font-size: 26px;
}
	.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
	width: 300px;
	height: 200px;
}
}
@media (max-width: 510px) {
    .popup-body .title {
    font-size: 26px;
}
	.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
	width: 300px;
	height: 200px;
}
}
@media (max-width: 540px) {
    .popup-body .title {
    font-size: 26px;
}
	.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
	width: 300px;
	height: 200px;
}
}
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 1rem;
    }
    
    .popup-header {
        padding: 1.5rem;
    }
    
    .popup-body {
        padding: 1.5rem;
    }
	
	.popup-body .title {
    font-size: 26px;
}
    
    .popup-buttons {
        flex-direction: column;
        align-items: center;
    }
	.popup-body img {
    margin: 15px 15px 20px;
    text-align: center;
	width: 300px;
	height: 200px;
}
}