/**
 * Promotional Ads Styles
 *
 * @package LinkedUpDating
 * @since 1.10.0
 */

/* Ad Container */
.lud-promotional-ad-container {
    width: 100%;
    margin: 20px 0;
}

/* Ad Card */
.lud-promotional-ad {
    border-radius: 16px;
    padding: 32px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lud-promotional-ad:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Ad Content */
.lud-ad-content {
    position: relative;
    z-index: 1;
}

/* Icon */
.lud-ad-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    fill: currentColor;
    animation: ludFadeInDown 0.5s ease;
}

/* Headline */
.lud-ad-headline {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px;
    animation: ludFadeIn 0.5s ease 0.1s both;
}

/* Subheadline */
.lud-ad-subheadline {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
    animation: ludFadeIn 0.5s ease 0.2s both;
}

/* Features List */
.lud-ad-features {
    text-align: left;
    font-size: 14px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    animation: ludFadeInUp 0.5s ease 0.3s both;
}

.lud-ad-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.lud-ad-checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 8px;
    margin-top: 2px;
    fill: currentColor;
}

/* CTA Button */
.lud-ad-cta-button {
    display: block;
    width: 100%;
    background: #ffffff;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    animation: ludFadeInUp 0.5s ease 0.4s both;
}

.lud-ad-cta-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
    text-decoration: none;
}

.lud-ad-cta-button:active {
    transform: scale(0.98);
}

/* Price Text */
.lud-ad-price {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 16px 0 0;
    animation: ludFadeIn 0.5s ease 0.5s both;
}

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

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

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

/* Image Ad Styles */
.lud-image-ad-container {
    width: 100%;
    margin: 20px 0;
}

.lud-image-ad-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.lud-image-ad-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.lud-image-ad-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    animation: ludFadeIn 0.5s ease;
}

.lud-image-ad-link .lud-image-ad-img {
    border-radius: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .lud-promotional-ad {
        padding: 24px;
    }

    .lud-ad-icon {
        width: 48px;
        height: 48px;
    }

    .lud-ad-headline {
        font-size: 20px;
    }

    .lud-ad-subheadline {
        font-size: 14px;
    }

    .lud-ad-features {
        font-size: 13px;
    }
}

/* Sidebar Specific Styles */
.sidebar .lud-promotional-ad-container {
    position: sticky;
    top: 80px;
}

/* Widget Area Styles */
.widget .lud-promotional-ad-container {
    margin: 0;
}

.widget .lud-promotional-ad {
    padding: 24px;
}
