* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    background-color: #222;
}

.cover-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('foto/f12.jpeg');
    background-size: cover;
    background-position: center top;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CONTAINER SALJU BERJATUHAN */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 75%);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    12% {
        opacity: 0.85;
    }

    88% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(105vh) translateX(30px);
        opacity: 0;
    }
}

/* SOFT & BRIGHT ELEGANT OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.08) 35%,
            rgba(0, 0, 0, 0.20) 65%,
            rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

/* MAIN CONTENT */
.cover-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 60px 24px 40px;
}

/* HEADER */
.cover-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 1.1s ease-out;
}

.sub-title {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.bride-groom {
    font-family: 'Cormorant Garamond', serif;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1.15;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

/* DIVIDER */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
    width: 100%;
    max-width: 200px;
}

.divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.divider i {
    color: #ffffff;
    font-size: 10px;
    font-style: normal;
}

/* FOOTER / BOTTOM AREA */
.cover-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 1.1s ease-out;
}

/* GUEST CARD - SLIM & LIGHT BLUR */
.guest-card {
    width: 92%;
    max-width: 330px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.yth {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.yth-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.guest-name {
    font-family: 'Cinzel', serif;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 3px;
    word-break: break-word;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.lokasi {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.8px;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* BUTTON OPEN INVITATION - SOFT ELEGANT & NATURAL */
.btn-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(135deg, #443e39, #2b2622);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #534c46, #38322d);
}

.btn-open svg {
    stroke: #ffffff;
    transition: transform 0.3s ease;
}

.btn-open:hover svg {
    transform: scale(1.1);
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .cover-content {
        padding: 50px 18px 30px;
    }

    .sub-title {
        font-size: 11px;
        letter-spacing: 4px;
    }

    .bride-groom {
        font-size: 38px;
    }

    .guest-name {
        font-size: 19px;
    }

    .btn-open {
        font-size: 12.5px;
        padding: 12px 26px;
        letter-spacing: 1.2px;
    }
}