* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2a2a2a 100%);
    background-attachment: fixed;
    color: #ffd8d8;
    position: relative;
    min-height: 100vh;
}

/* Contenedor de pétalos */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ffd8d8 0%, #b27561 100%);
    border-radius: 50% 0 50% 0;
    opacity: 0.7;
    animation: fall linear infinite;
    box-shadow: 0 0 10px rgba(255, 216, 216, 0.5);
    filter: blur(0.5px);
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Contenedor principal */
.main-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Video container principal */
.video-container-main {
    width: 100%;
    max-width: 400px;
    margin: 20px auto 30px;
    position: relative;
    animation: slideInUp 1s ease-out 0.2s both;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 9:16 aspect ratio para video vertical */
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(178, 117, 97, 0.4), 
                0 0 0 3px rgba(255, 216, 216, 0.1),
                0 0 40px rgba(255, 216, 216, 0.2),
                inset 0 0 30px rgba(255, 216, 216, 0.1);
    background: linear-gradient(135deg, rgba(255, 216, 216, 0.1) 0%, rgba(178, 117, 97, 0.1) 100%);
}

.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.video-cover.hidden {
    opacity: 0;
    pointer-events: none;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.video-overlay-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(20, 22, 19, 0.1) 0%,
        rgba(20, 22, 19, 0.2) 50%,
        rgba(20, 22, 19, 0.1) 100%
    );
    pointer-events: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 216, 216, 0.95) 0%, rgba(178, 117, 97, 0.95) 100%);
    border: 3px solid rgba(255, 216, 216, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(178, 117, 97, 0.6),
                0 0 0 0 rgba(255, 216, 216, 0.4);
    transition: all 0.4s ease;
    z-index: 11;
    overflow: hidden;
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(178, 117, 97, 0.6),
                    0 0 0 0 rgba(255, 216, 216, 0.4);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 10px 40px rgba(178, 117, 97, 0.8),
                    0 0 0 20px rgba(255, 216, 216, 0);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 50px rgba(178, 117, 97, 0.8),
                0 0 0 10px rgba(255, 216, 216, 0.3);
    background: linear-gradient(135deg, rgba(255, 216, 216, 1) 0%, rgba(178, 117, 97, 1) 100%);
}

.play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.play-icon {
    width: 40px;
    height: 40px;
    color: #141613;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.play-button:hover .play-icon {
    transform: scale(1.1);
}

.play-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 25px;
}

/* Image container */
.image-container {
    width: 100%;
    max-width: 450px;
    margin: 20px auto;
    position: relative;
    animation: slideInUp 1s ease-out 0.5s both;
}

.image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(178, 117, 97, 0.4), 
                0 0 0 3px rgba(255, 216, 216, 0.1),
                0 0 40px rgba(255, 216, 216, 0.2),
                inset 0 0 30px rgba(255, 216, 216, 0.1);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(255, 216, 216, 0.1) 0%, rgba(178, 117, 97, 0.1) 100%);
    padding: 8px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 216, 216, 0.1) 50%,
        transparent 70%
    );
    animation: shine 3s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(178, 117, 97, 0.6), 
                0 0 0 4px rgba(255, 216, 216, 0.3),
                0 0 60px rgba(255, 216, 216, 0.4),
                0 0 100px rgba(178, 117, 97, 0.3),
                inset 0 0 50px rgba(255, 216, 216, 0.2);
}

.image-wrapper:hover .glow-effect {
    animation-duration: 2s;
    opacity: 0.8;
}

.wedding-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: brightness(1.05) contrast(1.02);
    transition: filter 0.4s ease;
}

.image-wrapper:hover .wedding-image {
    filter: brightness(1.1) contrast(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(20, 22, 19, 0.05) 0%,
        rgba(20, 22, 19, 0.15) 50%,
        rgba(20, 22, 19, 0.05) 100%
    );
    pointer-events: none;
    border-radius: 20px;
    z-index: 3;
}

/* Efecto de brillo animado */
.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 216, 216, 0.3) 0%,
        rgba(178, 117, 97, 0.2) 30%,
        transparent 70%
    );
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Efectos de destellos (sparkles) */
.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 216, 216, 1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 216, 216, 0.8),
                0 0 20px rgba(255, 216, 216, 0.6),
                0 0 30px rgba(178, 117, 97, 0.4);
    animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.sparkle-2 {
    top: 25%;
    right: 15%;
    animation-delay: 0.8s;
    animation-duration: 3.5s;
}

.sparkle-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1.6s;
    animation-duration: 4s;
}

.sparkle-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 2.4s;
    animation-duration: 3.2s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

.image-wrapper:hover .sparkle {
    animation-duration: 1.5s;
    box-shadow: 0 0 15px rgba(255, 216, 216, 1),
                0 0 30px rgba(255, 216, 216, 0.8),
                0 0 45px rgba(178, 117, 97, 0.6);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Información de la boda */
.wedding-info {
    text-align: center;
    padding: 30px 20px;
    max-width: 500px;
    width: 100%;
}

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #ffd8d8;
    text-shadow: 0 0 20px rgba(255, 216, 216, 0.6), 0 0 40px rgba(178, 117, 97, 0.4);
    font-weight: 600;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out, glow 3s ease-in-out infinite;
    position: relative;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 216, 216, 0.6), 0 0 40px rgba(178, 117, 97, 0.4);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 216, 216, 0.8), 0 0 60px rgba(178, 117, 97, 0.6);
    }
}

/* Cuenta atrás */
.countdown-container {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(178, 117, 97, 0.15) 0%, rgba(255, 216, 216, 0.1) 100%);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 216, 216, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown-container h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffd8d8;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 216, 216, 0.4);
}

.countdown {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 18px 15px;
    background: linear-gradient(135deg, rgba(255, 216, 216, 0.15) 0%, rgba(178, 117, 97, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 216, 216, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, rgba(255, 216, 216, 0.25) 0%, rgba(178, 117, 97, 0.15) 100%);
    border-color: rgba(255, 216, 216, 0.5);
    box-shadow: 0 5px 20px rgba(178, 117, 97, 0.4);
}

.countdown-item:hover::before {
    left: 100%;
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffd8d8;
    text-shadow: 0 0 15px rgba(255, 216, 216, 0.7), 0 0 30px rgba(178, 117, 97, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.countdown-item:hover .countdown-number {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 216, 216, 0.9), 0 0 40px rgba(178, 117, 97, 0.6);
}

.countdown-label {
    font-size: 0.8rem;
    color: #b27561;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botón de confirmar inline debajo del contador */
.confirm-btn-inline {
    width: 100%;
    margin-top: 20px;
    background: linear-gradient(135deg, #b27561 0%, #ffd8d8 100%);
    color: #141613;
    border: none;
    border-radius: 15px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(178, 117, 97, 0.6), 0 0 0 0 rgba(178, 117, 97, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.confirm-btn-inline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.confirm-btn-inline:hover::before {
    width: 300px;
    height: 300px;
}

.confirm-btn-inline:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(178, 117, 97, 0.8), 0 0 0 4px rgba(255, 216, 216, 0.2);
    background: linear-gradient(135deg, #ffd8d8 0%, #b27561 100%);
}

.confirm-btn-inline:active {
    transform: translateY(-1px) scale(0.98);
}

.confirm-btn-inline .btn-icon {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.confirm-btn-inline .btn-text {
    position: relative;
    z-index: 1;
}

/* Detalles */
.details {
    margin-top: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 18px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(178, 117, 97, 0.12) 0%, rgba(255, 216, 216, 0.08) 100%);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 216, 216, 0.15);
    transition: all 0.3s ease;
    animation: fadeInLeft 0.8s ease-out both;
    position: relative;
    overflow: hidden;
}

.detail-item:nth-child(1) { animation-delay: 0.6s; }
.detail-item:nth-child(2) { animation-delay: 0.7s; }
.detail-item:nth-child(3) { animation-delay: 0.8s; }
.detail-item:nth-child(4) { animation-delay: 0.9s; }
.detail-item:nth-child(5) { animation-delay: 1s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.detail-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #b27561, #ffd8d8);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(178, 117, 97, 0.2) 0%, rgba(255, 216, 216, 0.12) 100%);
    border-color: rgba(255, 216, 216, 0.3);
    box-shadow: 0 5px 20px rgba(178, 117, 97, 0.3);
}

.detail-item:hover::before {
    transform: scaleY(1);
}

.detail-item .icon {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 216, 216, 0.5));
}

.detail-item:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

.detail-item p {
    font-size: 1.1rem;
    color: #ffd8d8;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.detail-item a {
    color: #ffd8d8;
    text-decoration: none;
    transition: color 0.3s;
}

.detail-item a:hover {
    color: #b27561;
    text-decoration: underline;
}

/* Botón flotante */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #b27561 0%, #ffd8d8 100%);
    color: #141613;
    border: none;
    border-radius: 50px;
    padding: 18px 30px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(178, 117, 97, 0.6), 0 0 0 0 rgba(178, 117, 97, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
    letter-spacing: 1px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(178, 117, 97, 0.8), 0 0 0 4px rgba(255, 216, 216, 0.2);
    background: linear-gradient(135deg, #ffd8d8 0%, #b27561 100%);
}

.floating-btn:active {
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.3rem;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(178, 117, 97, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(178, 117, 97, 0.8);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 22, 19, 0.9);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95) 0%, rgba(20, 22, 19, 0.95) 100%);
    margin: 5% auto;
    padding: 40px;
    border: 2px solid rgba(255, 216, 216, 0.3);
    border-radius: 25px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 216, 216, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd8d8;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 216, 216, 0.1);
    line-height: 1;
}

.close-btn:hover {
    color: #b27561;
    background: rgba(255, 216, 216, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-content h2 {
    font-family: 'Dancing Script', cursive;
    color: #ffd8d8;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 216, 216, 0.5);
    letter-spacing: 2px;
}

/* Formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ffd8d8;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 216, 216, 0.2);
    border-radius: 12px;
    background: rgba(255, 216, 216, 0.08);
    color: #ffd8d8;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group select {
    color: #ffd8d8;
    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='%23ffd8d8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: #2a2a2a;
    color: #ffd8d8;
    padding: 10px;
}

.form-group select option:checked {
    background: rgba(178, 117, 97, 0.3);
    color: #ffd8d8;
}

.form-group select option:hover {
    background: rgba(178, 117, 97, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 216, 216, 0.5);
    background: rgba(255, 216, 216, 0.15);
    box-shadow: 0 0 20px rgba(178, 117, 97, 0.4), inset 0 0 10px rgba(255, 216, 216, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 216, 216, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #b27561 0%, #ffd8d8 100%);
    color: #141613;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(178, 117, 97, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(178, 117, 97, 0.6);
    background: linear-gradient(135deg, #ffd8d8 0%, #b27561 100%);
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
    display: block;
}

/* Estilos para acompañantes */
.section-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    color: #ffd8d8;
    letter-spacing: 1px;
}

#acompanantes-container {
    margin-bottom: 15px;
}

.acompanante-item {
    background: rgba(255, 216, 216, 0.05);
    border: 1px solid rgba(255, 216, 216, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    animation: slideInRight 0.4s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.acompanante-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 216, 216, 0.2);
}

.acompanante-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd8d8;
    letter-spacing: 1px;
}

.remove-acompanante {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.4);
    color: #f44336;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
}

.remove-acompanante:hover {
    background: rgba(244, 67, 54, 0.4);
    border-color: #f44336;
    transform: rotate(90deg) scale(1.1);
}

.remove-acompanante span {
    display: block;
    line-height: 1;
}

.acompanante-fields {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.acompanante-fields .form-group select {
    color: #ffd8d8;
    background: rgba(255, 216, 216, 0.08);
    border: 1px solid rgba(255, 216, 216, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    padding-right: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    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='%23ffd8d8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.acompanante-fields .form-group select option {
    background: #2a2a2a;
    color: #ffd8d8;
    padding: 10px;
}

.acompanante-fields .form-group select option:checked {
    background: rgba(178, 117, 97, 0.3);
    color: #ffd8d8;
}

.acompanante-fields .form-group select:focus {
    outline: none;
    border-color: rgba(255, 216, 216, 0.5);
    background: rgba(255, 216, 216, 0.15);
    box-shadow: 0 0 20px rgba(178, 117, 97, 0.4), inset 0 0 10px rgba(255, 216, 216, 0.1);
    transform: translateY(-2px);
}

.add-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(178, 117, 97, 0.3) 0%, rgba(255, 216, 216, 0.2) 100%);
    border: 1px dashed rgba(255, 216, 216, 0.4);
    border-radius: 12px;
    color: #ffd8d8;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

.add-btn:hover {
    background: linear-gradient(135deg, rgba(178, 117, 97, 0.4) 0%, rgba(255, 216, 216, 0.3) 100%);
    border-color: rgba(255, 216, 216, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 117, 97, 0.3);
}

.add-btn span {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.add-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .main-container {
        padding: 15px;
    }

    .video-container-main {
        max-width: 100%;
        margin: 15px auto 20px;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    .play-icon {
        width: 35px;
        height: 35px;
    }

    .image-container {
        max-width: 100%;
        margin: 15px auto;
    }

    /* Cuenta atrás optimizada para tablets */
    .countdown-container {
        margin: 20px 0;
        padding: 18px;
    }

    .countdown-container h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-item {
        min-width: 55px;
        padding: 12px 8px;
    }

    .countdown-number {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.75rem;
        margin-top: 4px;
    }

    .confirm-btn-inline {
        margin-top: 18px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
        font-size: 0.9rem;
    }

    .modal-content {
        margin: 5% auto;
        padding: 20px;
        width: 95%;
        max-width: 100%;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        margin: 12px 0;
    }

    .acompanante-fields {
        grid-template-columns: 1fr;
    }

    .wedding-info {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .main-container {
        padding: 10px;
    }

    .video-container-main {
        margin: 10px auto 15px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        width: 30px;
        height: 30px;
    }

    .image-container {
        margin: 10px auto;
    }

    .image-wrapper {
        padding: 6px;
    }

    /* Cuenta atrás reducida para móviles */
    .countdown-container {
        margin: 15px 0;
        padding: 15px 10px;
        border-radius: 15px;
    }

    .countdown-container h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }

    .countdown {
        gap: 5px;
        justify-content: space-between;
    }

    .countdown-item {
        min-width: 0;
        flex: 1;
        padding: 10px 5px;
        border-radius: 12px;
    }

    .countdown-number {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .countdown-label {
        font-size: 0.65rem;
        margin-top: 3px;
        letter-spacing: 0.5px;
    }

    .confirm-btn-inline {
        margin-top: 15px;
        padding: 14px 18px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .confirm-btn-inline .btn-text {
        font-size: 0.95rem;
    }

    .wedding-info {
        padding: 15px 10px;
    }

    .detail-item {
        padding: 10px;
        margin: 10px 0;
        font-size: 0.95rem;
    }

    .detail-item .icon {
        font-size: 1.5rem;
    }

    .floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 14px 20px;
        font-size: 0.85rem;
        border-radius: 40px;
    }

    .modal-content {
        margin: 2% auto;
        padding: 18px 15px;
        width: 98%;
        border-radius: 20px;
    }

    .modal-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .acompanante-item {
        padding: 15px;
        margin-bottom: 12px;
    }

    .acompanante-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .acompanante-number {
        font-size: 1rem;
    }

    .add-btn {
        padding: 10px 18px;
        font-size: 0.95rem;
        margin-top: 12px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .title {
        font-size: 1.7rem;
    }

    .countdown-container {
        padding: 12px 8px;
    }

    .countdown-container h2 {
        font-size: 1rem;
    }

    .countdown-number {
        font-size: 1rem;
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .countdown-item {
        padding: 8px 4px;
    }
}

