/* ==========================================
   PORTFOLIO CORE STYLES & LAYOUT
   ========================================== */

:root {
    --bg-portfolio: #07060c;
    --card-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #9499b3;
    --accent-glow: #7c5cff;
    --accent-gold: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --accent-gold-color: #d4af37;
    
    /* Theme transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body.portfolio-body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.portfolio-body {
    background-color: var(--bg-portfolio);
    color: var(--text-primary);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Glowing Background Blobs */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #7c5cff;
    top: 5%;
    left: 10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #d4af37;
    bottom: 10%;
    right: 5%;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #ff5e97;
    top: 40%;
    left: 45%;
}

/* Portfolio Container */
.portfolio-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 3rem;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .portfolio-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }
}

/* ==========================================
   SIDEBAR (LEFT PANEL)
   ========================================== */

.portfolio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-height: 100vh;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.portfolio-sidebar::-webkit-scrollbar {
    width: 6px;
}

.portfolio-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Header & Logo */
.portfolio-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.portfolio-logo span span {
    background: var(--accent-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-title {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5a9c5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

/* TikTok Badge */
.tiktok-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.25);
    color: #a38cff;
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.tiktok-icon {
    width: 14px;
    height: 14px;
}

/* Section Label */
.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7c5cff;
    margin-bottom: 0.8rem;
    font-weight: 700;
}



.theme-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible; /* Don't clip content */
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: var(--transition-smooth);
}

.theme-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.theme-card.active {
    background: rgba(124, 92, 255, 0.06);
    border-color: rgba(124, 92, 255, 0.25);
    box-shadow: 0 5px 15px rgba(124, 92, 255, 0.05);
}

.theme-card.active::before {
    background: var(--accent-glow);
}

.theme-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.theme-name {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.2px;
}

.theme-dots {
    display: flex;
    gap: 3px;
}

.theme-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Color definitions for dots */
.d-gold-1 { background-color: #faf7f2; }
.d-gold-2 { background-color: #dfba6b; }
.d-gold-3 { background-color: #2c2a29; }

.d-midnight-1 { background-color: #121212; }
.d-midnight-2 { background-color: #dfba6b; }
.d-midnight-3 { background-color: #ffffff; }

.d-boho-1 { background-color: #f5ebe6; }
.d-boho-2 { background-color: #c96f53; }
.d-boho-3 { background-color: #8a9a86; }

.d-emerald-1 { background-color: #05251c; }
.d-emerald-2 { background-color: #ecd4a2; }
.d-emerald-3 { background-color: #ffffff; }

.theme-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.theme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.theme-tags span {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    color: var(--text-secondary);
}

.theme-card.active .theme-tags span {
    background: rgba(124, 92, 255, 0.12);
    color: #a38cff;
}

/* Force visibility of card content — never hidden */
.theme-desc {
    display: block !important;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.theme-tags {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: auto;
}

.theme-tags span {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: var(--text-secondary);
}

/* ==========================================
   PASUL 2: CUSTOMIZER FORM (ACCORDION STYLES)
   ========================================== */

.customizer-section {
    display: flex;
    flex-direction: column;
}

.customizer-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Accordion Item Card */
.form-accordion {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.form-accordion.active {
    border-color: rgba(124, 92, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

/* Header link */
.accordion-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(124, 92, 255, 0.15);
    color: #a38cff;
    border: 1px solid rgba(124, 92, 255, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    transition: var(--transition-smooth);
}

.form-accordion.active .step-num {
    background: #7c5cff;
    color: #ffffff;
    border-color: #7c5cff;
    box-shadow: 0 0 10px rgba(124, 92, 255, 0.3);
}

.accordion-header .chevron {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-secondary);
    transition: transform 0.4s ease;
}

.form-accordion.active .accordion-header .chevron {
    transform: rotate(180deg);
    color: #a38cff;
}

/* Content Panel */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0 1.2rem;
    border-top: 1px solid transparent;
}

.form-accordion.active .accordion-content {
    max-height: 800px; /* high value for auto height expand */
    padding-top: 1rem;
    padding-bottom: 1.2rem;
    border-top-color: var(--border-glass);
}

/* Fields & Forms elements */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #7c5cff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
}

.form-group select option {
    background: #0f0e17;
    color: #ffffff;
}

.form-group select optgroup {
    background: #0f0e17;
    color: #dfba6b;
    font-weight: 700;
    font-style: normal;
}

/* Row Grid inside accordion */
.form-row {
    display: flex;
    gap: 0.8rem;
}

.col-6 { flex: 0 0 calc(50% - 0.4rem); }
.col-4 { flex: 0 0 calc(33.33% - 0.53rem); }
.col-8 { flex: 0 0 calc(66.67% - 0.27rem); }
.col-12 { width: 100%; }

.split-row {
    display: flex;
    gap: 0.5rem;
}

.split-row input {
    flex: 1;
}

/* Fieldset styling */
.form-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.form-fieldset:last-child {
    margin-bottom: 0;
}

.form-fieldset legend {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #a38cff;
    padding: 0 0.5rem;
    letter-spacing: 0.5px;
}

/* ==========================================
   PASUL 3: ORDER BOX & PRICING
   ========================================== */

.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}

.btn-order {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

/* ==========================================
   STUDIO AREA (RIGHT PANEL)
   ========================================== */

.portfolio-studio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    width: 100%;
}

/* Studio Controls */
.studio-controls {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 1rem 1.2rem;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.control-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #7c5cff;
    display: block;
    margin-bottom: 0.6rem;
    text-align: center;
}

.buttons-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

@media (max-width: 480px) {
    .buttons-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.control-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.5rem 0.3rem;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-smooth);
    text-align: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.control-btn.active {
    background: #7c5cff;
    border-color: #9d85ff;
    box-shadow: 0 4px 10px rgba(124, 92, 255, 0.25);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

.control-btn.active .arrow-up {
    animation: bounceUp 1.5s infinite;
}

.control-btn.active .arrow-down {
    animation: bounceDown 1.5s infinite;
}

@keyframes bounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(2px); }
}

/* Speed Slider styling */
.scroll-speed-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.scroll-speed-control input[type="range"] {
    flex: 1;
    max-width: 150px;
    accent-color: #7c5cff;
    cursor: pointer;
}

#speed-val {
    font-weight: 700;
    color: #ffffff;
    min-width: 40px;
}

/* ==========================================
   THE SMARTPHONE MOCKUP CSS
   ========================================== */

.phone-wrapper {
    perspective: 1000px;
    margin: 0.5rem 0;
}

.smartphone {
    width: 320px;
    height: 650px;
    background: #18181f;
    border-radius: 40px;
    border: 12px solid #2d2d3a;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 15px rgba(255, 255, 255, 0.15);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.smartphone:hover {
    transform: rotateY(3deg) rotateX(1deg);
}

/* Notch / Dynamic Island */
.phone-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 20px;
    background: #000000;
    border-radius: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 8px;
}

.phone-notch .camera {
    width: 6px;
    height: 6px;
    background: #10102b;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.5);
}

.phone-notch .speaker {
    width: 35px;
    height: 3px;
    background: #222222;
    border-radius: 3px;
}

/* Phone Buttons */
.phone-button {
    position: absolute;
    background: #2d2d3a;
    border-radius: 2px;
}

.volume-up { width: 3px; height: 40px; left: -15px; top: 120px; }
.volume-down { width: 3px; height: 40px; left: -15px; top: 175px; }
.power { width: 3px; height: 60px; right: -15px; top: 140px; }

/* Phone Screen Container */
.phone-screen-container {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #000;
}

/* Phone Glare effect */
.phone-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 28px;
    pointer-events: none;
    z-index: 90;
}

/* ==========================================
   THE PHONE SCREEN INVITATION
   ========================================== */

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

/* Phone Particles Canvas */
#phone-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Phone Audio Indicator (Bottom Right - Elegant Circle) */
.phone-audio-indicator {
    position: absolute;
    bottom: 18px;
    right: 15px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 50;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.phone-audio-indicator:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.phone-audio-indicator .bar {
    width: 2.5px;
    height: 14px;
    background-color: currentColor;
    border-radius: 3px;
    transform-origin: bottom;
    transform: scaleY(0.2);
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.phone-audio-indicator.playing {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 12px rgba(255, 255, 255, 0.05);
}

.phone-audio-indicator.playing .bar {
    animation: pulseAudio 1.2s ease infinite alternate;
    opacity: 1;
}

.phone-audio-indicator.playing .bar1 { animation-delay: 0.1s; }
.phone-audio-indicator.playing .bar2 { animation-delay: 0.3s; }
.phone-audio-indicator.playing .bar3 { animation-delay: 0.5s; }

@keyframes pulseAudio {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(1.0); }
}

/* 1. ENVELOPE (PHONE VIEW) */
.phone-envelope-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    background: inherit;
    cursor: pointer; /* make entire envelope cursor pointer since clicking opens it */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

.phone-envelope-screen.opened {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.phone-envelope-wrapper {
    width: 100%;
    padding: 15px;
}

.phone-envelope {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: transparent;
    perspective: 800px;
}

/* Envelope Shapes using border tricks or clip-path polygon (responsive!) */
.phone-envelope-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--envelope-bg-back, #ebe4d5);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.phone-envelope-front {
    position: absolute;
    width: 100%;
    height: 80px;
    background: var(--envelope-bg-front, #eae2d2);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    bottom: 0;
    left: 0;
    z-index: 4;
    transition: var(--transition-smooth);
}

/* Letter preview in envelope */
.phone-letter {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: var(--invite-bg, #ffffff);
    border-radius: 4px;
    padding: 12px;
    z-index: 2;
    transition: transform 0.5s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.phone-letter-preview {
    border: 1px solid var(--invite-border, rgba(0,0,0,0.1));
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    text-align: center;
}

.phone-monogram-small {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid currentColor;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: var(--transition-smooth);
}

.phone-envelope-title {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.8;
    white-space: pre-line;
    line-height: 1.25;
}

.phone-couple-names-small {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.phone-date-small {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    opacity: 0.6;
}

/* Envelope Flap using clip-path polygon */
.phone-envelope-flap-container {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    transform-origin: top;
    transition: transform 0.6s ease;
}

.phone-envelope-flap {
    width: 100%;
    height: 80px;
    background: var(--envelope-bg-flap, #dfd7c3);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    margin: 0 auto;
    transition: var(--transition-smooth);
}

/* Wax seal positioned dynamically at the tip of the flap */
.phone-wax-seal {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--seal-bg, #c19b4b);
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.2), 
        inset 0 0 10px rgba(0,0,0,0.1),
        0 0 12px var(--seal-glow, rgba(212,175,55,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-wax-seal:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.phone-seal-inner {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-seal-svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.phone-seal-prompt {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;

    margin-top: 10px;
    pointer-events: none;
    animation: pulsePrompt 2s infinite;
}

@keyframes pulsePrompt {
    0%, 100% { opacity: 0.8; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, -3px); }
}

/* Envelope Open State Animations */
.phone-envelope-screen.open-animation .phone-envelope-flap-container {
    transform: scaleY(-1);
    z-index: 1;
}

.phone-envelope-screen.open-animation .phone-letter {
    transform: translateY(-50px);
    z-index: 3;
}

.phone-envelope-screen.open-animation .phone-wax-seal {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

/* 2. INVITATION CARD CONTENT (SCROLLABLE) */
.phone-invitation-card {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    z-index: 5;
    background: var(--invite-bg, #faf7f2);
    color: var(--invite-text, #2c2a29);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-top: 40px; /* space for notch */
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch;
    isolation: isolate;
}

.phone-invitation-card::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Decorative Corner Node Defaults */
.decor-corner {
    display: none; /* hidden by default, styled per theme */
}

/* Scroll indicator on phone card */
.phone-scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    opacity: 0.6;
    pointer-events: none;
    z-index: 40;
    color: inherit;
    animation: fadePulse 2s infinite;
}

.scroll-arrow {
    width: 12px;
    height: 12px;
    animation: arrowBounce 1.5s infinite;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* Invitation Container Inner */
.phone-card-inner {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    z-index: 2;
    position: relative;
    min-height: 100%;
    height: auto;
    flex: 1 0 auto;
}

/* Header Section */
.invite-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.invite-monogram {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1px solid currentColor;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--invite-accent, #c19b4b);
}

.invite-names {
    font-family: var(--font-romantic, 'Alex Brush'), cursive;
    font-size: 1.7rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    word-break: break-word;
}

.ampersand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    display: block;
    margin: 0.2rem 0;
    opacity: 0.7;
}

.invite-quote {
    font-style: italic;
    font-size: 0.75rem;
    opacity: 0.8;
    max-width: 90%;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    word-break: break-word;
}

.invite-date-badge {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-top: 1rem;
}

.badge-line {
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: 0.25;
}

.badge-date {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* Photo Section */
.invite-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.invite-photo-frame {
    width: 180px;
    height: 240px;
    border: 1px solid var(--invite-border, rgba(0,0,0,0.1));
    padding: 8px;
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    transform: rotate(-1deg);
    transition: var(--transition-smooth);
}

.invite-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0eb;
    border: 1px dashed var(--invite-border, rgba(0,0,0,0.15));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: var(--invite-text, #8c8c8c);
    text-align: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.placeholder-svg {
    width: 32px;
    height: 32px;
    opacity: 0.3;
}

.invite-photo-placeholder span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.6;
}

/* Uploaded Photo Image */
.invite-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.phone-screen.theme-boho-dream .invite-photo-img {
    border-radius: 85px 85px 0 0;
}

.phone-screen.theme-burgundy-rose .invite-photo-img {
    border-radius: 50%;
}

/* Details Box / Paper Card */
.invite-details-box {
    background: var(--card-bg, rgba(255, 255, 255, 0.8));
    border: 1px solid var(--invite-border, rgba(0,0,0,0.06));
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.invite-pre-text {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    color: var(--invite-accent, #c19b4b);
    text-align: center;
    width: 100%;
    display: block;
}

.invite-highlight-names {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.3;
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    word-break: break-word;
    overflow-wrap: break-word;
}

.invite-paragraph {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.invite-highlight-date {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--invite-accent, #c19b4b);
    margin: 1.2rem 0;
    letter-spacing: 0.5px;
}

.invite-parents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 1rem 0;
    font-size: 0.8rem;
}

.parents-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.parents-group strong {
    font-weight: 700;
    color: var(--invite-accent, #c19b4b);
}

.parents-group span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--invite-accent, #c19b4b);
    margin-top: 5px;
}

.invite-godparents {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.invite-godparents strong {
    color: var(--invite-accent, #c19b4b);
}

/* Timeline */
.invite-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.invite-section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--invite-accent, #c19b4b);
}

.invite-timeline-item {
    position: relative;
    padding-left: 24px;
}

.t-bullet {
    position: absolute;
    left: 0;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--invite-accent, #c19b4b);
    border: 2px solid var(--invite-bg, #ffffff);
    transition: var(--transition-smooth);
}

.t-line {
    position: absolute;
    left: 5px;
    top: 16px;
    bottom: -22px;
    width: 2px;
    background: var(--invite-accent, #c19b4b);
    opacity: 0.25;
}

.t-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.t-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--invite-accent, #c19b4b);
    background: var(--card-bg, rgba(255, 255, 255, 0.8));
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
}

.t-content h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.t-loc {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.75;
}

.t-addr {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-bottom: 6px;
}

.t-btn-demo {
    font-family: inherit;
    background: transparent;
    border: 1px solid var(--invite-accent, #c19b4b);
    border-radius: 6px;
    color: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    cursor: pointer;
    transition: 0.3s;
}

.t-btn-demo:hover {
    background: var(--invite-accent, #c19b4b);
    color: var(--invite-bg, #ffffff);
}

/* Countdown */
.invite-countdown {
    text-align: center;
}

.countdown-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.phone-countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.c-box {
    background: var(--card-bg, rgba(255, 255, 255, 0.8));
    border: 1px solid var(--invite-border, rgba(0,0,0,0.05));
    border-radius: 8px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.c-num {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--invite-accent, #c19b4b);
}

.c-lbl {
    font-size: 0.6rem;
    opacity: 0.6;
    text-transform: uppercase;
}

/* RSVP Form */
.invite-rsvp {
    background: var(--card-bg, rgba(255, 255, 255, 0.8));
    border: 1px solid var(--invite-border, rgba(0,0,0,0.06));
    border-radius: 12px;
    padding: 18px 15px;
    transition: var(--transition-smooth);
}

.rsvp-note {
    font-size: 0.7rem;
    opacity: 0.7;
    text-align: center;
    margin-bottom: 1rem;
}

.simulator-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rsvp-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--invite-accent, #c19b4b);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.rsvp-elegant-form {
    gap: 20px;
    background: transparent;
    padding: 10px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #4a4a4a;
    text-transform: uppercase;
}

.form-input {
    background: rgba(250, 246, 240, 0.5);
    border: 1px solid rgba(186, 161, 121, 0.4);
    border-radius: 6px;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #555;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #baa179;
    background: #fff;
}

.form-textarea {
    resize: none;
    height: 80px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.form-textarea::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.7rem;
    color: #888;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-select {
    width: 100%;
    appearance: none;
}

.custom-radios {
    display: flex;
    gap: 15px;
}

.vertical-radios {
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    text-transform: uppercase;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ddd;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s;
    background: transparent;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #baa179;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #baa179;
}

.gold-btn {
    background: linear-gradient(135deg, #d4af37 0%, #ffdf73 40%, #e6be4e 60%, #c59b27 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.gold-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(212, 175, 55, 0.2);
}

.gold-btn .btn-icon {
    width: 18px;
    height: 18px;
}

/* --- AOS Animations (disabled - elements always visible) --- */
.aos-item {
    opacity: 1;
}

.aos-visible {
    opacity: 1;
}

.s-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.s-group label {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
}

.s-group input[type="text"], .s-group select {
    padding: 8px;
    border: 1px solid var(--invite-border, rgba(0,0,0,0.15));
    background: var(--invite-bg, #ffffff);
    color: inherit;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: inherit;
    outline: none;
}

.s-radios {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
}

.s-radios label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.sim-submit-btn {
    font-family: inherit;
    background: var(--invite-accent, #c19b4b);
    color: var(--invite-bg, #ffffff);
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 5px;
}

.sim-submit-btn:hover {
    opacity: 0.9;
}

/* RSVP Contact Details Styling */
.invite-rsvp-details {
    padding: 10px 5px;
    text-align: center;
}

.rsvp-phones {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.phone-entry {
    background: var(--card-bg, rgba(255, 255, 255, 0.4));
    border: 1px dashed var(--invite-border, rgba(0,0,0,0.12));
    padding: 6px 10px;
    border-radius: 8px;
    transition: 0.2s;
}

.theme-midnight-luxe .phone-entry {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.phone-link {
    color: var(--invite-accent, #c19b4b);
    text-decoration: none;
    transition: 0.2s;
}

.phone-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}


/* Footer Section */
.invite-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.romantic-signature {
    font-family: var(--font-romantic, 'Alex Brush'), cursive;
    font-size: 1.7rem;
    margin-bottom: 0.5rem;

}

.footer-monogram {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid currentColor;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    opacity: 0.5;
}

.footer-desc {
    font-size: 0.7rem;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

/* Floating instructions below the studio mockup */
.recording-tip {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1rem;
    max-width: 500px;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.tip-icon {
    font-size: 1.2rem;
}

.tip-text strong {
    color: #ffffff;
}

/* ==========================================================================
   RADICAL THEME DIFFERENCES & ORNAMENT SYSTEM (SVG CORNERS & DIVIDERS)
   ========================================================================== */

/* Default Divider styling - resets per theme */
.invite-divider {
    display: block;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: var(--transition-smooth);
    background-color: transparent;
    border: none;
    outline: none;
    flex-shrink: 0;
}

/* 1. ROYAL GOLD (Crem & Auriu) */
.phone-screen.theme-royal-gold {
    --invite-bg: #faf7f2;
    --invite-text: #2c2a29;
    --invite-accent: #c19b4b;
    --invite-border: rgba(193, 155, 75, 0.2);
    --card-bg: rgba(255, 255, 255, 0.7);
    --envelope-bg-back: #ebe4d5;
    --envelope-bg-front: #eae2d2;
    --envelope-bg-flap: #dfd7c3;
    --seal-bg: #c19b4b;
    --seal-glow: rgba(193, 155, 75, 0.3);
    
    --font-romantic: 'Alex Brush';
    font-family: 'Montserrat', sans-serif;
    color: var(--invite-text);
    background-color: var(--invite-bg);
}

/* Inner double gold border layout */
.phone-screen.theme-royal-gold .phone-card-inner {
    border: 5px double #c19b4b;
    border-radius: 8px;
    margin: 10px;
    padding: 25px 15px;
    background-color: rgba(255,255,255,0.2);
}

/* Gold Corners */
.phone-screen.theme-royal-gold .decor-corner {
    display: block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    pointer-events: none;
}
.phone-screen.theme-royal-gold .decor-tl { top: 18px; left: 18px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c19b4b" stroke-width="1.5"><path d="M2 8V2h6 M6 2v4H2"/></svg>'); }
.phone-screen.theme-royal-gold .decor-tr { top: 18px; right: 18px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c19b4b" stroke-width="1.5"><path d="M22 8V2h-6 M18 2v4h4"/></svg>'); }
.phone-screen.theme-royal-gold .decor-bl { bottom: 18px; left: 18px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c19b4b" stroke-width="1.5"><path d="M2 16v6h6 M6 22v-4H2"/></svg>'); }
.phone-screen.theme-royal-gold .decor-br { bottom: 18px; right: 18px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c19b4b" stroke-width="1.5"><path d="M22 16v6h-6 M18 22v-4h4"/></svg>'); }

/* Diamond gold divider */
.phone-screen.theme-royal-gold .invite-divider {
    height: 14px;
    margin: 8px 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 12" fill="none"><path d="M50 2 L54 6 L50 10 L46 6 Z" fill="%23c19b4b"/><line x1="0" y1="6" x2="42" y2="6" stroke="%23c19b4b" stroke-width="0.5" stroke-opacity="0.6"/><line x1="58" y1="6" x2="100" y2="6" stroke="%23c19b4b" stroke-width="0.5" stroke-opacity="0.6"/></svg>');
}

.phone-screen.theme-royal-gold .phone-monogram-small,
.phone-screen.theme-royal-gold .invite-monogram,
.phone-screen.theme-royal-gold .footer-monogram {
    border-color: #c19b4b;
    color: #c19b4b;
}

.phone-screen.theme-royal-gold .invite-highlight-names {
    color: #2c2a29;
}

.phone-screen.theme-royal-gold .sim-submit-btn,
.phone-screen.theme-royal-gold .t-btn-demo {
    background: #c19b4b;
    color: #ffffff;
}

.phone-screen.theme-royal-gold .t-btn-demo:hover {
    background: #aa8134;
}

/* 2. MIDNIGHT LUXE (Negru & Auriu - modern glow borders) */
.phone-screen.theme-midnight-luxe {
    --invite-bg: #121212;
    --invite-text: #ffffff;
    --invite-accent: #e5c158;
    --invite-border: rgba(229, 193, 88, 0.2);
    --card-bg: rgba(24, 24, 24, 0.85);
    --envelope-bg-back: #181818;
    --envelope-bg-front: #1c1c1c;
    --envelope-bg-flap: #141414;
    --seal-bg: #e5c158;
    --seal-glow: rgba(229, 193, 88, 0.4);
    
    --font-romantic: 'Cinzel';
    font-family: 'Inter', sans-serif;
    color: var(--invite-text);
    background-color: var(--invite-bg);
}

/* Glow layout container */
.phone-screen.theme-midnight-luxe .phone-card-inner {
    border: 1px solid rgba(229, 193, 88, 0.25);
    border-radius: 16px;
    margin: 10px;
    padding: 25px 15px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 5px 20px rgba(229, 193, 88, 0.08);
}

/* Minimalist geometric corners */
.phone-screen.theme-midnight-luxe .decor-corner {
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    pointer-events: none;
}
.phone-screen.theme-midnight-luxe .decor-tl { top: 18px; left: 18px; border-top: 1.5px solid #e5c158; border-left: 1.5px solid #e5c158; }
.phone-screen.theme-midnight-luxe .decor-tr { top: 18px; right: 18px; border-top: 1.5px solid #e5c158; border-right: 1.5px solid #e5c158; }
.phone-screen.theme-midnight-luxe .decor-bl { bottom: 18px; left: 18px; border-bottom: 1.5px solid #e5c158; border-left: 1.5px solid #e5c158; }
.phone-screen.theme-midnight-luxe .decor-br { bottom: 18px; right: 18px; border-bottom: 1.5px solid #e5c158; border-right: 1.5px solid #e5c158; }

/* Thin line and gold offset dot divider */
.phone-screen.theme-midnight-luxe .invite-divider {
    height: 6px;
    margin: 8px 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 6" fill="none"><line x1="0" y1="3" x2="100" y2="3" stroke="%23e5c158" stroke-width="0.5" stroke-opacity="0.3"/><circle cx="70" cy="3" r="1.5" fill="%23e5c158"/></svg>');
}

/* Gold border line highlights on the black envelope flap */
.phone-screen.theme-midnight-luxe .phone-envelope-flap {
    background: linear-gradient(to bottom, #141414, #141414 97%, #e5c158);
}
.phone-screen.theme-midnight-luxe .phone-envelope-front {
    background: linear-gradient(to top, #1c1c1c, #1c1c1c 97%, #e5c158);
}

/* Midnight Luxe RSVP Form Overrides */
.phone-screen.theme-midnight-luxe .form-label,
.phone-screen.theme-midnight-luxe .radio-label {
    color: #e5c158;
}
.phone-screen.theme-midnight-luxe .form-input {
    background: rgba(30, 30, 30, 0.7);
    border-color: rgba(229, 193, 88, 0.3);
    color: #fff;
}
.phone-screen.theme-midnight-luxe .form-input:focus {
    border-color: #e5c158;
    background: #111;
}
.phone-screen.theme-midnight-luxe .select-wrapper::after {
    color: #e5c158;
}
.phone-screen.theme-midnight-luxe .radio-custom {
    border-color: #555;
}
.phone-screen.theme-midnight-luxe .radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #e5c158;
}
.phone-screen.theme-midnight-luxe .radio-label input[type="radio"]:checked + .radio-custom::after {
    background: #e5c158;
}

.phone-screen.theme-midnight-luxe .phone-monogram-small,
.phone-screen.theme-midnight-luxe .invite-monogram,
.phone-screen.theme-midnight-luxe .footer-monogram {
    border-color: #e5c158;
    color: #e5c158;
    background: linear-gradient(135deg, rgba(229,193,88,0.1) 0%, rgba(229,193,88,0) 100%);
}

.phone-screen.theme-midnight-luxe .invite-names {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.phone-screen.theme-midnight-luxe .ampersand {
    display: inline-block;
    margin: 0 5px;
}

.phone-screen.theme-midnight-luxe .invite-highlight-names {
    color: #e5c158;
}

.phone-screen.theme-midnight-luxe .sim-submit-btn,
.phone-screen.theme-midnight-luxe .t-btn-demo {
    background: linear-gradient(135deg, #e5c158 0%, #aa8724 100%);
    color: #121212;
    border: none;
}

.phone-screen.theme-midnight-luxe .t-btn-demo:hover {
    opacity: 0.9;
    color: #121212;
}

.phone-screen.theme-midnight-luxe .invite-photo-frame {
    background: #181818;
    border-color: rgba(229,193,88,0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.phone-screen.theme-midnight-luxe .invite-photo-placeholder {
    background: #101010;
}

.phone-screen.theme-midnight-luxe .invite-details-box {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(229, 193, 88, 0.15);
}

/* 3. BOHO DREAM (Teracotă & Salvie - soft arches and natural curves) */
.phone-screen.theme-boho-dream {
    --invite-bg: #fdfaf7;
    --invite-text: #594f4a;
    --invite-accent: #c96f53;
    --invite-border: rgba(201, 111, 83, 0.2);
    --card-bg: rgba(253, 250, 247, 0.9);
    --envelope-bg-back: #ecdcd2;
    --envelope-bg-front: #ebe0d6;
    --envelope-bg-flap: #dfccc1;
    --seal-bg: #c96f53;
    --seal-glow: rgba(201, 111, 83, 0.2);
    
    --font-romantic: 'Playfair Display';
    font-family: 'Lora', serif;
    color: var(--invite-text);
    background-color: var(--invite-bg);
}

/* Boho rustic layout: borderless outer card, focus on organic content */
.phone-screen.theme-boho-dream .phone-card-inner {
    border: none;
    padding: 30px 15px;
}

/* Boho eucalyptus/leaf branch corners */
.phone-screen.theme-boho-dream .decor-corner {
    display: block;
    width: 42px;
    height: 42px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}
.phone-screen.theme-boho-dream .decor-tl { top: 12px; left: 12px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a9a86" stroke-width="1.2"><path d="M2 2 Q10 4 12 12 M2 2 Q4 10 12 12 M2 2 Q6 6 12 12"/><path d="M5 2c2 1 2 3 1 4-1-1-2-3-1-4z M2 5c1 2 3 2 4 1-1-1-3-2-4-1z" fill="%238a9a86"/></svg>'); }
.phone-screen.theme-boho-dream .decor-tr { top: 12px; right: 12px; transform: scaleX(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a9a86" stroke-width="1.2"><path d="M2 2 Q10 4 12 12 M2 2 Q4 10 12 12 M2 2 Q6 6 12 12"/><path d="M5 2c2 1 2 3 1 4-1-1-2-3-1-4z M2 5c1 2 3 2 4 1-1-1-3-2-4-1z" fill="%238a9a86"/></svg>'); }
.phone-screen.theme-boho-dream .decor-bl { bottom: 12px; left: 12px; transform: scaleY(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a9a86" stroke-width="1.2"><path d="M2 2 Q10 4 12 12 M2 2 Q4 10 12 12 M2 2 Q6 6 12 12"/><path d="M5 2c2 1 2 3 1 4-1-1-2-3-1-4z M2 5c1 2 3 2 4 1-1-1-3-2-4-1z" fill="%238a9a86"/></svg>'); }
.phone-screen.theme-boho-dream .decor-br { bottom: 12px; right: 12px; transform: scale(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a9a86" stroke-width="1.2"><path d="M2 2 Q10 4 12 12 M2 2 Q4 10 12 12 M2 2 Q6 6 12 12"/><path d="M5 2c2 1 2 3 1 4-1-1-2-3-1-4z M2 5c1 2 3 2 4 1-1-1-3-2-4-1z" fill="%238a9a86"/></svg>'); }

/* Soft sage leaf branches divider */
.phone-screen.theme-boho-dream .invite-divider {
    height: 18px;
    margin: 8px 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="none"><path d="M20 10 Q35 7 50 10 T80 10" stroke="%238a9a86" stroke-width="0.8"/><path d="M35 8 Q38 3 41 5 Q38 10 35 8 Z M50 11 Q53 16 56 14 Q53 9 50 11 Z M65 9 Q68 5 71 8 Q67 11 65 9 Z" fill="%238a9a86" opacity="0.8"/></svg>');
}

/* Beautiful organic eucalyptus branch design directly watermark-printed on the envelope flap */
.phone-screen.theme-boho-dream .phone-envelope-flap {
    background: var(--envelope-bg-flap) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a9a86" stroke-width="1.0"><path d="M12 2 Q15 10 12 18 M12 2 Q9 10 12 18 M12 3 Q16 7 14 10 M12 6 Q7 11 10 13" fill="%238a9a86" opacity="0.2"/></svg>') no-repeat center bottom 8px;
    background-size: 30px;
}

/* Arch shaped frame (very popular in boho) */
.phone-screen.theme-boho-dream .invite-photo-frame {
    border-radius: 90px 90px 0 0;
    background: #faf5f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    padding: 6px;
    transform: rotate(0deg);
}

.phone-screen.theme-boho-dream .invite-photo-placeholder {
    border-radius: 85px 85px 0 0;
    background: #f4eae1;
}

.phone-screen.theme-boho-dream .invite-names {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.6rem;
}

.phone-screen.theme-boho-dream .phone-monogram-small,
.phone-screen.theme-boho-dream .invite-monogram,
.phone-screen.theme-boho-dream .footer-monogram {
    border-color: #8a9a86; /* Sage accent */
    color: #8a9a86;
    border-radius: 0; /* Square for boho style */
    transform: rotate(45deg);
}

.phone-screen.theme-boho-dream .phone-monogram-small *,
.phone-screen.theme-boho-dream .invite-monogram * ,
.phone-screen.theme-boho-dream .footer-monogram * {
    transform: rotate(-45deg);
}

.phone-screen.theme-boho-dream .invite-highlight-names {
    color: #c96f53;
}

.phone-screen.theme-boho-dream .sim-submit-btn,
.phone-screen.theme-boho-dream .t-btn-demo {
    background: #c96f53;
    color: #ffffff;
}

.phone-screen.theme-boho-dream .t-btn-demo {
    border-color: #8a9a86;
    color: #8a9a86;
}

.phone-screen.theme-boho-dream .t-btn-demo:hover {
    background: #8a9a86;
    color: #ffffff;
}

/* Organic curved leaf shape for timeline bullets */
.phone-screen.theme-boho-dream .t-bullet {
    background: #8a9a86;
    border-radius: 50% 0 50% 50%;
    transform: rotate(-45deg);
    border: none;
    width: 10px;
    height: 10px;
}

.phone-screen.theme-boho-dream .t-line {
    background: #8a9a86;
}

/* 4. EMERALD VELVET (Verde Smarald & Auriu - heavy Victorian gold frames) */
.phone-screen.theme-emerald-velvet {
    --invite-bg: #05251c;
    --invite-text: #fdfdfd;
    --invite-accent: #ecd4a2;
    --invite-border: rgba(236, 212, 162, 0.2);
    --card-bg: rgba(7, 48, 37, 0.85);
    --envelope-bg-back: #041d16;
    --envelope-bg-front: #062b20;
    --envelope-bg-flap: #031812;
    --seal-bg: #05251c;
    --seal-glow: rgba(236, 212, 162, 0.3);
    
    --font-romantic: 'Great Vibes';
    font-family: 'Montserrat', sans-serif;
    color: var(--invite-text);
    background-color: var(--invite-bg);
}

/* Luxurious double inset golden frame */
.phone-screen.theme-emerald-velvet .phone-card-inner {
    border: 3px solid #ecd4a2;
    border-radius: 4px;
    margin: 15px;
    padding: 25px 15px;
    box-shadow: 
        inset 0 0 0 3px #05251c, 
        inset 0 0 0 5px #ecd4a2, 
        0 0 20px rgba(0, 0, 0, 0.4);
    background-color: rgba(5,37,28,0.3);
}

/* Royal Ornate Victorian Gold Corners */
.phone-screen.theme-emerald-velvet .decor-corner {
    display: block;
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    pointer-events: none;
}
.phone-screen.theme-emerald-velvet .decor-tl { top: 22px; left: 22px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ecd4a2" stroke-width="1.2"><path d="M2 10V2h8 M2 2l8 8 M5 2 Q7 5 10 5 M2 5 Q5 7 5 10" stroke-linecap="round"/></svg>'); }
.phone-screen.theme-emerald-velvet .decor-tr { top: 22px; right: 22px; transform: scaleX(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ecd4a2" stroke-width="1.2"><path d="M2 10V2h8 M2 2l8 8 M5 2 Q7 5 10 5 M2 5 Q5 7 5 10" stroke-linecap="round"/></svg>'); }
.phone-screen.theme-emerald-velvet .decor-bl { bottom: 22px; left: 22px; transform: scaleY(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ecd4a2" stroke-width="1.2"><path d="M2 10V2h8 M2 2l8 8 M5 2 Q7 5 10 5 M2 5 Q5 7 5 10" stroke-linecap="round"/></svg>'); }
.phone-screen.theme-emerald-velvet .decor-br { bottom: 22px; right: 22px; transform: scale(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ecd4a2" stroke-width="1.2"><path d="M2 10V2h8 M2 2l8 8 M5 2 Q7 5 10 5 M2 5 Q5 7 5 10" stroke-linecap="round"/></svg>'); }

/* Victorian crown/crest golden scroll divider */
.phone-screen.theme-emerald-velvet .invite-divider {
    height: 20px;
    margin: 8px 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="none"><path d="M15 10c10-5 20 0 35-1.5s20-2.5 35 1.5" stroke="%23ecd4a2" stroke-width="0.8"/><circle cx="50" cy="8.5" r="2" fill="%23ecd4a2"/><path d="M43 8.5 Q45 4 47.5 8.5 M52.5 8.5 Q55 4 57 8.5" stroke="%23ecd4a2" stroke-width="0.5"/></svg>');
}

/* Gold lace border line highlights on the emerald flap */
.phone-screen.theme-emerald-velvet .phone-envelope-flap {
    background: linear-gradient(135deg, #031812, #031812 96%, #ecd4a2);
}
.phone-screen.theme-emerald-velvet .phone-envelope-front {
    background: linear-gradient(45deg, #062b20, #062b20 96%, #ecd4a2);
}

/* Emerald Velvet RSVP Form Overrides */
.phone-screen.theme-emerald-velvet .form-label,
.phone-screen.theme-emerald-velvet .radio-label {
    color: #ecd4a2;
}
.phone-screen.theme-emerald-velvet .form-input {
    background: rgba(10, 50, 38, 0.6);
    border-color: rgba(236, 212, 162, 0.3);
    color: #fff;
}
.phone-screen.theme-emerald-velvet .form-input:focus {
    border-color: #ecd4a2;
    background: #031812;
}
.phone-screen.theme-emerald-velvet .select-wrapper::after {
    color: #ecd4a2;
}
.phone-screen.theme-emerald-velvet .radio-custom {
    border-color: rgba(255,255,255,0.2);
}
.phone-screen.theme-emerald-velvet .radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #ecd4a2;
}
.phone-screen.theme-emerald-velvet .radio-label input[type="radio"]:checked + .radio-custom::after {
    background: #ecd4a2;
}

/* Double bordered heavy golden photo frame */
.phone-screen.theme-emerald-velvet .invite-photo-frame {
    border: 2px solid #ecd4a2;
    border-radius: 4px;
    box-shadow: 0 0 0 4px #05251c, 0 0 0 6px #ecd4a2, 0 8px 20px rgba(0, 0, 0, 0.4);
    background: #073a2e;
    padding: 6px;
    transform: rotate(0deg);
}

.phone-screen.theme-emerald-velvet .invite-photo-placeholder {
    background: #031f17;
}

.phone-screen.theme-emerald-velvet .phone-monogram-small,
.phone-screen.theme-emerald-velvet .invite-monogram,
.phone-screen.theme-emerald-velvet .footer-monogram {
    border-color: #ecd4a2;
    color: #ecd4a2;
}

.phone-screen.theme-emerald-velvet .phone-wax-seal {
    border: 2px solid #ecd4a2;
}

.phone-screen.theme-emerald-velvet .invite-names {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
}

.phone-screen.theme-emerald-velvet .invite-highlight-names {
    color: #ecd4a2;
}

.phone-screen.theme-emerald-velvet .sim-submit-btn,
.phone-screen.theme-emerald-velvet .t-btn-demo {
    background: #ecd4a2;
    color: #05251c;
    font-weight: 700;
}

.phone-screen.theme-emerald-velvet .t-btn-demo {
    border-color: #ecd4a2;
    color: #ecd4a2;
    background: transparent;
}

.phone-screen.theme-emerald-velvet .t-btn-demo:hover {
    background: #ecd4a2;
    color: #05251c;
}

.phone-screen.theme-emerald-velvet .invite-details-box {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(236, 212, 162, 0.15);
}

/* Sidebar Theme Dot Colors */
.d-burgundy-1 { background-color: #4A0E17; }
.d-burgundy-2 { background-color: #B76E79; }
.d-burgundy-3 { background-color: #ffffff; }

.d-pearl-1 { background-color: #faf8ff; }
.d-pearl-2 { background-color: #7c5cff; }
.d-pearl-3 { background-color: #2c2a29; }

/* ==========================================================================
   OPENING SCREEN VARIANT SYSTEM
   ========================================================================== */

.opening-variant {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

/* Visibility Rules based on active theme */
.phone-screen.theme-royal-gold #variant-envelope { display: flex !important; }
.phone-screen.theme-midnight-luxe #variant-gatefold { display: flex !important; }
.phone-screen.theme-boho-dream #variant-trifold { display: flex !important; }
.phone-screen.theme-emerald-velvet #variant-box { display: flex !important; }
.phone-screen.theme-burgundy-rose #variant-ribbon { display: flex !important; }
.phone-screen.theme-minimalist-pearl #variant-vellum { display: flex !important; }
.phone-screen.theme-cosmic-love #variant-cosmic { display: flex !important; }
.phone-screen.theme-gatsby-glamour #variant-gatsby { display: flex !important; }
.phone-screen.theme-rustic-romance #variant-rustic { display: flex !important; }

/* Override standard opened screen transform for non-envelope themes (stay inside clip, fade out) */
.phone-screen:not(.theme-royal-gold) #phone-envelope-screen.opened {
    transform: none !important;
    opacity: 0;
    pointer-events: none;
}

/* 1. MIDNIGHT LUXE (Gatefold sliding doors) */
#variant-gatefold {
    background: #0f0e15;
}
.gatefold-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #121216;
    border: 1px solid #1a1a24;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
}
.door-left {
    left: 0;
    border-right: 1px dashed rgba(229, 193, 88, 0.25);
    background: linear-gradient(90deg, #121216 95%, rgba(229, 193, 88, 0.15) 100%);
}
.door-right {
    right: 0;
    border-left: 1px dashed rgba(229, 193, 88, 0.25);
    background: linear-gradient(-90deg, #121216 95%, rgba(229, 193, 88, 0.15) 100%);
}
.gatefold-door::before {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px;
    border: 1.5px solid rgba(229, 193, 88, 0.12);
}
.door-left::before {
    left: 20px;
    right: 10px;
}
.door-right::before {
    right: 20px;
    left: 10px;
}
.gatefold-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease;
}
.lock-seal {
    width: 66px;
    height: 66px;
    background: radial-gradient(circle, #24242e 0%, #0c0c10 100%);
    border: 2px solid #e5c158;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(229, 193, 88, 0.35), inset 0 0 10px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    transition: transform 0.4s ease;
}
.lock-monogram {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e5c158;
    transform: rotate(-45deg);
}
.lock-prompt {
    background: rgba(0,0,0,0.85);
    color: #e5c158;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;

    margin-top: 15px;
    border: 1px solid rgba(229, 193, 88, 0.2);
    animation: pulsePrompt 2s infinite;
}
.phone-envelope-screen.open-animation #gatefold-left { transform: translateX(-100%); }
.phone-envelope-screen.open-animation #gatefold-right { transform: translateX(100%); }
.phone-envelope-screen.open-animation #gatefold-lock { transform: translate(-50%, -50%) scale(0); opacity: 0; }

/* 2. BOHO DREAM (Trifold Vertical Unfolding) */
#variant-trifold {
    background: #fdfaf7;
}
.trifold-flap {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fbf8f5;
    border: 1px solid rgba(201, 111, 83, 0.15);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.03);
}
.flap-top {
    top: 0;
    border-bottom: 1.5px solid rgba(201, 111, 83, 0.2);
    background: linear-gradient(to bottom, #fbf8f5 95%, rgba(201, 111, 83, 0.08) 100%);
}
.flap-bottom {
    bottom: 0;
    border-top: 1.5px solid rgba(201, 111, 83, 0.2);
    background: linear-gradient(to top, #fbf8f5 95%, rgba(201, 111, 83, 0.08) 100%);
}
.trifold-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 A40 40 0 0 1 90 50 L90 100 L10 100 L10 50 A40 40 0 0 1 50 10 Z" fill="none" stroke="%23c96f53" stroke-width="1.5"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 130px;
}
.trifold-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease;
}
.boho-string {
    position: absolute;
    top: -250px;
    bottom: -250px;
    width: 2px;
    background: rgba(201, 111, 83, 0.4);
    z-index: -1;
}
.boho-string-horizontal {
    position: absolute;
    left: -250px;
    right: -250px;
    height: 2px;
    background: rgba(201, 111, 83, 0.4);
    z-index: -1;
}
.boho-seal-ring {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px dashed rgba(201, 111, 83, 0.6);
    z-index: -1;
    animation: rotateSlow 20s linear infinite;
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.boho-seal-inner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #c96f53;
    border: 2px solid rgba(253, 250, 247, 0.3);
    box-shadow: 0 4px 10px rgba(201, 111, 83, 0.25), inset 0 0 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.boho-monogram {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.trifold-branch {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.8;
}
.branch-tl { top: 0; left: 0; }
.branch-tr { top: 0; right: 0; }
.branch-bl { bottom: 0; left: 0; }
.branch-br { bottom: 0; right: 0; }
.trifold-text-content {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
}
.trifold-names {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    color: #c96f53;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.trifold-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #594f4a;
    margin-top: 5px;
}
.trifold-prompt {
    background: rgba(253, 250, 247, 0.9);
    color: #594f4a;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;

    margin-top: 15px;
    border: 1px solid rgba(201, 111, 83, 0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    animation: pulsePrompt 2s infinite;
}
.phone-envelope-screen.open-animation #trifold-top { transform: translateY(-100%); }
.phone-envelope-screen.open-animation #trifold-bottom { transform: translateY(100%); }
.phone-envelope-screen.open-animation #trifold-seal { transform: translate(-50%, -50%) scale(0); opacity: 0; }

/* 3. EMERALD VELVET (Box Lid Lift) */
#variant-box {
    background: #031410;
}
.box-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #041d16;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9), 0 10px 30px rgba(0,0,0,0.6);
    border: 8px solid #02120e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease;
    z-index: 2;
}
.box-inner-lid {
    border: 2px solid #ecd4a2;
    border-radius: 4px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(236, 212, 162, 0.15);
}
.box-monogram {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #ecd4a2;
    border: 1px solid #ecd4a2;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.box-title {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #ecd4a2;
    opacity: 0.85;
    margin-bottom: 0.8rem;
}
.box-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}
.box-divider {
    width: 35px;
    height: 1px;
    background: #ecd4a2;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}
.box-prompt {
    background: rgba(236, 212, 162, 0.12);
    color: #ecd4a2;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;

    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(236, 212, 162, 0.3);
    animation: pulsePrompt 2s infinite;
}
.phone-envelope-screen.open-animation #box-lid {
    transform: translateY(-80px) scale(1.05);
    opacity: 0;
}

/* 4. BURGUNDY ROSE (Ribbon Wrap - Rich Redesign) */
#variant-ribbon {
    background: #4A0E17;
}
.ribbon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #5c111d 0%, #30080e 60%, #1a050a 100%);
    box-shadow: inset 0 0 60px rgba(0,0,0,0.7);
}
/* Background pattern overlay */
.ribbon-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(183,110,121,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(183,110,121,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236,203,208,0.03) 0%, transparent 40%);
}
/* Thin decorative border inset */
.ribbon-bg::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(183,110,121,0.2);
    border-radius: 2px;
    pointer-events: none;
}

/* Corner rose ornaments */
.ribbon-corner {
    position: absolute;
    width: 65px;
    height: 65px;
    z-index: 1;
    opacity: 0.9;
    pointer-events: none;
}
.ribbon-corner-tl { top: 15px; left: 15px; }
.ribbon-corner-tr { top: 15px; right: 15px; }
.ribbon-corner-bl { bottom: 15px; left: 15px; }
.ribbon-corner-br { bottom: 15px; right: 15px; }

/* Top section: label + couple names */
.ribbon-top-section {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80%;
}
.ribbon-invite-label {
    font-family: 'Cinzel', serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(183,110,121,0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.ribbon-couple-names {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #E8C3C9;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    margin-bottom: 10px;
}
.ribbon-top-line {
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #B76E79, transparent);
}

/* Bottom section: date + subtitle */
.ribbon-bottom-section {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ribbon-bottom-line {
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #B76E79, transparent);
    margin-bottom: 10px;
}
.ribbon-date-text {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #E8C3C9;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ribbon-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: rgba(183,110,121,0.6);
    text-transform: uppercase;
}

/* Satin ribbon band */
.ribbon-band {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(183,110,121,0.6) 0%, 
        #B76E79 8%, 
        #E8C3C9 35%, 
        #f0d5da 50%, 
        #E8C3C9 65%, 
        #B76E79 92%, 
        rgba(183,110,121,0.6) 100%);
    transform: translateY(-50%) scaleY(1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), inset 0 0 15px rgba(255,255,255,0.15);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.ribbon-content {
    width: 80%;
    padding: 10px 0;
    text-align: center;
    color: #4A0E17;
}
.ribbon-monogram {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
}

/* Wax seal */
.ribbon-seal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease;
}
.ribbon-bow {
    position: absolute;
    width: 130px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}
.ribbon-wax-seal {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #a01e30 0%, #7a1525 40%, #4A0E17 100%);
    border: 2.5px solid #ecd4a2;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5), inset 0 -2px 6px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.ribbon-seal-inner {
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ribbon-rose-svg {
    width: 22px;
    height: 22px;
    fill: #B76E79;
}
.ribbon-prompt {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #E8C3C9;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 12px;

    margin-top: 12px;
    border: 1px solid rgba(183, 110, 121, 0.3);
    animation: pulsePrompt 2s infinite;
}
.phone-envelope-screen.open-animation #ribbon-band {
    transform: translateY(-50%) scaleX(0);
    opacity: 0;
}
.phone-envelope-screen.open-animation #ribbon-seal-container {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

/* 5. MINIMALIST PEARL (Vellum Sleeve) */
#variant-vellum {
    background: rgba(255, 255, 255, 0.05);
}
.vellum-sleeve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 248, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 6px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
    z-index: 2;
    padding: 20px;
}
.vellum-card {
    border: 1px solid rgba(124, 92, 255, 0.2);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(124,92,255,0.06);
}
.vellum-monogram {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #7c5cff;
    border: 1px solid #7c5cff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.vellum-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: #2c2a29;
    margin-bottom: 1rem;
}
.vellum-decor-line {
    width: 30px;
    height: 1px;
    background: #7c5cff;
    margin-bottom: 1rem;
    opacity: 0.6;
}
.vellum-date {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #7c5cff;
    font-weight: 600;
    margin-bottom: 2rem;
}
.vellum-prompt {
    background: #7c5cff;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;

    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(124, 92, 255, 0.2);
    animation: pulsePrompt 2s infinite;
}
.phone-envelope-screen.open-animation #vellum-sleeve {
    transform: translateX(100%);
    opacity: 0;
}

/* ==========================================================================
   STYLING RULES FOR NEW INVITATION THEMES
   ========================================================================== */

/* 5. BURGUNDY ROSE (Theme Styling) */
.phone-screen.theme-burgundy-rose {
    --invite-bg: #4A0E17;
    --invite-text: #fdfdfd;
    --invite-accent: #B76E79;
    --invite-border: rgba(183, 110, 121, 0.25);
    --card-bg: rgba(74, 14, 23, 0.85);
    --envelope-bg-back: #3c0910;
    --envelope-bg-front: #440c14;
    --envelope-bg-flap: #35080e;
    --seal-bg: #8A1525;
    --seal-glow: rgba(183, 110, 121, 0.3);
    
    --font-romantic: 'Great Vibes';
    font-family: 'Montserrat', sans-serif;
    color: var(--invite-text);
    background-color: var(--invite-bg);
}

.phone-screen.theme-burgundy-rose .phone-card-inner {
    border: 2px solid #B76E79;
    border-radius: 8px;
    margin: 12px;
    padding: 22px 14px;
    background-color: rgba(74, 14, 23, 0.2);
    box-shadow: inset 0 0 15px rgba(183, 110, 121, 0.1);
}

.phone-screen.theme-burgundy-rose .decor-corner {
    display: block;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    pointer-events: none;
}
.phone-screen.theme-burgundy-rose .decor-tl { top: 20px; left: 20px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23B76E79" stroke-width="1.5"><path d="M2 2h8v2H4v6H2V2zm4 4h4v1.5H7.5V10H6V6z" stroke-linecap="round"/></svg>'); }
.phone-screen.theme-burgundy-rose .decor-tr { top: 20px; right: 20px; transform: scaleX(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23B76E79" stroke-width="1.5"><path d="M2 2h8v2H4v6H2V2zm4 4h4v1.5H7.5V10H6V6z" stroke-linecap="round"/></svg>'); }
.phone-screen.theme-burgundy-rose .decor-bl { bottom: 20px; left: 20px; transform: scaleY(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23B76E79" stroke-width="1.5"><path d="M2 2h8v2H4v6H2V2zm4 4h4v1.5H7.5V10H6V6z" stroke-linecap="round"/></svg>'); }
.phone-screen.theme-burgundy-rose .decor-br { bottom: 20px; right: 20px; transform: scale(-1); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23B76E79" stroke-width="1.5"><path d="M2 2h8v2H4v6H2V2zm4 4h4v1.5H7.5V10H6V6z" stroke-linecap="round"/></svg>'); }

.phone-screen.theme-burgundy-rose .invite-divider {
    height: 16px;
    margin: 8px 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 16" fill="none"><circle cx="50" cy="8" r="3" fill="%23B76E79"/><line x1="0" y1="8" x2="42" y2="8" stroke="%23B76E79" stroke-width="0.8"/><line x1="58" y1="8" x2="100" y2="8" stroke="%23B76E79" stroke-width="0.8"/></svg>');
}

/* Burgundy Rose RSVP Form Overrides */
.phone-screen.theme-burgundy-rose .form-label,
.phone-screen.theme-burgundy-rose .radio-label {
    color: #f8c8d1;
}
.phone-screen.theme-burgundy-rose .form-input {
    background: rgba(80, 20, 30, 0.4);
    border-color: rgba(183, 110, 121, 0.4);
    color: #fff;
}
.phone-screen.theme-burgundy-rose .form-input:focus {
    border-color: #B76E79;
    background: #3A0D16;
}
.phone-screen.theme-burgundy-rose .select-wrapper::after {
    color: #f8c8d1;
}
.phone-screen.theme-burgundy-rose .radio-custom {
    border-color: rgba(255,255,255,0.2);
}
.phone-screen.theme-burgundy-rose .radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #B76E79;
}
.phone-screen.theme-burgundy-rose .radio-label input[type="radio"]:checked + .radio-custom::after {
    background: #B76E79;
}

.phone-screen.theme-burgundy-rose .sim-submit-btn,
.phone-screen.theme-burgundy-rose .t-btn-demo {
    background: #B76E79;
    color: #ffffff;
    border: none;
}
.phone-screen.theme-burgundy-rose .t-btn-demo {
    border: 1px solid #B76E79;
    background: transparent;
    color: #B76E79;
}
.phone-screen.theme-burgundy-rose .t-btn-demo:hover {
    background: #B76E79;
    color: #ffffff;
}

.phone-screen.theme-burgundy-rose .phone-monogram-small,
.phone-screen.theme-burgundy-rose .invite-monogram,
.phone-screen.theme-burgundy-rose .footer-monogram {
    border-color: #B76E79;
    color: #B76E79;
}

.phone-screen.theme-burgundy-rose .invite-names {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
}

.phone-screen.theme-burgundy-rose .invite-highlight-names {
    color: #B76E79;
}

.phone-screen.theme-burgundy-rose .invite-photo-frame {
    background: #4A0E17;
    border-color: rgba(183, 110, 121, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.phone-screen.theme-burgundy-rose .invite-photo-placeholder {
    background: #3c0910;
}

/* 6. MINIMALIST PEARL (Theme Styling) */
.phone-screen.theme-minimalist-pearl {
    --invite-bg: #faf8ff;
    --invite-text: #2c2a29;
    --invite-accent: #7c5cff;
    --invite-border: rgba(124, 92, 255, 0.2);
    --card-bg: rgba(255, 255, 255, 0.9);
    --envelope-bg-back: #e8e5f2;
    --envelope-bg-front: #ece9f7;
    --envelope-bg-flap: #e0dcf0;
    --seal-bg: #7c5cff;
    --seal-glow: rgba(124, 92, 255, 0.3);
    
    --font-romantic: 'Playfair Display';
    font-family: 'Inter', sans-serif;
    color: var(--invite-text);
    background-color: var(--invite-bg);
}

.phone-screen.theme-minimalist-pearl .phone-card-inner {
    border: 1px solid rgba(124, 92, 255, 0.15);
    border-radius: 12px;
    margin: 10px;
    padding: 25px 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(124, 92, 255, 0.04);
}

.phone-screen.theme-minimalist-pearl .decor-corner {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #7c5cff;
    border-radius: 50%;
    position: absolute;
    opacity: 0.5;
    pointer-events: none;
}
.phone-screen.theme-minimalist-pearl .decor-tl { top: 15px; left: 15px; }
.phone-screen.theme-minimalist-pearl .decor-tr { top: 15px; right: 15px; }
.phone-screen.theme-minimalist-pearl .decor-bl { bottom: 15px; left: 15px; }
.phone-screen.theme-minimalist-pearl .decor-br { bottom: 15px; right: 15px; }

.phone-screen.theme-minimalist-pearl .invite-divider {
    height: 20px;
    margin: 10px 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="none"><path d="M25 10 Q30 10 35 10" stroke="%237c5cff" stroke-width="0.5" opacity="0.4"/><path d="M65 10 Q70 10 75 10" stroke="%237c5cff" stroke-width="0.5" opacity="0.4"/><path d="M44 10 L47 7 L50 10 L47 13 Z" fill="%237c5cff" opacity="0.5"/><path d="M56 10 L53 7 L50 10 L53 13 Z" fill="%237c5cff" opacity="0.5"/><circle cx="50" cy="10" r="1.5" fill="%237c5cff" opacity="0.6"/></svg>');
}

.phone-screen.theme-minimalist-pearl .sim-submit-btn,
.phone-screen.theme-minimalist-pearl .t-btn-demo {
    background: #7c5cff;
    color: #ffffff;
    border: none;
    border-radius: 20px;
}
.phone-screen.theme-minimalist-pearl .t-btn-demo {
    border: 1px solid #7c5cff;
    background: transparent;
    color: #7c5cff;
}
.phone-screen.theme-minimalist-pearl .t-btn-demo:hover {
    background: #7c5cff;
    color: #ffffff;
}

.phone-screen.theme-minimalist-pearl .phone-monogram-small,
.phone-screen.theme-minimalist-pearl .invite-monogram,
.phone-screen.theme-minimalist-pearl .footer-monogram {
    border-color: #7c5cff;
    color: #7c5cff;
}

.phone-screen.theme-minimalist-pearl .invite-names {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.9rem;
}

.phone-screen.theme-minimalist-pearl .invite-highlight-names {
    color: #7c5cff;
}

.phone-screen.theme-minimalist-pearl .invite-photo-frame {
    background: #ffffff;
    border-color: rgba(124, 92, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.phone-screen.theme-minimalist-pearl .invite-photo-placeholder {
    background: #faf8ff;
}

/* ==========================================================================
   THEME INTERIOR STRUCTURAL LAYOUT DIFFERENCES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. MIDNIGHT LUXE (Glassmorphic Stack & Photo-less Sleek Text Card)
   -------------------------------------------------------------------------- */
.phone-screen.theme-midnight-luxe {
    background: radial-gradient(circle at center, #1b1b22 0%, #08080a 100%) !important;
}

.phone-screen.theme-midnight-luxe .phone-invitation-card {
    background: transparent !important;
    color: #ffffff !important;
}

.phone-screen.theme-midnight-luxe .phone-card-inner {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 15px 5px !important;
}

/* Photo frame styled as glass card for Midnight Luxe */
.phone-screen.theme-midnight-luxe .invite-photo-container {
    display: flex !important;
}

.phone-screen.theme-midnight-luxe .invite-photo-frame {
    background: #0c0c10 !important;
    border: 1.5px solid rgba(229, 193, 88, 0.3) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(229, 193, 88, 0.08) !important;
    border-radius: 12px !important;
    padding: 4px !important;
    transform: rotate(0deg) !important;
}

.phone-screen.theme-midnight-luxe .invite-photo-placeholder {
    background-color: #0a0a0e;
    border-color: rgba(229, 193, 88, 0.15) !important;
    border-radius: 8px !important;
    color: rgba(229, 193, 88, 0.5) !important;
}

.phone-screen.theme-midnight-luxe .invite-photo-img {
    border-radius: 8px;
}

/* Make each section act as an independent floating glass block */
.phone-screen.theme-midnight-luxe .invite-header,
.phone-screen.theme-midnight-luxe .invite-photo-container,
.phone-screen.theme-midnight-luxe .invite-details-box,
.phone-screen.theme-midnight-luxe .invite-timeline,
.phone-screen.theme-midnight-luxe .invite-countdown,
.phone-screen.theme-midnight-luxe .invite-rsvp,
.phone-screen.theme-midnight-luxe .invite-footer {
    background: rgba(20, 20, 26, 0.75) !important;
    border: 1px solid rgba(229, 193, 88, 0.2) !important;
    border-radius: 16px !important;
    padding: 24px 16px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    margin-bottom: 20px !important;
}

.phone-screen.theme-midnight-luxe .invite-timeline-item {
    padding-left: 20px !important;
}

.phone-screen.theme-midnight-luxe .invite-timeline-item .t-content {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(229, 193, 88, 0.1) !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
}

.phone-screen.theme-midnight-luxe .phone-countdown-container {
    gap: 6px !important;
}

.phone-screen.theme-midnight-luxe .c-box {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(229, 193, 88, 0.12) !important;
    box-shadow: none !important;
}

.phone-screen.theme-midnight-luxe .t-bullet {
    background: #e5c158 !important;
    box-shadow: 0 0 8px #e5c158 !important;
}

.phone-screen.theme-midnight-luxe .t-line {
    background: #e5c158 !important;
    opacity: 0.4 !important;
}

/* --------------------------------------------------------------------------
   2. BOHO DREAM (Arch Architecture & Organic Eucalyptus Watermark)
   -------------------------------------------------------------------------- */
.phone-screen.theme-boho-dream .phone-invitation-card {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03" fill="%238a9a86"><path d="M10 80 Q30 50 60 70 M60 70 Q80 40 90 20" stroke="%238a9a86" stroke-width="1.5" fill="none"/></svg>') !important;
    background-size: 160px !important;
    background-repeat: repeat !important;
    background-color: #fdfaf7 !important;
}

/* Double Arch Photo Frame */
.phone-screen.theme-boho-dream .invite-photo-frame {
    border-radius: 120px 120px 0 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(201, 111, 83, 0.3) !important;
    background: #faf4ee !important;
    padding: 6px !important;
}

.phone-screen.theme-boho-dream .invite-photo-placeholder {
    border-radius: 115px 115px 0 0 !important;
    border: 1px dashed rgba(201, 111, 83, 0.2) !important;
}

/* Arch Shaped Details Card */
.phone-screen.theme-boho-dream .invite-details-box {
    border-radius: 60px 60px 12px 12px !important;
    background: rgba(246, 236, 227, 0.8) !important;
    border: 1px solid rgba(201, 111, 83, 0.2) !important;
    box-shadow: 0 4px 15px rgba(201, 111, 83, 0.04) !important;
}

/* --------------------------------------------------------------------------
   3. BURGUNDY ROSE (Floral Backdrop & Circular Ring Wreath Frame)
   -------------------------------------------------------------------------- */
.phone-screen.theme-burgundy-rose .phone-invitation-card {
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05" fill="%23B76E79"><path d="M50 15c-10 0-18 8-18 18 0 15 18 32 18 32s18-17 18-32c0-10-8-18-18-18z"/></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03" fill="%23B76E79"><circle cx="50" cy="50" r="40"/></svg>') !important;
    background-position: top center, bottom center !important;
    background-repeat: no-repeat !important;
    background-size: 160px, 140px !important;
    background-color: #4A0E17 !important;
}

.phone-screen.theme-burgundy-rose .invite-header {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23B76E79" stroke-width="0.8" opacity="0.15"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5c0 .35-.12.67-.32.93-.05-.03-.1-.07-.15-.1-.45-.31-1.03-.38-1.53-.19v-.64zm2-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5c0 .41-.17.78-.44 1.05-.18-.32-.47-.56-.83-.67l-.23.12v-.5zm-4 1.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5c0 .46-.21.87-.54 1.14-.1-.13-.22-.24-.36-.32-.23-.15-.51-.23-.8-.23l.2.91zm-1-3.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5c0 .32-.1.62-.27.87l-.37-.15c-.24-.1-.5-.15-.76-.15-.49 0-.94.18-1.28.48l-.32-1.05z"/></svg>') !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-size: 60px !important;
    padding-top: 25px !important;
}

/* Decouped Circular Photo Frame */
.phone-screen.theme-burgundy-rose .invite-photo-frame {
    border-radius: 50% !important;
    width: 170px !important;
    height: 170px !important;
    margin: 0 auto !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.45) !important;
    border: 3px solid #B76E79 !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.phone-screen.theme-burgundy-rose .invite-photo-placeholder {
    border-radius: 50% !important;
}

/* --------------------------------------------------------------------------
   4. MINIMALIST PEARL (Text-Only Letter, Schedule Grid & Pill countdown)
   -------------------------------------------------------------------------- */
.phone-screen.theme-minimalist-pearl .phone-card-inner {
    border: none !important;
    padding: 25px 12px !important;
}

/* Show photo container for modern letter look */
.phone-screen.theme-minimalist-pearl .invite-photo-container {
    display: flex !important;
}

/* Transform vertical timeline into clean horizontal grid cards */
.phone-screen.theme-minimalist-pearl .invite-timeline-item .t-bullet,
.phone-screen.theme-minimalist-pearl .invite-timeline-item .t-line {
    display: none !important;
}

.phone-screen.theme-minimalist-pearl .invite-timeline-item {
    padding-left: 0 !important;
}

.phone-screen.theme-minimalist-pearl .invite-timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.phone-screen.theme-minimalist-pearl .invite-timeline-item .t-content {
    border-radius: 12px !important;
    border: 1px solid rgba(124, 92, 255, 0.12) !important;
    background: #ffffff !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(124,92,255,0.02) !important;
    padding: 16px !important;
    text-align: left !important;
}

/* Minimalist Pill Countdown Bar */
.phone-screen.theme-minimalist-pearl .phone-countdown-container {
    display: flex !important;
    justify-content: space-around !important;
    background: rgba(124, 92, 255, 0.05) !important;
    border-radius: 30px !important;
    padding: 8px 4px !important;
    gap: 2px !important;
}

.phone-screen.theme-minimalist-pearl .c-box {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   5. EMERALD VELVET (Velvet Scroll, Shield Box & Gold Frame Photo)
   -------------------------------------------------------------------------- */
.phone-screen.theme-emerald-velvet .phone-invitation-card {
    background: #05251c !important;
}

.phone-screen.theme-emerald-velvet .invite-photo-frame {
    border: 4px solid #ecd4a2 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5) !important;
    transform: rotate(0deg) !important;
}

.phone-screen.theme-emerald-velvet .invite-details-box {
    background: rgba(4, 29, 22, 0.95) !important;
    border: 2px solid #ecd4a2 !important;
    border-radius: 4px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}

/* Centered Parents shield badge */
.phone-screen.theme-emerald-velvet .invite-parents-grid {
    background: rgba(5, 37, 28, 0.6) !important;
    border: 1px solid #ecd4a2 !important;
    border-radius: 6px !important;
    padding: 15px 10px !important;
    box-shadow: inset 0 0 10px rgba(236,212,162,0.15) !important;
}

/* ==========================================
   MOBILE RESPONSIVE TABS & UX OPTIMIZATIONS
   ========================================== */

/* Mobile navigation tab-bar - hidden on desktop */
.mobile-tabs-nav {
    display: none;
}

@media (max-width: 1024px) {
    /* Main Layout Toggles on Mobile */
    .mobile-tabs-nav {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(20, 20, 24, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
        margin-bottom: 1.5rem;
        border-radius: 14px;
        overflow: hidden;
        padding: 5px;
        gap: 6px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
    
    .mobile-tab-btn {
        flex: 1;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.6);
        padding: 12px 10px;
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        border-radius: 10px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-tab-btn.active {
        background: var(--accent-gold);
        color: #121214;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    }
    
    .portfolio-container {
        grid-template-columns: 1fr !important;
        padding: 1rem !important;
        gap: 1rem !important;
    }
    
    /* Toggle active views */
    .portfolio-container.show-preview .portfolio-sidebar {
        display: none !important;
    }
    .portfolio-container.show-preview .portfolio-studio {
        display: flex !important;
    }
    
    .portfolio-container.show-config .portfolio-sidebar {
        display: flex !important;
    }
    .portfolio-container.show-config .portfolio-studio {
        display: none !important;
    }
    
    /* Remove scrollbars inside sidebar on mobile so it scrolls page naturally */
    .portfolio-sidebar {
        max-height: none !important;
        overflow-y: visible !important;
        padding-right: 0 !important;
    }
    
    /* Portfolio Header compact on mobile */
    .portfolio-header {
        padding: 1.5rem 1rem !important;
        text-align: center;
    }
    
    .portfolio-header h1 {
        font-size: 1.6rem !important;
    }
    
    .portfolio-header p {
        font-size: 0.85rem !important;
    }
    
    /* Accordion headers: better touch targets */
    .acc-header {
        padding: 14px 16px !important;
        min-height: 48px;
    }
    
    /* Form inputs: larger for finger tapping */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important; /* prevents iOS zoom on focus */
        padding: 10px 12px !important;
        min-height: 44px;
    }
    
    /* Studio Adjustments on Mobile */
    .portfolio-studio {
        padding: 0 !important;
        width: 100% !important;
        min-height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .studio-controls {
        width: 100% !important;
        max-width: 450px !important;
        margin-bottom: 1rem !important;
    }
    
    /* Studio control buttons: compact grid on mobile */
    .studio-controls .control-btns {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .studio-controls .control-btns button {
        font-size: 0.75rem !important;
        padding: 8px 10px !important;
        min-height: 44px;
    }
    
    /* Phone Mockup override to look like a full-screen layout on Mobile */
    .phone-wrapper {
        perspective: none !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 450px !important;
        height: calc(100vh - 170px) !important;
        min-height: 520px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .smartphone {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
        transform: none !important;
        background: transparent !important;
    }
    
    .smartphone:hover {
        transform: none !important;
    }
    
    .phone-screen-container {
        border-radius: 16px !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .phone-notch, 
    .phone-button, 
    .phone-glare {
        display: none !important;
    }
    
    /* Audio button: slightly bigger on touch devices */
    .phone-audio-indicator {
        width: 40px !important;
        height: 40px !important;
        bottom: 14px !important;
        right: 12px !important;
    }
    
    /* Floating Tip Adjustment */
    .recording-tip {
        position: relative !important;
        margin-top: 1rem !important;
        width: 100% !important;
        max-width: 450px !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    }
    
    /* WhatsApp button: full width on mobile */
    .btn-submit-order {
        width: 100% !important;
        font-size: 1rem !important;
        padding: 14px 20px !important;
    }
}

@media (max-width: 480px) {
    .portfolio-container {
        padding: 0.5rem !important;
    }
    
    .mobile-tab-btn {
        font-size: 0.78rem;
        padding: 10px 6px;
    }
    
    .portfolio-header h1 {
        font-size: 1.3rem !important;
    }
    
    /* Phone wrapper uses more screen on small phones */
    .phone-wrapper {
        height: calc(100vh - 140px) !important;
        min-height: 480px !important;
    }
    
    /* Accordion panels: tighter spacing */
    .acc-body {
        padding: 10px 12px !important;
    }
    
    /* Theme cards: compact on small screens */
    .theme-card {
        padding: 14px !important;
    }
    
    .theme-card h3 {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 360px) {
    .portfolio-header h1 {
        font-size: 1.1rem !important;
    }
    
    .mobile-tab-btn {
        font-size: 0.7rem;
        padding: 8px 4px;
        letter-spacing: 0;
    }
    
    .phone-wrapper {
        height: calc(100vh - 120px) !important;
        min-height: 420px !important;
    }
}

/* ==========================================================================
   NEW THEMES STYLES (Cosmic, Gatsby, Rustic)
   ========================================================================== */

/* --------------------------------------------------------------------------
   7. COSMIC LOVE
   -------------------------------------------------------------------------- */
.phone-screen.theme-cosmic-love {
    background: radial-gradient(circle at top right, #1b0a33 0%, #06020f 60%, #000000 100%) !important;
}

.phone-screen.theme-cosmic-love .phone-invitation-card {
    background: transparent !important;
    color: #e2e8f0 !important;
    font-family: 'Outfit', sans-serif !important;
}

.phone-screen.theme-cosmic-love .phone-card-inner {
    border: 1px solid rgba(138, 180, 248, 0.15) !important;
    background: rgba(10, 5, 20, 0.6) !important;
    box-shadow: 0 0 30px rgba(138, 180, 248, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
}

/* Cosmic Typography */
.phone-screen.theme-cosmic-love .invite-monogram {
    font-family: 'Cinzel', serif !important;
    color: #c7d2fe !important;
    text-shadow: 0 0 15px rgba(199, 210, 254, 0.5) !important;
}

.phone-screen.theme-cosmic-love .invite-couple-names {
    font-family: 'Cinzel', serif !important;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.3) !important;
}

.phone-screen.theme-cosmic-love .invite-romantic-quote {
    color: #94a3b8 !important;
    font-style: italic !important;
}

.phone-screen.theme-cosmic-love .invite-date-text,
.phone-screen.theme-cosmic-love .invite-main-date,
.phone-screen.theme-cosmic-love .invite-highlight-names {
    color: #818cf8 !important;
    letter-spacing: 2px !important;
}

/* Cosmic UI Elements */
.phone-screen.theme-cosmic-love .invite-details-box {
    background: rgba(30, 27, 75, 0.4) !important;
    border: 1px dashed rgba(129, 140, 248, 0.3) !important;
    border-radius: 16px !important;
}

.phone-screen.theme-cosmic-love .invite-timeline-item .t-bullet {
    background: #818cf8 !important;
    box-shadow: 0 0 10px #818cf8 !important;
    border-color: #312e81 !important;
}

.phone-screen.theme-cosmic-love .invite-timeline-item .t-line {
    background: linear-gradient(to bottom, #818cf8, transparent) !important;
}

.phone-screen.theme-cosmic-love .c-box {
    background: rgba(30, 27, 75, 0.6) !important;
    border: 1px solid rgba(129, 140, 248, 0.2) !important;
    color: #c7d2fe !important;
    box-shadow: inset 0 0 15px rgba(129, 140, 248, 0.1) !important;
}

.phone-screen.theme-cosmic-love .invite-btn-rsvp {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    color: #ffffff !important;
    border: 1px solid #818cf8 !important;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4) !important;
}

/* Cosmic Opening Animation (Astrolabe/Galaxy) */
.phone-screen.theme-cosmic-love .cosmic-galaxy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    cursor: pointer;
}

.phone-screen.theme-cosmic-love .cosmic-core {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 40px 10px #818cf8, inset 0 0 10px #3730a3;
    animation: pulseCore 2s infinite alternate;
}

.phone-screen.theme-cosmic-love .cosmic-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(138, 180, 248, 0.4);
    pointer-events: none;
}

.phone-screen.theme-cosmic-love .ring1 { width: 120px; height: 120px; animation: spinRing 10s linear infinite; }
.phone-screen.theme-cosmic-love .ring2 { width: 180px; height: 180px; animation: spinRing 15s linear infinite reverse; border-style: solid; border-color: rgba(138, 180, 248, 0.1); border-width: 2px; }
.phone-screen.theme-cosmic-love .ring3 { width: 240px; height: 240px; animation: spinRing 20s linear infinite; border-style: dotted; }

.phone-screen.theme-cosmic-love .cosmic-seal {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(10, 5, 20, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid #818cf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px #818cf8;
}

.phone-screen.theme-cosmic-love .cosmic-monogram {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.phone-screen.theme-cosmic-love .cosmic-prompt {
    position: absolute;
    bottom: -40px;
    color: #c7d2fe;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadePulse 2s infinite;
}

@keyframes spinRing { 100% { transform: rotate(360deg); } }
@keyframes pulseCore { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 60px 15px #818cf8; } }

/* Cosmic Opening state */
.phone-envelope-screen.opened .cosmic-galaxy {
    transform: translate(-50%, -50%) scale(5);
    opacity: 0;
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.phone-envelope-screen.theme-cosmic-love { background: #05020a; }

/* --------------------------------------------------------------------------
   8. GATSBY GLAMOUR
   -------------------------------------------------------------------------- */
.phone-screen.theme-gatsby-glamour {
    background: #111111 !important;
}

.phone-screen.theme-gatsby-glamour .phone-invitation-card {
    background: #111111 !important;
    color: #e5e7eb !important;
    font-family: 'Montserrat', sans-serif !important;
}

.phone-screen.theme-gatsby-glamour .phone-card-inner {
    border: 3px solid #d4af37 !important;
    border-radius: 0 !important;
    background: #000000 !important;
    position: relative !important;
}

/* Add inner art deco border */
.phone-screen.theme-gatsby-glamour .phone-card-inner::before {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid #d4af37;
    pointer-events: none;
}

.phone-screen.theme-gatsby-glamour .invite-monogram {
    font-family: 'Cinzel', serif !important;
    color: #d4af37 !important;
    font-size: 3.5rem !important;
    font-weight: 400 !important;
}

.phone-screen.theme-gatsby-glamour .invite-couple-names {
    font-family: 'Cinzel', serif !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    font-weight: 300 !important;
}

.phone-screen.theme-gatsby-glamour .invite-couple-names .ampersand {
    color: #d4af37 !important;
}

.phone-screen.theme-gatsby-glamour .invite-romantic-quote {
    color: #a3a3a3 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.75rem !important;
}

.phone-screen.theme-gatsby-glamour .invite-date-text,
.phone-screen.theme-gatsby-glamour .invite-main-date,
.phone-screen.theme-gatsby-glamour .invite-highlight-names {
    color: #d4af37 !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
}

.phone-screen.theme-gatsby-glamour .invite-details-box {
    background: transparent !important;
    border: 1px solid #d4af37 !important;
    border-radius: 0 !important;
}

.phone-screen.theme-gatsby-glamour .invite-timeline-item .t-bullet {
    background: #000000 !important;
    border: 2px solid #d4af37 !important;
    border-radius: 0 !important;
    transform: rotate(45deg) !important;
}

.phone-screen.theme-gatsby-glamour .invite-timeline-item .t-line {
    background: #d4af37 !important;
}

.phone-screen.theme-gatsby-glamour .c-box {
    background: transparent !important;
    border: 1px solid #d4af37 !important;
    border-radius: 0 !important;
    color: #ffffff !important;
}

.phone-screen.theme-gatsby-glamour .invite-btn-rsvp {
    background: transparent !important;
    color: #d4af37 !important;
    border: 2px solid #d4af37 !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-family: 'Cinzel', serif !important;
    letter-spacing: 2px !important;
}

.phone-screen.theme-gatsby-glamour .invite-photo-frame {
    border: 2px solid #d4af37 !important;
    border-radius: 0 !important;
    padding: 6px !important;
}

/* Gatsby Opening Animation (Elevator Doors) */
.phone-screen.theme-gatsby-glamour .gatsby-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #111111;
    border: 4px solid #d4af37;
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
    z-index: 100;
    overflow: hidden;
}

.phone-screen.theme-gatsby-glamour .gatsby-left { left: 0; border-right: 2px solid #d4af37; }
.phone-screen.theme-gatsby-glamour .gatsby-right { right: 0; border-left: 2px solid #d4af37; }

/* Simple Art Deco lines via CSS */
.phone-screen.theme-gatsby-glamour .gatsby-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, #d4af37 49%, #d4af37 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, #d4af37 49%, #d4af37 51%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.15;
}

.phone-screen.theme-gatsby-glamour .gatsby-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #000;
    border: 3px solid #d4af37;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform-origin: center;
    transition: opacity 0.3s, transform 0.5s;
}

.phone-screen.theme-gatsby-glamour .gatsby-lock::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid #d4af37;
    transform: rotate(45deg);
}

.phone-screen.theme-gatsby-glamour .gatsby-monogram {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 2rem;
}

.phone-screen.theme-gatsby-glamour .gatsby-prompt {
    position: absolute;
    bottom: -60px;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    animation: fadePulse 2s infinite;
}

/* Gatsby Opening state */
.phone-envelope-screen.opened .gatsby-left { transform: translateX(-100%); }
.phone-envelope-screen.opened .gatsby-right { transform: translateX(100%); }
.phone-envelope-screen.opened .gatsby-lock { opacity: 0; transform: translate(-50%, -50%) scale(0.5) rotate(90deg); pointer-events: none; }


/* --------------------------------------------------------------------------
   9. RUSTIC ROMANCE
   -------------------------------------------------------------------------- */
.phone-screen.theme-rustic-romance {
    background: #3e2723 !important; /* Dark wood color */
}

.phone-screen.theme-rustic-romance .phone-invitation-card {
    background: #3e2723 !important;
    background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 2px, transparent 2px, transparent 40px),
                      repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 100px) !important;
}

.phone-screen.theme-rustic-romance .phone-card-inner {
    background: #dcd0bc !important; /* Kraft paper */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5) !important;
    color: #4e342e !important;
    font-family: 'Lora', serif !important;
    position: relative !important;
    border: none !important;
}

/* Lace borders */
.phone-screen.theme-rustic-romance .phone-card-inner::before,
.phone-screen.theme-rustic-romance .phone-card-inner::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 15px;
    background-image: radial-gradient(circle at 10px 0, transparent 10px, #ffffff 11px);
    background-size: 20px 15px;
    background-position: bottom;
    z-index: 10;
}
.phone-screen.theme-rustic-romance .phone-card-inner::before { top: -15px; transform: rotate(180deg); }
.phone-screen.theme-rustic-romance .phone-card-inner::after { bottom: -15px; }

.phone-screen.theme-rustic-romance .invite-monogram {
    font-family: 'Alex Brush', cursive !important;
    color: #3e2723 !important;
}

.phone-screen.theme-rustic-romance .invite-couple-names {
    font-family: 'Alex Brush', cursive !important;
    color: #3e2723 !important;
    font-size: 3rem !important;
    line-height: 1.2 !important;
}

.phone-screen.theme-rustic-romance .invite-romantic-quote {
    color: #5d4037 !important;
    font-style: italic !important;
}

.phone-screen.theme-rustic-romance .invite-date-text,
.phone-screen.theme-rustic-romance .invite-main-date,
.phone-screen.theme-rustic-romance .invite-highlight-names {
    color: #3e2723 !important;
    font-weight: 700 !important;
}

.phone-screen.theme-rustic-romance .invite-details-box {
    background: transparent !important;
    border: 1px dashed #795548 !important;
    border-radius: 8px !important;
}

.phone-screen.theme-rustic-romance .invite-timeline-item .t-bullet {
    background: #8d6e63 !important;
    border: none !important;
}

.phone-screen.theme-rustic-romance .invite-timeline-item .t-line {
    background: dashed 1px #8d6e63 !important;
}

.phone-screen.theme-rustic-romance .c-box {
    background: rgba(255, 255, 255, 0.4) !important;
    border: 1px dashed #795548 !important;
    color: #3e2723 !important;
    border-radius: 8px !important;
}

.phone-screen.theme-rustic-romance .invite-btn-rsvp {
    background: #5d4037 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
}

/* Polaroid style photo */
.phone-screen.theme-rustic-romance .invite-photo-frame {
    background: #ffffff !important;
    padding: 10px 10px 30px 10px !important;
    border: 1px solid #ccc !important;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.15) !important;
    border-radius: 2px !important;
    transform: rotate(-3deg) !important;
}

/* Rustic Opening Animation (Burlap & Twine) */
.phone-screen.theme-rustic-romance .rustic-burlap {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #a1887f;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 4px);
    z-index: 100;
    transition: opacity 1s, visibility 1s;
}

.phone-screen.theme-rustic-romance .rustic-twine {
    position: absolute;
    background: #5d4037;
    z-index: 101;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-screen.theme-rustic-romance .twine-h {
    top: 50%; left: 0; width: 100%; height: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.phone-screen.theme-rustic-romance .twine-v {
    left: 50%; top: 0; width: 4px; height: 100%;
    box-shadow: 2px 0 4px rgba(0,0,0,0.3);
}

.phone-screen.theme-rustic-romance .rustic-tag-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 102;
    cursor: pointer;
    transition: opacity 0.5s;
}

.phone-screen.theme-rustic-romance .rustic-tag-card {
    background: #fff8e1;
    border: 1px dashed #d7ccc8;
    padding: 15px 30px;
    border-radius: 4px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.phone-screen.theme-rustic-romance .rustic-hole {
    width: 8px; height: 8px;
    background: #3e2723;
    border-radius: 50%;
    position: absolute;
    top: -4px; left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

.phone-screen.theme-rustic-romance .rustic-monogram {
    font-family: 'Alex Brush', cursive;
    color: #3e2723;
    font-size: 2rem;
}

.phone-screen.theme-rustic-romance .rustic-names {
    font-family: 'Lora', serif;
    color: #5d4037;
    font-size: 0.9rem;
    margin-top: 5px;
}

.phone-screen.theme-rustic-romance .rustic-prompt {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-family: 'Lora', serif;
    font-style: italic;
    white-space: nowrap;
    animation: fadePulse 2s infinite;
}

/* Rustic Opening state */
.phone-envelope-screen.opened .rustic-burlap { opacity: 0; visibility: hidden; transition-delay: 0.5s; }
.phone-envelope-screen.opened .twine-h { transform: scaleX(0); }
.phone-envelope-screen.opened .twine-v { transform: scaleY(0); }
.phone-envelope-screen.opened .rustic-tag-container { opacity: 0; pointer-events: none; transform: translate(-50%, 50%); }
/* ==========================================================================
   INTERIOR ENHANCEMENTS (Fixes for Cosmic, Gatsby, Rustic)
   ========================================================================== */

/* 1. RUSTIC ROMANCE FIXES */
.phone-screen.theme-rustic-romance .phone-card-inner {
    background: #e8dcc7 !important; /* Lighter, warmer Kraft paper */
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.05"/></svg>') !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 0 0 40px rgba(141, 110, 99, 0.2) !important;
    color: #3e2723 !important;
    border: 1px solid #c7b299 !important;
    border-radius: 8px !important;
}

/* Remove the broken lace pseudo-elements */
.phone-screen.theme-rustic-romance .phone-card-inner::before,
.phone-screen.theme-rustic-romance .phone-card-inner::after {
    display: none !important;
}

/* Add a beautiful inner dashed border instead of lace */
.phone-screen.theme-rustic-romance .phone-card-inner {
    outline: 1px dashed #8d6e63 !important;
    outline-offset: -10px !important;
}

/* 2. COSMIC LOVE FIXES */
.phone-screen.theme-cosmic-love .phone-card-inner {
    border: 1px solid rgba(199, 210, 254, 0.3) !important;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.8) 0%, rgba(10, 5, 20, 0.9) 100%) !important;
    box-shadow: inset 0 0 30px rgba(129, 140, 248, 0.15), 0 15px 35px rgba(0,0,0,0.8) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 24px !important;
}

/* 3. GATSBY GLAMOUR FIXES */
.phone-screen.theme-gatsby-glamour .phone-card-inner {
    border: 2px solid #d4af37 !important;
    background: #0a0a0a !important;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(212, 175, 55, 0.05) 49%, rgba(212, 175, 55, 0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(212, 175, 55, 0.05) 49%, rgba(212, 175, 55, 0.05) 51%, transparent 52%) !important;
    background-size: 30px 30px !important;
    border-radius: 0 !important;
    box-shadow: inset 0 0 0 6px #0a0a0a, inset 0 0 0 7px #d4af37, 0 15px 35px rgba(0,0,0,0.9) !important;
}

/* Remove old absolute before element which didn't scroll well */
.phone-screen.theme-gatsby-glamour .phone-card-inner::before {
    display: none !important;
}
/* ==========================================================================
   10 NEW WOW THEMES
   ========================================================================== */

/* Display logic */
.theme-deleted #variant-blossom { display: flex !important; }
.phone-screen.theme-fairy-tale-forest #variant-fairy { display: flex !important; }
.phone-screen.theme-ocean-breeze #variant-ocean { display: flex !important; }
.phone-screen.theme-vintage-cinema #variant-cinema { display: flex !important; }
.phone-screen.theme-royal-bridgerton #variant-royal { display: flex !important; }
.phone-screen.theme-winter-wonderland #variant-winter { display: flex !important; }
.phone-screen.theme-desert-terracotta #variant-desert { display: flex !important; }
.phone-screen.theme-starlight-noir #variant-noir { display: flex !important; }
.phone-screen.theme-watercolor-floral #variant-floral { display: flex !important; }
.phone-screen.theme-modern-marble #variant-marble { display: flex !important; }

/* --------------------------------------------------------------------------
   10. NEON CYBERPUNK
   -------------------------------------------------------------------------- */
.theme-deleted {
    background: #050510 !important;
}
.theme-deleted .phone-card-inner {
    background: rgba(10,10,25,0.9) !important;
    border: 2px solid #ff007f !important;
    box-shadow: 0 0 20px rgba(255,0,127,0.5), inset 0 0 20px rgba(0,255,255,0.2) !important;
    color: #e0e0e0 !important;
    font-family: 'Courier New', monospace !important;
    border-radius: 0 !important;
}
.theme-deleted .invite-monogram {
    font-weight: bold !important; color: #00ffff !important; text-shadow: 0 0 10px #00ffff !important;
}
.theme-deleted .invite-couple-names {
    color: #ff007f !important; text-shadow: 0 0 10px #ff007f !important; text-transform: uppercase !important;
}
.theme-deleted .invite-btn-rsvp {
    background: transparent !important; color: #00ffff !important; border: 2px solid #00ffff !important;
    box-shadow: 0 0 10px #00ffff, inset 0 0 10px #00ffff !important; border-radius: 0 !important; text-transform: uppercase !important;
}
/* Cyberpunk Opening */
.neon-gate { position: absolute; width: 100%; height: 100%; z-index: 100; overflow: hidden; background: #000; }
.neon-panel { position: absolute; width: 50%; height: 100%; top: 0; background: #050510; border: 2px solid #ff007f; box-shadow: 0 0 20px #ff007f; transition: transform 1s cubic-bezier(0.1, 0.9, 0.2, 1); }
.neon-panel.left-panel { left: 0; border-right: 4px solid #00ffff; }
.neon-panel.right-panel { right: 0; border-left: 4px solid #00ffff; }
.neon-center-lock { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: #050510; border: 3px solid #00ffff; box-shadow: 0 0 30px #00ffff; display: flex; align-items: center; justify-content: center; z-index: 101; cursor: pointer; transition: 0.5s; }
.neon-monogram { color: #ff007f; text-shadow: 0 0 10px #ff007f; font-family: 'Courier New', monospace; font-weight: bold; font-size: 1.5rem; }
.neon-prompt { position: absolute; bottom: -40px; color: #00ffff; text-shadow: 0 0 10px #00ffff; letter-spacing: 3px; font-family: 'Courier New', monospace; animation: fadePulse 1s infinite; }
.phone-envelope-screen.opened .left-panel { transform: translateX(-100%); }
.phone-envelope-screen.opened .right-panel { transform: translateX(100%); }
.phone-envelope-screen.opened .neon-center-lock { opacity: 0; transform: translate(-50%, -50%) scale(2); pointer-events: none; }

/* --------------------------------------------------------------------------
   11. FAIRY TALE FOREST
   -------------------------------------------------------------------------- */
.phone-screen.theme-fairy-tale-forest {
    background: radial-gradient(circle, #2d4a22 0%, #0d1a0b 100%) !important;
}
.phone-screen.theme-fairy-tale-forest .phone-card-inner {
    background: #f4f1e1 !important;
    border: 8px solid transparent !important;
    border-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30"><path d="M15 0 C25 10 30 20 15 30 C0 20 5 10 15 0" fill="%23d4af37" opacity="0.3"/></svg>') 10 stretch !important;
    color: #1b3a12 !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8) !important;
}
.phone-screen.theme-fairy-tale-forest .invite-monogram { font-family: 'Great Vibes', cursive !important; color: #d4af37 !important; font-size: 3rem !important; }
.phone-screen.theme-fairy-tale-forest .invite-couple-names { font-family: 'Great Vibes', cursive !important; color: #2d4a22 !important; font-size: 2.8rem !important; }
.phone-screen.theme-fairy-tale-forest .invite-btn-rsvp { background: #d4af37 !important; color: #fff !important; border-radius: 30px !important; border: none !important; }
/* Fairy Opening */
.fairy-vines { position: absolute; width: 100%; height: 100%; background: #0d1a0b; z-index: 100; transition: opacity 1.5s; display: flex; align-items: center; justify-content: center; }
.fairy-leaves { position: absolute; width: 100%; height: 100%; background-image: radial-gradient(rgba(212,175,55,0.1) 2px, transparent 2px); background-size: 30px 30px; opacity: 0.5; }
.fairy-lock { width: 100px; height: 100px; background: rgba(255,255,255,0.1); border: 2px solid #d4af37; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(5px); box-shadow: 0 0 20px rgba(212,175,55,0.5); z-index: 101; transition: 0.5s; }
.fairy-monogram { color: #d4af37; font-family: 'Great Vibes', cursive; font-size: 2rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.fairy-prompt { position: absolute; bottom: 20%; color: #d4af37; font-family: 'Georgia', serif; font-style: italic; letter-spacing: 2px; animation: fadePulse 2s infinite; }
.phone-envelope-screen.opened .fairy-vines { opacity: 0; pointer-events: none; transform: scale(1.1); }
.phone-envelope-screen.opened .fairy-lock { transform: scale(3) rotate(45deg); opacity: 0; }

/* --------------------------------------------------------------------------
   12. OCEAN BREEZE
   -------------------------------------------------------------------------- */
.phone-screen.theme-ocean-breeze {
    background: linear-gradient(180deg, #ade8f4 0%, #0077b6 100%) !important;
}
.phone-screen.theme-ocean-breeze .phone-card-inner {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,119,182,0.3) !important;
    color: #03045e !important;
}
.phone-screen.theme-ocean-breeze .invite-monogram { color: #0096c7 !important; font-family: 'Alex Brush', cursive !important; }
.phone-screen.theme-ocean-breeze .invite-couple-names { color: #0077b6 !important; font-family: 'Alex Brush', cursive !important; font-size: 3rem !important; }
.phone-screen.theme-ocean-breeze .invite-btn-rsvp { background: #00b4d8 !important; color: #fff !important; border-radius: 20px !important; border: none !important; }
/* Ocean Opening */
.ocean-waves { position: absolute; width: 100%; height: 100%; background: #e0fbfc; z-index: 100; overflow: hidden; transition: opacity 1.5s; display: flex; align-items: center; justify-content: center; }
.wave { position: absolute; bottom: 0; width: 200%; height: 50%; background: #90e0ef; opacity: 0.6; border-radius: 40%; animation: waveAnim 5s infinite linear; transform-origin: 50% 50%; }
.wave2 { bottom: -10%; background: #00b4d8; animation: waveAnim 7s infinite linear reverse; }
@keyframes waveAnim { 0% { transform: translateX(-25%) rotate(0deg); } 100% { transform: translateX(-25%) rotate(360deg); } }
.ocean-pearl { width: 80px; height: 80px; background: radial-gradient(circle, #fff, #e0fbfc); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.2), inset -5px -5px 15px rgba(0,0,0,0.1); z-index: 101; transition: 0.5s; }
.ocean-monogram { color: #0077b6; font-family: 'Alex Brush', cursive; font-size: 2rem; }
.ocean-prompt { position: absolute; bottom: 15%; color: #03045e; font-family: sans-serif; letter-spacing: 2px; text-transform: uppercase; z-index: 102; animation: fadePulse 2s infinite; }
.phone-envelope-screen.opened .ocean-waves { opacity: 0; transform: translateY(20%); pointer-events: none; }
.phone-envelope-screen.opened .ocean-pearl { transform: translateY(-100px) scale(0); opacity: 0; }

/* --------------------------------------------------------------------------
   13. VINTAGE CINEMA
   -------------------------------------------------------------------------- */
.phone-screen.theme-vintage-cinema {
    background: #1a1a1a !important;
}
.phone-screen.theme-vintage-cinema .phone-card-inner {
    background: #e5e5e5 !important;
    border: 10px solid #1a1a1a !important;
    border-image: repeating-linear-gradient(to bottom, #1a1a1a 0, #1a1a1a 10px, transparent 10px, transparent 20px) 10 stretch !important;
    color: #1a1a1a !important;
    border-radius: 0 !important;
    font-family: 'Courier New', monospace !important;
    filter: sepia(0.4) contrast(1.1) !important;
}
.phone-screen.theme-vintage-cinema .invite-monogram { font-weight: bold !important; font-size: 3rem !important; }
.phone-screen.theme-vintage-cinema .invite-couple-names { text-transform: uppercase !important; font-weight: bold !important; letter-spacing: 2px !important; }
.phone-screen.theme-vintage-cinema .invite-btn-rsvp { background: #1a1a1a !important; color: #fff !important; border-radius: 0 !important; font-weight: bold !important; text-transform: uppercase !important; }
/* Cinema Opening */
.cinema-countdown { position: absolute; width: 100%; height: 100%; background: #1a1a1a; z-index: 100; display: flex; align-items: center; justify-content: center; flex-direction: column; cursor: pointer; transition: opacity 0.5s; filter: sepia(0.5) contrast(1.2) noise(0.5); }
.cinema-circle { width: 150px; height: 150px; border: 4px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.cinema-line { position: absolute; width: 2px; height: 100%; background: rgba(255,255,255,0.5); animation: spinLine 1s linear infinite; }
@keyframes spinLine { 100% { transform: rotate(360deg); } }
.cinema-number { color: #fff; font-size: 3rem; font-family: 'Courier New', monospace; font-weight: bold; z-index: 2; }
.cinema-prompt { color: #fff; margin-top: 30px; font-family: 'Courier New', monospace; text-transform: uppercase; animation: fadePulse 0.5s infinite alternate; }
.phone-envelope-screen.opened .cinema-countdown { opacity: 0; transform: scale(2); pointer-events: none; }

/* --------------------------------------------------------------------------
   14. ROYAL BRIDGERTON
   -------------------------------------------------------------------------- */
.phone-screen.theme-royal-bridgerton {
    background: #a2d2ff !important;
}
.phone-screen.theme-royal-bridgerton .phone-card-inner {
    background: #fff !important;
    border: 1px solid #d4af37 !important;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px #d4af37, 0 20px 40px rgba(0,0,0,0.2) !important;
    border-radius: 4px !important;
    color: #3d5a80 !important;
}
.phone-screen.theme-royal-bridgerton .invite-monogram { font-family: 'Great Vibes', cursive !important; color: #d4af37 !important; font-size: 3.5rem !important; }
.phone-screen.theme-royal-bridgerton .invite-couple-names { font-family: 'Great Vibes', cursive !important; color: #d4af37 !important; font-size: 3rem !important; }
.phone-screen.theme-royal-bridgerton .invite-btn-rsvp { background: #d4af37 !important; color: #fff !important; border: none !important; text-transform: uppercase !important; letter-spacing: 2px !important; border-radius: 0 !important; }
/* Royal Opening */
.royal-envelope { position: absolute; width: 100%; height: 100%; background: #bde0fe; z-index: 100; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 50px rgba(0,0,0,0.1); transition: opacity 1s, transform 1s; cursor: pointer; }
.royal-flap { position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: #a2d2ff; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transition: transform 0.8s; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.royal-seal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: #d4af37; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 101; transition: 0.5s; }
.royal-monogram { color: #fff; font-family: 'Great Vibes', cursive; font-size: 1.8rem; }
.royal-prompt { position: absolute; bottom: 20%; color: #3d5a80; font-family: serif; font-style: italic; letter-spacing: 1px; animation: fadePulse 2s infinite; }
.phone-envelope-screen.opened .royal-flap { transform: rotateX(180deg); }
.phone-envelope-screen.opened .royal-seal { opacity: 0; transform: translate(-50%, -50%) scale(0); }
.phone-envelope-screen.opened .royal-envelope { opacity: 0; transform: translateY(20px); pointer-events: none; transition-delay: 0.5s; }


/* --------------------------------------------------------------------------
   15. WINTER WONDERLAND
   -------------------------------------------------------------------------- */
.phone-screen.theme-winter-wonderland {
    background: linear-gradient(135deg, #caf0f8 0%, #00b4d8 100%) !important;
}
.phone-screen.theme-winter-wonderland .phone-card-inner {
    background: rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    box-shadow: 0 0 20px rgba(0,180,216,0.3), inset 0 0 20px rgba(255,255,255,0.8) !important;
    color: #0077b6 !important;
    border-radius: 20px !important;
}
.phone-screen.theme-winter-wonderland .invite-monogram { font-family: 'Cinzel', serif !important; color: #00b4d8 !important; text-shadow: 0 0 5px #fff !important; }
.phone-screen.theme-winter-wonderland .invite-couple-names { font-family: 'Cinzel', serif !important; color: #0077b6 !important; }
.phone-screen.theme-winter-wonderland .invite-btn-rsvp { background: rgba(255,255,255,0.8) !important; color: #00b4d8 !important; border: 1px solid #00b4d8 !important; border-radius: 30px !important; }
/* Winter Opening */
.winter-frost { position: absolute; width: 100%; height: 100%; background: #e0fbfc; z-index: 100; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 1s, filter 1s; background-image: radial-gradient(#fff 2px, transparent 2px); background-size: 20px 20px; }
.winter-crystal { width: 120px; height: 120px; background: rgba(255,255,255,0.5); backdrop-filter: blur(10px); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 20px rgba(0,180,216,0.5); z-index: 101; transition: 0.5s; border: 2px solid #00b4d8; }
.winter-monogram { color: #0077b6; font-family: 'Cinzel', serif; font-size: 2.5rem; }
.winter-prompt { position: absolute; bottom: 20%; color: #0077b6; font-family: 'Cinzel', serif; letter-spacing: 2px; animation: fadePulse 2s infinite; }
.phone-envelope-screen.opened .winter-frost { opacity: 0; filter: blur(20px); pointer-events: none; transform: scale(1.2); }
.phone-envelope-screen.opened .winter-crystal { transform: scale(0) rotate(180deg); opacity: 0; }

/* --------------------------------------------------------------------------
   16. DESERT TERRACOTTA
   -------------------------------------------------------------------------- */
.phone-screen.theme-desert-terracotta {
    background: #cb997e !important;
}
.phone-screen.theme-desert-terracotta .phone-card-inner {
    background: #ffe8d6 !important;
    border: none !important;
    border-radius: 200px 200px 0 0 !important; /* Arch shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    color: #6b705c !important;
    padding-top: 60px !important;
}
.phone-screen.theme-desert-terracotta .invite-monogram { font-family: 'Lora', serif !important; color: #a5a58d !important; font-style: italic !important; }
.phone-screen.theme-desert-terracotta .invite-couple-names { font-family: 'Lora', serif !important; color: #cb997e !important; }
.phone-screen.theme-desert-terracotta .invite-btn-rsvp { background: #ddbea9 !important; color: #fff !important; border: none !important; border-radius: 8px !important; }
/* Desert Opening */
.desert-arch { position: absolute; width: 100%; height: 100%; background: #ddbea9; z-index: 100; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 1s; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.desert-pampas { position: absolute; bottom: 0; width: 100%; height: 30%; background: linear-gradient(transparent, #cb997e); opacity: 0.5; }
.desert-stone { width: 80px; height: 120px; background: #ffe8d6; border-radius: 40px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 101; transition: 0.5s; }
.desert-monogram { color: #cb997e; font-family: 'Lora', serif; font-size: 2rem; }
.desert-prompt { position: absolute; bottom: 20%; color: #6b705c; font-family: sans-serif; letter-spacing: 4px; text-transform: uppercase; animation: fadePulse 2s infinite; }
.phone-envelope-screen.opened .desert-arch { transform: translateY(-100%); pointer-events: none; }

/* --------------------------------------------------------------------------
   17. STARLIGHT NOIR
   -------------------------------------------------------------------------- */
.phone-screen.theme-starlight-noir {
    background: #000000 !important;
}
.phone-screen.theme-starlight-noir .phone-card-inner {
    background: #0a0a0a !important;
    border: 1px solid #333 !important;
    box-shadow: 0 0 0 1px #000, 0 0 0 2px #fff !important;
    color: #e0e0e0 !important;
    border-radius: 0 !important;
    font-family: 'Inter', sans-serif !important;
}
.phone-screen.theme-starlight-noir .invite-monogram { font-family: 'Inter', sans-serif !important; font-weight: 100 !important; color: #fff !important; font-size: 4rem !important; }
.phone-screen.theme-starlight-noir .invite-couple-names { font-weight: 100 !important; text-transform: uppercase !important; letter-spacing: 8px !important; color: #fff !important; }
.phone-screen.theme-starlight-noir .invite-btn-rsvp { background: #fff !important; color: #000 !important; border: none !important; border-radius: 0 !important; font-weight: bold !important; text-transform: uppercase !important; }
/* Noir Opening */
.noir-slit { position: absolute; width: 100%; height: 100%; background: #000; z-index: 100; cursor: pointer; }
.noir-half { position: absolute; left: 0; width: 100%; height: 50%; background: #0a0a0a; border-bottom: 1px solid #333; transition: transform 1s cubic-bezier(0.8, 0, 0.2, 1); }
.noir-half.top-half { top: 0; }
.noir-half.bottom-half { bottom: 0; border-bottom: none; border-top: 1px solid #333; }
.noir-diamond { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); width: 60px; height: 60px; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 101; transition: 0.5s; }
.noir-monogram { color: #000; font-family: 'Inter', sans-serif; font-size: 1.5rem; transform: rotate(-45deg); }
.noir-prompt { position: absolute; bottom: 20%; left: 50%; transform: translateX(-50%); color: #fff; text-transform: uppercase; letter-spacing: 5px; font-size: 0.8rem; animation: fadePulse 2s infinite; }
.phone-envelope-screen.opened .top-half { transform: translateY(-100%); }
.phone-envelope-screen.opened .bottom-half { transform: translateY(100%); }
.phone-envelope-screen.opened .noir-diamond { opacity: 0; transform: translate(-50%, -50%) rotate(135deg) scale(0); }

/* --------------------------------------------------------------------------
   18. WATERCOLOR FLORAL
   -------------------------------------------------------------------------- */
.phone-screen.theme-watercolor-floral {
    background: #f8edeb !important;
}
.phone-screen.theme-watercolor-floral .phone-card-inner {
    background: #fff !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
    color: #9d8189 !important;
    border-radius: 10px !important;
    background-image: radial-gradient(circle at top left, rgba(251, 196, 171, 0.2), transparent 40%), radial-gradient(circle at bottom right, rgba(216, 226, 220, 0.3), transparent 40%) !important;
}
.phone-screen.theme-watercolor-floral .invite-monogram { font-family: 'Alex Brush', cursive !important; color: #f28482 !important; font-size: 3.5rem !important; }
.phone-screen.theme-watercolor-floral .invite-couple-names { font-family: 'Alex Brush', cursive !important; color: #f28482 !important; font-size: 3rem !important; }
.phone-screen.theme-watercolor-floral .invite-btn-rsvp { background: #f28482 !important; color: #fff !important; border: none !important; border-radius: 30px !important; box-shadow: 0 5px 15px rgba(242, 132, 130, 0.4) !important; }
/* Floral Opening */
.floral-canvas { position: absolute; width: 100%; height: 100%; background: #fff; z-index: 100; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 1.5s; overflow: hidden; }
.floral-paint { position: absolute; width: 200%; height: 200%; background: radial-gradient(circle, #fbc4ab 0%, #f8edeb 50%, #fff 100%); filter: blur(30px); opacity: 0.5; animation: paintSwirl 10s infinite alternate; }
@keyframes paintSwirl { 0% { transform: scale(1) rotate(0deg); } 100% { transform: scale(1.2) rotate(45deg); } }
.floral-wax { width: 70px; height: 70px; background: #f28482; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 101; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.5s; }
.floral-monogram { color: #fff; font-family: 'Alex Brush', cursive; font-size: 2rem; }
.floral-prompt { position: absolute; bottom: 20%; color: #9d8189; font-style: italic; letter-spacing: 1px; animation: fadePulse 2s infinite; z-index: 101; }
.phone-envelope-screen.opened .floral-canvas { opacity: 0; pointer-events: none; transform: scale(1.1); }

/* --------------------------------------------------------------------------
   19. MODERN MARBLE
   -------------------------------------------------------------------------- */
.phone-screen.theme-modern-marble {
    background: #e9ecef !important;
}
.phone-screen.theme-modern-marble .phone-card-inner {
    background: #fff !important;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
    border: none !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05) !important;
    color: #495057 !important;
    border-radius: 0 !important;
    position: relative !important;
}
.phone-screen.theme-modern-marble .phone-card-inner::after {
    content: ''; position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px; border: 1px solid #b76e79; pointer-events: none;
}
.phone-screen.theme-modern-marble .invite-monogram { font-family: 'Montserrat', sans-serif !important; color: #b76e79 !important; font-weight: 300 !important; letter-spacing: -2px !important; }
.phone-screen.theme-modern-marble .invite-couple-names { font-family: 'Montserrat', sans-serif !important; color: #343a40 !important; text-transform: uppercase !important; letter-spacing: 4px !important; font-weight: 300 !important; }
.phone-screen.theme-modern-marble .invite-btn-rsvp { background: transparent !important; color: #b76e79 !important; border: 1px solid #b76e79 !important; border-radius: 0 !important; text-transform: uppercase !important; letter-spacing: 2px !important; }
/* Marble Opening */
.marble-slab { position: absolute; width: 100%; height: 100%; background: #fff; z-index: 100; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 1s cubic-bezier(0.8, 0, 0.2, 1); }
.marble-slab::before { content: ''; position: absolute; width: 100%; height: 100%; background: linear-gradient(135deg, transparent 40%, rgba(183, 110, 121, 0.1) 45%, transparent 50%); }
.marble-geo { width: 100px; height: 100px; border: 2px solid #b76e79; transform: rotate(45deg); display: flex; align-items: center; justify-content: center; z-index: 101; transition: 0.5s; background: rgba(255,255,255,0.8); backdrop-filter: blur(5px); }
.marble-monogram { color: #b76e79; font-family: 'Montserrat', sans-serif; font-size: 2rem; transform: rotate(-45deg); font-weight: 300; }
.marble-prompt { position: absolute; bottom: 20%; color: #868e96; font-family: sans-serif; text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; animation: fadePulse 2s infinite; }
.phone-envelope-screen.opened .marble-slab { transform: translateY(100%); pointer-events: none; }
/* ==========================================================================
   DEEP INTERIOR STYLING FOR WOW THEMES
   ========================================================================== */

/* 1. COSMIC LOVE (Galactic & Glassmorphism) */
.phone-screen.theme-cosmic-love .invite-photo-frame {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4), inset 0 0 20px rgba(138, 43, 226, 0.4);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}
.phone-screen.theme-cosmic-love .invite-divider { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); }
.phone-screen.theme-cosmic-love .invite-pre-text { letter-spacing: 6px; font-weight: 300; color: #a5b4fc; }
.phone-screen.theme-cosmic-love .invite-highlight-names { font-family: 'Cinzel', serif; font-size: 2rem; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.phone-screen.theme-cosmic-love .invite-main-date { color: #c7d2fe; letter-spacing: 3px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; display: inline-block; }
.phone-screen.theme-cosmic-love .invite-parents-grid strong, .phone-screen.theme-cosmic-love .invite-godparents strong { color: #e0e7ff; }
.phone-screen.theme-cosmic-love .invite-section-title { font-family: 'Cinzel', serif; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 4px; }
.phone-screen.theme-cosmic-love .t-line { background: linear-gradient(to bottom, rgba(138,43,226,0.8), rgba(0,212,255,0.8)); width: 2px; }
.phone-screen.theme-cosmic-love .t-bullet { width: 14px; height: 14px; background: #000; border: 2px solid #a5b4fc; box-shadow: 0 0 10px #a5b4fc; border-radius: 50%; left: -6px; }
.phone-screen.theme-cosmic-love .t-time { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); border-radius: 20px; }
.phone-screen.theme-cosmic-love .btn-map { background: transparent; border: 1px solid #a5b4fc; color: #a5b4fc; border-radius: 30px; box-shadow: 0 0 15px rgba(165,180,252,0.2); }
.phone-screen.theme-cosmic-love .form-input { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; }

/* 2. GATSBY GLAMOUR (Art Deco) */
.phone-screen.theme-gatsby-glamour .invite-photo-frame {
    border-radius: 0;
    border: 3px solid #d4af37;
    outline: 1px solid #d4af37;
    outline-offset: 4px;
    background: #000;
}
.phone-screen.theme-gatsby-glamour .invite-divider { background: #d4af37; height: 2px; width: 60%; margin: 30px auto; position: relative; }
.phone-screen.theme-gatsby-glamour .invite-divider::before, .phone-screen.theme-gatsby-glamour .invite-divider::after { content: '◆'; position: absolute; color: #d4af37; top: -10px; font-size: 16px; }
.phone-screen.theme-gatsby-glamour .invite-divider::before { left: -20px; } .phone-screen.theme-gatsby-glamour .invite-divider::after { right: -20px; }
.phone-screen.theme-gatsby-glamour .invite-pre-text { font-family: 'Cinzel', serif; letter-spacing: 10px; color: #d4af37; text-transform: uppercase; }
.phone-screen.theme-gatsby-glamour .invite-highlight-names { font-family: 'Cinzel', serif; font-size: 2.2rem; color: #d4af37; font-weight: 700; text-transform: uppercase; }
.phone-screen.theme-gatsby-glamour .invite-main-date { font-family: 'Montserrat', sans-serif; color: #fff; border-top: 1px solid #d4af37; border-bottom: 1px solid #d4af37; padding: 10px 0; letter-spacing: 5px; text-transform: uppercase; }
.phone-screen.theme-gatsby-glamour .invite-parents-grid strong, .phone-screen.theme-gatsby-glamour .invite-godparents strong { color: #d4af37; font-weight: normal; font-family: 'Cinzel', serif; }
.phone-screen.theme-gatsby-glamour .invite-section-title { font-family: 'Cinzel', serif; color: #d4af37; border-bottom: 2px solid #d4af37; display: inline-block; padding-bottom: 5px; }
.phone-screen.theme-gatsby-glamour .t-line { background: #d4af37; width: 1px; }
.phone-screen.theme-gatsby-glamour .t-bullet { width: 12px; height: 12px; background: #000; border: 2px solid #d4af37; transform: rotate(45deg); border-radius: 0; left: -6px; }
.phone-screen.theme-gatsby-glamour .t-time { background: transparent; color: #d4af37; font-family: 'Cinzel', serif; border-bottom: 1px solid #d4af37; border-radius: 0; padding: 2px 5px; font-weight: bold; }
.phone-screen.theme-gatsby-glamour .btn-map { background: #d4af37; border: none; color: #000; border-radius: 0; font-family: 'Montserrat', sans-serif; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
.phone-screen.theme-gatsby-glamour .form-input { background: transparent; color: #fff; border: 1px solid #d4af37; border-radius: 0; font-family: 'Montserrat', sans-serif; }

/* 3. RUSTIC ROMANCE (Kraft & Wood) */
.phone-screen.theme-rustic-romance .invite-photo-frame {
    border-radius: 4px;
    border: 8px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
}
.phone-screen.theme-rustic-romance .invite-divider { background: transparent; border-top: 2px dashed #8d6e63; opacity: 0.5; }
.phone-screen.theme-rustic-romance .invite-pre-text { font-family: 'Caveat', cursive; font-size: 2rem; color: #5d4037; text-transform: lowercase; }
.phone-screen.theme-rustic-romance .invite-highlight-names { font-family: 'Caveat', cursive; font-size: 2.5rem; line-height: 1.1; color: #3e2723; text-align: center; }
.phone-screen.theme-rustic-romance .invite-main-date { color: #5d4037; font-weight: bold; font-family: 'Georgia', serif; font-size: 1.2rem; }
.phone-screen.theme-rustic-romance .invite-section-title { font-family: 'Caveat', cursive; font-size: 2.5rem; color: #3e2723; }
.phone-screen.theme-rustic-romance .t-line { border-left: 2px dashed #8d6e63; background: transparent; width: 0; left: 0; }
.phone-screen.theme-rustic-romance .t-bullet { width: 16px; height: 16px; background: #8d6e63; border-radius: 50%; left: -8px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); }
.phone-screen.theme-rustic-romance .t-time { background: #fff; color: #5d4037; border: 1px solid #d7ccc8; border-radius: 4px; box-shadow: 1px 1px 3px rgba(0,0,0,0.1); font-family: 'Georgia', serif; font-style: italic; }
.phone-screen.theme-rustic-romance .btn-map { background: #8d6e63; border: 1px solid #5d4037; color: #fff; border-radius: 4px; font-family: 'Georgia', serif; }
.phone-screen.theme-rustic-romance .form-input { background: rgba(255,255,255,0.5); color: #3e2723; border: 1px solid #a1887f; border-radius: 4px; }

/* 4. NEON CYBERPUNK (Futuristic) */
.theme-deleted .invite-photo-frame {
    border-radius: 0;
    border: 2px solid #ff007f;
    box-shadow: 0 0 10px #ff007f, inset 0 0 10px #00ffff;
    filter: sepia(100%) hue-rotate(280deg) saturate(300%);
}
.theme-deleted .invite-divider { background: linear-gradient(90deg, #ff007f, #00ffff); height: 2px; }
.theme-deleted .invite-pre-text { font-family: 'Orbitron', sans-serif; color: #00ffff; letter-spacing: 5px; }
.theme-deleted .invite-highlight-names { font-family: 'Orbitron', sans-serif; color: #ff007f; text-shadow: 0 0 8px #ff007f; text-transform: uppercase; }
.theme-deleted .invite-main-date { color: #fff; font-family: 'Courier New', monospace; background: #ff007f; padding: 5px 15px; border-radius: 0; font-weight: bold; }
.theme-deleted .invite-section-title { font-family: 'Orbitron', sans-serif; color: #00ffff; text-shadow: 0 0 5px #00ffff; border-left: 5px solid #ff007f; padding-left: 10px; text-align: left; }
.theme-deleted .t-line { background: rgba(0, 255, 255, 0.3); width: 2px; }
.theme-deleted .t-bullet { width: 10px; height: 10px; background: #ff007f; border-radius: 0; left: -4px; box-shadow: 0 0 8px #ff007f; }
.theme-deleted .t-time { background: transparent; color: #00ffff; border: 1px solid #00ffff; border-radius: 0; font-family: 'Courier New', monospace; box-shadow: 0 0 5px rgba(0,255,255,0.5); }
.theme-deleted .btn-map { background: transparent; border: 2px solid #ff007f; color: #ff007f; border-radius: 0; font-family: 'Orbitron', sans-serif; box-shadow: 0 0 8px rgba(255,0,127,0.5); }
.theme-deleted .btn-map:hover { background: #ff007f; color: #000; }
.theme-deleted .form-input { background: rgba(0,0,0,0.5); color: #00ffff; border: 1px solid #00ffff; border-radius: 0; font-family: 'Courier New', monospace; }


/* 5. FAIRY TALE FOREST (Magical) */
.phone-screen.theme-fairy-tale-forest .invite-photo-frame {
    border-radius: 50% 50% 0 0; /* Arch */
    border: 5px solid #bde073;
    box-shadow: 0 10px 20px rgba(46,60,35,0.3);
}
.phone-screen.theme-fairy-tale-forest .invite-divider { background: transparent; border-top: 1px dotted #bde073; }
.phone-screen.theme-fairy-tale-forest .invite-pre-text { font-family: 'Georgia', serif; font-size: 1.5rem; color: #bde073; font-style: italic; letter-spacing: 2px; }
.phone-screen.theme-fairy-tale-forest .invite-highlight-names { font-family: 'Great Vibes', cursive; font-size: 3.5rem; color: #d4af37; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.phone-screen.theme-fairy-tale-forest .invite-main-date { color: #fff; font-family: 'Lora', serif; font-style: italic; font-size: 1.2rem; }
.phone-screen.theme-fairy-tale-forest .invite-parents-grid strong, .phone-screen.theme-fairy-tale-forest .invite-godparents strong { color: #bde073; font-family: 'Lora', serif; font-style: italic; }
.phone-screen.theme-fairy-tale-forest .invite-section-title { font-family: 'Georgia', serif; font-size: 1.8rem; font-style: italic; color: #d4af37; letter-spacing: 2px; }
.phone-screen.theme-fairy-tale-forest .t-line { background: rgba(189,224,115,0.4); width: 2px; }
.phone-screen.theme-fairy-tale-forest .t-bullet { width: 14px; height: 14px; background: #2e3c23; border: 2px solid #bde073; border-radius: 50%; left: -6px; }
.phone-screen.theme-fairy-tale-forest .t-time { background: rgba(46,60,35,0.8); color: #bde073; border-radius: 15px; font-family: 'Lora', serif; border: 1px solid rgba(189,224,115,0.3); }
.phone-screen.theme-fairy-tale-forest .btn-map { background: #bde073; color: #2e3c23; border: none; border-radius: 20px; font-family: 'Lora', serif; font-weight: bold; }
.phone-screen.theme-fairy-tale-forest .form-input { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid #bde073; border-radius: 15px; }

/* 6. OCEAN BREEZE (Beach) */
.phone-screen.theme-ocean-breeze .invite-photo-frame {
    border-radius: 20px 20px 60px 60px; /* Water drop-like */
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0,119,182,0.2);
}
.phone-screen.theme-ocean-breeze .invite-divider { background: linear-gradient(90deg, transparent, #0077b6, transparent); height: 1px; }
.phone-screen.theme-ocean-breeze .invite-pre-text { font-family: 'Caveat', cursive; font-size: 2rem; color: #0077b6; }
.phone-screen.theme-ocean-breeze .invite-highlight-names { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: #03045e; }
.phone-screen.theme-ocean-breeze .invite-main-date { color: #0077b6; font-family: 'Montserrat', sans-serif; font-weight: bold; letter-spacing: 2px; }
.phone-screen.theme-ocean-breeze .invite-parents-grid strong, .phone-screen.theme-ocean-breeze .invite-godparents strong { color: #0077b6; font-weight: 600; }
.phone-screen.theme-ocean-breeze .invite-section-title { font-family: 'Playfair Display', serif; color: #03045e; text-transform: capitalize; }
.phone-screen.theme-ocean-breeze .t-line { background: rgba(0,119,182,0.2); width: 3px; border-radius: 3px; }
.phone-screen.theme-ocean-breeze .t-bullet { width: 16px; height: 16px; background: #fff; border: 3px solid #00b4d8; border-radius: 50%; left: -6.5px; }
.phone-screen.theme-ocean-breeze .t-time { background: #e0fbfc; color: #0077b6; border-radius: 8px; font-weight: 600; border: none; }
.phone-screen.theme-ocean-breeze .btn-map { background: linear-gradient(135deg, #00b4d8, #0077b6); color: #fff; border: none; border-radius: 25px; box-shadow: 0 4px 15px rgba(0,119,182,0.3); }
.phone-screen.theme-ocean-breeze .form-input { background: #fff; color: #03045e; border: 1px solid #90e0ef; border-radius: 25px; }

/* 7. VINTAGE CINEMA (Retro Film) */
.phone-screen.theme-vintage-cinema .phone-invitation-card {
    background: #f5f0e8 !important;
}
.phone-screen.theme-vintage-cinema .invite-photo-frame {
    border-radius: 4px;
    border: 8px solid #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.2);
    /* NO sepia filter - photo shows in full color */
}
.phone-screen.theme-vintage-cinema .invite-photo-placeholder {
    background: #e8e0d0 !important;
    border-radius: 0 !important;
}
.phone-screen.theme-vintage-cinema .invite-header {
    background: #1a1a1a;
    padding: 20px;
    margin: -20px -20px 20px -20px;
}
.phone-screen.theme-vintage-cinema .invite-monogram {
    color: #d4a843 !important;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 20px rgba(212,168,67,0.4);
}
.phone-screen.theme-vintage-cinema .invite-names {
    color: #fff !important;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}
.phone-screen.theme-vintage-cinema .invite-quote {
    color: rgba(255,255,255,0.7) !important;
    font-family: 'Lora', serif;
    font-style: italic;
}
.phone-screen.theme-vintage-cinema .invite-date-badge .badge-date {
    color: #d4a843 !important;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    font-weight: bold;
}
.phone-screen.theme-vintage-cinema .invite-date-badge .badge-line {
    background: #d4a843 !important;
}
.phone-screen.theme-vintage-cinema .invite-divider { background: transparent; border-top: 2px double #c0a882; margin: 20px 0; }
.phone-screen.theme-vintage-cinema .invite-pre-text { font-family: 'Courier New', monospace; font-weight: bold; color: #5a3e28; letter-spacing: 3px; text-transform: uppercase; }
.phone-screen.theme-vintage-cinema .invite-highlight-names { font-family: 'Playfair Display', serif; font-size: 2.4rem !important; color: #5a3e28; font-style: italic; }
.phone-screen.theme-vintage-cinema .invite-paragraph { color: #4a3728 !important; font-family: 'Lora', serif; line-height: 1.8; }
.phone-screen.theme-vintage-cinema .invite-main-date { color: #fff; background: #1a1a1a; font-family: 'Courier New', monospace; font-weight: bold; padding: 5px 15px; border-radius: 2px; display: inline-block; letter-spacing: 2px; }
.phone-screen.theme-vintage-cinema .invite-parents-grid strong, .phone-screen.theme-vintage-cinema .invite-godparents strong { color: #5a3e28; font-family: 'Lora', serif; font-style: italic; font-size: 1.1rem; }
.phone-screen.theme-vintage-cinema .invite-parents-grid span, .phone-screen.theme-vintage-cinema .invite-godparents { color: #8a6a50 !important; }
.phone-screen.theme-vintage-cinema .invite-section-title { font-family: 'Playfair Display', serif; color: #1a1a1a; border-bottom: 2px solid #c0a882; display: inline-block; padding-bottom: 5px; font-style: italic; }
.phone-screen.theme-vintage-cinema .t-line { background: #c0a882; width: 3px; left: 6px; }
.phone-screen.theme-vintage-cinema .t-bullet { width: 16px; height: 16px; background: #f5f0e8; border: 3px solid #5a3e28; border-radius: 50%; left: -1px; }
.phone-screen.theme-vintage-cinema .t-loc { color: #5a3e28 !important; font-family: 'Lora', serif; font-weight: 600; }
.phone-screen.theme-vintage-cinema .t-addr { color: #8a6a50 !important; }
.phone-screen.theme-vintage-cinema .t-time { background: #1a1a1a; color: #d4a843; border: none; font-family: 'Courier New', monospace; font-weight: bold; border-radius: 2px; padding: 3px 10px; }
.phone-screen.theme-vintage-cinema .btn-map { background: #1a1a1a; color: #d4a843; border: none; border-radius: 2px; font-family: 'Courier New', monospace; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.phone-screen.theme-vintage-cinema .form-input { background: #fff; color: #1a1a1a; border: 1px solid #c0a882; border-radius: 0; font-family: 'Lora', serif; }
.phone-screen.theme-vintage-cinema .invite-footer { background: #1a1a1a !important; margin: 10px -20px -20px -20px; padding: 20px; }
.phone-screen.theme-vintage-cinema .romantic-signature { color: #d4a843 !important; font-family: 'Playfair Display', serif; }
.phone-screen.theme-vintage-cinema .footer-desc { color: rgba(255,255,255,0.6) !important; }
.phone-screen.theme-vintage-cinema .footer-monogram { color: #d4a843 !important; }

/* 8. ROYAL BRIDGERTON (Elegant) */
.phone-screen.theme-royal-bridgerton .invite-photo-frame {
    border-radius: 50% 50% 0 0;
    border: 2px solid #d4af37;
    outline: 1px solid #d4af37;
    outline-offset: 6px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.phone-screen.theme-royal-bridgerton .invite-divider { background: transparent; position: relative; height: 30px; }
.phone-screen.theme-royal-bridgerton .invite-divider::before { content: '❦'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #d4af37; font-size: 24px; }
.phone-screen.theme-royal-bridgerton .invite-pre-text { font-family: 'Cinzel', serif; color: #8e9eab; letter-spacing: 4px; }
.phone-screen.theme-royal-bridgerton .invite-highlight-names { font-family: 'Great Vibes', cursive; font-size: 3.8rem; color: #d4af37; }
.phone-screen.theme-royal-bridgerton .invite-main-date { color: #4a5568; font-family: 'Cinzel', serif; letter-spacing: 2px; }
.phone-screen.theme-royal-bridgerton .invite-parents-grid strong, .phone-screen.theme-royal-bridgerton .invite-godparents strong { color: #d4af37; font-family: 'Georgia', serif; font-size: 1.2rem; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; }
.phone-screen.theme-royal-bridgerton .invite-section-title { font-family: 'Georgia', serif; font-size: 1.8rem; color: #d4af37; letter-spacing: 3px; text-transform: uppercase; border-bottom: 1px solid #d4af37; padding-bottom: 5px; display: inline-block; }
.phone-screen.theme-royal-bridgerton .t-line { background: rgba(212,175,55,0.3); width: 1px; }
.phone-screen.theme-royal-bridgerton .t-bullet { width: 10px; height: 10px; background: #fff; border: 1px solid #d4af37; border-radius: 50%; left: -4.5px; }
.phone-screen.theme-royal-bridgerton .t-time { background: transparent; color: #8e9eab; font-family: 'Cinzel', serif; font-weight: bold; border: none; }
.phone-screen.theme-royal-bridgerton .btn-map { background: transparent; border: 1px solid #d4af37; color: #d4af37; border-radius: 0; font-family: 'Cinzel', serif; transition: all 0.3s; }
.phone-screen.theme-royal-bridgerton .btn-map:hover { background: #d4af37; color: #fff; }
.phone-screen.theme-royal-bridgerton .form-input { background: #fff; color: #4a5568; border: 1px solid #e2e8f0; border-radius: 0; border-bottom: 2px solid #d4af37; }
/* 9. WINTER WONDERLAND (Ice & Snow) */
.phone-screen.theme-winter-wonderland .invite-photo-frame {
    border-radius: 10px;
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 0 20px rgba(0,180,216,0.3);
    backdrop-filter: blur(5px);
}
.phone-screen.theme-winter-wonderland .invite-divider { background: transparent; border-top: 1px dotted #00b4d8; opacity: 0.5; }
.phone-screen.theme-winter-wonderland .invite-pre-text { font-family: 'Cinzel', serif; font-size: 1.5rem; color: #00b4d8; letter-spacing: 5px; }
.phone-screen.theme-winter-wonderland .invite-highlight-names { font-family: 'Cinzel', serif; font-size: 2.8rem; color: #0077b6; text-shadow: 0 0 5px rgba(255,255,255,0.8); }
.phone-screen.theme-winter-wonderland .invite-main-date { color: #0077b6; font-family: 'Cinzel', serif; background: rgba(255,255,255,0.5); padding: 5px 15px; border-radius: 20px; box-shadow: inset 0 0 10px rgba(255,255,255,0.8); }
.phone-screen.theme-winter-wonderland .invite-parents-grid strong, .phone-screen.theme-winter-wonderland .invite-godparents strong { color: #00b4d8; }
.phone-screen.theme-winter-wonderland .invite-section-title { font-family: 'Cinzel', serif; color: #0077b6; text-shadow: 0 0 5px #fff; }
.phone-screen.theme-winter-wonderland .t-line { background: rgba(0,180,216,0.3); width: 2px; }
.phone-screen.theme-winter-wonderland .t-bullet { width: 12px; height: 12px; background: #fff; border: 2px solid #00b4d8; transform: rotate(45deg); border-radius: 2px; left: -5px; box-shadow: 0 0 5px #00b4d8; }
.phone-screen.theme-winter-wonderland .t-time { background: rgba(255,255,255,0.8); color: #0077b6; border: 1px solid #00b4d8; border-radius: 15px; font-family: 'Cinzel', serif; }
.phone-screen.theme-winter-wonderland .btn-map { background: rgba(255,255,255,0.9); border: 1px solid #00b4d8; color: #0077b6; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,180,216,0.2); }
.phone-screen.theme-winter-wonderland .form-input { background: rgba(255,255,255,0.8); color: #0077b6; border: 1px solid #caf0f8; border-radius: 8px; }

/* 10. DESERT TERRACOTTA (Boho Arch) */
.phone-screen.theme-desert-terracotta .invite-photo-frame {
    border-radius: 100px 100px 0 0;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 5px solid #cb997e;
}
.phone-screen.theme-desert-terracotta .invite-divider { background: #ddbea9; height: 2px; border-radius: 2px; }
.phone-screen.theme-desert-terracotta .invite-pre-text { font-family: 'Lora', serif; font-style: italic; color: #a5a58d; font-size: 1.5rem; }
.phone-screen.theme-desert-terracotta .invite-highlight-names { font-family: 'Lora', serif; font-size: 3rem; color: #cb997e; }
.phone-screen.theme-desert-terracotta .invite-main-date { color: #6b705c; font-weight: bold; font-family: 'Lora', serif; letter-spacing: 1px; }
.phone-screen.theme-desert-terracotta .invite-parents-grid strong, .phone-screen.theme-desert-terracotta .invite-godparents strong { color: #cb997e; font-style: italic; font-family: 'Lora', serif; font-size: 1.2rem; }
.phone-screen.theme-desert-terracotta .invite-section-title { font-family: 'Lora', serif; color: #cb997e; font-style: italic; }
.phone-screen.theme-desert-terracotta .t-line { background: #ddbea9; width: 4px; border-radius: 2px; }
.phone-screen.theme-desert-terracotta .t-bullet { width: 14px; height: 14px; background: #ffe8d6; border: 3px solid #cb997e; border-radius: 50%; left: -5px; }
.phone-screen.theme-desert-terracotta .t-time { background: #ddbea9; color: #fff; border-radius: 4px; border: none; font-family: 'Lora', serif; }
.phone-screen.theme-desert-terracotta .btn-map { background: #cb997e; color: #fff; border: none; border-radius: 8px; font-family: 'Lora', serif; }
.phone-screen.theme-desert-terracotta .form-input { background: #fff; color: #6b705c; border: 1px solid #ddbea9; border-radius: 8px; }

/* 11. STARLIGHT NOIR (Black & Silver) */
.phone-screen.theme-starlight-noir .invite-photo-frame {
    border-radius: 0;
    border: 1px solid #333;
    padding: 5px;
    background: #000;
    box-shadow: inset 0 0 0 1px #fff;
    filter: grayscale(100%) contrast(1.2);
}
.phone-screen.theme-starlight-noir .invite-divider { background: linear-gradient(90deg, transparent, #fff, transparent); height: 1px; opacity: 0.3; }
.phone-screen.theme-starlight-noir .invite-pre-text { font-family: 'Inter', sans-serif; font-weight: 100; letter-spacing: 8px; color: #fff; text-transform: uppercase; }
.phone-screen.theme-starlight-noir .invite-highlight-names { font-family: 'Inter', sans-serif; font-weight: 100; font-size: 2.5rem; color: #fff; letter-spacing: 4px; text-transform: uppercase; }
.phone-screen.theme-starlight-noir .invite-main-date { color: #fff; border: 1px solid #333; padding: 10px 20px; font-weight: 300; letter-spacing: 5px; text-transform: uppercase; }
.phone-screen.theme-starlight-noir .invite-parents-grid strong, .phone-screen.theme-starlight-noir .invite-godparents strong { color: #fff; font-weight: 300; letter-spacing: 2px; }
.phone-screen.theme-starlight-noir .invite-section-title { font-family: 'Inter', sans-serif; font-weight: 100; color: #fff; letter-spacing: 6px; text-transform: uppercase; }
.phone-screen.theme-starlight-noir .t-line { background: #333; width: 1px; }
.phone-screen.theme-starlight-noir .t-bullet { width: 8px; height: 8px; background: #fff; border-radius: 0; transform: rotate(45deg); left: -3.5px; }
.phone-screen.theme-starlight-noir .t-time { background: transparent; color: #fff; border: 1px solid #333; border-radius: 0; font-weight: 300; text-transform: uppercase; }
.phone-screen.theme-starlight-noir .btn-map { background: #fff; color: #000; border: none; border-radius: 0; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
.phone-screen.theme-starlight-noir .btn-map:hover { background: #ccc; }
.phone-screen.theme-starlight-noir .form-input { background: #000; color: #fff; border: 1px solid #333; border-radius: 0; font-family: 'Inter', sans-serif; }

/* 12. WATERCOLOR FLORAL (Pastel) */
.phone-screen.theme-watercolor-floral .invite-photo-frame {
    border-radius: 30px 10px 30px 10px;
    border: 3px solid #fbc4ab;
    box-shadow: 0 10px 30px rgba(242,132,130,0.2);
}
.phone-screen.theme-watercolor-floral .invite-divider { background: transparent; height: 20px; background-image: radial-gradient(circle, #f28482 20%, transparent 20%); background-size: 10px 10px; background-position: center; background-repeat: repeat-x; opacity: 0.5; }
.phone-screen.theme-watercolor-floral .invite-pre-text { font-family: 'Georgia', serif; font-style: italic; font-size: 1.5rem; color: #9d8189; letter-spacing: 2px; }
.phone-screen.theme-watercolor-floral .invite-highlight-names { font-family: 'Alex Brush', cursive; font-size: 4rem; color: #f28482; }
.phone-screen.theme-watercolor-floral .invite-main-date { color: #f28482; font-family: 'Georgia', serif; font-style: italic; border-bottom: 2px solid #fbc4ab; display: inline-block; padding-bottom: 5px; }
.phone-screen.theme-watercolor-floral .invite-parents-grid strong, .phone-screen.theme-watercolor-floral .invite-godparents strong { color: #f28482; font-family: 'Georgia', serif; font-size: 1.2rem; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; }
.phone-screen.theme-watercolor-floral .invite-section-title { font-family: 'Georgia', serif; font-size: 1.6rem; color: #f28482; letter-spacing: 3px; text-transform: uppercase; border-bottom: 1px solid #fbc4ab; padding-bottom: 5px; display: inline-block; }
.phone-screen.theme-watercolor-floral .t-line { background: #fbc4ab; width: 2px; }
.phone-screen.theme-watercolor-floral .t-bullet { width: 14px; height: 14px; background: #fff; border: 3px solid #f28482; border-radius: 50%; left: -6px; }
.phone-screen.theme-watercolor-floral .t-time { background: #fbc4ab; color: #fff; border-radius: 20px; border: none; font-style: italic; }
.phone-screen.theme-watercolor-floral .btn-map { background: #f28482; color: #fff; border: none; border-radius: 30px; box-shadow: 0 5px 15px rgba(242,132,130,0.3); }
.phone-screen.theme-watercolor-floral .form-input { background: rgba(251,196,171,0.2); color: #9d8189; border: 1px solid #fbc4ab; border-radius: 15px; }

/* 13. MODERN MARBLE (Rose Gold) */
.phone-screen.theme-modern-marble .invite-photo-frame {
    border-radius: 0;
    border: 1px solid #b76e79;
    padding: 10px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.phone-screen.theme-modern-marble .invite-divider { background: linear-gradient(90deg, transparent, #b76e79, transparent); height: 1px; }
.phone-screen.theme-modern-marble .invite-pre-text { font-family: 'Montserrat', sans-serif; font-weight: 300; letter-spacing: 4px; color: #868e96; text-transform: uppercase; }
.phone-screen.theme-modern-marble .invite-highlight-names { font-family: 'Montserrat', sans-serif; font-weight: 300; font-size: 2.5rem; color: #b76e79; letter-spacing: 2px; text-transform: uppercase; }
.phone-screen.theme-modern-marble .invite-main-date { color: #343a40; font-family: 'Montserrat', sans-serif; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; }
.phone-screen.theme-modern-marble .invite-parents-grid strong, .phone-screen.theme-modern-marble .invite-godparents strong { color: #b76e79; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }
.phone-screen.theme-modern-marble .invite-section-title { font-family: 'Montserrat', sans-serif; font-weight: 300; color: #b76e79; text-transform: uppercase; letter-spacing: 3px; }
.phone-screen.theme-modern-marble .t-line { background: #dee2e6; width: 1px; }
.phone-screen.theme-modern-marble .t-bullet { width: 10px; height: 10px; background: #fff; border: 2px solid #b76e79; transform: rotate(45deg); border-radius: 0; left: -4.5px; }
.phone-screen.theme-modern-marble .t-time { background: transparent; color: #868e96; border: 1px solid #dee2e6; border-radius: 0; font-family: 'Montserrat', sans-serif; font-weight: 300; font-size: 0.85rem; }
.phone-screen.theme-modern-marble .btn-map { background: transparent; color: #b76e79; border: 1px solid #b76e79; border-radius: 0; font-family: 'Montserrat', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }
.phone-screen.theme-modern-marble .btn-map:hover { background: #b76e79; color: #fff; }
.phone-screen.theme-modern-marble .form-input { background: #f8f9fa; color: #495057; border: 1px solid #dee2e6; border-radius: 0; font-family: 'Montserrat', sans-serif; }
/* FIX FOR ALL NEW THEMES DETAILS BOX */
.theme-deleted .invite-details-box,
.phone-screen.theme-fairy-tale-forest .invite-details-box,
.phone-screen.theme-ocean-breeze .invite-details-box,
.phone-screen.theme-vintage-cinema .invite-details-box,
.phone-screen.theme-royal-bridgerton .invite-details-box,
.phone-screen.theme-winter-wonderland .invite-details-box,
.phone-screen.theme-desert-terracotta .invite-details-box,
.phone-screen.theme-starlight-noir .invite-details-box,
.phone-screen.theme-watercolor-floral .invite-details-box,
.phone-screen.theme-modern-marble .invite-details-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* RSVP FORM COLORS FOR ALL THEMES */

/* 1. Neon Cyberpunk */
.theme-deleted .invite-rsvp { background: rgba(0,0,0,0.8) !important; border: 1px solid #00ffff !important; }
.theme-deleted .rsvp-title { color: #00ffff !important; font-family: 'Courier New', monospace !important; }
.theme-deleted .form-label, .theme-deleted .radio-label, .theme-deleted .rsvp-note { color: #00ffff !important; }
.theme-deleted .radio-custom { border-color: rgba(0,255,255,0.3) !important; }
.theme-deleted .radio-label input[type="radio"]:checked + .radio-custom { border-color: #00ffff !important; }
.theme-deleted .radio-label input[type="radio"]:checked + .radio-custom::after { background: #00ffff !important; }

/* 2. Cosmic Love */
.phone-screen.theme-cosmic-love .invite-rsvp { background: rgba(15,23,42,0.8) !important; border: 1px solid #4f46e5 !important; }
.phone-screen.theme-cosmic-love .rsvp-title { color: #818cf8 !important; }
.phone-screen.theme-cosmic-love .form-label, .phone-screen.theme-cosmic-love .radio-label, .phone-screen.theme-cosmic-love .rsvp-note { color: #e0e7ff !important; }
.phone-screen.theme-cosmic-love .radio-custom { border-color: rgba(129,140,248,0.3) !important; }
.phone-screen.theme-cosmic-love .radio-label input[type="radio"]:checked + .radio-custom { border-color: #818cf8 !important; }
.phone-screen.theme-cosmic-love .radio-label input[type="radio"]:checked + .radio-custom::after { background: #818cf8 !important; }

/* 3. Gatsby Glamour */
.phone-screen.theme-gatsby-glamour .invite-rsvp { background: #111 !important; border: 2px solid #d4af37 !important; }
.phone-screen.theme-gatsby-glamour .rsvp-title { color: #d4af37 !important; }
.phone-screen.theme-gatsby-glamour .form-label, .phone-screen.theme-gatsby-glamour .radio-label, .phone-screen.theme-gatsby-glamour .rsvp-note { color: #fff !important; }

/* 4. Rustic Romance */
.phone-screen.theme-rustic-romance .rsvp-title { color: #3e2723 !important; }
.phone-screen.theme-rustic-romance .form-label, .phone-screen.theme-rustic-romance .radio-label, .phone-screen.theme-rustic-romance .rsvp-note { color: #5d4037 !important; }
.phone-screen.theme-rustic-romance .radio-label input[type="radio"]:checked + .radio-custom { border-color: #5d4037 !important; }
.phone-screen.theme-rustic-romance .radio-label input[type="radio"]:checked + .radio-custom::after { background: #5d4037 !important; }

/* 5. Fairy Tale Forest */
.phone-screen.theme-fairy-tale-forest .rsvp-title { color: #d4af37 !important; }
.phone-screen.theme-fairy-tale-forest .form-label, .phone-screen.theme-fairy-tale-forest .radio-label, .phone-screen.theme-fairy-tale-forest .rsvp-note { color: #2e3c23 !important; }
.phone-screen.theme-fairy-tale-forest .radio-label input[type="radio"]:checked + .radio-custom { border-color: #bde073 !important; }
.phone-screen.theme-fairy-tale-forest .radio-label input[type="radio"]:checked + .radio-custom::after { background: #bde073 !important; }

/* 6. Ocean Breeze */
.phone-screen.theme-ocean-breeze .rsvp-title { color: #03045e !important; font-family: 'Playfair Display', serif !important; }
.phone-screen.theme-ocean-breeze .form-label, .phone-screen.theme-ocean-breeze .radio-label, .phone-screen.theme-ocean-breeze .rsvp-note { color: #0077b6 !important; }
.phone-screen.theme-ocean-breeze .radio-custom { border-color: rgba(0,119,182,0.3) !important; }
.phone-screen.theme-ocean-breeze .radio-label input[type="radio"]:checked + .radio-custom { border-color: #00b4d8 !important; }
.phone-screen.theme-ocean-breeze .radio-label input[type="radio"]:checked + .radio-custom::after { background: #00b4d8 !important; }

/* 7. Vintage Cinema */
.phone-screen.theme-vintage-cinema .invite-rsvp { border: 2px solid #1a1a1a !important; border-radius: 0 !important; }
.phone-screen.theme-vintage-cinema .rsvp-title { color: #1a1a1a !important; font-family: 'Courier New', monospace !important; font-weight: bold !important; text-transform: uppercase !important;}
.phone-screen.theme-vintage-cinema .form-label, .phone-screen.theme-vintage-cinema .radio-label, .phone-screen.theme-vintage-cinema .rsvp-note { color: #1a1a1a !important; font-family: 'Courier New', monospace !important;}
.phone-screen.theme-vintage-cinema .radio-custom { border-radius: 0 !important; border-color: #1a1a1a !important; }
.phone-screen.theme-vintage-cinema .radio-label input[type="radio"]:checked + .radio-custom { border-color: #1a1a1a !important; }
.phone-screen.theme-vintage-cinema .radio-label input[type="radio"]:checked + .radio-custom::after { background: #1a1a1a !important; border-radius: 0 !important; }

/* 8. Royal Bridgerton */
.phone-screen.theme-royal-bridgerton .rsvp-title { color: #d4af37 !important; }
.phone-screen.theme-royal-bridgerton .form-label, .phone-screen.theme-royal-bridgerton .radio-label, .phone-screen.theme-royal-bridgerton .rsvp-note { color: #4a5568 !important; }

/* 9. Winter Wonderland */
.phone-screen.theme-winter-wonderland .invite-rsvp { background: rgba(255,255,255,0.6) !important; backdrop-filter: blur(5px) !important; border: 1px solid #caf0f8 !important;}
.phone-screen.theme-winter-wonderland .rsvp-title { color: #0077b6 !important; }
.phone-screen.theme-winter-wonderland .form-label, .phone-screen.theme-winter-wonderland .radio-label, .phone-screen.theme-winter-wonderland .rsvp-note { color: #00b4d8 !important; }
.phone-screen.theme-winter-wonderland .radio-label input[type="radio"]:checked + .radio-custom { border-color: #00b4d8 !important; }
.phone-screen.theme-winter-wonderland .radio-label input[type="radio"]:checked + .radio-custom::after { background: #00b4d8 !important; }

/* 10. Desert Terracotta */
.phone-screen.theme-desert-terracotta .rsvp-title { color: #cb997e !important; }
.phone-screen.theme-desert-terracotta .form-label, .phone-screen.theme-desert-terracotta .radio-label, .phone-screen.theme-desert-terracotta .rsvp-note { color: #6b705c !important; }
.phone-screen.theme-desert-terracotta .radio-label input[type="radio"]:checked + .radio-custom { border-color: #cb997e !important; }
.phone-screen.theme-desert-terracotta .radio-label input[type="radio"]:checked + .radio-custom::after { background: #cb997e !important; }

/* 11. Starlight Noir */
.phone-screen.theme-starlight-noir .invite-rsvp { background: #000 !important; border: 1px solid #333 !important; }
.phone-screen.theme-starlight-noir .rsvp-title { color: #fff !important; font-family: 'Inter', sans-serif !important; text-transform: uppercase !important; letter-spacing: 2px !important;}
.phone-screen.theme-starlight-noir .form-label, .phone-screen.theme-starlight-noir .radio-label, .phone-screen.theme-starlight-noir .rsvp-note { color: #ccc !important; font-family: 'Inter', sans-serif !important;}
.phone-screen.theme-starlight-noir .radio-custom { border-radius: 0 !important; border-color: #333 !important; }
.phone-screen.theme-starlight-noir .radio-label input[type="radio"]:checked + .radio-custom { border-color: #fff !important; }
.phone-screen.theme-starlight-noir .radio-label input[type="radio"]:checked + .radio-custom::after { background: #fff !important; border-radius: 0 !important;}

/* 12. Watercolor Floral */
.phone-screen.theme-watercolor-floral .rsvp-title { color: #f28482 !important; font-family: 'Georgia', serif !important;}
.phone-screen.theme-watercolor-floral .form-label, .phone-screen.theme-watercolor-floral .radio-label, .phone-screen.theme-watercolor-floral .rsvp-note { color: #9d8189 !important; }
.phone-screen.theme-watercolor-floral .radio-label input[type="radio"]:checked + .radio-custom { border-color: #f28482 !important; }
.phone-screen.theme-watercolor-floral .radio-label input[type="radio"]:checked + .radio-custom::after { background: #f28482 !important; }

/* 13. Modern Marble */
.phone-screen.theme-modern-marble .invite-rsvp { border: 1px solid #dee2e6 !important; border-radius: 0 !important;}
.phone-screen.theme-modern-marble .rsvp-title { color: #b76e79 !important; font-family: 'Montserrat', sans-serif !important;}
.phone-screen.theme-modern-marble .form-label, .phone-screen.theme-modern-marble .radio-label, .phone-screen.theme-modern-marble .rsvp-note { color: #495057 !important; }
.phone-screen.theme-modern-marble .radio-custom { border-radius: 0 !important; }
.phone-screen.theme-modern-marble .radio-label input[type="radio"]:checked + .radio-custom { border-color: #b76e79 !important; }
.phone-screen.theme-modern-marble .radio-label input[type="radio"]:checked + .radio-custom::after { background: #b76e79 !important; border-radius: 0 !important;}

/* FIX SUBMIT BUTTON CLASS: .invite-btn-rsvp -> .sim-submit-btn */
.phone-screen.theme-cosmic-love .sim-submit-btn { background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important; color: #ffffff !important; border: none !important; }
.phone-screen.theme-gatsby-glamour .sim-submit-btn { background: #111 !important; border: 1px solid #d4af37 !important; color: #d4af37 !important; }
.phone-screen.theme-rustic-romance .sim-submit-btn { background: #5d4037 !important; color: #ffffff !important; border: none !important; }
.theme-deleted .sim-submit-btn { background: transparent !important; color: #00ffff !important; border: 2px solid #00ffff !important; box-shadow: 0 0 10px #00ffff, inset 0 0 10px #00ffff !important; border-radius: 0 !important; text-transform: uppercase !important; }
.phone-screen.theme-fairy-tale-forest .sim-submit-btn { background: #d4af37 !important; color: #fff !important; border-radius: 30px !important; border: none !important; }
.phone-screen.theme-ocean-breeze .sim-submit-btn { background: #00b4d8 !important; color: #fff !important; border-radius: 20px !important; border: none !important; }
.phone-screen.theme-vintage-cinema .sim-submit-btn { background: #1a1a1a !important; color: #fff !important; border-radius: 0 !important; font-weight: bold !important; text-transform: uppercase !important; }
.phone-screen.theme-royal-bridgerton .sim-submit-btn { background: #d4af37 !important; color: #fff !important; border: none !important; text-transform: uppercase !important; letter-spacing: 2px !important; border-radius: 0 !important; }
.phone-screen.theme-winter-wonderland .sim-submit-btn { background: rgba(255,255,255,0.8) !important; color: #00b4d8 !important; border: 1px solid #00b4d8 !important; border-radius: 30px !important; }
.phone-screen.theme-desert-terracotta .sim-submit-btn { background: #ddbea9 !important; color: #fff !important; border: none !important; border-radius: 8px !important; }
.phone-screen.theme-starlight-noir .sim-submit-btn { background: #fff !important; color: #000 !important; border: none !important; border-radius: 0 !important; font-weight: bold !important; text-transform: uppercase !important; }
.phone-screen.theme-watercolor-floral .sim-submit-btn { background: #f28482 !important; color: #fff !important; border: none !important; border-radius: 30px !important; box-shadow: 0 5px 15px rgba(242, 132, 130, 0.4) !important; }
.phone-screen.theme-modern-marble .sim-submit-btn { background: transparent !important; color: #b76e79 !important; border: 1px solid #b76e79 !important; border-radius: 0 !important; text-transform: uppercase !important; letter-spacing: 2px !important; }
.floral-petal { position: absolute; background: rgba(242, 132, 130, 0.4); border-radius: 50% 0 50% 0; animation: floatPetal 8s infinite ease-in-out alternate; z-index: 100; opacity: 0.8; }
@keyframes floatPetal { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(30px, -30px) rotate(90deg); } }
.floral-wax { width: 90px !important; height: 90px !important; }
.floral-monogram { font-size: 2.5rem !important; }
.desert-sun { position: absolute; width: 120px; height: 120px; background: #e07a5f; border-radius: 50%; top: 20%; left: 50%; margin-left: -60px; box-shadow: 0 0 50px rgba(224, 122, 95, 0.5); animation: pulseSun 4s infinite alternate; }
@keyframes pulseSun { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }
/* GLOBAL FIX FOR CURSIVE MONOGRAM ILLEGIBILITY */
.phone-screen.theme-rustic-romance .invite-monogram, .rustic-monogram,
.phone-screen.theme-ocean-breeze .invite-monogram, .ocean-monogram,
.phone-screen.theme-watercolor-floral .invite-monogram, .floral-monogram,
.phone-screen.theme-fairy-tale-forest .invite-monogram, .fairy-monogram,
.phone-screen.theme-royal-bridgerton .invite-monogram, .royal-monogram,
.phone-screen.theme-emerald-velvet .invite-monogram, .phone-screen.theme-emerald-velvet .phone-monogram-small, .phone-screen.theme-emerald-velvet .footer-monogram,
.phone-screen.theme-burgundy-rose .invite-monogram, .phone-screen.theme-burgundy-rose .phone-monogram-small, .phone-screen.theme-burgundy-rose .footer-monogram,
.phone-screen.theme-boho-dream .invite-monogram, .phone-screen.theme-boho-dream .phone-monogram-small, .phone-screen.theme-boho-dream .footer-monogram,
.phone-screen.theme-royal-gold .invite-monogram, .phone-screen.theme-royal-gold .phone-monogram-small, .phone-screen.theme-royal-gold .footer-monogram {
    font-family: 'Cinzel', serif !important;
    letter-spacing: 2px !important;
}
/* Ensure envelope monograms also don't use cursive if they are inheriting */
.lock-monogram, .boho-monogram, .box-monogram, .ribbon-monogram, .vellum-monogram {
    font-family: 'Cinzel', serif !important;
    letter-spacing: 2px !important;
}
.invite-highlight-names {
    display: flex !important;
    flex-direction: row !important; flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}
/* SPRING BLOSSOM THEME (Replaces Neon Cyberpunk) */
.theme-deleted {
    background: #fffafa !important;
    color: #4a5d23 !important;
    font-family: 'Georgia', serif !important;
}
.theme-deleted::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, #ffe4e1 0%, transparent 50%), radial-gradient(circle at bottom left, #e0f8e0 0%, transparent 50%);
    z-index: 0; opacity: 0.8;
}
.theme-deleted .invite-details-box {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid #ffb6c1 !important;
    border-radius: 20px !important;
}
.theme-deleted .invite-highlight-names {
    font-family: 'Great Vibes', cursive !important;
    color: #ff69b4 !important;
    font-size: 3.5rem !important;
    text-shadow: none !important;
    text-transform: none !important;
}
.theme-deleted .invite-main-date {
    color: #4a5d23 !important;
    font-family: 'Georgia', serif !important;
    background: transparent !important;
    border-bottom: 2px solid #ffb6c1 !important;
    border-top: 2px solid #ffb6c1 !important;
    padding: 10px !important;
}
.theme-deleted .invite-section-title {
    font-family: 'Great Vibes', cursive !important;
    color: #ff69b4 !important;
    font-size: 2.8rem !important;
    text-shadow: none !important;
    border: none !important;
    text-align: center !important;
}
.theme-deleted .sim-submit-btn {
    background: #ffb6c1 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 10px rgba(255, 182, 193, 0.5) !important;
    text-transform: uppercase !important;
}
.theme-deleted .invite-rsvp {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid #ffb6c1 !important;
}
.theme-deleted .rsvp-title {
    color: #ff69b4 !important;
    font-family: 'Georgia', serif !important;
}
.theme-deleted .form-label, .theme-deleted .radio-label, .theme-deleted .rsvp-note {
    color: #4a5d23 !important;
}
.theme-deleted .radio-custom {
    border-color: #ffb6c1 !important;
}
.theme-deleted .radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #ff69b4 !important;
}
.theme-deleted .radio-label input[type="radio"]:checked + .radio-custom::after {
    background: #ff69b4 !important;
}
.theme-deleted .invite-monogram {
    font-family: 'Cinzel', serif !important;
    color: #ff69b4 !important;
    text-shadow: none !important;
}

/* SPRING BLOSSOM OPENING ANIMATION */
.blossom-garden {
    position: absolute; width: 100%; height: 100%; background: #fffafa; z-index: 100; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 1.5s; overflow: hidden;
}
.blossom-wreath {
    width: 150px; height: 150px; border: 4px solid #ffb6c1; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; animation: breathe 4s infinite alternate; background: #fff; box-shadow: 0 0 30px rgba(255, 182, 193, 0.4);
}
.blossom-monogram {
    font-family: 'Cinzel', serif; font-size: 3rem; color: #ff69b4; letter-spacing: 2px;
}
.blossom-prompt {
    position: absolute; bottom: 20%; color: #ffb6c1; font-family: 'Georgia', serif; font-style: italic; letter-spacing: 2px; animation: fadePulse 2s infinite; z-index: 101;
}
@keyframes breathe { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }
.phone-envelope-screen.opened .blossom-garden { opacity: 0; pointer-events: none; transform: scale(1.1); }
@media (max-width: 768px) {
    .invite-highlight-names {
        flex-direction: row !important; flex-wrap: wrap !important;
        gap: 5px !important;
    }
}
@media (min-width: 769px) {
    .invite-highlight-names {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px 15px !important;
    }
}
.invite-highlight-names span {
    line-height: 1.2 !important;
}
/* COMPLETE SPRING BLOSSOM OVERRIDE */
.theme-deleted {
    background: #fffdf9 !important; 
    color: #556b2f !important;
}
.theme-deleted .invite-details-box {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #f8bbd0 !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}
.theme-deleted .invite-photo-frame {
    border: 8px solid #fff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; 
    border-radius: 10px !important;
    transform: rotate(2deg) !important;
}
.theme-deleted .invite-divider {
    background: transparent !important;
    height: 1px !important;
    border-top: 1px dashed #f8bbd0 !important;
    opacity: 0.8 !important;
}
.theme-deleted .invite-pre-text {
    font-family: 'Georgia', serif !important;
    color: #8fbc8f !important;
    letter-spacing: 2px !important;
    font-style: italic !important;
    text-shadow: none !important;
}
.theme-deleted .invite-parents-grid strong, 
.theme-deleted .invite-godparents strong {
    font-family: 'Georgia', serif !important;
    color: #e75480 !important;
    font-style: italic !important;
}
.theme-deleted .t-line {
    background: #f8bbd0 !important;
    width: 2px !important;
}
.theme-deleted .t-bullet {
    width: 14px !important;
    height: 14px !important;
    background: #fff !important;
    border: 3px solid #e75480 !important;
    border-radius: 50% !important;
    left: -6px !important;
    box-shadow: none !important;
}
.theme-deleted .t-time {
    background: #fff0f5 !important;
    color: #556b2f !important;
    border: 1px solid #f8bbd0 !important;
    border-radius: 20px !important;
    font-family: 'Georgia', serif !important;
    box-shadow: none !important;
}
.theme-deleted .btn-map {
    background: #fff0f5 !important;
    border: 1px solid #f8bbd0 !important;
    color: #e75480 !important;
    border-radius: 20px !important;
    font-family: 'Georgia', serif !important;
    box-shadow: 0 2px 5px rgba(248,187,208,0.3) !important;
}
.theme-deleted .btn-map:hover {
    background: #e75480 !important;
    color: #fff !important;
}
.theme-deleted .form-input {
    background: #fff !important;
    color: #556b2f !important;
    border: 1px solid #f8bbd0 !important;
    border-radius: 10px !important;
    font-family: 'Georgia', serif !important;
}
.theme-deleted .invite-rsvp {
    background: #fffdf9 !important;
    border: 2px solid #f8bbd0 !important;
    border-radius: 15px !important;
}
.theme-deleted .rsvp-title {
    color: #e75480 !important;
    font-family: 'Great Vibes', cursive !important;
    font-size: 2.5rem !important;
    text-transform: none !important;
    text-shadow: none !important;
}
.theme-deleted .invite-romantic-quote {
    font-family: 'Georgia', serif !important;
    color: #e75480 !important;
    font-style: italic !important;
    font-size: 1.2rem !important;
    text-shadow: none !important;
}
/* ========================================================
   GLOBAL FIX: NAMES DISPLAY ACROSS ALL THEMES & DEVICES
   Column layout: Mireasă / & / Mire — perfect centering always
   ======================================================== */

/* All name containers: column layout so & is always centered */
.invite-names,
.phone-couple-names-small,
.box-subtitle,
.ribbon-couple-names,
.vellum-names,
.invite-highlight-names {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 2px !important;
    max-width: 100% !important;
    width: 100% !important;
    line-height: 1.25 !important;
}

/* Each name span takes full width, stays on its own line, centered */
.invite-names span,
.phone-couple-names-small span,
.box-subtitle span,
.ribbon-couple-names span,
.vellum-names span,
.invite-highlight-names span {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/* Ampersand: smaller, centered on its own line */
.invite-names .ampersand,
.phone-couple-names-small .ampersand,
.box-subtitle .ampersand,
.ribbon-couple-names .ampersand,
.vellum-names .ampersand,
.invite-highlight-names .ampersand {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.55em !important;
    opacity: 0.75 !important;
    line-height: 1 !important;
    margin: 2px 0 !important;
}

/* Fluid font sizes to prevent overflow on narrow screens */
.invite-names {
    font-size: clamp(1.3rem, 5cqw, 2rem) !important;
}
.invite-highlight-names {
    font-size: clamp(1.2rem, 4.5cqw, 1.8rem) !important;
}
/* Fallback for browsers that don't support cqw */
@supports not (font-size: 1cqw) {
    .invite-names { font-size: clamp(1.3rem, 5.5vw, 2rem) !important; }
    .invite-highlight-names { font-size: clamp(1.2rem, 5vw, 1.8rem) !important; }
}

/* Cap very large-font themes */
.phone-screen.theme-watercolor-floral .invite-highlight-names,
.phone-screen.theme-royal-bridgerton .invite-highlight-names,
.phone-screen.theme-fairy-tale-forest .invite-highlight-names {
    font-size: clamp(1.5rem, 7cqw, 3.2rem) !important;
}
.phone-screen.theme-rustic-romance .invite-highlight-names,
.phone-screen.theme-desert-terracotta .invite-highlight-names,
.phone-screen.theme-vintage-cinema .invite-highlight-names,
.phone-screen.theme-winter-wonderland .invite-highlight-names {
    font-size: clamp(1.4rem, 5.5cqw, 2.4rem) !important;
}
.phone-screen.theme-modern-marble .invite-highlight-names,
.phone-screen.theme-starlight-noir .invite-highlight-names,
.phone-screen.theme-cosmic-love .invite-highlight-names,
.phone-screen.theme-gatsby-glamour .invite-highlight-names,
.phone-screen.theme-ocean-breeze .invite-highlight-names {
    font-size: clamp(1.2rem, 4.5cqw, 2rem) !important;
}


.desert-wax {
    position: absolute;
    top: 20%;
    left: 50%;
    margin-left: -60px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.desert-sun {
    z-index: 1;
}
.desert-monogram {
    color: #fff !important; /* Make it white to contrast the sun */
}
/* GLOBAL ELEGANT PRE-TEXT OVERRIDE (Fixes 'Noi,' looking like a name) */
.invite-pre-text {
    font-size: clamp(0.9rem, 4vw, 1.2rem) !important;
    opacity: 0.75 !important;
    margin-bottom: 30px !important; /* Huge gap before the names */
    letter-spacing: 3px !important;
}

/* Allow cursive pre-texts to be slightly larger for legibility, but still faded */
.phone-screen.theme-rustic-romance .invite-pre-text,
.phone-screen.theme-ocean-breeze .invite-pre-text {
    font-size: 1.6rem !important;
    opacity: 0.7 !important;
    letter-spacing: 2px !important;
}
/* GLOBAL PHOTO FRAME OVERFLOW FIX */
.invite-photo-frame {
    overflow: hidden !important; /* Force all contents to respect the frame shape (arch, circle, etc.) */
}
/* Ensure the placeholder fills the frame exactly */
.invite-photo-placeholder {
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important; /* Take the curve of the parent */
}
/* ==========================================
   WIZARD UI REDESIGN
   ========================================== */

/* Force 2-column layout */
.portfolio-container {
    display: grid !important;
    grid-template-columns: 1fr 480px !important;
    gap: 2rem !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    align-items: start;
}

/* On small screens, stack them */
@media (max-width: 1024px) {
    .portfolio-container {
        grid-template-columns: 1fr !important;
        padding: 1rem;
    }
}

/* Sidebar clean up */
.portfolio-sidebar {
    background: rgba(20, 15, 30, 0.4) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important;
    padding: 2.5rem !important;
    display: flex !important;
    flex-direction: column;
    gap: 2rem !important;
    height: 100% !important;
    max-height: calc(100vh - 4rem) !important;
}

/* Progress Bar */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.wizard-step-indicator {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.wizard-step-indicator.active {
    color: #FACC15;
}

.wizard-separator {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 1rem;
}

/* Steps */
.wizard-container {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wizard-step {
    display: none;
    animation: fadeInSlide 0.5s ease-out forwards;
}

.wizard-step.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Buttons */
.wizard-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-wizard-next {
    background: linear-gradient(135deg, #BF953F, #FCF6BA);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-wizard-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(191, 149, 63, 0.3);
}

.btn-wizard-prev {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-wizard-prev:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Hide theme section header since wizard progress is above it */
.theme-selector-section > .section-label,
.customizer-section > .section-label,
.order-section > .section-label {
    display: none !important;
}

/* Themes grid scrollbar */
.themes-grid::-webkit-scrollbar {
    width: 6px;
}
.themes-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
