/* Companion Ad - Exit Animation triggered by JS */


.ls-companion-ad h3 {
    color: #333;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.ls-companion-ad p {
    color: #666;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
}

.ls-ad-brand-logo {
    max-height: 30px;
    width: auto;
    margin-top: 10px;
}

.ls-ad-content {
    position: relative;
    z-index: 2;
}

.ls-ad-image {
    width: 100%;
    height: auto;
    margin: 8px 0;
    border-radius: 4px;
}

.ls-ad-cta {
    display: inline-block;
    padding: 6px 12px;
    background: #007bff;
    color: var(--ls-text-white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.ls-ad-cta:hover {
    background: #0056b3;
}

.ls-ad-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--ls-text-white);
    font-size: 20px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.ls-companion-ad .ls-ad-close {
    color: #333;
}

.ls-ad-close:hover {
    opacity: 1;
}

/* Countdown styling */
.ls-ad-countdown {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--ls-text-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Video Player Container */
.ls-container {
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ls-ad-skip {
        bottom: 30px;
        right: 10px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .ls-companion-ad {
        margin: 5px 0;
        padding: 10px;
    }
}

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

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

@keyframes slideInRight {
    from {
        transform: translateX(120%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(120%);
    }
}

@keyframes fadeInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}