/* ============================================
   Interactive Promo Widget - Base Styles
   ============================================ */

.unlockafe-interactive-promo {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.unlockafe-interactive-promo .promo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.unlockafe-interactive-promo .promo-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.unlockafe-interactive-promo .promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.unlockafe-interactive-promo .promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.4s ease, background 0.4s ease;
}

.unlockafe-interactive-promo .promo-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.unlockafe-interactive-promo .promo-title {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.unlockafe-interactive-promo .promo-description {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    max-width: 600px;
}

.unlockafe-interactive-promo .promo-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s, background 0.3s ease, color 0.3s ease;
}

.unlockafe-interactive-promo .promo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Layout 1 - Overlay Hover
   ============================================ */

.unlockafe-promo-layout-1 .promo-overlay {
    opacity: 0;
}

.unlockafe-promo-layout-1:hover .promo-overlay {
    opacity: 1;
}

.unlockafe-promo-layout-1:hover .promo-image {
    transform: scale(1.1);
}

.unlockafe-promo-layout-1:hover .promo-description,
.unlockafe-promo-layout-1:hover .promo-button {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Layout 2 - Slide Up
   ============================================ */

.unlockafe-promo-layout-2 .promo-content {
    justify-content: flex-end;
    padding-bottom: 3rem;
}

.unlockafe-promo-layout-2 .promo-overlay {
    opacity: 0.3;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.unlockafe-promo-layout-2:hover .promo-overlay {
    transform: translateY(0);
    opacity: 0.8;
}

.unlockafe-promo-layout-2:hover .promo-image {
    transform: scale(1.05);
}

.unlockafe-promo-layout-2:hover .promo-title {
    transform: translateY(-10px);
}

.unlockafe-promo-layout-2:hover .promo-description,
.unlockafe-promo-layout-2:hover .promo-button {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Layout 3 - Zoom & Reveal
   ============================================ */

.unlockafe-promo-layout-3 .promo-overlay {
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.unlockafe-promo-layout-3:hover .promo-overlay {
    opacity: 1;
    clip-path: circle(150% at 50% 50%);
}

.unlockafe-promo-layout-3:hover .promo-image {
    transform: scale(1.15) rotate(2deg);
}

.unlockafe-promo-layout-3 .promo-title {
    transform: scale(0.8);
    opacity: 0.7;
}

.unlockafe-promo-layout-3:hover .promo-title {
    transform: scale(1);
    opacity: 1;
}

.unlockafe-promo-layout-3:hover .promo-description,
.unlockafe-promo-layout-3:hover .promo-button {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ============================================
   Layout 4 - Split Reveal
   ============================================ */

.unlockafe-promo-layout-4 .promo-overlay {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.unlockafe-promo-layout-4:hover .promo-overlay {
    opacity: 1;
    transform: scaleX(1);
}

.unlockafe-promo-layout-4 .promo-content {
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.unlockafe-promo-layout-4:hover .promo-content {
    transform: translateX(0);
}

.unlockafe-promo-layout-4:hover .promo-image {
    transform: scale(1.1) translateX(20px);
}

.unlockafe-promo-layout-4:hover .promo-description,
.unlockafe-promo-layout-4:hover .promo-button {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Layout 5 - 3D Tilt
   ============================================ */

.unlockafe-promo-layout-5 {
    perspective: 1000px;
}

.unlockafe-promo-layout-5 .promo-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.unlockafe-promo-layout-5:hover .promo-wrapper {
    transform: rotateY(5deg) rotateX(-5deg);
}

.unlockafe-promo-layout-5 .promo-overlay {
    opacity: 0;
    transform: translateZ(0);
    transition: opacity 0.4s ease;
}

.unlockafe-promo-layout-5:hover .promo-overlay {
    opacity: 1;
}

.unlockafe-promo-layout-5:hover .promo-image {
    transform: scale(1.1) translateZ(20px);
}

.unlockafe-promo-layout-5 .promo-content {
    transform: translateZ(30px);
}

.unlockafe-promo-layout-5:hover .promo-title {
    transform: translateZ(40px) scale(1.05);
}

.unlockafe-promo-layout-5:hover .promo-description,
.unlockafe-promo-layout-5:hover .promo-button {
    opacity: 1;
    transform: translateY(0) translateZ(30px);
}

/* ============================================
   Responsive Design - Tablet (≤768px)
   ============================================ */

@media (max-width: 768px) {
    .unlockafe-interactive-promo .promo-content {
        padding: 1.5rem;
    }

    .unlockafe-interactive-promo .promo-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .unlockafe-interactive-promo .promo-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .unlockafe-interactive-promo .promo-button {
        padding: 0.625rem 1.75rem;
        font-size: 0.95rem;
    }

    .unlockafe-promo-layout-2 .promo-content {
        padding-bottom: 2rem;
    }
}

/* ============================================
   Responsive Design - Mobile (≤480px)
   ============================================ */

@media (max-width: 480px) {
    .unlockafe-interactive-promo .promo-content {
        padding: 1rem;
    }

    .unlockafe-interactive-promo .promo-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .unlockafe-interactive-promo .promo-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .unlockafe-interactive-promo .promo-button {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .unlockafe-promo-layout-2 .promo-content {
        padding-bottom: 1.5rem;
    }

    .unlockafe-promo-layout-4 .promo-content {
        transform: translateY(100%);
    }

    .unlockafe-promo-layout-4:hover .promo-content {
        transform: translateY(0);
    }

    .unlockafe-promo-layout-5:hover .promo-wrapper {
        transform: rotateY(2deg) rotateX(-2deg);
    }
}

/* ============================================
   Responsive Design - Extra Small (≤360px)
   ============================================ */

@media (max-width: 360px) {
    .unlockafe-interactive-promo .promo-content {
        padding: 0.75rem;
    }

    .unlockafe-interactive-promo .promo-title {
        font-size: 1.25rem;
    }

    .unlockafe-interactive-promo .promo-description {
        font-size: 0.85rem;
    }

    .unlockafe-interactive-promo .promo-button {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   Touch Device Optimizations
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    .unlockafe-interactive-promo .promo-overlay {
        opacity: 0.7;
    }

    .unlockafe-interactive-promo .promo-description,
    .unlockafe-interactive-promo .promo-button {
        opacity: 1;
        transform: translateY(0);
    }

    .unlockafe-interactive-promo .promo-image {
        transform: scale(1.05);
    }
}





