/* ==========================================================================
   Cosmic Zodiac Quiz Funnel - Premium Spanish Styling System
   Core Technologies: CSS Variables, Glassmorphism, Lora & Cinzel Typography, Custom Gradients
   ========================================================================== */

/* 1. Global Variables & Design Tokens */
:root {
    /* Color Palette */
    --color-obsidian: #08060c;
    --color-deep-space: #0f0b18;
    --color-indigo: #1b142c;
    --color-violet: #8a2be2;
    --color-violet-glow: rgba(138, 43, 226, 0.5);
    --color-gold: #ffb703;
    --color-gold-glow: rgba(255, 183, 3, 0.4);
    --color-text-light: #f3f0f7;
    --color-text-muted: rgba(243, 240, 247, 0.65);
    --color-border-glass: rgba(255, 255, 255, 0.08);
    --color-border-gold: rgba(255, 183, 3, 0.25);
    --color-error: #ff3b3f;
    --color-success: #4ade80;
    
    /* Font Families */
    --font-headlines: 'Cinzel', Helvetica, serif;
    --font-body: 'Open Sans', Arial, sans-serif;
    --font-story: 'Lora', Georgia, serif;
    
    /* Layout Variables */
    --radius-glass: 16px;
    --radius-badge: 50%;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 2. Global Resets & Starry Background Canvas */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-obsidian);
    color: var(--color-text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100vw;
}

/* Starry space animated layers */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at center, #1c142c 0%, #08060c 100%);
}

.cosmic-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.zodiaclovespell.com/hosted/images/dc/8d763ae61b49cf86c5da92eb77fb79/DALL-E-2024-08-18-14.23-1-1-.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    mix-blend-mode: color-dodge;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 150px 50px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 80px 250px, rgba(255,183,3,0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 300px 180px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 220px 380px, rgba(138,43,226,0.85), rgba(0,0,0,0));
    background-size: 550px 550px;
    opacity: 0.55;
    animation: cosmicStarsFloat 120s linear infinite;
}

.nebula-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 25%, rgba(138, 43, 226, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 25% 75%, rgba(46, 196, 182, 0.1) 0%, transparent 50%);
    filter: blur(40px);
    opacity: 0.7;
    animation: nebulaPulse 25s ease-in-out infinite alternate;
}

@keyframes cosmicStarsFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-550px); }
}

@keyframes nebulaPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.85; transform: scale(1.1); }
}

/* 3. Container Wrapper */
.containerWrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease-in-out;
}

/* Helper Class to Toggle Funnel Stages */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeInContainer 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

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

/* 4. Cinematic Header & Headline */
.main-header {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    z-index: 10;
}

.headline-container {
    background: rgba(24, 21, 40, 0.6);
    border: 1px solid var(--color-border-glass);
    border-radius: 25px;
    padding: 35px 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.main-headline span {
    color: var(--color-text-muted);
    font-size: 28px;
    font-weight: 400;
}

.main-headline strong {
    color: #cbb4ff;
    text-shadow: 0 0 15px rgba(203, 180, 255, 0.4);
    font-weight: 800;
}

.main-headline .highlight-italic {
    display: block;
    margin-top: 10px;
    font-style: italic;
    font-weight: 700;
    text-decoration: underline;
    color: var(--color-gold);
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.35);
}

/* 5. Main 12-Sign Zodiac Grid */
.grid-container {
    width: 100%;
    margin-bottom: 40px;
}

.grid-card {
    background: rgba(18, 15, 28, 0.7);
    border: 1.5px solid var(--color-border-glass);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Individual Zodiac Item Badge Card */
.zodiac-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 25px 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.zodiac-item:hover, .zodiac-item:focus {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-gold);
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.2), 
                0 0 15px rgba(138, 43, 226, 0.3);
}

/* Circular Badge and gradients fallbacks based on elements */
.zodiac-image-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-badge);
    margin-bottom: 20px;
    padding: 4px;
    background: var(--color-indigo);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.zodiac-item:hover .zodiac-image-container,
.zodiac-item:focus .zodiac-image-container {
    border-color: var(--color-gold);
    transform: scale(1.04);
    box-shadow: 0 0 20px var(--color-gold-glow);
}

.zodiac-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-badge);
    z-index: 2;
}

/* Earth/Water/Air/Fire Specific aura gradient fallbacks */
.fire { background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, #150f24 85%); border-color: rgba(239, 68, 68, 0.4); }
.earth { background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, #0f1c16 85%); border-color: rgba(16, 185, 129, 0.4); }
.air { background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, #201712 85%); border-color: rgba(245, 158, 11, 0.4); }
.water { background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, #0f1524 85%); border-color: rgba(59, 130, 246, 0.4); }

/* Zodiac Icon Fallback Badge (rendered if image breaks) */
.zodiac-fallback-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Toggled by onerror */
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text-light);
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.fire .zodiac-fallback-badge { color: #f87171; }
.earth .zodiac-fallback-badge { color: #34d399; }
.air .zodiac-fallback-badge { color: #fbbf24; }
.water .zodiac-fallback-badge { color: #60a5fa; }

/* Zodiac Info texts */
.zodiac-info h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.zodiac-info span {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   6. Text Sales Letter (TSL) Styling System
   ========================================================================== */
#tslSection {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    z-index: 10;
}

.tsl-top-bar {
    width: 100%;
    text-align: center;
    background: #fcd967;
    color: #111;
    font-size: 18px;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.tsl-card {
    background: rgba(255, 255, 255, 0.96); /* Elegant white backing for ultra-high readability as ClickFunnels original */
    color: #1e1e1e;
    border-radius: 0 0 25px 25px;
    border-color: rgba(255, 255, 255, 0.85);
    padding: 50px 60px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.tsl-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 30px;
}

.tsl-header h1 {
    font-size: 36px;
    line-height: 1.35;
    font-weight: 800;
    color: #0c0817;
}

.tsl-header h1 b {
    color: #b10000;
}

.tsl-header strike {
    color: rgba(0, 0, 0, 0.55);
}

.tsl-body {
    font-family: var(--font-story);
    font-size: 20px;
    line-height: 1.85;
    color: #2c2c2c;
}

.tsl-body p {
    margin-bottom: 28px;
}

.tsl-body p.salutation {
    font-size: 22px;
    color: #111;
}

.tsl-body u {
    text-decoration: underline;
    font-weight: 600;
}

.tsl-body b {
    font-weight: 700;
    color: #000;
}

.tsl-body strike {
    color: #7b7b7b;
}

/* Persuasive quotes block inside TSL */
.mystical-quote {
    font-family: var(--font-headlines);
    font-size: 28px;
    line-height: 1.4;
    color: #704da8;
    background: rgba(138, 43, 226, 0.06);
    border-left: 5px solid var(--color-violet);
    padding: 20px 30px;
    margin: 40px 0;
    border-radius: 4px 16px 16px 4px;
    font-weight: 600;
}

.quote-violet {
    color: #5b28a8;
    background: rgba(138, 43, 226, 0.04);
    border-left-color: #8a2be2;
}

/* WhatsApp review mockups styling */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
    align-items: center;
}

.review-image-wrapper {
    width: 100%;
    max-width: 580px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #e5ddd5; /* Whatsapp BG */
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.review-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dynamic Sign Class Highlights */
.dynamic-sign-bold {
    color: #7c51cf !important;
    font-weight: 800;
    text-shadow: 0 0 1px rgba(124, 81, 207, 0.1);
}

.dynamic-sign {
    color: inherit;
    font-weight: 700;
}

/* Premium Marker Highlight Style */
.tsl-highlight {
    background: linear-gradient(104deg, rgba(254, 240, 138, 0.9) 0%, rgba(253, 224, 71, 0.95) 100%);
    color: #111827 !important;
    padding: 0.1em 0.3em;
    margin: 0 0.1em;
    border-radius: 4px;
    display: inline;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


/* Story inline image assets */
.tsl-inline-img {
    display: flex;
    justify-content: center;
    margin: 35px 0;
}

.story-img {
    max-width: 100%;
    width: 440px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* CTA bottom checkouts card */
.tsl-cta-container {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px dashed rgba(0,0,0,0.1);
    text-align: center;
}

.tsl-cta-container h3 {
    font-size: 24px;
    color: #111;
    margin-bottom: 12px;
}

.cta-benefit {
    font-size: 15px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.tsl-cta-container .submit-btn {
    text-decoration: none;
    max-width: 580px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ff9900 0%, #e68a00 100%);
    box-shadow: 0 6px 25px rgba(255, 153, 0, 0.45);
    color: #000;
    font-weight: 800;
    font-size: 22px;
}

.tsl-cta-container .submit-btn:hover {
    background: linear-gradient(135deg, #ffb84d 0%, #ff9900 100%);
    box-shadow: 0 8px 30px rgba(255, 153, 0, 0.65);
    color: #000;
}

.cta-subtext {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #777;
    font-weight: 500;
}

/* 7. Premium Footer & Disclaimers */
.site-footer {
    width: 100%;
    text-align: center;
    margin-top: 60px;
    z-index: 10;
}

.divider-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.cosmic-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
    position: relative;
}

.tsl-cta-container .cosmic-divider {
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    margin-bottom: 30px;
}

.cosmic-divider::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    background: var(--color-obsidian);
    padding: 0 10px;
}

.tsl-cta-container .cosmic-divider::after {
    background: #fbfbfb;
    color: rgba(0, 0, 0, 0.15);
}

.disclaimer-content {
    font-size: 12px;
    color: rgba(243, 240, 247, 0.45);
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.disclaimer-content p {
    margin-bottom: 10px;
}

.footer-links {
    font-size: 13px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(138, 43, 226, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold);
    text-shadow: 0 0 8px var(--color-gold-glow);
}

.footer-links .bullet {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 10px;
}

.copyright-notice {
    font-size: 11px;
    color: rgba(243, 240, 247, 0.35);
}

/* ==========================================================================
   8. Interactive Quiz Modal System
   ========================================================================== */

/* Backdrop Overlay */
#modalBackdrop.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(8, 6, 16, 0.85) !important;
    z-index: 999998 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease !important;
    backdrop-filter: blur(8px) !important;
}

#modalBackdrop.modal-backdrop.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Modal Popup Window */
#zodiacCheckoutModal.modal-container {
    display: block !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -40%) scale(0.9) !important;
    width: 92% !important;
    max-width: 560px !important;
    margin: 0 !important;
    background: #141122 !important;
    border: 1.5px solid var(--color-border-glass) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 
                0 0 30px rgba(138, 43, 226, 0.15) !important;
    z-index: 999999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
    overflow: hidden !important;
}

#zodiacCheckoutModal.modal-container.show {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, -50%) scale(1) !important;
}

/* Elegant Close Button */
.modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: var(--radius-badge) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--color-border-glass) !important;
    color: var(--color-text-muted) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: var(--transition-smooth) !important;
    z-index: 10 !important;
}

.modal-close:hover {
    background: rgba(255, 59, 63, 0.15) !important;
    border-color: var(--color-error) !important;
    color: var(--color-text-light) !important;
    transform: rotate(90deg) !important;
}

/* Inner Modal Layout */
.containerInner {
    padding: 35px 30px;
}

/* Modal Progress Bar Header */
.modal-header-progress {
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.modal-header-progress h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, var(--color-violet) 0%, var(--color-gold) 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.step-badge {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 1px;
}

/* Panes Switch States */
.modal-pane {
    display: none;
}

.modal-pane.active {
    display: block;
    animation: paneFadeIn 0.45s ease forwards;
}

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

/* Quiz Question Components */
.question-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.5;
}

.question-text span {
    color: var(--color-gold);
    text-shadow: 0 0 5px var(--color-gold-glow);
}

/* Step 1 Checkbox options layout */
.conditions-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-glass);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.condition-chk-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    cursor: pointer;
    user-select: none;
}

.condition-chk-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.condition-chk-label span {
    line-height: 1.4;
}

/* Nav prev headers */
.step-nav-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.nav-prev-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    outline: none;
}

.nav-prev-btn:hover {
    color: var(--color-text-light);
}

/* 9. Lead Capture Pane Form */
.text-center { text-align: center; }
.margin-top-20 { margin-top: 20px; }

.lead-subtext {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid var(--color-border-glass);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--color-text-light);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-violet);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px var(--color-violet-glow);
}

/* Submit Action Button */
.form-actions {
    margin-top: 30px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-violet) 0%, #6f22b8 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px 24px;
    color: white;
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    outline: none;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.35);
}

.submit-btn:hover, .submit-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(138, 43, 226, 0.55), 
                0 0 15px var(--color-gold-glow);
    background: linear-gradient(135deg, #993bf2 0%, var(--color-violet) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Validation error banners */
.validation-error-msg {
    background: rgba(255, 59, 63, 0.12);
    border: 1px solid var(--color-error);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ff8082;
    font-size: 12px;
    font-weight: 500;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ==========================================================================
   9. Celestial Transition Spinner Loader
   ========================================================================== */
.mystic-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
}

.mystic-spinner-box {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* Rotating outer golden ring */
.outer-orbit {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: var(--radius-badge);
    border: 2px dashed var(--color-gold);
    border-left-color: transparent;
    border-right-color: transparent;
}

.animate-rotate-cw {
    animation: mysticRotateCw 4s linear infinite;
}

/* Rotating inner violet double rings */
.inner-orbit {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-badge);
    border: 3px double var(--color-violet);
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.animate-rotate-ccw {
    animation: mysticRotateCcw 2s linear infinite;
}

/* Glowing pulsing core */
.energy-core {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-badge);
    background: radial-gradient(circle, #ffb703 0%, rgba(138,43,226,0.85) 60%, rgba(20,17,34,0.9) 100%);
    box-shadow: 0 0 25px 5px rgba(255, 183, 3, 0.4), 
                0 0 15px rgba(138, 43, 226, 0.6);
}

.animate-pulse-core {
    animation: mysticOrbPulse 1.6s ease-in-out infinite alternate;
}

/* Central floating moon icon */
.celestial-icon {
    position: absolute;
    color: var(--color-text-light);
    font-size: 20px;
    z-index: 10;
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.6);
}

.animate-float-icon {
    animation: mysticMoonPulse 3s ease-in-out infinite;
}

/* Astro Animation Keyframes */
@keyframes mysticRotateCw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes mysticRotateCcw {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes mysticOrbPulse {
    0% { transform: scale(0.9); opacity: 0.85; filter: brightness(0.95); }
    100% { transform: scale(1.08); opacity: 1; filter: brightness(1.15); box-shadow: 0 0 35px 8px rgba(255, 183, 3, 0.6), 0 0 20px var(--color-violet); }
}

@keyframes mysticMoonPulse {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(-4px); opacity: 1; }
}

/* Loading titles */
.mystic-loading-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.mystic-loading-subtitle {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 320px;
    line-height: 1.6;
}


/* ==========================================================================
   10. Media Queries / Full Responsiveness
   ========================================================================== */

/* Tablet and Small Screens (Zodiac Grid adaptation) */
@media (max-width: 992px) {
    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .main-headline {
        font-size: 26px;
    }
    
    .main-headline span {
        font-size: 22px;
    }
    
    .tsl-card {
        padding: 40px 30px;
    }
    
    .tsl-header h1 {
        font-size: 28px;
    }
    
    .tsl-body {
        font-size: 18px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .containerWrapper {
        padding: 20px 10px;
    }
    
    .headline-container {
        padding: 20px;
        border-radius: 18px;
    }
    
    .main-headline {
        font-size: 22px;
    }
    
    .main-headline span {
        font-size: 18px;
    }
    
    .grid-card {
        padding: 25px 15px;
        border-radius: 18px;
    }
    
    .zodiac-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .zodiac-item {
        padding: 15px 10px;
        border-radius: 15px;
    }
    
    .zodiac-image-container {
        width: 90px;
        height: 90px;
        margin-bottom: 12px;
    }
    
    .zodiac-fallback-badge {
        font-size: 32px;
    }
    
    .zodiac-info h3 {
        font-size: 14px;
    }
    
    .zodiac-info span {
        font-size: 10px;
    }
    
    /* TSL Mobile */
    .tsl-card {
        padding: 30px 15px;
        border-radius: 0 0 15px 15px;
    }
    
    .tsl-header h1 {
        font-size: 22px !important;
    }
    
    .tsl-body {
        font-size: 16px;
    }
    
    .mystical-quote {
        font-size: 20px;
        padding: 15px;
        margin: 25px 0;
    }
    
    .story-img {
        width: 100%;
    }
    
    .tsl-cta-container .submit-btn {
        font-size: 16px;
        padding: 15px;
    }
    
    /* Modal Adaptation */
    .containerInner {
        padding: 25px 20px;
    }
    
    .question-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .option-btn {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .option-marker {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        font-size: 10px;
    }
    
    .form-input {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .submit-btn {
        padding: 15px 20px;
        font-size: 14px;
    }

    /* =========================================================
       FORCE OVERRIDE: ClickFunnels inline styles on mobile
       These elements use inline style="" with fixed px values
       that don't adapt to small screens. !important is required.
       ========================================================= */
    
    /* Force all CF headlines to scale down */
    .ne.elHeadline {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }
    
    /* Force CF rows to use full width on mobile */
    .row {
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Force inline-styled headings to scale */
    [style*="font-size: 38px"],
    [style*="font-size: 36px"],
    [style*="font-size: 34px"],
    [style*="font-size: 32px"],
    [style*="font-size: 30px"],
    [style*="font-size: 28px"] {
        font-size: 20px !important;
    }
    
    /* Force inline-styled containers to not overflow */
    [style*="padding: 0 30px"],
    [style*="padding-left: 0px"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Ensure all images are responsive */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Extra Small Screens */
@media (max-width: 400px) {
    .zodiac-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .zodiac-image-container {
        width: 80px;
        height: 80px;
    }
    
    .zodiac-fallback-badge {
        font-size: 28px;
    }
}

/* ==========================================================================
   9. Custom Sales Copy Polish (Gifts, Promises, FAQs, Spots Counter)
   ========================================================================== */

.vrajitorie-details-box {
    background: rgba(138, 43, 226, 0.03);
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: inset 0 0 10px rgba(138, 43, 226, 0.02);
}

.promises-container {
    background: #faf8ff;
    border: 2px solid rgba(138, 43, 226, 0.12);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.promises-title {
    font-family: var(--font-headlines);
    font-size: 24px;
    color: #4a238a;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.promise-item:last-child {
    margin-bottom: 0;
}

.promise-num {
    background: #ffb703;
    color: #000;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 2px 5px rgba(255, 183, 3, 0.3);
}

.promise-content b {
    color: #111;
    font-weight: 700;
}

.spots-counter-box {
    background: #fff5e6;
    border: 1.5px dashed #ff9900;
    border-radius: 12px;
    padding: 20px;
    margin: 30px auto;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255,153,0,0.05);
}

.spots-counter-title {
    font-size: 16px;
    font-weight: 700;
    color: #b36b00;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.spots-counter-stats {
    font-size: 22px;
    font-weight: 800;
    color: #111;
}

.spots-counter-stats span.left {
    color: #d93838;
}

.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: greenPulse 1.6s infinite;
}

@keyframes greenPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.gifts-section-title {
    font-family: var(--font-headlines);
    font-size: 26px;
    color: #000;
    text-align: center;
    margin: 50px 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    border-bottom: 2px solid rgba(0,0,0,0.06);
    padding-bottom: 15px;
}

.gifts-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.gift-card {
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.gift-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.08);
    border-color: rgba(138, 43, 226, 0.2);
}

.gift-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #ffb703;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(255, 183, 3, 0.25);
}

.gift-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.gift-icon {
    font-size: 28px;
    color: #8a2be2;
    background: rgba(138, 43, 226, 0.06);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gift-title {
    font-family: var(--font-headlines);
    font-size: 20px;
    color: #0c0817;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.gift-discover {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

.gift-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gift-item {
    font-size: 16px;
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
    color: #333;
}

.gift-item::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #8a2be2;
    font-weight: bold;
}

.signature-box {
    margin: 35px 0;
    font-family: 'Lora', Georgia, serif;
}

.signature-name {
    font-size: 32px;
    font-style: italic;
    color: #4a238a;
    font-weight: 700;
    margin-top: 5px;
    font-family: 'Cinzel', serif;
}

.tsl-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 45px auto;
    width: 100%;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    margin-top: 12px;
}

.guarantee-badge i {
    color: #22c55e;
}

.offer-expires-box {
    background: #fff0f0;
    border: 1px solid rgba(217, 56, 56, 0.15);
    border-radius: 12px;
    padding: 15px 25px;
    text-align: center;
    color: #d93838;
    font-size: 18px;
    font-weight: 700;
    margin: 35px 0;
    font-family: var(--font-headlines);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(217,56,56,0.03);
}

.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.option-card {
    background: #faf8ff;
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.option-card.highlighted {
    background: #fdfcff;
    border: 2px solid rgba(138, 43, 226, 0.25);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.05);
}

.option-title {
    font-family: var(--font-headlines);
    font-size: 20px;
    color: #111;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 1.5px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.option-card.highlighted .option-title {
    color: #8a2be2;
    border-bottom-color: rgba(138, 43, 226, 0.15);
}

.faq-container {
    margin-top: 50px;
    border-top: 1.5px solid rgba(0, 0, 0, 0.08);
    padding-top: 40px;
}

.faq-title {
    font-family: var(--font-headlines);
    font-size: 26px;
    color: #0c0817;
    text-align: center;
    margin-bottom: 35px;
    font-weight: 800;
}

.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-q {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-q i {
    color: #8a2be2;
    font-size: 14px;
}

.faq-a {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    padding-left: 24px;
}

/* Gift Card Two-Column Layout */
.gift-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.gift-image-col {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    justify-content: center;
}

.gift-cover-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gift-card:hover .gift-cover-img {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.25), 0 6px 15px rgba(0, 0, 0, 0.15);
}

.gift-details-col {
    flex-grow: 1;
}

@media (max-width: 768px) {
    .gift-content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .gift-image-col {
        width: 160px;
    }
}

/* Responsive adjustment for options */
@media (max-width: 768px) {
    .options-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .promises-container {
        padding: 20px;
    }
    .gift-card {
        padding: 20px;
    }
    .gift-badge {
        position: static;
        display: inline-block;
        margin-top: 5px;
    }
    .gift-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Force-center all inline VSL images */
#tslSection img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
}

/* Centered Gift Card Styles matching user reference image */
.gift-card-centered {
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.gift-card-centered:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.25);
}

.gift-badge-centered {
    background: #ffb703;
    color: #000;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 8px; /* Very close spacing, like the reference image */
    box-shadow: 0 2px 8px rgba(255, 183, 3, 0.35);
}

.gift-title-centered {
    font-family: 'Cinzel', Helvetica, sans-serif !important;
    font-size: 26px !important;
    color: #0c0817;
    margin: 8px 0 20px 0;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    max-width: 90%;
    text-align: center;
}

.gift-image-centered {
    margin: 15px 0 25px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.gift-cover-img-centered {
    width: 100%;
    max-width: 210px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18), 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-card-centered:hover .gift-cover-img-centered {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.28), 0 8px 20px rgba(0, 0, 0, 0.18);
}

.gift-discover-centered {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 600;
}

.gift-list-centered {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    max-width: 600px;
    width: 100%;
}

.gift-item-centered {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
    color: #333;
}

.gift-item-centered::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: #8a2be2;
    font-weight: bold;
}

/* Premium Header Styling matching the user's reference image */
.tsl-subheadline-bar {
    background-color: #fcd967;
    padding: 10px 15px;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    margin: 0;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.tsl-subheadline-bar h2 {
    color: #2d2d2d !important;
    font-family: 'Lora', Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-style: italic !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    border: none !important;
}

.tsl-text-purple {
    color: #8a2be2 !important;
}

.tsl-highlight-purple {
    background-color: rgba(254, 240, 138, 0.95);
    color: #8a2be2 !important;
    padding: 0.1em 0.3em;
    margin: 0 0.1em;
    border-radius: 4px;
    display: inline;
    font-weight: 700;
}

@media (max-width: 768px) {
    .gift-card-centered {
        padding: 30px 20px;
    }
    
    .gift-title-centered {
        font-size: 21px !important;
    }
    
    .gift-cover-img-centered {
        max-width: 170px;
    }
}

/* Center and align both VSL cards to the exact same width */
#row-2162010000, #row-7748310000 {
    width: 85% !important;
    max-width: 850px !important; /* Perfect luxury reading width */
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* Ensure outer sections are transparent so card borders are clean */
#section-8814010000, #section-695710000 {
    background-color: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Remove desktop outer side padding in section wrapper to match width exactly */
#section-695710000 .containerInner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Add internal padding to the bottom content card for elegant text margins */
#row-7748310000 {
    padding: 45px 50px !important;
}

/* Responsive styling for mobile devices */
@media (max-width: 768px) {
    #row-2162010000, #row-7748310000 {
        width: 92% !important;
        padding: 30px 20px !important;
    }
}

/* Premium Review Speech Bubble Cards matching reference image */
.vsl-reviews-wrapper {
    display: flex;
    flex-direction: column;
    gap: 55px;
    margin: 50px auto;
    width: 100%;
    max-width: 650px;
    align-items: center;
    box-sizing: border-box;
}

.vsl-review-card {
    background: #ffffff;
    border: 3.5px solid #000000;
    border-radius: 20px;
    padding: 35px 35px 35px 35px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* Overlapping giant quotes */
.vsl-review-card::before {
    content: '“';
    position: absolute;
    top: -38px;
    left: 25px;
    font-size: 110px;
    font-family: 'Cinzel', Georgia, serif;
    color: #000000;
    line-height: 1;
    background: #ffffff;
    padding: 0 10px;
}

.vsl-review-card::after {
    content: '”';
    position: absolute;
    bottom: -82px;
    right: 25px;
    font-size: 110px;
    font-family: 'Cinzel', Georgia, serif;
    color: #000000;
    line-height: 1;
    background: #ffffff;
    padding: 0 10px;
}

.vsl-review-stars {
    color: #ffb703;
    font-size: 24px;
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.vsl-review-text {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
    color: #111111 !important;
    text-align: center !important;
    margin: 0 0 20px 0 !important;
    font-style: italic;
    font-weight: 400;
}

.vsl-review-text b {
    font-weight: 700;
}

.vsl-review-text u {
    text-decoration: underline;
}

.vsl-review-author {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 18px !important;
    color: #2d2d2d !important;
    text-align: center !important;
    margin: 0 !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .vsl-reviews-wrapper {
        gap: 45px;
        margin: 35px auto;
    }
    
    .vsl-review-card {
        padding: 30px 20px;
    }
    
    .vsl-review-card::before {
        font-size: 90px;
        top: -30px;
    }
    
    .vsl-review-card::after {
        font-size: 90px;
        bottom: -68px;
    }
    
    .vsl-review-text {
        font-size: 16px !important;
    }
    
    .vsl-review-author {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   6. Premium Multi-Step Checkout Modal Custom Styles
   ========================================================================== */

.modal-pane {
    display: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateY(10px);
}

.modal-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Modal Inner Spacing & Scrollable Form Section */
.modal-form {
    padding: 30px 40px !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Mobile Responsiveness for Modal Window & Scrollable Content */
@media (max-width: 768px) {
    #zodiacCheckoutModal.modal-container {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        transform: translate(0, 0) scale(1) !important;
        border: none !important;
        border-radius: 0 !important;
    }
    
    #zodiacCheckoutModal.modal-container.show {
        transform: translate(0, 0) scale(1) !important;
    }
    
    .modal-form {
        padding: 20px 16px !important;
        max-height: calc(100vh - 80px) !important;
    }
}

/* Progress bar container customization */
.modal-progressbar-custom {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    height: 10px;
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.modal-progressbar-fill {
    height: 100%;
    background: linear-gradient(90deg, #bfa4ff, #8a2be2);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    transition: width 0.4s ease;
}

/* Custom styled checkbox list for step 1 */
.conditions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    margin: 25px 0;
}

.condition-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.condition-item input[type="checkbox"] {
    accent-color: #bfa4ff;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.condition-item span {
    font-size: 15px;
    line-height: 1.4;
    color: #dfd7f7;
    font-family: 'Lora', Georgia, serif;
}

/* Custom Step 2 Form Controls */
.form-group-popup {
    margin-bottom: 18px;
    text-align: left;
}

.form-group-popup label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #dfd7f7;
    font-family: 'Lora', Georgia, serif;
}

.form-input-popup, .form-select-popup {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(191, 164, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Lora', Georgia, serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-input-popup:focus, .form-select-popup:focus {
    outline: none;
    border-color: #bfa4ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(191, 164, 255, 0.4);
}

.readonly-email {
    background: rgba(255, 255, 255, 0.02);
    color: #8c88a5;
    border-color: rgba(191, 164, 255, 0.05);
    cursor: not-allowed;
}

.gender-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.gender-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #ffffff;
    font-family: 'Lora', Georgia, serif;
}

.gender-radio-label input[type="radio"] {
    accent-color: #bfa4ff;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.dob-sublabel {
    font-size: 12px;
    color: #a59fc4;
    margin-bottom: 5px;
    display: block;
    font-style: italic;
    font-family: 'Lora', Georgia, serif;
}

/* Custom error block */
.validation-error-msg {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.08);
    border: 1.5px solid rgba(255, 71, 87, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'Lora', Georgia, serif;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Step 3 Simulated Slot Check Loader & Countdown Styles */
.progress-container {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border: 1.5px solid rgba(191, 164, 255, 0.15);
    box-shadow: inset 0 0 15px rgba(138, 43, 226, 0.05);
    margin-top: 25px;
}

.progress-bar-wrapper {
    width: 100%;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-top: 15px;
}

.progress-bar-loading {
    height: 100%;
    background: linear-gradient(90deg, #bfa4ff, #8a2be2);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    width: 0%;
    transition: width 0.1s linear;
}

.modal-slot-success-alert {
    background: rgba(74, 222, 128, 0.08);
    border: 1.5px solid rgba(74, 222, 128, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
    animation: pulseGlowSuccess 2s infinite ease-in-out;
}

.modal-slot-success-alert p {
    font-size: 16px;
    font-weight: 600;
    color: #4ade80 !important;
    line-height: 1.5;
    margin: 0;
    font-family: 'Lora', Georgia, serif;
}

/* Circular Evergreen Countdown Section */
.modal-countdown-container {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 25px auto;
}

.modal-countdown-circle {
    background: rgba(255, 71, 87, 0.05);
    border: 2px solid #ff4757;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.2);
    position: relative;
}

.modal-countdown-amount {
    font-size: 26px;
    font-weight: 700;
    color: #ff4757;
    line-height: 1;
    font-family: 'Cinzel', Georgia, serif;
}

.modal-countdown-period {
    font-size: 9px;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Pulsing Glow Success Animation */
@keyframes pulseGlowSuccess {
    0%, 100% {
        box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
        border-color: rgba(74, 222, 128, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(74, 222, 128, 0.25);
        border-color: rgba(74, 222, 128, 0.5);
    }
}

/* Rocking Animation for Checkout CTA Button */
.ea-buttonRocking {
    animation: rockButton 2.5s infinite ease-in-out;
}

@keyframes rockButton {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    15% {
        transform: rotate(-1.5deg) scale(1.02);
    }
    30% {
        transform: rotate(1.5deg) scale(1.02);
    }
    45% {
        transform: rotate(-1deg) scale(1.02);
    }
    60% {
        transform: rotate(1deg) scale(1.02);
    }
    75% {
        transform: rotate(0deg) scale(1);
    }
}




