.vdot-ad-container {
    margin: 20px auto;
    text-align: center;
    overflow: hidden;
}

.vdot-ad-container > * {
    max-width: 100%;
}

.vdot-ad-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 5px;
}

.vdot-sticky-ad {
    position: fixed;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 10px;
    text-align: center;
}

.vdot-sticky-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
}

.vdot-sticky-top {
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
}

.vdot-sticky-sidebar-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.vdot-sticky-sidebar-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.vdot-sticky-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #666;
    z-index: 1;
}

.vdot-sticky-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Animations */
.vdot-animation-fade {
    animation: vdotFadeIn 0.5s ease;
}

.vdot-animation-slide {
    animation: vdotSlideIn 0.5s ease;
}

.vdot-animation-zoom {
    animation: vdotZoomIn 0.3s ease;
}

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

@keyframes vdotSlideIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes vdotZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Popup */
.vdot-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdot-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.vdot-popup-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1;
}

.vdot-popup-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    cursor: pointer;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    color: #666;
    z-index: 2;
}

/* Ad blocker message */
.vdot-adblocker-message {
    padding: 20px;
    background: #fff8e5;
    border: 1px solid #f0dca0;
    border-radius: 4px;
    text-align: center;
    margin: 10px 0;
}

.vdot-adblocker-message p {
    margin: 0;
    font-size: 14px;
    color: #8a6d3b;
}

/* Video ads */
.vdot-video-ad {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.vdot-video-ad iframe,
.vdot-video-ad video {
    width: 100%;
    height: auto;
}

.vdot-video-youtube,
.vdot-video-vimeo {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.vdot-video-youtube iframe,
.vdot-video-vimeo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gutenberg blocks */
.vdot-gutenberg-ad,
.vdot-gutenberg-ad-group,
.vdot-gutenberg-banner {
    margin: 20px 0;
    text-align: center;
}

/* Elementor */
.vdot-elementor-banner {
    text-align: center;
}

.vdot-elementor-banner img {
    height: auto;
}

/* Lazy load */
.vdot-lazy-ad {
    min-height: 1px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .vdot-sticky-ad {
        padding: 5px;
    }
    .vdot-popup-content {
        padding: 15px;
        max-width: 95%;
    }
}
