* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
            height: 100vh;
            overflow: hidden;
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('./boda.webp') no-repeat center center/cover;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            flex-direction: column;
            color: #514b35;
        }

        .modal-overlay::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.02);
            z-index: 1;
        }

        .invitation-card {
            background: rgba(245, 240, 230, 0.25);
            background-image:
                radial-gradient(circle at 1px 1px, rgba(120, 110, 85, 0.03) 1px, transparent 0);
            background-size: 20px 20px;
            border-radius: 15px;
            padding: 25px 20px;
            max-width: 400px;
            width: 92%;
            text-align: center;
            box-shadow:
                0 10px 25px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
            position: relative;
            z-index: 2;
            border: 2px solid rgba(120, 110, 85, 0.8);
            backdrop-filter: blur(12px);
        }

        .invitation-card::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #b4aa96, #786e55, #63643c, #786e55, #b4aa96);
            border-radius: 22px;
            z-index: -1;
            opacity: 0.3;
        }

        .invitation-header {
            margin-bottom: 15px;
        }

        .invitation-couple-names {
            margin: 0;
            font-family: "Dancing Script", cursive;
            font-size: clamp(28px, 7vw, 40px);
            color: #2c2419;
            font-weight: 600;
            line-height: 1.2;
        }

        .invitation-couple-names .name {
            display: inline-block;
            margin: 0 5px;
        }

        .invitation-couple-names .ampersand {
            font-size: clamp(16px, 4vw, 22px);
            color: #2c2419;
            margin: 0 5px;
            position: relative;
            display: inline-block;
            font-weight: 600;
        }

        .invitation-subtitle {
            font-family: "Playfair Display", serif;
            font-size: 14px;
            color: #3d3528;
            margin: 8px 0 0;
            font-style: italic;
            letter-spacing: 0.5px;
        }

        .decorative-arrow {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 12px 0;
            position: relative;
        }

        .arrow-left, .arrow-right {
            flex: 1;
            height: 2px;
            background: #514b35;
            position: relative;
        }

        .arrow-left::before, .arrow-right::before {
            content: '';
            position: absolute;
            top: 50%;
            width: 0;
            height: 0;
            border-style: solid;
        }

        .arrow-left::before {
            left: 0;
            transform: translateY(-50%);
            border-width: 6px 12px 6px 0;
            border-color: transparent #514b35 transparent transparent;
        }

        .arrow-right::before {
            right: 0;
            transform: translateY(-50%);
            border-width: 6px 0 6px 12px;
            border-color: transparent transparent transparent #514b35;
        }

        .arrow-left::after, .arrow-right::after {
            content: '';
            position: absolute;
            top: -8px;
            height: 18px;
            width: 1px;
            background: #63643c;
        }

        .arrow-left::after {
            left: 20px;
            transform: rotate(15deg);
        }

        .arrow-right::after {
            right: 20px;
            transform: rotate(-15deg);
        }

        .arrow-center {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 20px;
            position: relative;
        }

        .heart-filled {
            font-size: 24px;
            color: #514b35;
            margin: 0 8px;
            animation: heartbeat 2s ease-in-out infinite;
        }

        .heart-outline {
            font-size: 20px;
            color: #786e55;
            margin: 0 4px;
            opacity: 0.7;
        }

        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .password-section {
            margin-top: 15px;
        }

        .password-title {
            font-family: "Playfair Display", serif;
            font-size: 20px;
            color: #514b35;
            margin: 0 0 15px;
            font-weight: 600;
            line-height: 1.4;
        }

        .password-subtitle {
            font-family: "Open Sans", sans-serif;
            font-size: 13px;
            color: #3d3528;
            margin: 0 0 20px;
            line-height: 1.4;
        }

        .password-form {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 8px;
        }

        .password-input {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #b4aa96;
            border-radius: 12px;
            font-size: 16px;
            font-family: "Open Sans", sans-serif;
            background: rgba(255, 255, 255, 0.9);
            color: #514b35;
            text-align: center;
            transition: all 0.3s ease;
        }

        .password-input:focus {
            outline: none;
            border-color: #63643c;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 0 0 3px rgba(99, 100, 60, 0.1);
        }

        .password-submit {
            width: 100%;
            padding: 15px 20px;
            background: #63643c;
            color: #f5f0e6;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            font-family: "Open Sans", sans-serif;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .password-submit:hover {
            background: #514b35;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

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

        .password-error {
            color: #d63384;
            font-size: 14px;
            font-family: "Open Sans", sans-serif;
            min-height: 20px;
            text-align: center;
            margin-top: 10px;
        }

        .password-success {
            color: #28a745;
            font-size: 14px;
            font-family: "Open Sans", sans-serif;
            min-height: 20px;
            text-align: center;
            margin-top: 10px;
        }

        /* Animaciones de entrada */
        .invitation-card {
            animation: slideInUp 0.8s ease-out;
        }

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

        /* Responsive */
        @media (max-width: 768px) {
            .invitation-card {
                padding: 15px 12px;
                border-radius: 10px;
                margin: 40px auto;
                max-width: 220px;
                width: 70%;
            }

            .invitation-couple-names {
                font-size: clamp(20px, 5vw, 26px);
            }

            .invitation-couple-names .ampersand {
                font-size: clamp(14px, 3.5vw, 18px);
            }

            .invitation-couple-names .ampersand::before {
                left: -18px;
                font-size: 12px;
            }

            .decorative-arrow {
                margin: 20px 0;
            }

            .arrow-left::after, .arrow-right::after {
                display: none;
            }

            .heart-filled {
                font-size: 18px;
                margin: 0 5px;
            }

            .heart-outline {
                font-size: 16px;
                margin: 0 2px;
            }

            .password-title {
                font-size: 16px;
            }

            .password-subtitle {
                font-size: 12px;
            }

            .password-input {
                padding: 10px 12px;
                font-size: 14px;
            }

            .password-submit {
                padding: 10px 12px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .invitation-card {
                padding: 12px 10px;
                border-radius: 8px;
                margin: 30px auto;
                max-width: 200px;
                width: 65%;
            }

            .invitation-couple-names {
                font-size: clamp(18px, 4.5vw, 24px);
            }

            .invitation-couple-names .ampersand {
                font-size: clamp(12px, 3vw, 16px);
            }

            .invitation-couple-names .ampersand::before {
                left: -15px;
                font-size: 10px;
            }

            .decorative-arrow {
                margin: 15px 0;
            }

            .heart-filled {
                font-size: 16px;
                margin: 0 4px;
            }

            .heart-outline {
                font-size: 14px;
                margin: 0 2px;
            }

            .password-title {
                font-size: 14px;
            }

            .password-subtitle {
                font-size: 11px;
            }

            .password-input {
                padding: 8px 10px;
                font-size: 13px;
            }

            .password-submit {
                padding: 8px 10px;
                font-size: 13px;
            }
        }