/*==============================================================
AURORA COVER
==============================================================*/

.cover-screen{

    position:fixed;
    inset:0;
    z-index:99999;

    display:flex;
    justify-content:center;
    align-items:center;

    background:
        linear-gradient(
            135deg,
            rgba(15,23,42,.55),
            rgba(88,28,135,.35),
            rgba(59,130,246,.25)
        ),
        url('{{ $invitation->cover_image }}');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    overflow:hidden;

}

/* Aurora Glow */

.cover-screen::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        radial-gradient(
            circle at top left,
            rgba(255,255,255,.15),
            transparent 40%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(139,92,246,.18),
            transparent 35%
        );

    animation:
        auroraGlow 10s ease-in-out infinite alternate;

}

.cover-overlay{

    position:relative;
    z-index:2;

    width:100%;
    padding:30px;

    display:flex;
    justify-content:center;
    align-items:center;

}

.cover-content{

    width:100%;
    max-width:620px;

    text-align:center;

    padding:60px 45px;

    border-radius:32px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(25px);

    -webkit-backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.18);

    box-shadow:

        0 25px 70px rgba(0,0,0,.18);

    animation:

        coverUp .9s ease;

}

.cover-subtitle{

    display:inline-block;

    margin-bottom:28px;

    padding:10px 24px;

    border-radius:50px;

    background:rgba(255,255,255,.08);

    color:#fff;

    font-size:12px;

    letter-spacing:4px;

    text-transform:uppercase;

}

.cover-couple{

    margin-bottom:20px;

    font-family:var(--heading-font),serif;

    color:#fff;

    font-size:clamp(3.2rem,8vw,5.5rem);

    line-height:1.15;

    text-shadow:

        0 8px 30px rgba(0,0,0,.35);

}

.cover-couple span{

    display:block;

}

.cover-couple span:nth-child(2){

    margin:14px 0;

    font-size:clamp(1.4rem,4vw,2rem);

    color:rgba(255,255,255,.85);

}

.cover-date{

    margin-bottom:35px;

    color:#fff;

    opacity:.95;

    font-size:15px;

    letter-spacing:2px;

}

.guest-name{

    margin:30px auto;

    max-width:380px;

    padding:18px;

    border-radius:22px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.15);

    color:#fff;

}

.guest-name h5{

    margin-top:10px;

    margin-bottom:0;

    font-size:24px;

    font-weight:600;

    color:#fff;

}

.btn-open{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    min-width:240px;

    padding:16px 32px;

    border:none;

    border-radius:999px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:.35s;

    box-shadow:

        0 15px 35px rgba(139,92,246,.35);

}

.btn-open:hover{

    transform:translateY(-4px);

    filter:brightness(1.08);

}

.btn-open i{

    font-size:18px;

}

/* Animation */

@keyframes coverUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes auroraGlow{

    from{

        transform:scale(1);

        opacity:.8;

    }

    to{

        transform:scale(1.08);

        opacity:1;

    }

}

/*==============================================================
RESPONSIVE
==============================================================*/

@media(max-width:768px){

    .cover-overlay{

        padding:20px;

    }

    .cover-content{

        padding:40px 28px;

        border-radius:26px;

    }

    .cover-subtitle{

        font-size:10px;

        letter-spacing:2px;

        margin-bottom:22px;

    }

    .cover-date{

        font-size:13px;

    }

    .guest-name{

        padding:16px;

    }

    .guest-name h5{

        font-size:18px;

    }

    .btn-open{

        width:100%;

        min-width:auto;

    }

}