/* ========================================
   KlipTools Ad Slots — Dark Theme
   ======================================== */

/* Base ad slot */
.ad-slot {
    width: 100%;
    max-width: 728px;
    margin: 15px auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .ad-slot {
        max-width: 320px;
        min-height: 50px;
    }
}

/* ========================================
   DOWNLOAD INTERSTITIAL OVERLAY
   ======================================== */

#kt-interstitial {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#kt-interstitial.show {
    display: flex;
}

.kt-interstitial-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.kt-interstitial-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.2);
}

.kt-interstitial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.kt-interstitial-icon {
    font-size: 28px;
}

.kt-interstitial-text {
    color: #e0e0e0;
    font-size: 15px;
}

.kt-interstitial-text strong {
    color: #a855f7;
    font-size: 20px;
}

/* Ad zone inside interstitial */
.kt-interstitial-ad-zone {
    width: 300px;
    height: 250px;
    margin: 15px auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Progress bar */
.kt-interstitial-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 15px 0 10px;
    overflow: hidden;
}

.kt-interstitial-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #a855f7, #c084fc);
    border-radius: 2px;
    transition: width 0.2s linear;
}

/* Skip link */
.kt-interstitial-skip {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.kt-interstitial-skip:hover {
    color: #a855f7;
}

@media (max-width: 480px) {
    .kt-interstitial-content {
        padding: 20px 15px;
    }
    .kt-interstitial-ad-zone {
        width: 250px;
        height: 200px;
    }
}
