/* Estilos generales */
:root {
    --primary-color: #7b2cbf;
    --primary-light: #9d4edd;
    --primary-dark: #5a189a;
    --secondary-color: #ff9e00;
    --accent-color: #ffd166;
    --text-color: #333333;
    --light-text: #f8f9fa;
    --white: #ffffff;
    --off-white: #f5f3f4;
    --envelope-color: #f8edeb;
    --envelope-shadow: #e8e8e4;
    --forbidden-1: #9c27b0;
    --forbidden-2: #e91e63;
    --forbidden-3: #ba68c8;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--off-white);
    overflow-x: hidden;
    line-height: 1.7;
    font-weight: 400;
}

h1, h2, h3 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

/* Pantalla del sobre */
.envelope-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5fd1, #3d0a5b);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.8s ease;
    padding: 20px;
}

.invitation-label {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.label-title {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4);
    letter-spacing: 3px;
    margin-bottom: 8px;
    line-height: 1;
}

.label-name {
    font-family: 'Dancing Script', cursive;
    font-size: 3.2rem;
    font-weight: 600;
    color: #FFD700;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(255, 215, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.3);
    letter-spacing: 2px;
}


.envelope-container {
    perspective: 1000px;
    width: 320px;
    height: 240px;
    position: relative;
    margin-top: 60px;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
}

.envelope {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.envelope:hover {
    transform: scale(1.05);
}

.envelope-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(1) saturate(1);
    z-index: 2;
    position: relative;
}

.envelope:hover .envelope-image {
    filter: brightness(1.1) saturate(1.2);
    transform: rotateY(5deg) rotateX(-2deg);
}

.envelope.clicked .envelope-image {
    animation: envelopeOpen 1.2s ease-in-out forwards;
}

.envelope-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(123, 44, 191, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.envelope:hover .envelope-glow {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

.envelope.clicked .envelope-glow {
    animation: explosionGlow 1.2s ease-out forwards;
}

@keyframes envelopeOpen {
    0% {
        transform: scale(1) rotateY(0deg);
        filter: brightness(1.1) saturate(1.2);
    }
    25% {
        transform: scale(1.1) rotateY(10deg);
        filter: brightness(1.3) saturate(1.4);
    }
    50% {
        transform: scale(1.2) rotateY(20deg) rotateX(10deg);
        filter: brightness(1.5) saturate(1.6) hue-rotate(30deg);
    }
    75% {
        transform: scale(1.3) rotateY(30deg) rotateX(15deg);
        filter: brightness(1.7) saturate(1.8) hue-rotate(60deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5) rotateY(45deg) rotateX(20deg);
        filter: brightness(2) saturate(2) hue-rotate(90deg);
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes explosionGlow {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(123, 44, 191, 0.2) 50%, transparent 70%);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(2);
        background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 215, 0, 0.6) 30%, rgba(123, 44, 191, 0.4) 60%, transparent 80%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
        background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 215, 0, 0.8) 20%, rgba(123, 44, 191, 0.6) 40%, transparent 60%);
    }
}

.particles-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.envelope.clicked .particle {
    animation: particleExplosion 1.5s ease-out forwards;
}

@keyframes particleExplosion {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

@keyframes particleMove {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--end-x)), calc(-50% + var(--end-y))) scale(0.2);
    }
}

.instructions {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: pulse 2s infinite;
    z-index: 10;
    transition: all 0.3s ease;
}

.envelope.clicked ~ .instructions {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.instructions p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 500;
}

.swipe-icon {
    font-size: 2.2rem;
    animation: bounce 2s infinite;
    color: #FFD700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) scale(1); 
    }
    40% { 
        transform: translateY(-15px) scale(1.1); 
    }
    60% { 
        transform: translateY(-8px) scale(1.05); 
    }
}

/* Contenido de la invitación */
.invitation-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.invitation-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%237b2cbf" fill-opacity="0.03" d="M30,10 Q50,5 70,10 Q95,15 90,40 Q85,65 50,95 Q15,65 10,40 Q5,15 30,10 Z"/></svg>');
    background-size: 80px 80px;
    z-index: 0;
}

/* Cabecera */
.invitation-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.invitation-header h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 0 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    letter-spacing: 2px;
    font-style: italic;
    flex: 1;
}

.decoration-left, .decoration-right {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.flower {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(157, 78, 221, 0.3);
}

.flower::before, .flower::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(157, 78, 221, 0.3);
}

.flower::before {
    transform: rotate(60deg);
}

.flower::after {
    transform: rotate(-60deg);
}

.leaf {
    position: absolute;
    width: 20px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 10px 0;
    transform: rotate(-30deg);
    top: 40px;
    left: 10px;
}

.decoration-right .leaf {
    left: auto;
    right: 10px;
    transform: rotate(30deg) scaleX(-1);
}

/* Reproductor de música */
.music-player {
    text-align: center;
    margin: 20px 0 30px;
    position: relative;
    z-index: 1;
}

.play-btn {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
    position: relative;
    overflow: hidden;
}

.play-btn i {
    margin-right: 10px;
}

.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.4);
}

.play-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.play-btn:hover::before {
    left: 100%;
}

/* Texto de la invitación */
.invitation-text {
    text-align: center;
    margin: 30px 0;
    padding: 30px 20px;
    background-color: var(--off-white);
    border-radius: 10px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(123, 44, 191, 0.1);
}

.invitation-text::before, .invitation-text::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    opacity: 0.1;
}

.invitation-text::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.invitation-text::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.inspirational-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.05), rgba(255, 158, 0, 0.05));
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.8;
    font-family: 'Playfair Display', serif;
    text-align: center;
    position: relative;
}

.inspirational-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.inspirational-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    bottom: -20px;
    right: 15px;
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.parents-name {
    margin-bottom: 15px;
    text-align: center;
}

.parents-name p {
    font-size: 1.3rem;
    color: var(--primary-dark);
    font-weight: 500;
    font-family: 'Crimson Text', serif;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 8px 0;
    line-height: 1.2;
}

.parents-name .conjunction {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 400;
    margin: 5px 0;
    opacity: 0.8;
}

.invitation-line {
    margin: 12px 0;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8;
}

.xv-number {
    font-size: 5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.xv-number::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.birthday-girl {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-top: 15px;
    margin-bottom: 22px; /* Separación extra debajo del nombre */
    position: relative;
    display: inline-block;
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    letter-spacing: 1px;
}

.birthday-girl::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

/* Secciones */
.countdown-section,
.calendar-section,
.location-section,
.dress-code-section,
.gallery-section,
.rsvp-section {
    margin: 60px 0;
}

.location-section {
    text-align: center;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px;
}

.section-title h3 {
    margin: 0 15px;
    font-size: 1.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.title-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.countdown-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    width: 90px;
    height: 80px;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.countdown-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
}

.countdown-box span {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    position: relative;
    line-height: 1;
    margin-bottom: 2px;
}

.countdown-box p {
    font-size: 0.8rem;
    margin: 0;
    position: relative;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calendario */
.calendar {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 1px solid rgba(123, 44, 191, 0.1);
}

.calendar-header {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: var(--primary-light);
    color: var(--white);
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding: 10px;
}

.calendar-days div {
    padding: 10px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-days div:hover {
    background-color: rgba(123, 44, 191, 0.1);
}

.calendar-days div.event-day {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(123, 44, 191, 0.3);
}

.event-time {
    font-style: italic;
    color: var(--primary-dark);
    text-align: center;
    font-size: 1.1rem;
}

/* Ubicación */
.location-details {
    background-color: var(--off-white);
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.location-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.location-details i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.map-btn {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
    position: relative;
    overflow: hidden;
    margin: 20px auto;
    text-decoration: none;
}

.map-btn i {
    margin-right: 10px;
    vertical-align: middle;
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.4);
}

.map-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.map-btn:hover::after {
    left: 100%;
}

/* Código de vestimenta */
.dress-code-content {
    background: transparent;
    padding: 40px 30px;
    border-radius: 20px;
    margin: 30px auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    border: 1px solid rgba(123, 44, 191, 0.1);
}

.dress-code-images {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.dress-image {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.dress-image:hover {
    transform: translateY(-5px) scale(1.05);
}

.dress-code-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
    font-family: 'Crimson Text', serif;
    position: relative;
}

.dress-code-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.color-restrictions {
    margin-top: 30px;
    background: rgba(211, 47, 47, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 2px dashed rgba(211, 47, 47, 0.3);
    position: relative;
}

.color-restrictions p {
    font-weight: 700;
    font-size: 1.1rem;
    color: #d32f2f;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Crimson Text', serif;
}

.forbidden-colors {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.color-box {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.color-box::before {
    content: "❌";
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.color-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.color-box span {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

/* Galería */
.carousel-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/11;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Confirmación */
.rsvp-section {
    text-align: center;
    margin: 40px 0 30px;
}

.rsvp-text {
    margin: 20px 0;
    font-size: 1.1rem;
    text-align: center;
}

.rsvp-btn {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    text-decoration: none;
}

.rsvp-btn i {
    margin-right: 10px;
    vertical-align: middle;
}

.rsvp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.4);
}

.rsvp-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.rsvp-btn:hover::after {
    left: 100%;
}

/* Pie de página */
.footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: var(--primary-dark);
    font-style: italic;
    position: relative;
}

.footer-decoration {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.small-flower {
    width: 15px;
    height: 15px;
    background-color: var(--primary-light);
    border-radius: 50%;
    position: relative;
}

.small-flower::before, .small-flower::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--primary-light);
    border-radius: 50%;
}

.small-flower::before {
    transform: rotate(60deg);
}

.small-flower::after {
    transform: rotate(-60deg);
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive design */
@media (max-width: 768px) {
    .label-title {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }
    
    .label-name {
        font-size: 3.0rem;
        letter-spacing: 1px;
    }
    
    .envelope-container {
        width: 280px;
        height: 200px;
        margin-top: 50px;
    }
    
    .countdown-section,
    .calendar-section,
    .location-section,
    .dress-code-section,
    .gallery-section,
    .rsvp-section {
        margin: 50px 0;
    }
    
    .invitation-header h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .decoration-left, .decoration-right {
        width: 40px;
        height: 40px;
    }
    
    .flower {
        width: 20px;
        height: 20px;
        box-shadow: 0 0 0 6px rgba(157, 78, 221, 0.3);
    }
    
    .flower::before, .flower::after {
        width: 20px;
        height: 20px;
        box-shadow: 0 0 0 6px rgba(157, 78, 221, 0.3);
    }
    
    .leaf {
        width: 15px;
        height: 8px;
        top: 25px;
    }
    
    .parents-name p {
        font-size: 1.8rem;
    }
    
    .parents-name .conjunction {
        font-size: 1.5rem;
    }
    
    .invitation-line {
        font-size: 1.2rem;
        line-height: 1.7;
    }
    
    .xv-number {
        font-size: 4rem;
    }
    
    .birthday-girl {
        font-size: 2.2rem;
    }
    
    .section-title {
        margin: 30px 0 20px;
    }
    
    .section-title h3 {
        font-size: 1.5rem;
        white-space: nowrap;
        margin: 0 10px;
    }
    
    .title-line {
        min-width: 20px;
    }
    
    .countdown-box {
        width: 80px;
        height: 70px;
        padding: 12px;
    }
    
    .countdown-box span {
        font-size: 1.6rem;
    }
    
    .countdown-box p {
        font-size: 0.75rem;
    }
    
    .dress-code-content {
        padding: 30px 20px;
        margin: 25px auto;
    }
    
    .dress-code-title {
        font-size: 1.3rem;
    }
    
    .color-restrictions {
        padding: 20px;
    }
    
    .forbidden-colors {
        gap: 15px;
    }
    
    .color-box {
        width: 85px;
        height: 85px;
    }
}

@media (max-width: 480px) {
    .label-title {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }
    
    .label-name {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }
    
    .countdown-section,
    .calendar-section,
    .location-section,
    .dress-code-section,
    .gallery-section,
    .rsvp-section {
        margin: 40px 0;
    }
    
    .envelope-container {
        width: 240px;
        height: 150px;
    }
    
    .invitation-label {
        font-size: 1rem;
        padding: 6px 15px;
    }
    
    .invitation-header h1 {
        font-size: 1.9rem;
        margin: 0 10px;
        letter-spacing: 1px;
    }
    
    .decoration-left, .decoration-right {
        width: 30px;
        height: 30px;
    }
    
    .flower {
        width: 15px;
        height: 15px;
        box-shadow: 0 0 0 4px rgba(157, 78, 221, 0.3);
    }
    
    .flower::before, .flower::after {
        width: 15px;
        height: 15px;
        box-shadow: 0 0 0 4px rgba(157, 78, 221, 0.3);
    }
    
    .leaf {
        width: 12px;
        height: 6px;
        top: 20px;
    }
    
    .parents-name p {
        font-size: 1.7rem;
    }
    
    .parents-name .conjunction {
        font-size: 1.4rem;
    }
    
    .invitation-line {
        font-size: 1.15rem;
        line-height: 1.6;
    }
    
    .xv-number {
        font-size: 3.5rem;
    }
    
    .birthday-girl {
        font-size: 2.0rem;
    }
    
    .section-title {
        margin: 25px 0 15px;
    }
    
    .section-title h3 {
        font-size: 1.3rem;
        white-space: nowrap;
        margin: 0 8px;
        text-align: center;
    }
    
    .title-line {
        min-width: 15px;
    }
    
    .countdown-container {
        gap: 6px;
    }
    
    .countdown-box {
        width: 70px;
        height: 60px;
        padding: 10px;
    }
    
    .countdown-box span {
        font-size: 1.4rem;
    }
    
    .countdown-box p {
        font-size: 0.7rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .rsvp-btn,
    .map-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .dress-code-content {
        padding: 25px 15px;
        margin: 20px auto;
    }
    
    .dress-code-title {
        font-size: 1.2rem;
    }
    
    .color-restrictions {
        padding: 15px;
        margin-top: 25px;
    }
    
    .color-restrictions p {
        font-size: 1rem;
    }
    
    .forbidden-colors {
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .color-box {
        width: 70px;
        height: 65px;
        border-radius: 12px;
    }
    
    .color-box span {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}