/**
 * File: nfs-targeted-ads.css
 * Description: TARGETED ADS ENGINE - Styles
 * Version: 30.0.1
 */

/* ============================================
 * ADS CONTAINER
 * ============================================ */

.nfs-ad-container {
    position: relative;
    display: block;
    max-width: 100%;
    margin: 20px 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nfs-ad-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.nfs-ad-label {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 12px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
 * ADS CONTENT
 * ============================================ */

.nfs-ad-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

.nfs-ad-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.nfs-ad-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    font-size: 48px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.nfs-ad-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin: 0;
}

.nfs-ad-message {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.nfs-ad-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.nfs-ad-cta {
    display: inline-block;
    padding: 10px 24px;
    background: #6366f1;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nfs-ad-cta:hover {
    background: #4f46e5;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nfs-ad-dismiss {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nfs-ad-dismiss:hover {
    background: #f8fafc;
    border-color: #d1d5db;
}

/* ============================================
 * AD SLOTS
 * ============================================ */

.nfs-ad-slot-top {
    margin-top: 10px;
}

.nfs-ad-slot-bottom {
    margin-bottom: 10px;
}

.nfs-ad-slot-sidebar {
    margin: 20px 0;
}

.nfs-ad-slot-inline {
    margin: 20px 0;
}

/* ============================================
 * RESPONSIVE
 * ============================================ */

@media (max-width: 768px) {
    .nfs-ad-content {
        padding: 15px;
    }
    
    .nfs-ad-title {
        font-size: 16px;
    }
    
    .nfs-ad-cta {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (prefers-color-scheme: dark) {
    .nfs-ad-container {
        background: #1a1a2e;
        border-color: rgba(255, 255, 255, 0.06);
    }
    
    .nfs-ad-title {
        color: #e8e8e8;
    }
    
    .nfs-ad-message {
        color: #9ca3af;
    }
    
    .nfs-ad-dismiss {
        border-color: rgba(255, 255, 255, 0.1);
        color: #9ca3af;
    }
    
    .nfs-ad-dismiss:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}