.luxe-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: .4s cubic-bezier(.4, 0, .2, 1);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-sizing: border-box
}

.luxe-popup-overlay.active {
    opacity: 1;
    visibility: visible
}

.luxe-popup-container {
    background: linear-gradient(135deg, #fff 0, #fdf2f4 50%, #fce7ed 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 32px 64px rgba(163, 30, 58, .12), 0 16px 32px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
    transform: scale(.8) translateY(20px);
    transition: .5s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(232, 180, 190, .4);
}

.luxe-popup-overlay.active .luxe-popup-container {
    transform: scale(1) translateY(0)
}

.luxe-image-section {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 400px;
}

/* Background image: change src in home4.blade.php to your image */
.luxe-image-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.luxe-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0, transparent 40%, rgba(0, 0, 0, .5) 100%);
    z-index: 1;
    pointer-events: none;
}

.luxe-image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%
}

.luxe-popup-image {
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    margin-bottom: 25px;
    transition: transform .3s;
    animation: 6s ease-in-out infinite float
}

.luxe-popup-image:hover {
    transform: translateY(-5px) scale(1.02)
}

.luxe-image-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
    color: #fff
}

.luxe-image-subtitle {
    font-size: 14px;
    opacity: .9;
    font-weight: 500;
    line-height: 1.4;
    color: #fff
}

.luxe-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 35px 30px;
    position: relative;
    overflow-y: auto;
    max-height: 100%;
}

/* Valentine theme – right panel */
.luxe-content-section-valentine {
    background: linear-gradient(180deg, #fff 0, #fef7f8 30%, #fdf2f4 100%);
}

.luxe-popup-header {
    text-align: center;
    margin-bottom: 25px
}

.luxe-popup-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -.5px;
    background: linear-gradient(135deg, #0a2b62 0, #e94132 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.luxe-content-section-valentine .luxe-popup-title {
    background: linear-gradient(135deg, #8b1538 0, #c41e3a 50%, #d4145a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.luxe-popup-subtitle {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
}

.luxe-content-section-valentine .luxe-popup-subtitle {
    color: #9f4d5c;
}

.luxe-popup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.luxe-discount-badge {
    display: inline-block;
    align-items: center;
    gap: 8px;
    background: linear-gradient(120deg, rgba(233, 65, 50, .15) 0, rgba(233, 65, 50, .25) 100%);
    color: #e94132;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
    line-height: 1.5
}

.luxe-discount-badge i {
    color: #e94132;
    margin-right: 6px;
}

.luxe-discount-badge-valentine {
    background: linear-gradient(120deg, rgba(196, 30, 58, .12) 0, rgba(212, 20, 90, .2) 100%);
    color: #a31e3a;
}

.luxe-discount-badge-valentine i {
    color: #c41e3a;
    margin-right: 6px;
}

.luxe-popup-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.luxe-content-section-valentine .luxe-popup-text {
    color: #6b4a52;
}

.luxe-form-group {
    margin-bottom: 20px;
    position: relative
}

.luxe-email-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: .3s;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05)
}

.luxe-email-input:focus {
    border-color: #0a2b62;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(10, 43, 98, .1), 0 4px 12px rgba(0, 0, 0, .1);
    transform: translateY(-1px);
}

.luxe-content-section-valentine .luxe-email-input {
    border-color: #e8c4cc;
}

.luxe-content-section-valentine .luxe-email-input:focus {
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, .15), 0 4px 12px rgba(0, 0, 0, .08);
}

.luxe-email-input::placeholder {
    color: #94a3b8
}

.luxe-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.luxe-primary-btn,
.luxe-secondary-btn {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    transition: .3s
}

.luxe-primary-btn {
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0a2b62 0, #0d3570 100%);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    position: relative;
    overflow: hidden
}

.luxe-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s
}

.luxe-primary-btn:hover::before {
    left: 100%
}

.luxe-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 43, 98, .3), 0 4px 8px rgba(10, 43, 98, .2);
}

.luxe-primary-btn-valentine {
    background: linear-gradient(135deg, #8b1538 0, #a31e3a 50%, #c41e3a 100%);
}

.luxe-primary-btn-valentine:hover {
    box-shadow: 0 8px 20px rgba(163, 30, 58, .35), 0 4px 8px rgba(196, 30, 58, .25);
}

.luxe-secondary-btn {
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: 0 0;
    color: #64748b;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid #e2e8f0
}

.luxe-secondary-btn:hover {
    border-color: #0a2b62;
    color: #0a2b62;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.luxe-secondary-btn-valentine {
    border-color: #e8c4cc;
    color: #9f4d5c;
}

.luxe-secondary-btn-valentine:hover {
    border-color: #c41e3a;
    color: #a31e3a;
    box-shadow: 0 4px 12px rgba(196, 30, 58, .12);
}

.luxe-footer-text {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    text-align: center
}

.luxe-footer-text a {
    color: #0a2b62;
    text-decoration: none;
    font-weight: 600;
}

.luxe-content-section-valentine .luxe-footer-text {
    border-top-color: #f5dde2;
    color: #8a6a72;
}

.luxe-content-section-valentine .luxe-footer-text a {
    color: #a31e3a;
}

.luxe-footer-text a:hover {
    text-decoration: underline
}

.luxe-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2b62;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .1);
    border: 1px solid rgba(255, 255, 255, .3);
}

.luxe-close-button:hover {
    background: #e94132;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.luxe-popup-container .luxe-close-button:hover {
    background: #a31e3a;
    color: #fff;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%)
    }

    100% {
        transform: rotate(45deg) translateX(100%)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@media (max-width:968px) {
    .luxe-popup-container {
        max-width: 800px
    }

    .luxe-image-section {
        padding: 30px 25px;
        min-height: 350px
    }

    .luxe-popup-image {
        max-width: 250px
    }

    .luxe-image-title {
        font-size: 20px
    }

    .luxe-content-section {
        padding: 30px 25px
    }

    .luxe-popup-title {
        font-size: 24px
    }
}

@media (max-width:768px) {
    .luxe-popup-overlay {
        padding: 15px
    }

    .luxe-image-section {
        display: none
    }

    .luxe-popup-container {
        max-width: 500px;
        max-height: 85vh
    }

    .luxe-content-section {
        padding: 30px 25px;
        width: 100%
    }

    .luxe-popup-title {
        font-size: 22px
    }

    .luxe-popup-subtitle {
        font-size: 15px
    }

    .luxe-discount-badge {
        font-size: 16px;
        padding: 5px 12px
    }
}

@media (max-width:480px) {
    .luxe-popup-overlay {
        padding: 10px
    }

    .luxe-popup-container {
        width: 100%;
        max-height: 90vh;
        border-radius: 16px
    }

    .luxe-content-section {
        padding: 25px 20px
    }

    .luxe-popup-title {
        font-size: 20px
    }

    .luxe-discount-badge {
        font-size: 15px;
        padding: 5px 10px
    }

    .luxe-email-input,
    .luxe-primary-btn,
    .luxe-secondary-btn {
        padding: 14px 18px;
        font-size: 14px
    }

    .luxe-close-button {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 14px
    }

    body {
        overflow-x: hidden
    }
}

@media (max-width:360px) {
    .luxe-content-section {
        padding: 20px 15px
    }

    .luxe-popup-title {
        font-size: 18px
    }

    .luxe-discount-badge {
        font-size: 14px;
        padding: 4px 10px
    }

    .luxe-popup-text {
        font-size: 14px
    }
}