/* ════════════════════════════════════════════════════════
   ESTILOS LANDING BODA - SOBRE DE APERTURA Y PAPEL
   Imágenes ubicadas en: assets/images/
   ════════════════════════════════════════════════════════ */

:root {
    /* Paleta Oficial Boda - Noche Estrellada */
    --azul-noche: #010311;
    --azul-abismo: #041026;
    --azul-marino: #081E3E;
    --azul-profundo: #0D2E52;
    --azul-oceano: #16456A;
    --azul-cielo: #246385;
    --turquesa-brumoso: #3585A2;
    --azul-niebla: #B0CADE;
    --marfil: #F4F0E8;
    --dorado-calido: #C8A45D;

    --font-sans: 'Montserrat', sans-serif;
    --font-script: 'Italianno', 'Tangerine', cursive;
    --font-cinzel: 'Cinzel', serif;
    --font-serif: 'Cormorant Garamond', serif;
}

/* ══════════ OVERLAY DE BIENVENIDA (SOBRE Y PAPEL) ══════════ */
.wlc-overlay-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--azul-noche);
    transition: opacity .8s ease, visibility .8s;
    overflow: hidden;
}

.wlc-overlay-fullscreen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Imagen de fondo dinámica */
.wlc-bg-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Canvas de Constelaciones */
.constellations-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1080px) {
    .wlc-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Contenedor central del papel/sobre */
.wlc-floral-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Contenedor maestro de la Tarjeta Cristal y Sobre */
.wlc-paper-envelope-wrapper {
    position: relative;
    width: clamp(280px, 85vw, 560px);
    aspect-ratio: 1.48 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tarjeta Cristal de Noche */
.wlc-crystal-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5%;
    background: linear-gradient(135deg, rgba(4, 16, 38, 0.88), rgba(13, 46, 82, 0.85));
    border: 1px solid rgba(200, 164, 93, 0.45);
    box-shadow: 0 15px 35px rgba(1, 3, 17, 0.6), inset 0 0 20px rgba(53, 133, 162, 0.15);
    border-radius: 4px;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.wlc-guest-info-hidden {
    display: none;
    opacity: 0;
}

.wlc-guest-info-show {
    display: flex;
    opacity: 0;
    animation: fadeInText 0.8s ease 0.2s forwards;
}

.crystal-inner-frame {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(200, 164, 93, 0.35);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    background: radial-gradient(circle at center, rgba(13, 46, 82, 0.3) 0%, transparent 70%);
}

/* Sparkle decorativo superior */
.card-header-spark {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    opacity: 0.85;
}

.spark-line {
    width: 25px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dorado-calido), transparent);
}

.starlight-symbol {
    color: var(--dorado-calido);
    font-size: 0.9rem;
    line-height: 1;
}

.wlc-inv-label {
    font-family: var(--font-cinzel);
    font-size: clamp(0.55rem, 1.4vw, 0.65rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dorado-calido);
    margin-bottom: 0.4rem;
    font-weight: 500;
    opacity: 0.95;
}

.wlc-inv-name {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 7.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0.2rem 0;
    color: var(--marfil);
    text-shadow: 0 0 14px rgba(200, 164, 93, 0.25);
    white-space: normal;
    word-break: break-word;
    max-width: 95%;
}

/* Divisor sutil */
.card-divider {
    width: 70px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 164, 93, 0.6), transparent);
    margin: 8px 0;
}

.wlc-inv-sub {
    font-family: var(--font-serif);
    font-size: clamp(0.75rem, 1.9vw, 0.95rem);
    font-style: italic;
    color: var(--azul-niebla);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Tipografía Editorial de Pases Asignados */
.pases-typography-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.8rem;
    padding: 0 4px;
}

.pases-star-left,
.pases-star-right {
    color: var(--dorado-calido);
    font-size: 0.65rem;
    opacity: 0.8;
}

.pases-text {
    font-family: var(--font-sans);
    font-size: clamp(0.58rem, 1.5vw, 0.68rem);
    letter-spacing: 3px;
    color: var(--azul-niebla);
    font-weight: 400;
}

.pases-count {
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 1.9vw, 0.88rem);
    font-weight: 600;
    color: var(--dorado-calido);
    letter-spacing: 1px;
}

/* Botón UX/UI Premium "Ver Detalles de la Boda" */
.btn-ver-mas-lux {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(200, 164, 93, 0.12), rgba(200, 164, 93, 0.04));
    color: var(--marfil);
    font-family: var(--font-sans);
    font-size: clamp(0.52rem, 1.4vw, 0.66rem);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 10px 22px;
    border: 1px solid var(--dorado-calido);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(1, 3, 17, 0.4);
}

.btn-ver-mas-lux .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-ver-mas-lux:hover {
    background: var(--dorado-calido);
    color: var(--azul-noche);
    box-shadow: 0 0 20px rgba(200, 164, 93, 0.45);
    transform: translateY(-1px);
}

.btn-ver-mas-lux:hover .arrow-icon {
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .wlc-paper-envelope-wrapper {
        width: 92vw;
        aspect-ratio: auto;
        min-height: 290px;
    }

    .crystal-inner-frame {
        padding: 14px 12px;
    }

    .btn-ver-mas-lux {
        padding: 9px 16px;
        letter-spacing: 2px;
        font-size: 0.58rem;
    }
}

/* Botón ABRIR INVITACION */
.btn-abrir-sobre {
    margin-top: 140px;
    background: rgba(4, 16, 38, 0.7);
    color: var(--marfil);
    border: 1px solid var(--dorado-calido);
    font-family: var(--font-sans);
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    padding: 14px 45px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 15;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(1, 3, 17, 0.5);
}

@media (max-width: 1080px) {
    .btn-abrir-sobre {
        margin-top: 200px;
    }
}

.btn-abrir-sobre.ready {
    opacity: 1;
    pointer-events: auto;
}

.btn-abrir-sobre:hover {
    background: var(--dorado-calido);
    color: var(--azul-noche);
    box-shadow: 0 0 20px rgba(200, 164, 93, 0.5);
}

.btn-abrir-sobre.hidden {
    display: none !important;
}

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