/* ========================================
   WEDDING TEMPLATE - CONSOLIDATED CSS
   ======================================== */

/* ---- Custom Fonts ---- */
@font-face {
    font-family: 'Margharita';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('../fonts/Margharita.ttf') format('truetype');
}
@font-face {
    font-family: 'Margharita';
    font-style: italic;
    font-weight: normal;
    font-display: auto;
    src: url('../fonts/Margharita-Italic.ttf') format('truetype');
}
@font-face {
    font-family: 'Ganthe';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('../fonts/Ganthe.ttf') format('truetype');
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 300 900;
    font-display: fallback;
    src: url('../fonts/Inter-VariableFont_slnt%2Cwght.woff2') format('woff2');
    font-stretch: normal;
}
@font-face {
    font-family: Cardo;
    font-style: normal;
    font-weight: 400;
    font-display: fallback;
    src: url('../fonts/cardo_normal_400.woff2') format('woff2');
}
@font-face {
    font-family: Cardo;
    font-style: italic;
    font-weight: 400;
    font-display: fallback;
    src: url('../fonts/cardo_italic_400.woff2') format('woff2');
}
@font-face {
    font-family: Cardo;
    font-style: normal;
    font-weight: 700;
    font-display: fallback;
    src: url('../fonts/cardo_normal_700.woff2') format('woff2');
}

/* ---- CSS Variables ---- */
:root {
    --mobile-width: 400px;
    --main-color: #735D53;
}
@media (max-width: 767px) {
    :root {
        --mobile-width: 100vw;
    }
}

/* ---- Global Reset ---- */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    position: fixed;
    width: 100%;
    background: #fff;
    overscroll-behavior: none;
    font-family: "Cabin", Sans-serif;
    color: #47403D;
}
*, *::before, *::after {
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
}

/* ---- Preloader ---- */
.preloader {
    position: fixed;
    top: 0; bottom: 0; left: 0; right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}
.pulse {
    animation: pulse 2s infinite;
}
.liquid-fill {
    animation: liquid-fill 2s ease-in-out infinite;
}
@keyframes liquid-fill {
    0% { transform: translateY(24px); }
    50% { transform: translateY(0px); }
    100% { transform: translateY(-24px); }
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

/* ---- Mobile Container ---- */
.mobile-container {
    position: relative;
    width: 100%;
    max-width: var(--mobile-width);
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    overflow: hidden;
}

/* ---- Scroll System ---- */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-y: contain;
    scroll-snap-stop: always;
    -webkit-scroll-snap-type: y mandatory;
}
.scroll-container::-webkit-scrollbar {
    display: none;
}
.scroll-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}
.scroll-content {
    height: auto;
    position: relative;
}

/* ---- Stage (Parallax) ---- */
.stage {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--mobile-width);
    height: 100%;
    overflow: hidden;
    background: #000;
    z-index: 1;
    pointer-events: none;
}
.animated-element {
    position: absolute;
    will-change: transform, opacity, filter;
}
.marker {
    display: none;
}

/* ---- Typography ---- */
.p1 {
    font-family: Cabin, Sans-serif;
    font-size: 16px;
    margin: 0;
}
.p2 {
    font-family: Cabin, Sans-serif;
    font-size: 14px;
    margin: 0;
}
.p3 {
    font-family: Cabin, Sans-serif;
    font-size: 12px;
    margin: 0;
}
.h1 {
    font-family: Margharita, Sans-serif;
    font-size: 72px;
    margin: 0;
    line-height: 50px;
    word-spacing: -12px;
}
h2 {
    margin: 0;
    font-weight: 400;
}

/* ---- Cover Section ---- */
.cover-overlay {
    width: var(--mobile-width);
    height: 100vh;
    background: #fff;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0.8) 70%);
}
.cover-text {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    text-align: center;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    padding-bottom: 160px;
}
.cover-text .p2 { color: #47403D; }
.cover-text .h1 {
    color: #47403D;
    font-size: 80px;
    font-style: italic;
    margin-top: 4px;
    margin-bottom: 8px;
}

/* ---- Guest / Invitation Cover ---- */
.guest-section {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: var(--mobile-width);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 20px 11px 50px;
    z-index: 10;
    background-color: transparent;
}
.guest-section .guest-label {
    font-family: "Cabin", Sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #47403D;
    text-align: center;
    line-height: 1.2em;
}
.guest-section .guest-name {
    font-family: "Cabin", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #47403D;
    text-align: center;
    margin-top: 6px;
}
.guest-section .arrow-down {
    width: 50px;
    height: 40px;
}
.btn-open {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #735D53;
    color: #fff;
    font-family: "Cabin", Sans-serif;
    font-size: 12px;
    font-weight: 400;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    cursor: pointer;
    margin-top: 10px;
    pointer-events: auto;
}
.btn-open i { font-size: 14px; }

/* ---- Main Scrollable Container ---- */
.main-content {
    position: relative;
    width: var(--mobile-width);
    max-width: var(--mobile-width);
    height: 100vh;
    height: 100dvh;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 1;
    background-color: rgba(0,0,0,0.25);
    margin: 0 auto;
}

/* ---- Save The Date Section ---- */
.save-the-date {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 85vh;
    padding-top: 40px;
    position: relative;
}
.save-the-date .section-title {
    font-family: "Margharita", Sans-serif;
    font-size: 80px;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    text-align: center;
    word-spacing: -12px;
    padding-right: 20px;
    margin: -20px 0;
}

/* ---- Countdown ---- */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 200px;
    margin: 0 auto;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding: 5px 10px;
}
.countdown-digits {
    font-family: "Cabin", Sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #fff;
}
.countdown-label {
    font-family: "Cabin", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}
.btn-save-date {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    font-family: "Cabin", Sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #EDEAE9;
    border-radius: 20px;
    padding: 10px 25px;
    text-decoration: none;
    text-align: center;
    margin: 10px auto;
}

/* Ripped edge decoration */
.ripped-top,
.ripped-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2;
}
.ripped-top { top: 0; }
.ripped-bottom { bottom: -2px; }
.ripped-top img,
.ripped-bottom img {
    width: 100%;
    display: block;
}
.ripped-top.flipped img {
    transform: scaleY(-1);
}

/* ---- RSVP Section ---- */
.rsvp-section {
    background-color: #E2DED7;
    padding: 40px 0 0;
    position: relative;
}
.rsvp-section .section-title {
    font-family: "Margharita", Sans-serif;
    font-size: 80px;
    font-weight: 400;
    font-style: italic;
    color: #47403D;
    text-align: center;
    line-height: 52px;
    word-spacing: -12px;
}
.rsvp-section .section-desc {
    font-family: "Cabin", Sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #47403D;
    text-align: center;
    line-height: 1.4em;
    padding: 0 34px;
    margin-bottom: 20px;
}

/* Form Styles */
.rsvp-form {
    padding: 0 32px;
}
.rsvp-form .form-group {
    margin-bottom: 8px;
}
.rsvp-form label {
    display: block;
    font-family: "Cabin", Sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 4px;
}
.rsvp-form input[type="text"],
.rsvp-form textarea,
.rsvp-form select {
    width: 100%;
    padding: 10px 12px;
    font-family: "Cabin", Sans-serif;
    font-size: 14px;
    border: 1px solid #A3A4B0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    outline: none;
}
.rsvp-form textarea {
    resize: vertical;
    min-height: 80px;
}
.rsvp-form .select-wrapper {
    position: relative;
}
.rsvp-form .select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
}
.rsvp-form .select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #A3A4B0;
    pointer-events: none;
}
.rsvp-form .form-row {
    display: flex;
    gap: 8px;
}
.rsvp-form .form-row > .form-group {
    flex: 1;
}
.btn-submit {
    display: block;
    width: 100%;
    background-color: #735D53;
    color: #fff;
    font-family: "Cabin", Sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    padding: 12px 60px;
    cursor: pointer;
    margin-top: 4px;
}

/* RSVP Data Container */
.rsvp-data-container {
    background-color: #FFFFFF !important;
    border: 0.5px solid #000000 !important;
    margin: 0 32px;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
}
.rsvp-data-container > .comment {
    border-bottom: 1px solid #253A4B !important;
    padding: 10px 12px;
}
.rsvp-data-container > .comment > .name {
    color: #253A4B !important;
    font-weight: 600;
    font-size: 14px;
}
.rsvp-data-container > .comment > .text {
    color: #253A4B !important;
    font-size: 13px;
}
.rsvp-data-container > .comment > .time {
    color: #253A4B !important;
    font-size: 11px;
    opacity: 0.6;
}
.divider-ring {
    margin-top: 20px;
}

/* ---- Love Story / Our Love Story Section ---- */
.love-story-section {
    background-image: url("../images/inv_1014_VLK9KMks.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    position: relative;
}
.love-story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
}
.love-story-section .section-title {
    font-family: "Margharita", Sans-serif;
    font-size: 80px;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    text-align: center;
    line-height: 52px;
    word-spacing: -12px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}
.love-story-item {
    position: relative;
    z-index: 1;
    padding: 10px 32px;
}
.love-story-item .story-title {
    font-family: "Ganthe", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.love-story-item .story-text {
    font-family: "Cabin", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    line-height: 1.5em;
}

/* ---- Gallery Section ---- */
.gallery-section {
    background-color: #E2DED7;
    padding: 20px 0 0;
    position: relative;
    overflow: hidden;
}
.gallery-section .divider-sm {
    display: block;
    width: 24px;
    margin: 0 auto;
}
.gallery-section .section-title {
    font-family: "Margharita", Sans-serif;
    font-size: 80px;
    font-weight: 400;
    font-style: italic;
    color: #47403D;
    text-align: center;
    line-height: 42px;
    word-spacing: -12px;
    margin-top: -28px;
    z-index: 1;
    position: relative;
}

/* Gallery Image Grid */
.gallery-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 240px;
    margin-bottom: 20px;
}
.gallery-col {
    flex: 1;
    background-position: center center;
    background-size: cover;
}
.gallery-col-left {
    background-image: url("../images/inv_1014_CYQNBMTZ.jpg");
    height: 70%;
    min-height: 170px;
}
.gallery-col-center {
    background-image: url("../images/inv_1014_SuSjrsEB.jpg");
    height: 100%;
    min-height: 240px;
    position: relative;
    flex: 1.7;
}
.gallery-col-center::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, transparent 25%);
}
.gallery-col-right {
    background-image: url("../images/inv_1014_AohsMBmM.jpg");
    height: 70%;
    min-height: 170px;
}

/* NanoGallery container */
.gallery-nano {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 20px 0;
}
#gallery {
    width: 320px;
}

/* Music Button */
.music-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    cursor: pointer;
    display: none;
    background-color: #735D53;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-align: center;
    line-height: 44px;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.music-button i {
    animation: rotate360 3s linear infinite;
    display: inline-block;
}
.music-button.paused i {
    animation-play-state: paused;
}
@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.music-button.rotating svg {
    animation: rotate360 3s linear infinite;
}

/* ---- Gift Section ---- */
.gift-section {
    background-color: transparent;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.gift-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    filter: blur(3.5px);
}
.gift-section .section-title {
    font-family: "Margharita", Sans-serif;
    font-size: 80px;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    text-align: center;
    line-height: 52px;
    word-spacing: -12px;
    position: relative;
    z-index: 1;
    margin: 20px 0;
    padding-right: 20px;
}
.gift-section .gift-image {
    position: relative;
    z-index: 1;
    text-align: center;
}
.gift-section .gift-image img {
    width: 180px;
    filter: saturate(60%);
    transform: rotate(-12deg);
}
.gift-desc {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 34px;
}
.gift-desc h2 {
    font-family: "Cabin", Sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    line-height: 1.4em;
    margin-bottom: 20px;
}
.btn-gift {
    display: inline-block;
    background-color: #E2DED7;
    color: #735D53;
    font-family: "Cabin", Sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    padding: 10px 40px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Gift Cards */
.gifts {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 32px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.gift-card {
    width: 100%;
    max-width: 320px;
    background-color: #B9B49E;
    background-image: url("../images/card-bg-1024x640.jpeg");
    background-position: center center;
    background-size: cover;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.33);
    padding: 20px 10px;
    position: relative;
    min-height: 140px;
}
.gift-card .bank-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25%;
}
.gift-card .chip-img {
    width: 15%;
    margin: 15px 0 35px 5px;
}
.gift-card .account-number {
    font-family: "Source Sans Pro", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #323232;
    text-shadow: 0 0 0 rgba(0,0,0,0.3);
    margin: 5px 5px 0;
}
.gift-card .account-name {
    font-family: "Source Sans Pro", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #323232;
    margin: 0 5px 20px;
}
.gift-card .btn-copy {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background-color: #B1B1B1;
    color: #323232;
    font-family: "Source Sans Pro", Sans-serif;
    font-size: 12px;
    font-weight: 400;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
}

/* Physical Gift Card */
.gift-card-physical {
    width: 100%;
    max-width: 320px;
    background-color: #B9B49E;
    background-image: url("../images/card-bg-1024x640.jpeg");
    background-position: center center;
    background-size: cover;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.33);
    padding: 20px 10px;
    text-align: center;
}
.gift-card-physical .gift-icon {
    width: 15%;
    margin: 0 0 10px;
}
.gift-card-physical h3 {
    font-family: "Source Sans Pro", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #323232;
    margin: 5px 0 0;
}
.gift-card-physical p {
    font-family: "Source Sans Pro", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #323232;
    margin: 15px 0 0;
}

/* ---- Closing Section ---- */
.closing-section {
    background-color: #E2DED7;
    padding: 10px 0 0;
    position: relative;
    overflow: hidden;
    margin-top: -2px;
}
.closing-inner {
    position: relative;
    padding: 20px;
    text-align: center;
}
.closing-photo-container {
    position: relative;
    display: inline-block;
}
.closing-photo {
    position: absolute;
    width: 230px;
    height: 230px;
    background-position: center center;
    background-size: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(5deg);
    z-index: 1;
}
.closing-frame {
    position: relative;
    z-index: 2;
    width: 330px;
    max-width: 100%;
}
.closing-marquee {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    transform: rotate(-15deg);
    margin: 0 -100px;
    z-index: 0;
}
.closing-marquee h2 {
    font-family: "Margharita", Sans-serif;
    font-size: 60px;
    font-weight: 400;
    font-style: italic;
    color: rgba(115, 93, 83, 0.35); /* Increased opacity from 0.19 */
    line-height: 44px;
    word-spacing: -8px;
    white-space: nowrap;
}
.closing-names {
    position: absolute;
    bottom: 65px;
    width: 100%;
    left: 0;
    text-align: center;
    transform: rotate(5deg);
    z-index: 5;
}
.closing-names h2 {
    font-family: "Margharita", Sans-serif;
    font-size: 48px;
    font-weight: 400;
    font-style: italic;
    color: #47403D;
    line-height: 1;
    word-spacing: 2px;
}
.closing-message {
    font-family: "Cabin", Sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #47403D;
    text-align: center;
    line-height: 1.4em;
    padding: 0 32px;
}
.closing-divider {
    width: 75%;
    margin: 10px auto -10px;
}

/* ---- Footer ---- */
.footer-container {
    font-family: "Cabin", Sans-serif !important;
    text-align: center;
    color: #47403D;
    padding: 10px 0 20px;
    font-size: 12px;
}
.footer-container span {
    display: block;
    margin: 4px 0;
}
.socmed-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
}
.socmed-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #47403D;
    font-size: 10px;
    text-decoration: none;
}

/* ---- Quotes Container ---- */
.quotes-container {
    width: calc(1.4 * var(--mobile-width));
    height: 400px;
    left: calc(var(--mobile-width) * -0.2);
    background-image: url(../images/cloud3.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: calc(var(--mobile-width) * 0.3);
    padding-left: calc(var(--mobile-width) * 0.3);
}

/* ---- Text Containers (for parallax) ---- */
.text-container1 {
    width: calc(1 * var(--mobile-width));
    height: 45%;
    color: #ffffff !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 10%;
    padding-left: 10%;
    padding-bottom: 40px;
}
.text-container2 {
    width: calc(2.8 * var(--mobile-width));
    height: 100vh;
    height: 100dvh;
    left: calc(var(--mobile-width) * -0.90);
    background-image: url(../images/cloud4.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: calc(var(--mobile-width) * 0.95);
    padding-left: calc(var(--mobile-width) * 0.95);
    padding-top: 10px;
}
.text-container3 {
    width: calc(1.9 * var(--mobile-width));
    height: 100vh;
    height: 100dvh;
    left: calc(var(--mobile-width) * -0.45);
    background-image: url(../images/cloud3.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: calc(var(--mobile-width) * 0.49);
    padding-left: calc(var(--mobile-width) * 0.49);
}

/* ---- IG Container ---- */
.ig-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    gap: 4px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    width: fit-content;
    margin-top: 8px;
    padding: 2px 12px 4px 12px;
}

/* ---- Button Styles ---- */
.button1 {
    display: inline-block;
    background: var(--main-color);
    padding: 6px 12px;
    border-radius: 6px;
    color: #fff;
    margin-top: 8px;
    text-decoration: none;
}

/* ---- Dresscode ---- */
.dc-container {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}
.dc-item {
    width: 50px;
    height: 50px;
    margin-right: -5px;
    margin-left: -5px;
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.5);
    border-radius: 100%;
}

/* ---- Scroll Animations (Reanimate) ---- */
.fade {
    transform: scale(0.8);
    opacity: 0;
    transition: opacity 1.5s, transform 1s;
}
.fade.reanimate.in-view {
    transform: scale(1);
    opacity: 1;
    transition: opacity 1.5s, transform 1s;
}
.rotate {
    transform: scale(0.5) rotate(-20deg);
    opacity: 0;
    transition: opacity 0.5s, transform 1.5s;
}
.rotate.reanimate.in-view {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    transition: opacity 0.5s, transform 1.5s;
}
.left {
    transform: translateX(-100px);
    opacity: 0;
    transition: opacity 1s, transform 1.5s;
}
.left.reanimate.in-view {
    transform: translateX(0);
    opacity: 1;
    transition: opacity 1s, transform 1.5s;
}
.right {
    transform: translateX(100px);
    opacity: 0;
    transition: opacity 1s, transform 1.5s;
}
.right.reanimate.in-view {
    transform: translateX(0);
    opacity: 1;
    transition: opacity 1s, transform 1.5s;
}
.up {
    transform: translateY(30px);
    opacity: 0;
    transition: opacity 1s, transform 1.5s;
}
.up.reanimate.in-view {
    transform: translateY(0);
    opacity: 1;
    transition: opacity 1s, transform 1.5s;
}

/* ---- Sway Animations ---- */
@keyframes swayLeft {
    0% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-10px) rotate(-5deg); }
    100% { transform: translateX(0) rotate(0deg); }
}
@keyframes swayRight {
    0% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(10px) rotate(10deg); }
    100% { transform: translateX(0) rotate(0deg); }
}
@keyframes fadeZoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ---- Clicktoshow ---- */
.clicktoshow {
    cursor: pointer;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .countdown-wrapper {
        max-width: 40%;
    }
    .countdown-digits {
        font-size: 20px;
    }
    .countdown-label {
        font-size: 12px;
        line-height: 1.4em;
    }
    .btn-save-date {
        border-width: 1px;
        padding: 10px 30px;
    }
    .gallery-images {
        min-height: 200px;
    }
    .gallery-col-left { width: 27%; }
    .gallery-col-center { width: 45%; }
    .gallery-col-right { width: 27%; }
    .love-story-item {
        padding: 10px 38px;
    }
    .rsvp-form {
        padding: 0 20px;
        margin: 0 20px;
    }
    .gift-card,
    .gift-card-physical {
        border-radius: 15px;
        padding: 20px 10px;
    }
    .gifts {
        padding: 0 32px;
    }
}

/* ---- YouTube Container (hidden) ---- */
#youtube-music-container {
    position: fixed;
    opacity: 0;
    z-index: -1;
}
