body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', 'Brush Script MT', cursive, Arial, sans-serif;
    background: #f7f3fa;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 600px;
    width: 100%;
    min-height: 700px;
    margin: 0;
    padding: 50px 30px 30px 30px;
    position: relative;
    z-index: 20;
    background: #F5EDF8;
    border-radius: 32px;
    box-shadow: 0 12px 48px rgba(100, 80, 160, 0.18);
    margin-top: -60px;
    padding-top: 120px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-circle {
    width: 40px;
    height: 40px;
    background: #2d1b3b;
    border-radius: 50%;
    margin: 0 auto 8px auto;
    position: relative;
}

.subtitle {
    font-size: 1.2rem;
    color: #7c6a8a;
    margin-bottom: 5px;
}

.nombre {
    font-size: 2.5rem;
    color: #7c4fa3;
    font-family: 'Segoe Script', 'Brush Script MT', cursive;
    margin: 0;
}

.quince {
    font-size: 2.3rem;
    color: #a88cc9;
    margin-bottom: 10px;
}

.sobre-container {
    display: flex;
    justify-content: center;
    margin: 60px 0 30px 0;
}

.sobre-img-fondo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 380px;
    height: 220px;
    margin: 0 auto 30px auto;
}
.sobre-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(120, 80, 160, 0.18);
    display: block;
}
.sello-css {
    position: absolute;
    left: 49%;
    top: 64%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #e6d0f5 60%, #b48ad6 100%);
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 16px rgba(120, 80, 160, 0.18), 0 0 0 4px #b48ad6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c4fa3;
    font-family: 'Segoe Script', 'Brush Script MT', cursive;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 10;
    transition: box-shadow 0.2s, transform 0.2s;
}
.sello-css:hover {
    box-shadow: 0 8px 32px rgba(120, 80, 160, 0.28), 0 0 0 6px #a06cc1;
    transform: translate(-50%, -50%) scale(1.07);
}

.footer {
    text-align: center;
    margin-top: 20px;
}
.tema {
    font-size: 1.5rem;
    color: #b48ad6;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
}

.mariposa1 {
    top: 140px;
    left: 40px;
    transform: rotate(-20deg);
    animation: volar1 15s ease-in-out infinite alternate;
}
.mariposa2 {
    top: 260px;
    right: 40px;
    transform: rotate(15deg);
    animation: volar2 20s ease-in-out infinite alternate;
}
.mariposa3 {
    top: 60px;
    right: 60px;
    transform: rotate(-10deg);
    animation: volar3 18s ease-in-out infinite alternate;
}
.mariposa4 {
    bottom: 120px;
    left: 60px;
    transform: rotate(12deg);
    animation: volar4 16s ease-in-out infinite alternate;
}
.mariposa5 {
    bottom: 60px;
    right: 80px;
    transform: rotate(-18deg);
    animation: volar5 22s ease-in-out infinite alternate;
}
.mariposa6 {
    top: 280px;
    left: 120px;
    transform: rotate(25deg);
    animation: volar6 17s ease-in-out infinite alternate;
}

@keyframes volar1 {
    0% { transform: translate(0, 0) rotate(-20deg); }
    100% { transform: translate(8vw, -10vh) rotate(10deg); }
}
@keyframes volar2 {
    0% { transform: translate(0, 0) rotate(15deg); }
    100% { transform: translate(-7vw, 12vh) rotate(-5deg); }
}
@keyframes volar3 {
    0% { transform: translate(0, 0) rotate(-10deg); }
    100% { transform: translate(6vw, 9vh) rotate(20deg); }
}
@keyframes volar4 {
    0% { transform: translate(0, 0) rotate(12deg); }
    100% { transform: translate(-9vw, -8vh) rotate(-15deg); }
}
@keyframes volar5 {
    0% { transform: translate(0, 0) rotate(-18deg); }
    100% { transform: translate(11vw, 7vh) rotate(5deg); }
}
@keyframes volar6 {
    0% { transform: translate(0, 0) rotate(25deg); }
    100% { transform: translate(-10vw, 9vh) rotate(-10deg); }
}

.sobre-container a:hover .sobre-img-real {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(120, 80, 160, 0.25);
}

.flowers-header-img, .flowers-footer-img {
    width: 100vw;
    max-width: 100%;
    display: block;
    position: absolute;
    left: 0;
    z-index: 30;
    pointer-events: none;
}
.flowers-header-img {
    top: 0;
}
.flowers-footer-img {
    position: fixed;
    bottom: 0;
}

.mariposa-wrapper {
    position: fixed;
    z-index: 100;
    pointer-events: none;
    width: 50px;
    height: 50px;
}

.mariposa-detalle1 {
    top: 5%;
    left: 10%;
    transform: scale(0.8) rotate(-15deg);
    animation: volar-detalle-1 25s ease-in-out infinite alternate;
}
.mariposa-detalle2 {
    top: 8%;
    right: 15%;
    transform: scale(0.9) rotate(10deg);
    animation: volar-detalle-2 22s ease-in-out infinite alternate;
}
.mariposa-detalle3 {
    top: 15%;
    left: 20%;
    transform: scale(0.7) rotate(-5deg);
    animation: volar-detalle-3 28s ease-in-out infinite alternate;
}
.mariposa-detalle4 {
    top: 12%;
    right: 25%;
    transform: scale(0.8) rotate(15deg);
    animation: volar-detalle-4 26s ease-in-out infinite alternate;
}
.mariposa-detalle5 {
    top: 20%;
    left: 15%;
    transform: scale(0.9) rotate(-10deg);
    animation: volar-detalle-5 23s ease-in-out infinite alternate;
}
.mariposa-detalle6 {
    top: 40%;
    right: 10%;
    transform: scale(0.8) rotate(5deg);
    animation: volar-detalle-6 29s ease-in-out infinite alternate;
}
.mariposa-detalle7 {
    top: 45%;
    left: 8%;
    transform: scale(0.7) rotate(-15deg);
    animation: volar-detalle-7 24s ease-in-out infinite alternate;
}
.mariposa-detalle8 {
    top: 50%;
    right: 20%;
    transform: scale(0.9) rotate(10deg);
    animation: volar-detalle-8 27s ease-in-out infinite alternate;
}
.mariposa-detalle9 {
    top: 70%;
    left: 15%;
    transform: scale(0.8) rotate(-5deg);
    animation: volar-detalle-9 21s ease-in-out infinite alternate;
}
.mariposa-detalle10 {
    top: 75%;
    right: 12%;
    transform: scale(0.7) rotate(15deg);
    animation: volar-detalle-10 30s ease-in-out infinite alternate;
}
.mariposa-detalle11 {
    top: 85%;
    left: 20%;
    transform: scale(0.9) rotate(-10deg);
    animation: volar-detalle-11 20s ease-in-out infinite alternate;
}
.mariposa-detalle12 {
    top: 90%;
    right: 18%;
    transform: scale(0.8) rotate(5deg);
    animation: volar-detalle-12 25s ease-in-out infinite alternate;
}

.mariposa-svg {
    width: 100%;
    height: 100%;
}

.scroll-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    padding: 2rem 0;
}

.foto-principal {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    margin-top: 2rem;
    display: block;
}

.flecha-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
    font-size: 1.2rem;
    color: #666;
}

.flecha-scroll i {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.contador-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

.contador-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contador-item span:first-child {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    color: #ff69b4;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.contador-item span:last-child {
    font-size: 1.2rem;
    color: #666;
}

.mapa-container {
    margin: 2rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

.mapa-container iframe {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.invitados-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    padding: 0 1rem;
}

.invitado-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.invitado-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.invitado-item label {
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
}

.btn-confirmar {
    display: block;
    margin: 2rem auto;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: #ff69b4;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-confirmar:hover {
    background: #ff1493;
}

.video-quince {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.detalles-section {
    min-height: 100vh;
    scroll-snap-align: start;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.info-importante {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #7c6a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0.5rem 0;
}

.detalles-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detalles-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #666;
    max-width: 800px;
}

@media (max-width: 768px) {
    .contador-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .detalles-section {
        padding: 1.5rem 1rem;
    }

    .detalles-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        margin-top: 4rem;
    }

    .detalles-section p {
        font-size: 1.1rem;
    }

    .contador-item span:first-child {
        font-size: 2.5rem;
    }

    .btn-confirmar {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }

    .mariposa-svg {
        transform: scale(0.6) !important;
    }

    .flowers-header-img, .flowers-footer-img {
        width: 100%;
        max-width: 100%;
        max-height: none;
        height: auto;
    }
}

.confirmacion-section {
    padding-bottom: 8rem !important;
    padding-top: 2rem !important;
}

.titulo-final {
    font-size: 3rem !important;
    color: #ff69b4 !important;
    margin-bottom: 2rem !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-family: 'Dancing Script', cursive;
}

@media (max-width: 768px) {
    .confirmacion-section {
        padding-bottom: 6rem !important;
        padding-top: 1.5rem !important;
    }
    
    .titulo-final {
        font-size: 2.5rem !important;
    }
}

.saludo-inicial {
    max-width: 800px;
}

.saludo-inicial h2 {
    font-size: 2.8rem;
    color: #ff69b4;
    margin-bottom: 1.5rem;
    font-family: 'Dancing Script', cursive;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.saludo-inicial p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .saludo-inicial h2 {
        font-size: 2.2rem;
    }
    
    .saludo-inicial p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

.animar {
    opacity: 0;
}

.animar.animado {
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animar.animado[data-delay="1"] { animation-delay: 0.2s; }
.animar.animado[data-delay="2"] { animation-delay: 0.5s; }
.animar.animado[data-delay="3"] { animation-delay: 0.8s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.detalles-section h2,
.titulo-final,
.saludo-inicial h2,
.detalles-section p,
.saludo-inicial p,
.detalles-section .contador-grid,
.detalles-section .invitados-grid,
.detalles-section .btn-confirmar {
    animation: none !important;
    opacity: unset;
}

.waze-link {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: #33ccff;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
    font-family: Arial, sans-serif;
}

.waze-link:hover {
    background-color: #29a3cc;
}

.waze-link i {
    margin-right: 0.5rem;
}

#detalles-section {
    position: relative;
    z-index: 1;
}

.lluvia-sobres-container {
    background: rgba(230, 208, 245, 0.3);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(180, 138, 214, 0.4);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 0 auto;
}

.lluvia-sobres-container i {
    font-size: 3rem;
    color: #a88cc9;
    margin-bottom: 1rem;
    display: block;
}

.lluvia-sobres-container h2 {
    margin-bottom: 1rem;
    color: #7c4fa3;
}

.lluvia-sobres-container p {
    font-size: 1.1rem;
    color: #7c6a8a;
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 769px) {
    .container {
        z-index: 40;
    }
}

@keyframes volar-detalle-1 { 0% { transform: translate(0, 0) scale(0.8) rotate(-15deg); } 100% { transform: translate(8vw, -6vh) scale(0.8) rotate(10deg); } }
@keyframes volar-detalle-2 { 0% { transform: translate(0, 0) scale(0.9) rotate(10deg); } 100% { transform: translate(-7vw, 8vh) scale(0.9) rotate(-5deg); } }
@keyframes volar-detalle-3 { 0% { transform: translate(0, 0) scale(0.7) rotate(-5deg); } 100% { transform: translate(6vw, 7vh) scale(0.7) rotate(15deg); } }
@keyframes volar-detalle-4 { 0% { transform: translate(0, 0) scale(0.8) rotate(15deg); } 100% { transform: translate(-9vw, -5vh) scale(0.8) rotate(-10deg); } }
@keyframes volar-detalle-5 { 0% { transform: translate(0, 0) scale(0.9) rotate(-10deg); } 100% { transform: translate(10vw, 6vh) scale(0.9) rotate(5deg); } }
@keyframes volar-detalle-6 { 0% { transform: translate(0, 0) scale(0.8) rotate(5deg); } 100% { transform: translate(-8vw, 9vh) scale(0.8) rotate(-15deg); } }
@keyframes volar-detalle-7 { 0% { transform: translate(0, 0) scale(0.7) rotate(-15deg); } 100% { transform: translate(7vw, -7vh) scale(0.7) rotate(10deg); } }
@keyframes volar-detalle-8 { 0% { transform: translate(0, 0) scale(0.9) rotate(10deg); } 100% { transform: translate(-6vw, 8vh) scale(0.9) rotate(-5deg); } }
@keyframes volar-detalle-9 { 0% { transform: translate(0, 0) scale(0.8) rotate(-5deg); } 100% { transform: translate(9vw, 6vh) scale(0.8) rotate(15deg); } }
@keyframes volar-detalle-10 { 0% { transform: translate(0, 0) scale(0.7) rotate(15deg); } 100% { transform: translate(-10vw, -8vh) scale(0.7) rotate(-10deg); } }
@keyframes volar-detalle-11 { 0% { transform: translate(0, 0) scale(0.9) rotate(-10deg); } 100% { transform: translate(8vw, 7vh) scale(0.9) rotate(5deg); } }
@keyframes volar-detalle-12 { 0% { transform: translate(0, 0) scale(0.8) rotate(5deg); } 100% { transform: translate(-7vw, 9vh) scale(0.8) rotate(-15deg); } }