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

        :root {
            --cream-bg: #FAF8F3;
            --cream-light: #FFF9F0;
            --cream-dark: #F5EFE6;
            --gold: #D4AF37;
            --gold-light: #E8D4A2;
            --gold-dark: #B8963C;
            --rose-gold: #E8C4A0;
            --text-dark: #5D4E37;
            --text-light: #8B7355;
            --accent: #C9A87C;
        }

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
            font-size: 18px; /* Aumentamos el tamaño base de la fuente (default es 16px) */
        }

        body {
            font-family: 'Cormorant Garamond', serif;
            overflow-x: clip; /* Previene el desbordamiento horizontal y vertical no deseado */
            background: var(--cream-light);
            color: var(--text-dark);
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        body.loaded {
            opacity: 1;
        }

        /* Music Control */
        .music-control {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            border: 2px solid var(--gold-light);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
        }

        .music-control:hover {
            background: var(--gold-light);
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
        }

        .music-control.playing {
            animation: pulse 2s infinite;
            border-color: var(--gold);
        }

        @keyframes pulse {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
            }

            50% {
                box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
            }
        }

        .music-icon {
            font-size: 24px;
        }

        /* Share Button (Comentado) */
        /* .share-button {
            position: fixed;
            bottom: 100px;
            right: 30px;
            z-index: 1000;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            backdrop-filter: blur(10px);
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }

        .share-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
        }

        .share-icon {
            font-size: 28px;
        } */

        /* Hero Section */
        .hero {
            height: 100svh; /* Usa la altura del viewport más pequeña para evitar saltos en móviles */
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream-bg) 100%);
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(232, 196, 160, 0.1) 0%, transparent 50%);
            animation: float 20s infinite ease-in-out;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-30px) rotate(10deg);
            }
        }

        .hero-bg {
            position: absolute;
            width: 100%;
            height: 120%;
            top: -10%;
            opacity: 0.3;
            background-size: cover;
            background-position: center;
            filter: brightness(1.1) sepia(0.2);
            transition: transform 0.5s ease-out;
        }

        .hero-bg.parallax {
            transform: translateY(var(--scroll-offset, 0));
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 2rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1.5s ease forwards 0.5s;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-title {
            font-family: 'Great Vibes', cursive;
            font-size: 6rem; /* Reducido para un look más refinado */
            color: var(--gold);
            margin-bottom: 1rem;
            text-shadow: 2px 2px 20px rgba(212, 175, 55, 0.3);
            animation: glow 3s ease-in-out infinite;
        }

        @keyframes glow {

            0%,
            100% {
                text-shadow: 2px 2px 20px rgba(212, 175, 55, 0.3);
            }

            50% {
                text-shadow: 2px 2px 30px rgba(212, 175, 55, 0.5);
            }
        }

        .hero-divider {
            width: 200px;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
            margin: 2rem auto;
        }

        .hero-date {
            /* font-family: 'Cormorant Garamond', serif; */
            font-size: 2rem;
            letter-spacing: 4px;
            color: var(--text-dark);
            opacity: 0;
            animation: fadeIn 1.5s ease forwards 1.5s;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            color: var(--gold);
            opacity: 0;
            animation: fadeIn 1s ease forwards 2s, bounce 2s infinite 2s;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateX(-50%) translateY(0);
            }

            50% {
                transform: translateX(-50%) translateY(10px);
            }
        }

        /* Countdown Section */
        .countdown-section {
            padding: 6rem 2rem;
            background: var(--cream-bg); /* Fondo sólido para el efecto neumórfico */
            position: relative;
            overflow: hidden;
        }

        .parallax-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image:
                radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
            opacity: 0.5;
        }

        .section-title {
            font-family: 'Great Vibes', cursive;
            font-size: 4rem;
            text-align: center;
            color: var(--gold);
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(20px);
        }

        .section-title.visible {
            animation: fadeInUp 1s ease forwards;
        }

        .countdown-container {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 2rem;
            position: relative;
            z-index: 1;
        }

        .countdown-item {
            text-align: center;
            padding: 2rem 1rem;
            background: var(--cream-bg);
            border-radius: 25px;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.3s ease;
            box-shadow: 9px 9px 18px #e1ddd4,
                -9px -9px 18px #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .countdown-item.visible {
            animation: scaleIn 0.6s ease forwards;
        }

        .countdown-item:nth-child(1) {
            animation-delay: 0.1s;
        }

        .countdown-item:nth-child(2) {
            animation-delay: 0.2s;
        }

        .countdown-item:nth-child(3) {
            animation-delay: 0.3s;
        }

        .countdown-item:nth-child(4) {
            animation-delay: 0.4s;
        }

        @keyframes scaleIn {
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .countdown-item:hover {
            box-shadow: inset 7px 7px 14px #e1ddd4,
                inset -7px -7px 14px #ffffff;
            transform: scale(0.98);
        }

        .countdown-number {
            font-size: 3.5rem; /* Ligeramente más pequeño para mejor balance en la tarjeta */
            font-weight: 600;
            color: var(--gold);
            font-family: 'Cormorant Garamond', serif;
            text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
        }

        .countdown-label {
            font-size: 0.9rem; /* Más pequeño para dar más importancia al número */
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--text-light);
            margin-top: 0.5rem;
        }

        /* Story Section */
        .story-section {
            padding: 8rem 2rem;
            background: var(--cream-light);
            position: relative;
            overflow: hidden;
        }

        .story-parallax-bg {
            position: absolute;
            width: 100%;
            height: 150%;
            top: -25%;
            left: 0;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(232, 196, 160, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
        }

        /* .section-bg-image {
            ... (código de la imagen de fondo comentado) ...
        } */

        .story-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .story-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.3rem; /* Tamaño más estándar para párrafos largos */
            line-height: 2;
            color: var(--text-dark);
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(30px);
        }

        .story-text.visible {
            animation: fadeInUp 1s ease forwards;
        }

        /* Events Section */
        .events-section {
            padding: 8rem 2rem;
            background: var(--cream-bg); /* Fondo sólido para el efecto neumórfico */
            position: relative;
            overflow: hidden;
        }

        .events-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
            position: relative;
            z-index: 1;
        }

        .event-card {
            background: var(--cream-bg);
            border-radius: 25px;
            padding: 3rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.5s ease;
            box-shadow: 9px 9px 18px #e1ddd4, -9px -9px 18px #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .event-card.visible {
            animation: fadeInUp 0.8s ease forwards;
        }

        .event-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .event-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none; /* Permite que los clics pasen a través de esta capa */
        }

        .event-card:hover::before {
            opacity: 1;
        }

        .event-card:hover {
            box-shadow: inset 7px 7px 14px #e1ddd4,
                inset -7px -7px 14px #ffffff;
            transform: scale(0.98);
        }

        .event-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            animation: floatIcon 3s ease-in-out infinite;
        }

        @keyframes floatIcon {
            0%, 100% {
                transform: translateY(0) scale(1);
                filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
            }
            50% {
                transform: translateY(-8px) scale(1.05);
                filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.4));
            }
        }

        .event-title {
            font-family: 'Great Vibes', cursive;
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 1.5rem;
        }

        .event-time {
            font-weight: 600;
            color: var(--gold-dark);
            margin: 1rem 0;
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
        }

        .event-details {
            font-size: 1rem; /* Normalizado para consistencia */
            line-height: 1.8;
            color: var(--text-light);
            margin-bottom: 0.5rem;
        }

        .event-location {
            font-weight: 600;
            color: var(--text-dark);
            margin-top: 1rem;
        }

        .event-btn {
            display: inline-block;
            margin-top: 1.5rem;
            padding: 1rem 2.5rem;
            background: var(--cream-bg);
            color: var(--gold-dark);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 30px;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1rem;
            letter-spacing: 1px;
            font-weight: 600;
            box-shadow: 5px 5px 10px #e1ddd4, -5px -5px 10px #ffffff;
        }

        .event-btn:hover {
            box-shadow: inset 3px 3px 6px #e1ddd4,
                inset -3px -3px 6px #ffffff;
            color: var(--gold);
            transform: scale(0.98);
        }

        /* RSVP Section */
        .rsvp-section {
            padding: 8rem 2rem;
            background: var(--cream-bg); /* Fondo sólido para el efecto neumórfico */
            position: relative;
            overflow: hidden;
        }

        .rsvp-form {
            max-width: 600px;
            margin: 0 auto;
            background: var(--cream-bg);
            border-radius: 25px;
            padding: 3rem;
            opacity: 0;
            transform: translateY(30px);
            box-shadow: 9px 9px 18px #e1ddd4, -9px -9px 18px #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .rsvp-form.visible {
            animation: fadeInUp 1s ease forwards;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-light); /* Color más suave para la etiqueta */
            font-size: 0.9rem;
            letter-spacing: 1px;
            font-weight: 600;
        }

        .form-input,
        .form-textarea,
        .form-select {
            width: 100%;
            padding: 1rem;
            background: var(--cream-bg);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 15px;
            color: var(--text-dark);
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem; /* Ligeramente más grande para facilitar la escritura */
            transition: all 0.3s ease;
            box-shadow: inset 3px 3px 6px #e1ddd4,
                inset -3px -3px 6px #ffffff;
        }

        .form-select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            padding-right: 2.5rem;
        }

        .form-select option {
            background: white;
            color: var(--text-dark);
        }

        .phone-input-group {
            display: flex;
            gap: 0.5rem;
        }

        .phone-prefix {
            width: 80px;
            flex-shrink: 0;
            background: var(--cream-dark);
            border-color: var(--cream-dark);
            color: var(--text-dark);
            font-weight: 600;
            text-align: center;
            pointer-events: none;
        }

        .form-input:focus,
        .form-textarea:focus,
        .form-select:focus {
            outline: none;
            box-shadow: 5px 5px 10px #e1ddd4,
                -5px -5px 10px #ffffff;
            background: var(--cream-bg);
        }

        .form-textarea {
            resize: vertical;
            min-height: 100px;
        }

        .submit-btn {
            width: 100%;
            padding: 1.2rem 2rem;
            background: var(--cream-bg);
            color: var(--gold-dark);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 5px 5px 10px #e1ddd4, -5px -5px 10px #ffffff;
        }

        .submit-btn:hover:not(:disabled) {
            box-shadow: inset 3px 3px 6px #e1ddd4,
                inset -3px -3px 6px #ffffff;
            color: var(--gold);
        }

        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .copy-button {
            background: rgba(255, 255, 255, 0.9);
            color: var(--text-dark);
            border: 2px solid var(--gold);
            padding: 0.5rem 1.2rem;
            border-radius: 8px; font-family: 'Cormorant Garamond', serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            letter-spacing: 0.5px;
        }

        .copy-button:hover {
            background: var(--gold-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
        }

        .copy-button:active {
            transform: translateY(0);
            background: var(--gold);
            color: white;
        }

        /* Success Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(93, 78, 55, 0.7);
            backdrop-filter: blur(5px);
        }

        .modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        .modal-content {
            background: linear-gradient(135deg, var(--cream-light), white);
            border: 3px solid var(--gold);
            border-radius: 20px;
            padding: 3rem;
            text-align: center;
            max-width: 500px;
            margin: 1rem;
            animation: scaleIn 0.3s ease;
            box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
        }

        .modal-icon {
            font-size: 5rem;
            margin-bottom: 1rem;
        }

        .modal-title {
            font-family: 'Great Vibes', cursive;
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 1rem;
        }

        .modal-text {
            font-size: 1.1rem;
            color: var(--text-dark);
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .modal-btn {
            padding: 1rem 2rem;
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }

        .modal-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        }

        /* Footer */
        .footer {
            padding: 3rem 2rem;
            background: var(--cream-dark);
            text-align: center;
            border-top: 2px solid var(--gold-light);
        }

        .footer-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem; /* Normalizado */
            color: var(--gold-dark);
            font-style: italic;
        }

        /* Floating Hearts */
        .floating-hearts {
            position: absolute; /* Cambiado para contenerlo en su sección padre */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }

        .heart {
            position: absolute;
            font-size: 20px;
            opacity: 0;
            animation: floatHeart 15s infinite ease-in-out;
        }

        @keyframes floatHeart {
            0% {
                transform: translateY(100%) rotate(0deg); /* Usamos % para que se ajuste a la altura de la sección */
                opacity: 0;
            }

            10% {
                opacity: 0.3;
            }

            90% {
                opacity: 0.3;
            }

            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

        .heart:nth-child(1) {
            left: 10%;
            animation-delay: 0s;
        }

        .heart:nth-child(2) {
            left: 20%;
            animation-delay: 3s;
        }

        .heart:nth-child(3) {
            left: 30%;
            animation-delay: 6s;
        }

        .heart:nth-child(4) {
            left: 40%;
            animation-delay: 9s;
        }

        .heart:nth-child(5) {
            left: 50%;
            animation-delay: 12s;
        }

        .heart:nth-child(6) {
            left: 60%;
            animation-delay: 2s;
        }

        .heart:nth-child(7) {
            left: 70%;
            animation-delay: 5s;
        }

        .heart:nth-child(8) {
            left: 80%;
            animation-delay: 8s;
        }

        .heart:nth-child(9) {
            left: 90%;
            animation-delay: 11s;
        }

        /* Decorative Flowers */
        .flower-decoration {
            position: absolute;
            pointer-events: none;
            opacity: 0;
            animation: fadeInFlower 1.5s ease forwards;
        }

        @keyframes fadeInFlower {
            to {
                opacity: 1;
            }
        }

        .flower-decoration.top-left {
            top: 5%;
            left: 5%;
            width: 200px;
            height: 200px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><radialGradient id="petal1"><stop offset="0%25" stop-color="%23E8D4A2"/><stop offset="100%25" stop-color="%23D4AF37"/></radialGradient></defs><g transform="translate(100,100)"><ellipse rx="30" ry="50" fill="url(%23petal1)" opacity="0.7" transform="rotate(0)"/><ellipse rx="30" ry="50" fill="url(%23petal1)" opacity="0.7" transform="rotate(72)"/><ellipse rx="30" ry="50" fill="url(%23petal1)" opacity="0.7" transform="rotate(144)"/><ellipse rx="30" ry="50" fill="url(%23petal1)" opacity="0.7" transform="rotate(216)"/><ellipse rx="30" ry="50" fill="url(%23petal1)" opacity="0.7" transform="rotate(288)"/><circle r="15" fill="%23B8963C" opacity="0.9"/></g></svg>') no-repeat center;
            background-size: contain;
            animation: fadeInFlower 1.5s ease forwards, floatFlower 6s ease-in-out infinite;
            animation-delay: 0.5s, 2s;
        }

        .flower-decoration.top-right {
            top: 10%;
            right: 8%;
            width: 150px;
            height: 150px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><radialGradient id="petal2"><stop offset="0%25" stop-color="%23E8C4A0"/><stop offset="100%25" stop-color="%23D4AF37"/></radialGradient></defs><g transform="translate(100,100)"><ellipse rx="25" ry="45" fill="url(%23petal2)" opacity="0.7" transform="rotate(0)"/><ellipse rx="25" ry="45" fill="url(%23petal2)" opacity="0.7" transform="rotate(60)"/><ellipse rx="25" ry="45" fill="url(%23petal2)" opacity="0.7" transform="rotate(120)"/><ellipse rx="25" ry="45" fill="url(%23petal2)" opacity="0.7" transform="rotate(180)"/><ellipse rx="25" ry="45" fill="url(%23petal2)" opacity="0.7" transform="rotate(240)"/><ellipse rx="25" ry="45" fill="url(%23petal2)" opacity="0.7" transform="rotate(300)"/><circle r="12" fill="%23B8963C" opacity="0.9"/></g></svg>') no-repeat center;
            background-size: contain;
            animation: fadeInFlower 1.5s ease forwards, floatFlower 7s ease-in-out infinite;
            animation-delay: 0.8s, 2.5s;
        }

        .flower-decoration.bottom-left {
            bottom: 10%;
            left: 8%;
            width: 180px;
            height: 180px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><radialGradient id="petal3"><stop offset="0%25" stop-color="%23E8D4A2"/><stop offset="100%25" stop-color="%23C9A87C"/></radialGradient></defs><g transform="translate(100,100)"><ellipse rx="28" ry="48" fill="url(%23petal3)" opacity="0.7" transform="rotate(0)"/><ellipse rx="28" ry="48" fill="url(%23petal3)" opacity="0.7" transform="rotate(45)"/><ellipse rx="28" ry="48" fill="url(%23petal3)" opacity="0.7" transform="rotate(90)"/><ellipse rx="28" ry="48" fill="url(%23petal3)" opacity="0.7" transform="rotate(135)"/><ellipse rx="28" ry="48" fill="url(%23petal3)" opacity="0.7" transform="rotate(180)"/><ellipse rx="28" ry="48" fill="url(%23petal3)" opacity="0.7" transform="rotate(225)"/><ellipse rx="28" ry="48" fill="url(%23petal3)" opacity="0.7" transform="rotate(270)"/>                <ellipse rx="28" ry="48" fill="url(%23petal3)" opacity="0.7" transform="rotate(315)"/><circle r="14" fill="%23D4AF37" opacity="0.85"/></g></svg>') no-repeat center;
            background-size: contain;
            animation: fadeInFlower 1.5s ease forwards, floatFlower 8s ease-in-out infinite;
            animation-delay: 1s, 3s;
        }

        .flower-decoration.bottom-right {
            bottom: 5%;
            right: 5%;
            width: 160px;
            height: 160px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><radialGradient id="petal4"><stop offset="0%25" stop-color="%23E8C4A0"/><stop offset="100%25" stop-color="%23B8963C"/></radialGradient></defs><g transform="translate(100,100)"><ellipse rx="32" ry="52" fill="url(%23petal4)" opacity="0.7" transform="rotate(0)"/><ellipse rx="32" ry="52" fill="url(%23petal4)" opacity="0.7" transform="rotate(72)"/><ellipse rx="32" ry="52" fill="url(%23petal4)" opacity="0.7" transform="rotate(144)"/><ellipse rx="32" ry="52" fill="url(%23petal4)" opacity="0.7" transform="rotate(216)"/><ellipse rx="32" ry="52" fill="url(%23petal4)" opacity="0.7" transform="rotate(288)"/><circle r="16" fill="%23D4AF37" opacity="0.8"/></g></svg>') no-repeat center;
            background-size: contain;
            animation: fadeInFlower 1.5s ease forwards, floatFlower 7.5s ease-in-out infinite;
            animation-delay: 1.2s, 2.8s;
        }

        @keyframes floatFlower {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-15px) rotate(5deg);
            }
        }

        /* Section Flowers */
        .section-flower {
            position: absolute;
            pointer-events: none;
            opacity: 0;
        }

        .section-flower.visible {
            animation: fadeInFlower 1.2s ease forwards, floatFlower 8s ease-in-out infinite;
        }

        .section-flower.left {
            left: 2%;
            top: 50%;
            transform: translateY(-50%);
            width: 120px;
            height: 120px;
        }

        .section-flower.right {
            right: 2%;
            top: 50%;
            transform: translateY(-50%);
            width: 120px;
            height: 120px;
        }

        .section-flower svg {
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.2));
        }

        /* Tiempos de animación personalizados para cada flor de sección */
        .countdown-section .section-flower.visible {
            animation-duration: 1.2s, 7s; /* fadeIn, floatFlower */
            animation-delay: 0s, 0.5s;
        }

        .story-section .section-flower.visible {
            animation-duration: 1.2s, 9s;
            animation-delay: 0s, 0.2s;
        }

        .events-section .section-flower.visible,
        .rsvp-section .section-flower.visible,
        .dresscode-section .section-flower.visible {
            animation-duration: 1.2s, 8s;
        }

        /* Shooting Star Effect */
        .shooting-star {
            position: fixed;
            width: 3px;
            height: 3px;
            background: var(--gold);
            border-radius: 50%;
            box-shadow: 0 0 10px 2px var(--gold-light);
            pointer-events: none;
            z-index: 999;
            opacity: 0;
        }

        .shooting-star::before {
            content: '';
            position: absolute;
            top: 0;
            right: 3px;
            width: 80px;
            height: 2px;
            background: linear-gradient(90deg, var(--gold), transparent);
            transform: translateX(3px) translateY(1px);
        }

        .shooting-star.active {
            animation: shootingStar 2s ease-out;
        }

        @keyframes shootingStar {
            0% {
                transform: translate(0, 0) rotate(-45deg);
                opacity: 1;
            }

            70% {
                opacity: 1;
            }

            100% {
                transform: translate(300px, 300px) rotate(-45deg);
                opacity: 0;
            }
        }

        /* Gifts Section */
        .gifts-section {
            padding: 8rem 2rem;
            background: var(--cream-bg); /* Fondo sólido para el efecto neumórfico */
            position: relative;
            overflow: hidden;
        }

        .gifts-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .gifts-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.2rem; /* Normalizado */
            line-height: 2;
            color: var(--text-dark);
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(30px);
        }

        .gifts-text.visible {
            animation: fadeInUp 1s ease forwards;
        }

        .envelopes-container {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin: 3rem 0;
            flex-wrap: wrap;
        }

        .envelope {
            width: 120px;
            height: 120px;
            position: relative;
            opacity: 0;
            transform: scale(0.8);
        }

        .envelope.visible {
            animation: scaleIn 0.6s ease forwards;
        }


        .envelope:nth-child(1) {
            animation-delay: 0.2s;
        }

        .envelope:nth-child(2) {
            animation-delay: 0.4s;
        }

        .envelope:nth-child(3) {
            animation-delay: 0.6s;
        }

        .envelope.visible {
            /* Añadimos la animación de flotación una vez visible */
            animation: scaleIn 0.6s ease forwards, floatIcon 4s ease-in-out infinite 0.6s;
        }

        .envelope svg {
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
            transition: transform 0.3s ease;
        }

        .envelope:hover svg {
            transform: translateY(-10px);
        }

        .bank-details {
            background: var(--cream-bg);
            padding: 2rem;
            border-radius: 25px;
            max-width: 600px;
            margin: 0 auto;
            box-shadow: 9px 9px 18px #e1ddd4, -9px -9px 18px #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.5);
            position: relative;
        }

        .bank-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            animation-delay: 0.8s;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .bank-title {
            font-family: 'Great Vibes', cursive;
            font-size: 2.5rem;
            color: var(--gold);
            margin: 0;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
        }

        .bank-info {
            text-align: left;
            margin-bottom: 1rem;
        }

        .bank-label {
            font-weight: 600;
            color: var(--gold-dark);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.3rem;
        }

        .bank-value {
            font-size: 1.2rem; /* Ligeramente más grande para legibilidad */
            color: var(--text-dark);
            font-family: 'Cormorant Garamond', serif;
            margin-bottom: 1rem;
            padding: 0.5rem;
            background: rgba(212, 175, 55, 0.05);
            border-radius: 5px;
        }

        /* Dress Code Section */
        .dresscode-section {
            padding: 8rem 2rem;
            background: var(--cream-bg); /* Fondo sólido para el efecto neumórfico */
            position: relative;
            overflow: hidden;
        }

        .dresscode-content {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .dresscode-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.2rem; /* Normalizado */
            line-height: 2;
            color: var(--text-dark);
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(30px);
        }

        .dresscode-text.visible {
            animation: fadeInUp 1s ease forwards;
        }

        .dresscode-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .dresscode-card {
            background: var(--cream-bg);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 25px;
            padding: 2rem;
            text-align: center;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.3s ease;
            box-shadow: 9px 9px 18px #e1ddd4, -9px -9px 18px #ffffff;
        }

        .dresscode-card.visible {
            animation: fadeInUp 0.8s ease forwards;
        }

        .dresscode-card:nth-child(1) {
            animation-delay: 0.2s;
        }

        .dresscode-card:nth-child(2) {
            animation-delay: 0.4s;
        }

        .dresscode-card:hover {
            box-shadow: inset 7px 7px 14px #e1ddd4,
                inset -7px -7px 14px #ffffff;
            transform: scale(0.98);
        }

        .dresscode-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            animation: floatIcon 3s ease-in-out infinite;
        }

        .dresscode-title {
            font-family: 'Great Vibes', cursive;
            font-size: 2rem;
            color: var(--gold);
            margin-bottom: 1rem;
        }

        .dresscode-description {
            font-size: 1rem; /* Normalizado */
            color: var(--text-dark);
            line-height: 1.6;
        }

        .reserved-note {
            margin-top: 3rem;
            padding: 1.5rem;
            background: var(--cream-bg);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 25px;
            box-shadow: 9px 9px 18px #e1ddd4, -9px -9px 18px #ffffff;
            opacity: 0;
            transform: translateY(20px);
        }

        .reserved-note.visible {
            animation: fadeInUp 0.8s ease forwards;
            animation-delay: 0.6s;
        }

        .reserved-note p {
            font-size: 1rem; /* Normalizado */
            color: var(--text-dark);
            margin: 0;
        }

        .reserved-note strong {
            color: var(--gold-dark);
            font-weight: 600;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 3.5rem;
            }

            .hero-date {
                font-size: 1.5rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .countdown-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .countdown-number {
                font-size: 2.5rem;
            }

            .countdown-label {
                font-size: 0.8rem;
            }

            .countdown-item {
                padding: 1.5rem 0.5rem;
            }

            .events-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .event-card {
                padding: 2rem 1.5rem;
            }

            .flower-decoration {
                width: 80px !important;
                height: 80px !important;
            }

            .section-flower {
                display: none;
            }

            .story-text {
                font-size: 1.2rem;
                margin-bottom: 2rem;
            }

            .event-title {
                font-size: 2.5rem;
            }

            .event-icon {
                font-size: 3rem;
            }

            .share-button {
                bottom: 100px;
                right: 15px;
                width: 50px;
                height: 50px;
            }

            .music-control {
                right: 15px;
                width: 50px;
                height: 50px;
            }

            .share-icon {
                font-size: 22px;
            }

            .music-icon {
                font-size: 20px;
            }

            .rsvp-form {
                padding: 2rem 1.5rem;
            }

            .modal-content {
                padding: 2rem;
                margin: 1rem;
            }

            .modal-title {
                font-size: 2.5rem;
            }

            .modal-text {
                font-size: 1rem;
            }

            .countdown-section,
            .story-section,
            .events-section,
            .rsvp-section {
                padding: 4rem 1rem;
            }

            .hero-content {
                padding: 1rem;
            }

            .flower-decoration.top-left {
                top: 2%;
                left: 2%;
            }

            .flower-decoration.top-right {
                top: 5%;
                right: 2%;
            }

            .flower-decoration.bottom-left {
                bottom: 5%;
                left: 2%;
            }

            .flower-decoration.bottom-right {
                bottom: 2%;
                right: 2%;
            }

            .dresscode-section {
                padding: 4rem 1rem;
            }

            .dresscode-cards {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .dresscode-card {
                padding: 1.5rem;
            }

            .dresscode-icon {
                font-size: 3rem;
            }

            .dresscode-title {
                font-size: 1.8rem;
            }

            .gifts-section {
                padding: 4rem 1rem;
            }

            .envelopes-container {
                gap: 1.5rem;
            }

            .envelope {
                width: 80px;
                height: 80px;
            }

            .bank-details {
                padding: 1.5rem;
            }

            .bank-title {
                font-size: 1.8rem;
            }

            .gifts-text {
                font-size: 1.1rem;
            }
        }

        /* Notificación de copiado */
        .copy-notification {
            display: none;
            position: fixed;
            bottom: 120px;
            right: 30px;
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.9rem;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 3000;
        }

        .copy-notification.show {
            display: block;
            opacity: 1;
        }


        @media (max-width: 480px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hero-date {
                font-size: 1.2rem;
                letter-spacing: 2px;
            }

            .section-title {
                font-size: 2rem;
            }

            .countdown-number {
                font-size: 2rem;
            }

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

            .story-text {
                font-size: 1rem;
                line-height: 1.8;
            }

            .event-title {
                font-size: 2rem;
            }

            .event-time {
                font-size: 1.5rem;
            }

            .event-details {
                font-size: 0.95rem;
            }

            .form-input,
            .form-textarea,
            .form-select {
                font-size: 0.95rem;
                padding: 0.8rem;
            }

            .phone-prefix {
                width: 70px;
            }

            .submit-btn {
                font-size: 0.9rem;
                padding: 0.9rem 1.5rem;
            }

            .modal-title {
                font-size: 2rem;
            }

            .modal-icon {
                font-size: 4rem;
            }

            .flower-decoration {
                width: 60px !important;
                height: 60px !important;
            }
        }

        @media (max-width: 360px) {
            .hero-title {
                font-size: 2rem;
            }

            .countdown-container {
                gap: 0.5rem;
            }

            .countdown-item {
                padding: 1rem 0.5rem;
            }

            .countdown-number {
                font-size: 1.8rem;
            }

            .rsvp-form {
                padding: 1.5rem 1rem;
            }
        }