/* =====================================
   PREMIUM COVER
===================================== */

.cover-screen{
    position:fixed;
    inset:0;
    z-index:99999;

    background:
        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.35)
        ),
        url('{{ $invitation->cover_image }}');

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

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

.cover-overlay{
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.cover-content{
    max-width:650px;
    width:100%;
    text-align:center;
    padding:45px 35px;
    background:
        rgba(255,255,255,.12);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border:
        1px solid rgba(255,255,255,.18);
    border-radius:32px;
    box-shadow:
        0 20px 60px rgba(0,0,0,.20);
    animation:coverFade 1.2s ease;
}

@keyframes coverFade{
    from{
        opacity:0;
        transform:translateY(25px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.cover-subtitle{
    display:inline-block;
    color:white;
    letter-spacing:4px;
    text-transform:uppercase;
    font-size:12px;
    margin-bottom:25px;
    padding:8px 18px;
    border-radius:30px;
    background:
        rgba(255,255,255,.12);
    border:
        1px solid rgba(255,255,255,.15);
}

.cover-couple{

    font-family:
        '{{ $invitation->heading_font ?? "Playfair Display" }}',
        serif;
    color:white;
    font-size:clamp(3rem,8vw,5rem);
    line-height:1.2;
    margin-bottom:20px;
    text-shadow:
        0 5px 20px rgba(0,0,0,.25);
}

.cover-couple span{
    display:block;
}

.cover-couple span:nth-child(2){
    display:block;
    margin:10px 0;
    font-size:clamp(1.5rem,4vw,2rem);
    color:var(--primary);
}

.cover-date{
    color:white;
    font-size:15px;
    letter-spacing:1px;
    margin-bottom:30px;
    opacity:.95;
}

.guest-name{
    margin:25px auto;
    max-width:350px;
    padding:18px;
    border-radius:20px;
    background:
        rgba(255,255,255,.12);
    border:
        1px solid rgba(255,255,255,.15);
    color:white;
}

.guest-name h5{
    margin-top:8px;
    margin-bottom:0;
    color:white;
    font-weight:600;
    font-size:22px;
}

.btn-open{
    border:none;
    min-width:230px;
    padding:16px 28px;
    border-radius:50px;
    background:var(--primary);
    color:white;
    font-weight:600;
    transition:.35s ease;
    box-shadow:
        0 10px 30px rgba(0,0,0,.18);
}

.btn-open:hover{
    transform:translateY(-3px);
    filter:brightness(1.05);
}

.btn-open i{
    margin-right:8px;
}

@media(max-width:768px){

    .cover-content{
        padding:35px 25px;
        border-radius:24px;
    }

    .cover-subtitle{
        font-size:10px;
        letter-spacing:2px;
    }

    .cover-date{
        font-size:13px;
    }

    .guest-name{
        padding:15px;
    }

    .guest-name h5{
        font-size:18px;
    }

    .btn-open{
        width:100%;
        min-width:auto;
    }
}
