/*==============================================================
SAKURA COVER
==============================================================*/

#cover{
    position:relative;
}

.sakura-cover{
    position:fixed;
    inset:0;
    z-index:9999;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        linear-gradient(
            rgba(255,250,252,.18),
            rgba(255,248,250,.28)
        ),
        /* url('{{ asset("assets/templates/sakura/cover.jpg") }}') */
        center bottom / cover
        no-repeat;

}

/*==============================================================
OVERLAY
==============================================================*/

.cover-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,.45),
            rgba(255,255,255,.15) 60%,
            rgba(255,255,255,.05)
        );
}

.cover-content{
    width:100%;
    max-width:820px;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    animation:sakuraFade 1.2s ease;
}

/*==============================================================
SUBTITLE
==============================================================*/

.cover-subtitle{
    margin-bottom:28px;
    font-size:20px;
    font-weight:600;
    letter-spacing:5px;
    text-transform:uppercase;
    color:#8a2f57;
}

/*==============================================================
TITLE
==============================================================*/

.cover-title{
    margin:0;
    font-family:var(--heading-font);
    font-weight:600;
    font-size:clamp(4.5rem,9vw,8rem);
    line-height:.88;
    color:#d63d77;
    text-shadow:
        0 3px 18px rgba(255,255,255,.6);
}

.cover-title span{
    display:block;
}

.cover-title .amp{
    margin:20px 0;
    font-size:clamp(2.5rem,5vw,4rem);
    color:#bb5c84;
}

/*==============================================================
DATE
==============================================================*/

.cover-date{
    margin-top:45px;
    margin-bottom:45px;
    font-size:22px;
    letter-spacing:8px;
    color:#87435f;
}

/*==============================================================
GUEST
==============================================================*/

.guest-box{
    margin-bottom:40px;
    padding:18px 35px;
    border-radius:22px;
    background:
        rgba(255,255,255,.72);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border:1px solid rgba(238,180,205,.35);
    box-shadow:
        0 15px 35px rgba(220,90,145,.12);
}

.guest-box small{
    display:block;
    font-size:13px;
    letter-spacing:2px;
    color:#9a6b7f;
}

.guest-box h5{
    margin:8px 0 0;
    font-family:var(--heading-font);
    font-size:2rem;
    color:#8a2f57;
}

/*==============================================================
BUTTON
==============================================================*/

.btn-open{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-width:300px;
    padding:18px 48px;
    border:none;
    border-radius:999px;
    background:
        linear-gradient(
            180deg,
            #ec5b93,
            #c72f68
        );
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.35s;
    box-shadow:
        0 18px 40px rgba(215,70,120,.30);

}

.btn-open:hover{

    transform:
        translateY(-5px)
        scale(1.02);
    box-shadow:
        0 25px 45px rgba(215,70,120,.40);
}

.btn-open i{
    font-size:20px;
}

/*==============================================================
PETALS
==============================================================*/

.petals{
    position:absolute;
    inset:0;
    overflow:hidden;
    pointer-events:none;
}

.petal{
    position:absolute;
    top:-120px;
    font-size:20px;
    opacity:.75;
    animation:petalFall linear infinite;
}

.petal:nth-child(1){left:5%;animation-duration:11s;animation-delay:-3s;}
.petal:nth-child(2){left:12%;animation-duration:13s;animation-delay:-8s;}
.petal:nth-child(3){left:20%;animation-duration:10s;animation-delay:-5s;}
.petal:nth-child(4){left:30%;animation-duration:14s;animation-delay:-10s;}
.petal:nth-child(5){left:40%;animation-duration:11s;animation-delay:-4s;}
.petal:nth-child(6){left:50%;animation-duration:15s;animation-delay:-12s;}
.petal:nth-child(7){left:60%;animation-duration:12s;animation-delay:-6s;}
.petal:nth-child(8){left:70%;animation-duration:13s;animation-delay:-9s;}
.petal:nth-child(9){left:80%;animation-duration:11s;animation-delay:-2s;}
.petal:nth-child(10){left:90%;animation-duration:15s;animation-delay:-11s;}
.petal:nth-child(11){left:15%;animation-duration:16s;animation-delay:-7s;}
.petal:nth-child(12){left:55%;animation-duration:14s;animation-delay:-13s;}
.petal:nth-child(13){left:75%;animation-duration:12s;animation-delay:-5s;}
.petal:nth-child(14){left:35%;animation-duration:17s;animation-delay:-14s;}
.petal:nth-child(15){left:95%;animation-duration:16s;animation-delay:-9s;}
.petal:nth-child(16){left:25%;animation-duration:15s;animation-delay:-6s;}
.petal:nth-child(17){left:65%;animation-duration:18s;animation-delay:-10s;}
.petal:nth-child(18){left:45%;animation-duration:17s;animation-delay:-12s;}

@keyframes petalFall{

    0%{
        transform:
            translateY(-120px)
            rotate(0deg)
            translateX(0);
        opacity:0;
    }

    10%{
        opacity:1;
    }

    50%{
        transform:
            translateY(55vh)
            translateX(20px)
            rotate(180deg);
    }

    100%{
        transform:
            translateY(120vh)
            translateX(-30px)
            rotate(360deg);
        opacity:0;
    }

}

/*==============================================================
ANIMATION
==============================================================*/

@keyframes sakuraFade{
    from{
        opacity:0;
        transform:
            translateY(35px);
    }
    to{
        opacity:1;
        transform:none;
    }

}

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

@media (max-width:768px){

    .cover-overlay{
        padding:20px;
    }

    .cover-subtitle{
        font-size:15px;
        letter-spacing:3px;
    }

    .cover-date{
        font-size:18px;
        letter-spacing:5px;
        margin-top:35px;
        margin-bottom:35px;
    }

    .guest-box{
        width:100%;
        max-width:330px;
        padding:16px 20px;
    }

    .guest-box h5{
        font-size:1.5rem;
    }

    .btn-open{
        width:100%;
        max-width:320px;
        min-width:auto;
        padding:16px 25px;
        font-size:17px;
    }

}

@media (max-width:480px){

    .cover-title{
        font-size:4.2rem;
    }

    .cover-title .amp{
        margin:15px 0;
        font-size:2.5rem;
    }

    .cover-date{
        font-size:16px;
        letter-spacing:4px;
    }

}