      * {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: Georgia, "Times New Roman", serif;

    background: #f8f4ef;

    color: #3f3935;

    /* Default theme */

    --accent: #424340;

    --text-accent: #686868;

    --accent-dark: #95636a;

    --accent-light: #c0c0c0;

    --text-muted: #414141;

    --border: #cfcfcf;

}
.hide-no-invite{
    display: none !important;
}
.invited-profile {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.invited-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.invited-name {
    font-size: 38px;
    font-weight: normal;
    font-style: italic;
    color: var(--accent-dark);
}
/* ========================================

   ROLE COLOR THEMES

======================================== */

/* GROOMSMAN — Gray */

body.groomsman {

    --accent: #424340;

    --accent-dark: #444444;

    --accent-light: #c0c0c0;

    --text-muted: #414141;

    --border: #cfcfcf;

    --image-bg : url("./assets/gray-bg.jpg");
}

/* BRIDESMAID — Old Rose */

body.bridesmaid {

    --accent: #b98287;

    --accent-dark: #95636a;

    --accent-light: #f0dfe0;

    --text-muted: #80686b;

    --border: #d9bfc2;

    --image-bg : url("./assets/abstract-bg.jpg")

}

/* ========================================

   HERO

======================================== */

.hero {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;
    background:

        linear-gradient(

            rgba(40, 30, 25, 0.4),

            rgba(40, 30, 25, 0.4)

        ),

        url("./assets/flower.jpg")

        center 30% / cover;

    color: white;

    position: relative;

}

.hero-content {

    padding: 30px;

    animation: fadeUp 1.5s ease;

}

.small-title {

    font-size: 15px;

    letter-spacing: 5px;

    text-transform: uppercase;

    margin-bottom: 25px;

}

.hero h1 {

    font-size: clamp(55px, 10vw, 110px);
    
    font-family: 'Autumn in November', cursive;

    font-weight: normal;

    font-style: italic;

    line-height: 1;

}

.ampersand {

    font-size: 40px;

    margin: 10px;

}

.hero-date {

    margin-top: 30px;

    font-size: 18px;

    letter-spacing: 4px;

}

.scroll-down {

    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 12px;

    letter-spacing: 3px;

    text-transform: uppercase;

    opacity: 0.9;

}

/* ========================================

   GENERAL

======================================== */

section {

    padding: 100px 20px;

}

.container {

    max-width: 900px;

    margin: auto;

}

.section-title {

    text-align: center;

    font-size: 42px;

    font-weight: normal;

    font-style: italic;

    margin-bottom: 20px;

}

.divider {

    width: 70px;

    height: 1px;

    background: var(--accent);

    margin: 25px auto 50px;

    transition: background 0.4s ease;

}

/* ========================================

   INTRO

======================================== */

.intro {
    position: relative;
    text-align: center;
    background: #fffdf9;
    overflow: hidden;
}

.intro::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("./assets/garden.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0.3;
    pointer-events: none;
}

.intro .container {
    position: relative;
    z-index: 1;
}

.intro-text {

    max-width: 650px;

    margin: auto;

    font-size: 19px;

    line-height: 1.9;

}


.quote {

    margin-top: 35px;

    font-style: italic;

    color: var(--accent);

}

/* ========================================

   WEDDING PARTY

======================================== */

.wedding-party {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: #fff;
}

.wedding-party::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: var(--image-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.3;
    pointer-events: none;
}

.wedding-party .container {
    position: relative;
    z-index: 1;
}

.party-message {

    max-width: 650px;

    margin: 0 auto 50px;

    font-size: 19px;

    line-height: 1.8;

    color: var(--text-muted);

}

.party-card {

    max-width: 600px;

    margin: auto;

    background: #fffdf9;

    padding: 55px 30px;

    border: 1px solid var(--border);

    box-shadow:

        0 15px 40px rgba(0, 0, 0, 0.06);

    transition:

        border-color 0.5s ease,

        box-shadow 0.5s ease;

}

.confirmation-text {
    max-width: 500px;
    margin: 30px auto 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

.confirm-button {
    display: inline-block;
    margin-top: 25px;
    padding: 16px 45px;
    background: var(--accent-dark);
    color: white;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.confirm-button:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.confirm-button:active {
    transform: translateY(0);
}

.party-icon {

    font-size: 45px;

    margin-bottom: 25px;

    color: var(--accent);

    transition: color 0.5s ease;

}

.party-card h3 {

    font-size: 34px;

    font-weight: normal;

    font-style: italic;

    margin-bottom: 15px;

}

.party-card p {

    color: var(--text-muted);

    line-height: 1.8;

}

/* ========================================

   ROLE BADGE

======================================== */

.role {

    display: inline-block;

    margin-top: 0px;
    margin-bottom: 0px;

    padding: 11px 28px;

    border: 1px solid var(--accent);

    color: var(--accent-dark);

    letter-spacing: 2px;

    text-transform: uppercase;

    font-size: 12px;

    transition:

        color 0.5s ease,

        border-color 0.5s ease;

}

/* ========================================

   CONFIRMATION

======================================== */

.confirmation {

    background: #fffdf9;

    text-align: center;

}

.confirmation-text {

    max-width: 600px;

    margin: auto;

    font-size: 19px;

    line-height: 1.8;

    color: var(--text-muted);

}

.confirm-button {

    display: inline-block;

    margin-top: 35px;

    padding: 16px 45px;

    background: var(--accent-dark);

    color: white;

    border: none;

    text-decoration: none;

    text-transform: uppercase;

    letter-spacing: 3px;

    font-size: 12px;

    cursor: pointer;

    transition:

        background 0.3s ease,

        transform 0.3s ease,

        box-shadow 0.3s ease;

}

.confirm-button:hover {

    background: var(--accent);

    transform: translateY(-3px);

    box-shadow:

        0 8px 20px rgba(0, 0, 0, 0.15);

}

.confirm-button:active {

    transform: translateY(0);

}

/* ========================================

   COUNTDOWN

======================================== */

.countdown-section {

    background:

        linear-gradient(

            rgba(55, 43, 35, 0.7),

            rgba(55, 43, 35, 0.7)

        ),

        url("./assets/church.jpg")

        center 10% / cover;

    color: white;

    padding:400px 20px 100px 20px;

    text-align: center;

}

.countdown {

    display: flex;

    justify-content: center;

    gap: 35px;

    margin-top: 30px;

    flex-wrap: wrap;

}

.time-box {

    min-width: 100px;

}

.time-box span {

    display: block;

    font-size: 45px;

}

.time-box small {

    text-transform: uppercase;

    letter-spacing: 3px;

    font-size: 11px;

}

/* ========================================

   FOOTER

======================================== */

footer {

    padding: 20px 20px;

    text-align: center;

    background: var(--accent-dark);

    color: white;

}

footer h2 {

    font-size: 40px;

    font-weight: normal;

    font-style: italic;
    
    font-family: 'Autumn in November', cursive;

}

footer p {

    margin-top: 15px;

    color: #d7ccc3;

}

/* ========================================

   ANIMATIONS

======================================== */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:

            translateY(30px);

    }

    to {

        opacity: 1;

        transform:

            translateY(0);

    }

}

/* ========================================

   RESPONSIVE / MOBILE

======================================== */

@media (max-width: 700px) {

    section {

        padding: 70px 20px;

    }

    .hero h1 {

        font-size: clamp(50px, 17vw, 80px);

    }

    .small-title {

        font-size: 11px;

        letter-spacing: 3px;

    }

    .hero-date {

        font-size: 14px;

        letter-spacing: 2px;

    }

    .section-title {

        font-size: 34px;

    }

    .party-card {

        padding: 45px 20px;

    }

    .party-card h3 {

        font-size: 28px;

    }

    .party-message,

    .intro-text,

    .confirmation-text {

        font-size: 17px;

    }

    .countdown {

        gap: 20px;

    }

    .time-box {

        min-width: 70px;

    }

    .time-box span {

        font-size: 32px;

    }

    .time-box small {

        font-size: 9px;

        letter-spacing: 2px;

    }

    footer h2 {

        font-size: 32px;

    }

}

/* ========================================

   INVITE SCREEN

======================================== */

.invite-screen {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    justify-content: center;

    align-items: center;

    background:

        linear-gradient(

            rgba(40, 30, 25, 0.55),

            rgba(40, 30, 25, 0.55)

        ),

        url("./assets/invite-screen.jpg")

        center / cover;

    padding: 20px;

    transition:

        opacity 0.8s ease,

        visibility 0.8s ease;

}

.invite-screen.hidden {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}

.invite-card {

    width: 100%;

    max-width: 600px;

    padding: 55px 35px;

    background: rgba(255, 253, 249, 0.97);

    text-align: center;

    box-shadow:

        0 20px 60px rgba(0, 0, 0, 0.2);

    animation: fadeUp 1s ease;
    z-index: 2;

}

.invite-small-title {

    font-size: 12px;

    letter-spacing: 4px;

    text-transform: uppercase;

    color: var(--accent);

    margin-bottom: 25px;

}

.invite-card h1 {

    font-size: 32px;

    font-family: 'Autumn in November', cursive;

    font-weight: normal;

    font-style: italic;
}

.invite-divider {

    width: 60px;

    height: 1px;

    background: var(--accent);

    margin: 25px auto;

}

.invite-card p {

    font-size: 16px;

    line-height: 1.8;

    color: var(--text-accent);

    margin-bottom: 30px;

}

#inviteCode {

    width: 100%;

    padding: 15px;

    border: 1px solid var(--border);

    background: white;

    text-align: center;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    letter-spacing: 3px;

    outline: none;

}

#inviteCode:focus {

    border-color: var(--accent);

}

.invite-card button {

    width: 100%;

    margin-top: 15px;

    padding: 16px;

    border: none;

    background: var(--accent-dark);

    color: white;

    font-family: Georgia, "Times New Roman", serif;

    text-transform: uppercase;

    letter-spacing: 3px;

    cursor: pointer;

    transition:

        background 0.3s ease,

        transform 0.3s ease;

}

.invite-card button:hover {

    background: var(--accent);

    transform: translateY(-2px);

}

#inviteError {

    display: none;

    margin-top: 15px;

    color: #a05c5c;

    font-size: 13px;

}

/* ========================================

   SMALL MOBILE

======================================== */

@media (max-width: 400px) {

    .hero-content {

        padding: 20px;

    }

    .hero h1 {

        font-size: 50px;

    }

    .ampersand {

        font-size: 30px;

        margin: 7px;

    }

    .countdown {

        gap: 12px;

    }

    .time-box {

        min-width: 60px;

    }

    .time-box span {

        font-size: 27px;

    }

}
.expect-list {
    text-align: left;
    margin: 25px auto 0;
    padding-left: 30px;
    max-width: 500px;
}

.expect-list li {
    padding: 10px 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.expect-list li::marker {
    color: var(--accent);
    font-weight: bold;
}
.invite-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

/* Dark/light overlay */
.invite-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.3);

    z-index: 1;
}