/* Offer Popup Styles */
.offer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-overlay.show {
    display: block;
    opacity: 1;
}

.offer-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    background: linear-gradient(135deg, #006666 0%, #008B8B 100%);
    color: white;
    text-align: center;
    padding: 25px 20px;
    font-weight: 500;
    font-size: 18px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
    border-radius: 10px;
}

.offer-banner.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.offer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    padding-bottom: 15px;
}

.offer-image {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-text {
    margin: 15px 0;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
}

.action-button {
    background-color: #FFD700;
    color: #006666;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
    white-space: nowrap;
}

.action-button:hover {
    background-color: white;
    transform: scale(1.05);
}

.close-offer {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-offer:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: #FFD700;
}

.offer-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #FFD700;
    border-radius: 2px;
    transition: width linear;
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .offer-banner {
        width: 95%;
        padding: 20px 15px;
    }
    
    .offer-text {
        font-size: 18px;
    }
    
    .action-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .offer-banner {
        font-size: 16px;
        padding: 15px 10px;
    }
    
    .offer-image {
        width: 60px;
        height: 60px;
    }
    
    .offer-text {
        font-size: 16px;
    }
    
    .action-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}