.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 71%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-container {
    background: linear-gradient(135deg, #0019ff, #00f3ff);
    border-radius: 20px;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.popup-header {
    position: relative;
    text-align: center;
}

.popup-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.5);
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: -10px;
    background: #fff;
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 12;
}

.close-btn:hover {
    background: #ff002b;
    color: #fff;
}

.timer-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
}

.timer-icon {
    font-size: 23px;
    color: #ffd700;
}

.timer-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
    height: 60px;
    background: #fff;
    justify-content: center;
    border-radius: 5px;
    gap: 0px;
}

.time-value {
    color: #cf0a26;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
}

.time-label {
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-top: 3px;
}

.time-separator {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.popup-content {
    position: relative;
}

.treasure-section {
    text-align: center;
    margin: auto;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.campaign-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-badge {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: discountPulse 2s ease-in-out infinite;
    border: 5px solid #fff;
}

@keyframes discountPulse {
    0%, 100% {
        transform: scale(1);
        /* box-shadow: 
            0 0 30px rgba(255, 68, 68, 0.6),
            inset 0 0 20px rgba(255, 255, 255, 0.2); */
    }
    50% {
        transform: scale(1.05);
        /* box-shadow: 
            0 0 40px rgba(255, 68, 68, 0.8),
            inset 0 0 25px rgba(255, 255, 255, 0.3); */
    }
}

.discount-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    line-height: 1;
    letter-spacing: -1px;
}

.discount-label {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
    margin-top: 8px;
    text-transform: uppercase;
}

.campaign-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: campaignGlow 3s ease-in-out infinite;
    z-index: -2;
}

@keyframes campaignGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 16px;
    animation: sparkleFloat 2s ease-in-out infinite;
    color: #ffd700;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
}

.sparkle-1 {
    top: 10%;
    left: 29%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 11%;
    right: 24%;
    animation-delay: 0.3s;
}

.sparkle-3 {
    bottom: 0%;
    left: 44%;
    animation-delay: 0.6s;
}

.sparkle-4 {
    bottom: 13%;
    right: 26%;
    animation-delay: 0.9s;
}

.sparkle-5 {
    top: 60%;
    left: 24%;
    animation-delay: 1.2s;
}

.sparkle-6 {
    top: 41%;
    right: 4%;
    animation-delay: 1.5s;
}

@keyframes sparkleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-15px) rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

.surrounding-items {
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-essence {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 51px;
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-vip {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 51px;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.floating-package {
    position: absolute;
    bottom: 1px;
    left: 20px;
    font-size: 42px;
    animation: float 3s ease-in-out infinite;
    animation-delay: 2s;
}

.floating-star {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 45px;
    animation: float 3s ease-in-out infinite;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.promo-banner {
    width: 100%;
    background: #fff;
    padding: 20px 15px;
    margin: 20px 0;
    text-align: center;
    position: relative;
    color: #000000;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.promo-banner p {
    color: white;
    font-size: 18px;
    margin: 0;
    line-height: 30px;
}

.promo-banner b {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.8;
    color: #1a1a1a;
}

.bonus-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff1493;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.offer-panel {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 20px 0px;
}

.value-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.diamond-icon {
    font-size: 24px;
    color: #4169E1;
}

.value-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.package-list {
}

.package-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.package-item:last-child {
    border-bottom: none;
}

.package-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.essence-icon {
    color: #666;
}

.vip-icon {
    color: #4169E1;
}

.meat-icon {
    color: #8B4513;
}

.wood-icon {
    color: #8B4513;
}

.package-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #333;
    font-size: 14px;
    margin-right: 15px;
}

.package-quantity {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    text-align: right;
    font-weight: 800;
    background: #0087ff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
}

.remaining-info {
    text-align: center;
    color: #666;
    font-size: 12px;
    margin-bottom: 15px;
}

.purchase-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border: none;
    border-radius: 15px;
    padding: 15px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.real-price {
    font-size: 18px;
    font-weight: bold;
}

.alt-price {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.coin-icon {
    font-size: 16px;
}

.whatsapp-section {
    text-decoration: none;
}

.whatsapp-btn {
    width: -webkit-fill-available;
    background: linear-gradient(135deg, #004cb5, #12598c);
    border: none;
    border-radius: 15px;
    padding: 15px 20px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    margin: 0px 20px;
    margin-bottom: 15px;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(-1px);
}

.whatsapp-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.whatsapp-text {
    flex: 1;
    text-align: left;
}

.whatsapp-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.whatsapp-subtitle {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.2;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .popup-container {
        margin: 20px;
        padding: 15px;
        border-radius: 0;
    }
    
    .popup-title {
        font-size: 16px;
    }
    
    .treasure-chest {
        font-size: 60px;
    }
    
    .package-item {
        gap: 10px;
    }
    
    .package-icon {
        font-size: 20px;
        width: 30px;
    }
    
    .whatsapp-btn {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .whatsapp-icon {
        font-size: 24px;
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-title {
        font-size: 15px;
    }
    
    .whatsapp-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 700px) {
    .close-btn{
    }
}