.ad-manager-ad {
    margin: 10px 0;
    position: relative;
}

.ad-manager-ad img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ad-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.ad-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ad-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ad-video-container:hover .ad-video-overlay {
    opacity: 1;
}

.ad-video-overlay .button {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.ad-video-overlay .button:hover {
    background: #005a87;
}

/* A/B Test styling */
.ab-test-winner {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.winner {
    background-color: #f0fff0 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .ad-manager-ad {
        margin: 5px 0;
    }
    
    .ad-video-overlay .button {
        padding: 8px 16px;
        font-size: 14px;
    }
}