.opening {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 50px;
    justify-content: center;
    background-position: center;
    background-size: cover;
}

.opening video {
    width: 100%;
    max-height: 100vh;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}



/* overlay biar teks kebaca */
.opening::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(129, 141, 127, 0.116);
    z-index: 1;
}

.opening-content {
    padding: 100px 50px;
    border-radius: 150px;
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.opening-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 16px;
    color: var(--white);
}

.nickname-opening {
    font-family: var(--font-display);
    font-size: 3.1rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    color: var(--white);
}

.ampersand-opening {
    display: inline-block;
    font-size: 1.5rem;
    margin: 10px 0;
    opacity: 0.9;
    color: var(--white);
}

.main-date {
    margin-top: 20px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    opacity: 0.85;
    color: var(--white);
}

.quote-section {
    display: flex;
    padding: 30px 0px;
    background: url(../media/cover-guest.png);
    position: relative;
    text-align: center;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
}

.floral-ornament {
    position: absolute;
    top: 40px;
    font-size: 1.2rem;
    opacity: 0.25;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--serenity-accent);
}

.floral-ornament.left {
    left: 20px;
}

.floral-ornament.right {
    right: 20px;
}

.cover {
    width: 100%;
    max-width: 380px;
    display: block;
    box-shadow: var(--shadow);

}

.cover-content p {
    font-family: var(--font-zcool);
}

img.cover {
    max-height: 380px;
    object-fit: cover;
}

.guest-section {
    padding: 20px;
    text-align: center;
    background: #786a52;
    color: white;
}

.guest-section h2 {
    font-family: var(--font-display);
    font-size: 3.2rem;
}

.quote {
    position: relative;
    max-width: 380px;
    margin: 0 auto 40px;
    font-size: 0.95rem;
    line-height: 1.9;
    font-style: italic;
    color: var(--serenity-deep);

    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding-bottom: 20px;
    /* penting biar overlay ikut radius */
}

/* BG OVERLAY */
.quote::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.658);
    /* lembut & readable */
    z-index: 1;
}

/* pastikan isi di atas overlay */
.quote>* {
    position: relative;
    z-index: 2;
}


.quote p {
    padding: 30px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.time-box {
    min-width: 80px;
    height: 80px;
    border: solid 1px var(--serenity-accent);
    border-radius: 100%;
    padding: 14px 10px;
    background: var(--white);
}

.time-box span {
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
    color: var(--serenity-dark);
}

.time-box small {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--serenity-accent);
}