/* ======================================
   INVITACIÓN RIVA - DISEÑO CENTRADO CON ICONOS
   ====================================== */

/* Variables CSS - Estética Fiesta Nocturna */
:root {
    /* Paleta Nocturna Elegante */
    --midnight-purple: #2d1b69;    /* Púrpura medianoche */
    --royal-purple: #4a148c;       /* Púrpura real */
    --electric-purple: #7b1fa2;    /* Púrpura eléctrico */
    --champagne-gold: #d4af37;     /* Dorado champagne */
    --bright-gold: #ffd700;        /* Dorado brillante */
    --rose-gold: #e8b4b8;          /* Oro rosado */
    
    /* Tonos nocturnos */
    --night-sky: #0d0d2b;          /* Cielo nocturno */
    --deep-navy: #1a1a3e;          /* Azul marino profundo */
    --starlight: #ffffff;          /* Luz de estrella */
    --moonlight: #f8f8ff;          /* Luz de luna */
    
    /* Acentos festivos */
    --party-pink: #ff69b4;         /* Rosa fiesta */
    --neon-cyan: #00ffff;          /* Cian neón */
    --electric-blue: #0080ff;      /* Azul eléctrico */
    
    /* Neutros sofisticados */
    --platinum: #e5e4e2;           /* Platino */
    --silver: #c0c0c0;             /* Plata */
    --charcoal: #36454f;           /* Carbón */
    --obsidian: #0f0f23;           /* Obsidiana */
    
    /* Estados */
    --success-emerald: #50c878;    /* Esmeralda éxito */
    --warning-amber: #ffbf00;      /* Ámbar advertencia */
    --error-crimson: #dc143c;      /* Carmesí error */
    
    /* Sombras con glow */
    --shadow-soft: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.4);
    --shadow-strong: 0 15px 35px rgba(0,0,0,0.5);
    --glow-gold: 0 0 30px rgba(212, 175, 55, 0.4);
    --glow-purple: 0 0 25px rgba(74, 20, 140, 0.3);
    --glow-party: 0 0 20px rgba(255, 105, 180, 0.3);
    
    /* Tipografía festiva */
    --font-elegant: 'Playfair Display', serif;
    --font-modern: 'Inter', sans-serif;
    --font-party: 'Playfair Display', serif;
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    overflow: hidden;
    font-family: var(--font-modern);
    background: linear-gradient(140deg,#06152e 0%,#0a1e3d 35%,#0f274e 65%,#143061 100%);
    position: relative;
    color: var(--starlight);
    animation: gradientShift 14s ease-in-out infinite alternate;
}

/* Capa de estrellas más vistosa */
body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image:
            radial-gradient(2px 2px at 8% 22%, rgba(255,255,255,0.85), transparent),
            radial-gradient(2.5px 2.5px at 28% 68%, rgba(255,215,0,0.75), transparent),
            radial-gradient(1.8px 1.8px at 46% 42%, rgba(255,255,255,0.7), transparent),
            radial-gradient(2.2px 2.2px at 64% 28%, rgba(212,175,55,0.65), transparent),
            radial-gradient(1.5px 1.5px at 82% 58%, rgba(255,255,255,0.8), transparent),
            radial-gradient(2px 2px at 22% 84%, rgba(255,255,255,0.7), transparent),
            radial-gradient(1.6px 1.6px at 35% 15%, rgba(255,215,0,0.6), transparent),
            radial-gradient(1.4px 1.4px at 75% 45%, rgba(255,255,255,0.65), transparent),
            radial-gradient(2px 2px at 15% 55%, rgba(212,175,55,0.7), transparent),
            radial-gradient(1.7px 1.7px at 90% 75%, rgba(255,255,255,0.75), transparent);
        background-size: 900px 650px;
        animation: starsDrift 50s linear infinite;
        pointer-events: none;
        z-index: 0;
        opacity: .85;
}

/* Segunda capa de estrellas - efecto parallax */
body::after {
        content: '';
        position: fixed;
        inset: 0;
        background-image:
            radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,0.6), transparent),
            radial-gradient(1.5px 1.5px at 42% 52%, rgba(255,215,0,0.5), transparent),
            radial-gradient(1px 1px at 68% 35%, rgba(255,255,255,0.55), transparent),
            radial-gradient(1.3px 1.3px at 88% 65%, rgba(212,175,55,0.5), transparent),
            radial-gradient(1.1px 1.1px at 25% 78%, rgba(255,255,255,0.6), transparent),
            radial-gradient(1.4px 1.4px at 55% 88%, rgba(255,215,0,0.45), transparent);
        background-size: 1200px 800px;
        animation: starsDriftSlow 80s linear infinite;
        pointer-events: none;
        z-index: 0;
        opacity: .7;
}

@keyframes starsDrift { from { transform: translateY(0); } to { transform: translateY(-450px); } }
@keyframes starsDriftSlow { from { transform: translateY(0); } to { transform: translateY(-600px); } }
@keyframes gradientShift { 0% { filter: hue-rotate(0deg); } 50% { filter: hue-rotate(12deg) brightness(1.05); } 100% { filter: hue-rotate(-8deg); } }

@keyframes nightSparkle {
    0% { transform: translateX(0px) translateY(0px); opacity: 0.7; }
    50% { opacity: 1; }
    100% { transform: translateX(-300px) translateY(-150px); opacity: 0.7; }
}

/* Modales centrados con efecto blur */
.modal-backdrop {
    position: fixed;
    inset: 0; /* asegura cubrir toda el área */
    background: rgba(10,18,40,0.35); /* más transparente para ver estrellas */
    backdrop-filter: blur(6px) brightness(1.05);
    -webkit-backdrop-filter: blur(6px) brightness(1.05);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

/* Fallback extra capa para navegadores que recortan blur en el centro */
.modal-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
    z-index: -1;
}

.modal-backdrop.active {
    display: flex;
}

.modal-window {
    background: rgba(15,25,55,0.92); /* fondo más oscuro y sólido */
    border: 1.5px solid rgba(212,175,55,0.6);
    border-radius: 24px;
    padding: 36px 42px 32px;
    max-width: 600px;
    width: 92%;
    text-align: center;
    box-shadow: 0 18px 42px -8px rgba(0,0,0,0.65), 0 0 32px rgba(212,175,55,0.3);
    transform: translateY(20px) scale(.92);
    animation: modalSlideIn 0.45s cubic-bezier(.16,.7,.3,1) forwards;
    position: relative;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
}

/* Efecto de brillo en el modal */
/* Borde tenue en lugar de brillo fuerte */
.modal-window::before { display: none; }

.modal-window .modal-content {
    position: relative;
    z-index: 1;
}

.modal-window h2 {
    font-family: var(--font-elegant);
    font-size: 1.9rem;
    margin-bottom: 18px;
    color: var(--champagne-gold);
    text-shadow: 0 0 6px rgba(212,175,55,0.35);
}

.modal-window p, .modal-window li {
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--moonlight);
    line-height: 1.45;
}
.modal-window ul { list-style: disc; margin: 0 0 14px 22px; text-align: left; }

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(0,0,0,0.35);
    color: var(--moonlight);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover { background: rgba(0,0,0,0.5); }

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

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Contenedor principal nocturno */
.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header con logo */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.logo-main {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

/* Sparkles alrededor del logo */
.sparkles {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    pointer-events: none;
}

.sparkles::before,
.sparkles::after {
    content: '✨';
    position: absolute;
    font-size: 1.5rem;
    animation: sparkleRotate 3s ease-in-out infinite;
}

.sparkles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkles::after {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes sparkleRotate {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(0.8) rotate(0deg);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.3) rotate(180deg);
    }
}

/* Layout central */
.center-layout {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Iconos laterales */
.side-icons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 2;
}

.left-icons {
    margin-right: 4rem;
}

.right-icons {
    margin-left: 4rem;
}

.icon-item {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(74, 20, 140, 0.2) 50%,
        rgba(255, 105, 180, 0.1) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid var(--champagne-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 
        var(--glow-gold),
        0 8px 20px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.icon-item:hover {
    transform: scale(1.2) rotate(5deg);
    background: linear-gradient(145deg, 
        rgba(212, 175, 55, 0.3) 0%, 
        rgba(255, 105, 180, 0.25) 50%,
        rgba(0, 128, 255, 0.2) 100%);
    border-color: var(--party-pink);
    box-shadow: 
        var(--glow-party),
        0 12px 30px rgba(255, 105, 180, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.3);
}

.icon-item i {
    font-size: 2rem;
    transition: all 0.3s ease;
    color: var(--champagne-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.icon-item:hover i {
    transform: scale(1.2) rotate(-5deg);
    color: var(--starlight);
    text-shadow: 0 0 15px var(--party-pink);
}

/* Tooltips */
.icon-item::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -46px; /* arriba del icono */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: var(--starlight);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 3000; /* por encima de otros iconos */
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.icon-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

@media (hover: none) and (pointer: coarse) {
  /* Ocultar tooltips en pantallas táctiles */
  .icon-item::after { display: none !important; }
}

/* Tarjeta central */
.center-card {
    position: relative;
    z-index: 1;
}

.invitation-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        var(--glow-gold),
        var(--shadow-strong);
    max-width: 444px; /* 15% más chico: 522px * 0.85 = 444px */
    height: 578px; /* 15% más chico: 680px * 0.85 = 578px */
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.5s ease;
    border: 2px solid var(--champagne-gold);
    background: linear-gradient(145deg, 
        rgba(74, 20, 140, 0.1) 0%, 
        rgba(45, 27, 105, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.invitation-card:hover {
    transform: perspective(1000px) rotateY(3deg) scale(1.05);
    box-shadow: 
        var(--glow-party),
        0 20px 50px rgba(255, 105, 180, 0.3),
        0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--party-pink);
}

.invitation-bg {
    width: 100%;
    height: 100%; /* Ocupa toda la altura del contenedor */
    display: block;
    object-fit: cover; /* Recorta los lados para llenar sin deformar */
    object-position: center; /* Centra el video */
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    color: var(--white);
    text-align: center;
}

.event-title {
    font-family: var(--font-elegant);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.event-date {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.event-location {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* ======================================
   PANELES DESLIZABLES
   ====================================== */
.slide-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: left 0.4s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-strong);
}

.slide-panel.active {
    left: 0;
}

.panel-content {
    padding: 2rem;
    height: 100%;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.panel-header h3 {
    color: var(--primary-purple);
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    font-weight: 600;
}

.close-panel {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--medium-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-panel:hover {
    background: var(--error-red);
    color: var(--white);
}

/* Formulario en panel */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--moonlight);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    color: var(--starlight);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Estilos para las opciones del select */
.form-group select option {
    background: rgba(15,25,55,0.98);
    color: var(--starlight);
    padding: 0.5rem;
}

.form-group select option:hover,
.form-group select option:focus {
    background: rgba(212, 175, 55, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--champagne-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: rgba(255,255,255,0.15);
}

.form-group input[readonly] {
    background: rgba(255,255,255,0.05);
    cursor: not-allowed;
    opacity: 0.8;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 100px;
}

/* Estilos de validación verde con efecto */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #50c878 !important;
    background: rgba(80, 200, 120, 0.15) !important;
    box-shadow: 0 0 0 3px rgba(80, 200, 120, 0.2), 0 0 12px rgba(80, 200, 120, 0.3) !important;
    animation: validPulse 0.5s ease-out;
}

@keyframes validPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.error-message {
    color: var(--error-crimson);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Botón de confirmación */
.btn-confirm {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--warm-gold));
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-confirm:active {
    transform: translateY(0);
}

/* Contador regresivo - estilo digital elegante */
.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0 2.5rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    min-width: 100px;
}

.countdown-item span:first-child {
    display: block;
    font-family: var(--font-elegant);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--champagne-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    margin-bottom: 0.5rem;
}

.countdown-item .countdown-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--moonlight);
    font-weight: 400;
}

/* Countdown compacto para modal de éxito */
.countdown-compact {
    margin: 2rem 0 1.5rem 0;
    gap: 1.5rem;
}

.countdown-compact .countdown-item span:first-child {
    font-size: 3rem;
}

.success-modal-large {
    max-width: 600px;
}

.success-subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.event-details { 
    text-align: center; 
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-details p { 
    color: var(--moonlight); 
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* Información de ubicación */
.location-info h4 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.btn-directions,
.btn-maps {
    padding: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-directions {
    background: linear-gradient(135deg, var(--success-green), #388e3c);
    color: var(--white);
}

.btn-maps {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: var(--white);
}

.btn-directions:hover,
.btn-maps:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.transport-options {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.transport-options h5 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.transport-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: transparent;
    border-radius: 10px;
    text-align: center;
}

.transport-item i {
    color: var(--champagne-gold);
    font-size: 1.3rem;
    min-width: 20px;
}

.transport-item span {
    color: var(--moonlight);
    font-size: 1rem;
}

/* Dress Code */
.dresscode-type {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-purple);
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.dress-suggestions {
    margin-bottom: 2rem;
}

.dress-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: 12px;
}

.dress-category h5 {
    color: var(--primary-purple);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dress-category ul {
    list-style: none;
    padding: 0;
}

.dress-category li {
    padding: 0.3rem 0;
    color: var(--dark-gray);
}

.dress-category li::before {
    content: '•';
    color: var(--accent-gold);
    font-weight: bold;
    margin-right: 0.5rem;
}

.color-suggestions {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 12px;
}

/* Transporte Seguro */
.safety-message {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--warning-orange), #fb8c00);
    color: var(--white);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.safety-message i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.safety-message h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.transport-alternatives h5 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.transport-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--moonlight);
    margin-bottom: 2rem;
    font-weight: 500;
}

.transport-recommendations {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.transport-item-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
}

.transport-item-simple i {
    color: var(--champagne-gold);
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.transport-item-simple span {
    color: var(--starlight);
    font-size: 1.1rem;
    font-weight: 400;
}

/* Info General */
.info-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 12px;
}

.info-section h5 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.info-section p {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Estados de validación */
.form-group input.valid {
    border-color: var(--success-green);
    background: rgba(76, 175, 80, 0.05);
}

.form-group input.invalid {
    border-color: var(--error-red);
    background: rgba(244, 67, 54, 0.05);
}

/* Efectos de fuegos artificiales */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Proyectil que sube */
.firework-projectile {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--champagne-gold);
    border-radius: 50%;
    box-shadow: 
        0 0 15px var(--champagne-gold), 
        0 0 30px var(--bright-gold),
        0 0 45px rgba(255, 215, 0, 0.5);
    animation: launch 0.7s ease-out forwards;
}

@keyframes launch {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(
            calc(var(--burst-x) - var(--start-x, 0%)),
            calc(var(--burst-y) - var(--start-y, 90%))
        );
        opacity: 0;
    }
}

/* Partículas del estallido */
.firework-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: explode 1.8s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1.5);
        opacity: 1;
    }
    30% {
        opacity: 1;
        transform: translate(
            calc((var(--end-x) - var(--start-x, 0%)) * 0.3),
            calc((var(--end-y) - var(--start-y, 0%)) * 0.3)
        ) scale(1.3);
    }
    70% {
        opacity: 0.8;
    }
    100% {
        transform: translate(
            calc(var(--end-x) - var(--start-x, 0%)),
            calc(var(--end-y) - var(--start-y, 0%))
        ) scale(0);
        opacity: 0;
    }
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */
@media (max-width: 1200px) {
    .left-icons,
    .right-icons {
        margin: 0 2rem;
    }
    
    .icon-item {
        width: 60px;
        height: 60px;
    }
    
    .icon-item i {
        font-size: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .center-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .side-icons {
        flex-direction: row;
        justify-content: center;
        margin: 0;
    }
    
    .left-icons {
        order: 2;
    }
    
    .center-card {
        order: 1;
    }
    
    .right-icons {
        order: 3;
    }
    
    .slide-panel {
        width: 90%;
        left: -90%;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-y: auto;
    }
    
    .main-container {
        height: auto;
        min-height: 100vh;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .logo-main {
        height: 60px;
    }
    
    .center-layout {
        padding: 1rem;
    }
    
    /* Ajustar tarjeta en móvil: 10% adicional más pequeña (total 25% del original) */
    .invitation-card {
        max-width: 339px; /* 377px * 0.9 = 339px */
        height: 442px; /* 491px * 0.9 = 442px */
    }
    
    /* Video llena completamente el marco sin zoom */
    .invitation-bg {
        object-position: center center;
        transform: none; /* Sin escala, llena el marco completamente */
    }
    
    .side-icons {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .icon-item {
        width: 50px;
        height: 50px;
    }
    
    .icon-item i {
        font-size: 1.2rem;
    }
    
    .icon-item::after {
        display: none;
    }
    
    .slide-panel {
        width: 100%;
        left: -100%;
    }
    
    .panel-content {
        padding: 1.5rem;
    }
    
    .countdown-display {
        gap: 1.5rem;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-item span:first-child {
        font-size: 3rem;
    }
    
    .countdown-item {
        padding: 1rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo-main {
        height: 50px;
    }
    
    .event-title {
        font-size: 1.8rem;
    }
    
    .event-date {
        font-size: 1rem;
    }
    
    .side-icons {
        justify-content: space-between;
        width: 100%;
        max-width: 300px;
    }
    
    .countdown-display {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .countdown-item span:first-child {
        font-size: 2.5rem;
    }
    
    .countdown-item .countdown-label {
        font-size: 0.75rem;
    }
    
    .panel-content {
        padding: 1rem;
    }
    
    /* Ajustar modal de confirmación en móvil */
    .modal-window {
        padding: 24px 28px 24px;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .modal-window h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.95rem;
    }
    
    .btn-confirm {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Loading states */
.btn-confirm.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.btn-confirm.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}