/**
 * Shyamavrindavan Influencer Meet - Landing Page Event Hero Pop-up
 * Scope: .svm-landing-popup-*
 */

/* Lock document scrolling when popup is open */
body.svm-popup-open {
    overflow: hidden !important;
}

/* Fullscreen Overlay Container */
.svm-landing-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.svm-landing-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* Darkened Luxury Glassmorphism Backdrop */
.svm-landing-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(8, 35, 21, 0.88) 0%, rgba(3, 17, 9, 0.96) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

/* Modal Inner Container */
.svm-landing-popup-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svm-landing-popup-overlay.is-active .svm-landing-popup-container {
    transform: scale(1) translateY(0);
}

/* The Main Pop-up Card - STRICT NO SCROLL */
.svm-landing-popup-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden !important;
    overflow-y: hidden !important;
    max-height: none !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(235, 217, 181, 0.4);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Visual Strip at Top - Balanced Height */
.svm-popup-visual-wrap {
    position: relative;
    width: 100%;
    height: 165px;
    background: #061c10;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 22px 22px 16px 16px;
}

.svm-popup-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block;
    transform: scale(1.02);
    transition: transform 6s ease-out;
}

.svm-landing-popup-overlay.is-active .svm-popup-hero-img {
    transform: scale(1.08);
}

.svm-popup-visual-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 35, 21, 0.35) 0%, rgba(8, 35, 21, 0.05) 45%, rgba(8, 35, 21, 0.88) 100%);
    pointer-events: none;
}

/* Floating Badges on Image (Top-Left) */
.svm-popup-floating-tags {
    position: absolute;
    top: 11px;
    left: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.svm-popup-tag-vip {
    background: rgba(10, 35, 23, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fed74b;
    border: 1px solid rgba(254, 215, 75, 0.45);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3.5px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.svm-popup-tag-vip .svm-tag-icon-svg {
    color: #fed74b;
    flex-shrink: 0;
}

.svm-popup-tag-free {
    background: rgba(16, 68, 44, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #86efac;
    border: 1px solid rgba(134, 239, 172, 0.45);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3.5px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.svm-popup-tag-free .svm-tag-icon-svg {
    color: #86efac;
    flex-shrink: 0;
}

/* White Circular Close Button (Top-Right inside Hero Image) */
.svm-landing-popup-close {
    position: absolute;
    top: 11px;
    right: 13px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    padding: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.svm-landing-popup-close:hover {
    background: #f8fafc;
    color: #0f172a;
    transform: scale(1.08);
}

/* Date Pill in Visual Strip - Aligned to Left Side like Above Line Tags */
.svm-popup-date-pill {
    position: absolute;
    bottom: 10px;
    left: 13px;
    right: auto;
    margin: 0;
    width: fit-content;
    max-width: calc(100% - 26px);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(28, 20, 26, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    z-index: 3;
    box-sizing: border-box;
}

.svm-popup-date-pill svg {
    color: #fed74b;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* Content Details - Balanced, Breathable Spacing with Zero Scroll */
.svm-popup-content-wrap {
    padding: 12px 16px 11px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    z-index: 2;
}

.svm-popup-eyebrow {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.15px;
    color: #9c783c;
    text-transform: uppercase;
    margin-bottom: 3px;
    display: block;
}

.svm-popup-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17.5px;
    font-weight: 800;
    color: #082315;
    line-height: 1.22;
    margin: 0 0 4px;
    letter-spacing: -0.2px;
}

.svm-popup-desc {
    font-size: 11.2px;
    line-height: 1.38;
    color: #5a6b60;
    margin: 0 0 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2x2 Features Grid */
.svm-popup-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px;
    margin-bottom: 11px;
}

.svm-popup-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fbfaf7;
    border: 1px solid #eee8dc;
    padding: 6.5px 8px;
    border-radius: 12px;
    box-sizing: border-box;
}

.svm-popup-feature-item.svm-feature-span-full,
.svm-popup-features-grid > .svm-popup-feature-item:nth-child(3):last-child {
    grid-column: 1 / -1 !important;
    justify-content: center;
}

/* Circular Badges for Feature Icons */
.svm-feature-icon-circle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svm-feature-icon-circle svg {
    width: 15px;
    height: 15px;
}

.svm-badge-rose {
    background: #fee2e2;
    color: #e11d48;
}

.svm-badge-emerald {
    background: #dcfce7;
    color: #16a34a;
}

.svm-badge-amber {
    background: #fef3c7;
    color: #d97706;
}

.svm-badge-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.svm-feature-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.svm-feature-text strong {
    font-size: 10.8px;
    font-weight: 700;
    color: #082315;
    line-height: 1.18;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svm-feature-text small {
    font-size: 9.2px;
    color: #728277;
    line-height: 1.12;
    margin-top: 1px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Actions Stack - Centered Text & Pinned Right Arrow */
.svm-popup-actions-row {
    display: flex;
    flex-direction: column !important;
    gap: 6px;
    margin-bottom: 13px !important;
}

.svm-popup-btn-primary {
    width: 100%;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: linear-gradient(135deg, #0e3d29 0%, #08281b 100%);
    color: #ffffff;
    border: 1.5px solid #0e3d29;
    border-radius: 12px;
    padding: 9.5px 14px;
    font-size: 12.8px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(14, 61, 41, 0.25);
    transition: all 0.2s ease;
}

.svm-popup-btn-primary .svm-btn-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
}

.svm-popup-btn-primary .svm-btn-content .svm-btn-icon {
    color: #fed74b;
    flex-shrink: 0;
}

.svm-popup-btn-primary .svm-btn-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.svm-popup-btn-primary:hover {
    background: #08281b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(14, 61, 41, 0.32);
}

.svm-popup-btn-primary:hover .svm-btn-arrow {
    transform: translateY(-50%) translateX(3px);
}

.svm-popup-btn-secondary {
    width: 100%;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: #ffffff;
    color: #0e3d29;
    border: 1.5px solid #0e3d29;
    border-radius: 12px;
    padding: 8.5px 14px;
    font-size: 12.2px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.svm-popup-btn-secondary .svm-btn-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
}

.svm-popup-btn-secondary .svm-btn-content .svm-btn-icon {
    color: #0e3d29;
    flex-shrink: 0;
}

.svm-popup-btn-secondary .svm-btn-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0e3d29;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.svm-popup-btn-secondary:hover {
    background: #f4f8f5;
    color: #08281b;
    transform: translateY(-1px);
}

.svm-popup-btn-secondary:hover .svm-btn-arrow {
    transform: translateY(-50%) translateX(3px);
}

/* Footnote & Leaf Area */
.svm-popup-footnote-wrap {
    border-top: 1px solid #ebe5dc;
    padding-top: 9px !important;
    padding-bottom: 10px !important;
    position: relative;
    z-index: 2;
}

.svm-popup-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    font-size: 9.2px;
    color: #728277;
    line-height: 1.35;
    padding: 0 16px;
}

.svm-popup-footnote .svm-lock-icon {
    color: #556257;
    flex-shrink: 0;
    margin-top: 1px;
}

.svm-footnote-br {
    display: block;
}

/* Botanical Corner Leaf Illustrations */
.svm-popup-botanical {
    position: absolute;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.95;
    line-height: 0;
}

.svm-botanical-bl {
    left: 0;
    bottom: 0;
}

.svm-botanical-br {
    right: 0;
    bottom: 0;
}

.svm-popup-botanical svg {
    width: 42px;
    height: 36px;
    display: block;
}

/* Responsive adjustments for Mobile - STRICT NO SCROLL */
@media (max-width: 580px) {
    .svm-landing-popup-overlay {
        padding: 6px 4px;
        align-items: center;
    }

    .svm-landing-popup-container {
        max-width: 390px;
        width: 100%;
        max-height: none !important;
    }

    .svm-landing-popup-card {
        border-radius: 20px;
        max-height: none !important;
        overflow: hidden !important;
        overflow-y: hidden !important;
    }

    .svm-popup-visual-wrap {
        height: 155px !important;
        border-radius: 20px 20px 14px 14px;
    }

    .svm-popup-floating-tags {
        top: 10px !important;
        left: 12px !important;
    }

    .svm-popup-date-pill {
        bottom: 9px !important;
        left: 12px !important;
        right: auto !important;
        margin: 0 !important;
        padding: 4px 12px !important;
        font-size: 10.5px !important;
    }

    .svm-popup-content-wrap {
        padding: 10px 14px 9px !important;
    }

    .svm-popup-title {
        font-size: 16.5px !important;
    }

    .svm-popup-desc {
        font-size: 10.8px !important;
        margin-bottom: 9px !important;
    }

    .svm-popup-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 9px !important;
    }

    .svm-popup-feature-item {
        padding: 5px 7px !important;
        gap: 7px !important;
    }

    .svm-feature-icon-circle {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
    }

    .svm-feature-text strong {
        font-size: 10.2px !important;
    }

    .svm-feature-text small {
        font-size: 8.8px !important;
    }

    .svm-popup-actions-row {
        gap: 5px !important;
        margin-bottom: 11px !important;
    }

    .svm-popup-btn-primary {
        padding: 8.5px 12px !important;
        font-size: 12.2px !important;
    }

    .svm-popup-btn-secondary {
        padding: 8px 12px !important;
        font-size: 11.8px !important;
    }

    .svm-popup-footnote-wrap {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .svm-popup-footnote {
        font-size: 8.8px !important;
    }

    .svm-popup-botanical svg {
        width: 38px !important;
        height: 32px !important;
    }
}

/* Extra Small Phones (320px - 360px) */
@media (max-width: 360px) {
    .svm-popup-visual-wrap {
        height: 135px !important;
    }

    .svm-popup-floating-tags {
        top: 8px !important;
        left: 10px !important;
    }

    .svm-popup-date-pill {
        bottom: 7px !important;
        left: 10px !important;
        font-size: 9.8px !important;
        padding: 3.5px 10px !important;
    }

    .svm-popup-content-wrap {
        padding: 8px 10px 7px !important;
    }

    .svm-popup-title {
        font-size: 14.8px !important;
    }

    .svm-popup-desc {
        font-size: 10px !important;
        margin-bottom: 7px !important;
    }

    .svm-popup-features-grid {
        gap: 4px !important;
        margin-bottom: 7px !important;
    }

    .svm-popup-feature-item {
        padding: 4.5px 6px !important;
    }

    .svm-feature-icon-circle {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
    }

    .svm-feature-text strong {
        font-size: 9.2px !important;
    }

    .svm-feature-text small {
        font-size: 8px !important;
    }

    .svm-popup-actions-row {
        gap: 4px !important;
        margin-bottom: 9px !important;
    }

    .svm-popup-btn-primary {
        padding: 7.5px 10px !important;
        font-size: 11.2px !important;
    }

    .svm-popup-btn-secondary {
        padding: 7px 10px !important;
        font-size: 10.8px !important;
    }

    .svm-popup-footnote-wrap {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .svm-popup-footnote {
        font-size: 8px !important;
    }

    .svm-popup-botanical svg {
        width: 32px !important;
        height: 28px !important;
    }
}

/* =========================================================
   Desktop & Large Screens (min-width: 768px)
   Enhanced Size, Proportions & Luxury Typography for Desktop
   (Mobile styles remain 100% untouched)
   ========================================================= */
@media (min-width: 768px) {
    .svm-landing-popup-overlay {
        padding: 24px 16px;
    }

    /* Spacious 580px modal container on desktop */
    .svm-landing-popup-container {
        max-width: 580px;
    }

    .svm-landing-popup-card {
        border-radius: 26px;
        box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(235, 217, 181, 0.45);
    }

    /* Grand Hero Visual Banner */
    .svm-popup-visual-wrap {
        height: 230px;
        border-radius: 26px 26px 18px 18px;
    }

    .svm-popup-floating-tags {
        top: 16px;
        left: 18px;
        gap: 8px;
    }

    .svm-popup-tag-vip,
    .svm-popup-tag-free {
        font-size: 11px;
        padding: 5px 12px;
        letter-spacing: 0.6px;
    }

    .svm-popup-tag-vip .svm-tag-icon-svg,
    .svm-popup-tag-free .svm-tag-icon-svg {
        width: 14px;
        height: 14px;
    }

    /* Large White Close Button */
    .svm-landing-popup-close {
        top: 16px;
        right: 18px;
        width: 38px;
        height: 38px;
    }

    .svm-landing-popup-close svg {
        width: 20px;
        height: 20px;
    }

    /* Grand Date Pill */
    .svm-popup-date-pill {
        bottom: 16px;
        left: 18px;
        padding: 7px 16px;
        font-size: 12.5px;
        gap: 8px;
    }

    .svm-popup-date-pill svg {
        width: 16px;
        height: 16px;
    }

    /* Roomy Content Area */
    .svm-popup-content-wrap {
        padding: 20px 24px 16px;
    }

    .svm-popup-eyebrow {
        font-size: 11px;
        letter-spacing: 1.4px;
        margin-bottom: 6px;
    }

    .svm-popup-title {
        font-size: 24px;
        line-height: 1.25;
        margin: 0 0 6px;
    }

    .svm-popup-desc {
        font-size: 13.5px;
        line-height: 1.48;
        margin: 0 0 15px;
        -webkit-line-clamp: 3;
    }

    /* 2x2 Features Grid */
    .svm-popup-features-grid {
        gap: 10px;
        margin-bottom: 16px;
    }

    .svm-popup-feature-item {
        padding: 9px 12px;
        gap: 11px;
        border-radius: 14px;
    }

    .svm-feature-icon-circle {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .svm-feature-icon-circle svg {
        width: 19px;
        height: 19px;
    }

    .svm-feature-text strong {
        font-size: 12.5px;
        line-height: 1.22;
    }

    .svm-feature-text small {
        font-size: 10.8px;
        line-height: 1.2;
        margin-top: 2px;
    }

    /* Full Width Luxury Action Buttons */
    .svm-popup-actions-row {
        gap: 9px;
        margin-bottom: 16px !important;
    }

    .svm-popup-btn-primary {
        padding: 12.5px 18px;
        font-size: 14.5px;
        border-radius: 14px;
    }

    .svm-popup-btn-primary .svm-btn-content {
        gap: 9px;
    }

    .svm-popup-btn-primary .svm-btn-icon {
        width: 21px;
        height: 21px;
    }

    .svm-popup-btn-primary .svm-btn-arrow {
        width: 20px;
        height: 20px;
        right: 20px;
    }

    .svm-popup-btn-secondary {
        padding: 11.5px 18px;
        font-size: 13.8px;
        border-radius: 14px;
    }

    .svm-popup-btn-secondary .svm-btn-content {
        gap: 9px;
    }

    .svm-popup-btn-secondary .svm-btn-icon {
        width: 20px;
        height: 20px;
    }

    .svm-popup-btn-secondary .svm-btn-arrow {
        width: 20px;
        height: 20px;
        right: 20px;
    }

    /* Footnote */
    .svm-popup-footnote-wrap {
        padding-top: 12px !important;
        padding-bottom: 13px !important;
    }

    .svm-popup-footnote {
        font-size: 11px;
        line-height: 1.45;
        gap: 7px;
    }

    .svm-popup-footnote .svm-lock-icon {
        width: 13px;
        height: 13px;
    }

    .svm-footnote-br {
        display: none;
    }

    /* Botanical Illustrations */
    .svm-popup-botanical svg {
        width: 52px;
        height: 44px;
    }
}

/* Graceful fit for laptops with low screen height (e.g. 768x600) */
@media (min-width: 768px) and (max-height: 700px) {
    .svm-popup-visual-wrap {
        height: 180px;
    }

    .svm-popup-content-wrap {
        padding: 14px 20px 12px;
    }

    .svm-popup-desc {
        margin-bottom: 10px;
    }

    .svm-popup-features-grid {
        gap: 8px;
        margin-bottom: 12px;
    }

    .svm-popup-actions-row {
        gap: 7px;
        margin-bottom: 12px !important;
    }

    .svm-popup-btn-primary {
        padding: 10.5px 16px;
    }

    .svm-popup-btn-secondary {
        padding: 9.5px 16px;
    }
}

