/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: radial-gradient(circle at top, #1e0533 0%, #0d0117 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 12px;
}

.page-container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========================================================
   TOP BACKGROUND SELECTOR (जहाँ पहले Name+Date था)
   ======================================================== */
.top-theme-selector {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 18px;
    border: 1.5px solid rgba(223, 177, 91, 0.8);
    backdrop-filter: blur(8px);
}

.selector-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.palette-icon {
    font-size: 16px;
}

.selector-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e0533;
    letter-spacing: 1px;
}

/* Horizontal Scrolling Thumbnails */
.theme-options {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px;
    justify-content: center;
    scrollbar-width: thin;
}

.theme-thumb {
    width: 58px;
    height: 78px; /* 9:16 पोर्ट्रेट अनुपात */
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 2px solid #cbd5e1;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.theme-thumb:hover {
    transform: translateY(-3px);
}

.theme-thumb.active {
    border: 3px solid #dfb15b !important;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(223, 177, 91, 0.9) !important;
}

/* ========================================================
   FULL 9:16 MOBILE CARD (No Header, 100% Background View)
   ======================================================== */
.card-mockup {
    width: 100%;
    min-height: 760px;
    background-color: #120320;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    border: 7px solid #2d183f;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: background-image 0.3s ease-in-out;
}

.card-inner-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px 30px 22px;
}

/* टॉप स्पेस ताकि ऊपर का मंडप और छतरी बिल्कुल खुली दिखे */
.mandap-view-space {
    height: 160px; /* मंडप को साफ दिखाने के लिए खाली स्पेस */
}

/* Form Container with Beautiful Spacing */
.wedding-form-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Form Group & Labels */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-label {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Luxury Input Boxes */
.form-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #dfb15b;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1e0533;
    outline: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.form-input:focus {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(223, 177, 91, 0.4);
    border-color: #ffd700;
}

/* Ampersand (&) Divider */
.divider-ampersand {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 26px;
    color: #ffd700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    margin: -2px 0;
}

/* Hint Text */
.hint-text {
    font-size: 11px;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    text-align: center;
    margin: 8px 0 12px 0;
    line-height: 1.4;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #c2185b 0%, #880e4f 100%);
    border: 2px solid #ffd700;
    border-radius: 14px;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(194, 24, 91, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(194, 24, 91, 0.7);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    body {
        padding: 12px 8px;
    }
    .card-mockup {
        min-height: 700px;
        border-radius: 30px;
        border: 4px solid #2d183f;
    }
    .mandap-view-space {
        height: 130px;
    }
}