        :root {
            --cream: #fff8ef;
            --champagne: #ead8bd;
            --gold: #b88945;
            --deep: #352a25;
            --soft: #7d6a5f;
            --white: #ffffff;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: Georgia, 'Times New Roman', serif;
            background: linear-gradient(135deg, var(--cream), #f6eadb);
            color: var(--deep);
            min-height: 100vh;
        }

        .page {
            width: min(1120px, 94%);
            margin: 0 auto;
            padding: 48px 0;
        }

        .invitation-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: rgba(255, 255, 255, 0.78);
            border: 1px solid rgba(184, 137, 69, 0.25);
            border-radius: 32px;
            overflow: hidden;
            box-shadow: 0 24px 70px rgba(53, 42, 37, 0.18);
        }

        .photo-panel {
            position: relative;
            min-height: 720px;
            background-image: url('couple-photo.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: 36% center;
        }

        .photo-panel::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(53, 42, 37, 0.55), rgba(53, 42, 37, 0.05));
        }

        .photo-caption {
            position: absolute;
            z-index: 1;
            left: 36px;
            right: 36px;
            bottom: 36px;
            color: var(--white);
            text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
        }

        .photo-caption span {
            display: block;
            letter-spacing: 4px;
            text-transform: uppercase;
            font-size: 0.78rem;
            margin-bottom: 10px;
        }

        .photo-caption h1 {
            margin: 0;
            font-size: clamp(2.5rem, 6vw, 5rem);
            font-weight: 400;
            line-height: 0.95;
        }

        .content-panel {
            padding: 54px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .eyebrow {
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 5px;
            font-size: 1.3rem;
            font-family: Arial, sans-serif;
            margin-bottom: 18px;
        }

        h2 {
            margin: 0 0 18px;
            font-size: clamp(1.7rem, 4vw, 3rem);
            font-weight: 300;
        }

        .intro {
            color: var(--soft);
            font-size: 1.12rem;
            line-height: 1.8;
            margin-bottom: 32px;
        }

        .details {
            display: grid;
            gap: 16px;
            margin-bottom: 10px;
        }

        .detail-box {
            border-left: 3px solid var(--gold);
            padding: 12px 0 12px 18px;
        }

        .detail-box strong {
            display: block;
            font-family: Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.72rem;
            color: var(--gold);
            margin-bottom: 5px;
        }

        .detail-box span {
            font-size: 1.05rem;
            line-height: 1.5;
        }

        form {
            background: var(--cream);
            border-radius: 24px;
            padding: 28px;
            border: 1px solid rgba(184, 137, 69, 0.2);
        }

        form h3 {
            margin: 0 0 18px;
            font-size: 1.7rem;
            font-weight: 400;
        }

        label {
            display: block;
            font-family: Arial, sans-serif;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--soft);
            margin: 16px 0 8px;
        }

        input,
        select,
        textarea {
            width: 100%;
            border: 1px solid rgba(53, 42, 37, 0.16);
            border-radius: 14px;
            padding: 13px 15px;
            font-size: 1rem;
            color: var(--deep);
            background: var(--white);
            outline: none;
        }

        textarea {
            min-height: 96px;
            resize: vertical;
        }

        input:focus,
        select:focus,
        textarea:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 4px rgba(184, 137, 69, 0.12);
        }

       .form-row {
            display: block;
        }

        .form-grid.two-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        @media (max-width: 600px) {
            .form-grid.two-columns {
                grid-template-columns: 1fr;
                gap: 0;
            }
        }

        button {
            margin-top: 22px;
            width: 100%;
            border: 0;
            border-radius: 999px;
            padding: 15px 22px;
            background: var(--gold);
            color: var(--white);
            font-family: Arial, sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(184, 137, 69, 0.32);
        }

        .alert {
            margin-bottom: 20px;
            padding: 14px 16px;
            border-radius: 14px;
            font-family: Arial, sans-serif;
            font-size: 0.95rem;
        }

        .alert.success {
            background: #edf8ed;
            color: #2f6f38;
        }

        .alert.error {
            background: #fff0ef;
            color: #9a3b34;
        }

        .footer-note {
            text-align: center;
            color: var(--soft);
            margin-top: 24px;
            font-size: 0.95rem;
        }

        @media (max-width: 860px) {
            .invitation-card {
                grid-template-columns: 1fr;
            }

            .photo-panel {
                min-height: 460px;
            }

            .content-panel {
                padding: 34px 24px;
            }

           .form-grid {
                grid-template-columns: 1fr;
            }

            .form-grid.two-columns {
                grid-template-columns: 1fr;
                gap: 0;
            }
        }

        .highlight-name {
            position: relative;
            display: inline-block;
            font-weight: bold;
            color: #b88945;
            padding: 0 4px;
            animation: elegantGlow 3s ease-in-out infinite;
        }

        /* Golden underline animation */
        .highlight-name::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 100%;
            height: 2px;
            background: linear-gradient(
                90deg,
                transparent,
                #d4af37,
                transparent
            );
            animation: underlineFlow 2.5s linear infinite;
        }

        /* Soft glow effect */
        @keyframes elegantGlow {
            0%, 100% {
                text-shadow:
                    0 0 4px rgba(184,137,69,0.2);
                transform: translateY(0px);
            }

            50% {
                text-shadow:
                    0 0 8px rgba(184,137,69,0.6),
                    0 0 16px rgba(184,137,69,0.3);
                transform: translateY(-1px);
            }
        }

        /* Moving underline light */
        @keyframes underlineFlow {
            0% {
                opacity: 0.3;
                transform: scaleX(0.7);
            }

            50% {
                opacity: 1;
                transform: scaleX(1);
            }

            100% {
                opacity: 0.3;
                transform: scaleX(0.7);
            }
        }

        .guest-list-wrapper {
            text-align: center;
            margin-top: 24px;
        }

        .guest-list-btn {
            display: inline-block;
            padding: 14px 28px;
            background: transparent;
            color: #b88945;
            border: 2px solid #b88945;
            border-radius: 999px;
            text-decoration: none;
            font-family: Arial, sans-serif;
            font-size: 0.9rem;
            font-weight: bold;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: all 0.25s ease;
        }

        .guest-list-btn:hover {
            background: #b88945;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(184,137,69,0.25);
        }

        .location-button-wrapper {
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .location-btn {
            display: inline-block;
            padding: 13px 24px;
            background: #b88945;
            color: white;
            text-decoration: none;
            border-radius: 999px;
            font-family: Arial, sans-serif;
            font-size: 0.9rem;
            font-weight: bold;
            letter-spacing: 1px;
            transition: all 0.25s ease;
        }

        .location-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(184,137,69,0.28);
            opacity: 0.95;
        }

        .countdown-box {
            background: #fff8ef;
            border: 1px solid rgba(184,137,69,0.25);
            border-radius: 22px;
            padding: 24px;
            margin: 0 0 0;
            text-align: center;
        }

        .countdown-box h3 {
            margin: 0 0 18px;
            font-size: 1.5rem;
            font-weight: 300;
            color: #b88945;
        }

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

        .countdown div {
            background: white;
            border-radius: 18px;
            padding: 18px 10px;
            box-shadow: 0 8px 22px rgba(0,0,0,0.04);
        }

        .countdown span {
            display: block;
            font-size: 1.5rem;
            font-weight: bold;
            color: #352a25;
        }

        .countdown small {
            display: block;
            margin-top: 6px;
            font-family: Arial, sans-serif;
            font-size: 0.65rem;
            color: #7d6a5f;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        @media (max-width: 600px) {
            .countdown {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .countdown-box {
                padding: 18px 12px;
                margin: 20px 0 28px;
                overflow: visible;
            }

            .countdown {
                display: grid !important;
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                gap: 12px;
                width: 100%;
            }

            .countdown div {
                display: block;
                min-width: 0;
                padding: 16px 8px;
                background: #ffffff;
                border-radius: 16px;
            }

            .countdown span {
                font-size: 1.7rem;
            }

            .countdown small {
                font-size: 0.7rem;
            }
        }

        .details {
            display: block;
        }

        .countdown-box {
            width: 100%;
            display: block;
            clear: both;
        }

        .countdown {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
            width: 100%;
        }

        .countdown > div {
            display: block;
            min-width: 0;
            background: #ffffff;
            border-radius: 18px;
            padding: 18px 8px;
            text-align: center;
        }

        @media (max-width: 600px) {
            .countdown {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }

            .countdown > div {
                min-height: 90px;
                padding: 16px 6px;
            }

            .countdown span {
                display: block;
                font-size: 1.7rem;
            }

            .countdown small {
                display: block;
                font-size: 0.7rem;
            }
        }

        .gift-section {
            margin-top: 20px;
            padding: 15px;
            background: #fff8ef;
            border-radius: 24px;
            border: 1px solid rgba(184,137,69,0.2);
            text-align: center;
        }

        .gift-section h3 {
            margin-top: 0;
            color: #b88945;
            font-size: 1.8rem;
            font-weight: 400;
        }

        .gift-section p {
            color: #7d6a5f;
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .gift-buttons {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .gift-btn {
            display: inline-block;
            margin-bottom: 5px;
            padding: 13px 24px;
            background: #b88945;
            color: white;
            text-decoration: none;
            border-radius: 999px;
            font-weight: bold;
            transition: 0.25s ease;
        }

        .gift-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(184,137,69,0.25);
        }

        .gift-btn.secondary {
            background: transparent;
            color: #b88945;
            border: 2px solid #b88945;
        }

        .gift-number {
            margin-top: 0px;
            margin-bottom: 15px;
            padding: 10px 14px;
            border-radius: 12px;
            background: #f8f3eb;
            color: #b88945;
            font-size: 1.3rem;
            font-weight: bold;
            letter-spacing: 0.5px;
            text-align: center;
            box-shadow: inset 0 0 0 1px rgba(184,137,69,0.10);
            display: inline-block;
            width: auto;
            min-width: 220px;
        }