.promotion-partner {
    width: 100%;
}

.ads-text {
    color: #5f6368;
    font-size: 10px;
}

.promotion-slider {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .mobile-ads {
        display: none;
    }
}

/* Overlay */
.promotion-popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.25s ease-in-out;
    display: none;
}

.promotion-popup-overlay.show {
    display: flex;
}

/* Ad Popup Container */
.promotion-popup-content {
    background: #fff;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 3 / 2;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 5px;
}

/* Label wrapper */
.ad-popup-label-wrapper {
    background: #f7f7f7;
    padding: 6px 16px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.ad-popup-label {
    color: #5f6368;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ad body */
.promotion-popup-body {
    padding: 12px 16px;
    background-color: #fff;
}

.promotion-popup-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.promotion-popup-image:hover {
    transform: scale(1.01);
}

/* Close button area */
.promotion-popup-close-wrapper {
    text-align: right;
    padding: 10px 16px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.promotion-popup-close-text {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.promotion-popup-close-text:hover {
    color: #000;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .promotion-popup-content {
        max-width: 90%;
    }

    .promotion-popup-close-text {
        font-size: 12px;
    }
}