/* Google Fonts Import in HTML, using CSS Variables here */
:root {
    /* Colors based on reference images */
    --sage-dark: #6C8E93;
    --sage: #7B9FA4;
    --sage-light: #8CAEB3;
    --sage-bg: #EAF0F1; /* Soft background */
    --gold: #D4AF37;
    --text-dark: #2C3E50;
    --text-light: #5A6D7C;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --red: #E74C3C;
    --btn-blue: #7c9b9f; /* Biru muda sesuai referensi */
    --dark-blue: #7c9b9f;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Fonts */
    --font-names: 'Great Vibes', 'Playfair Display', serif;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-quote: 'Lora', serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #e0e6e7; /* Background color for desktop margins */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--sage-bg);
    overflow-x: hidden;
    max-width: 500px; /* Constrain to mobile proportion */
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}
body.locked {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-center { text-align: center; }

/* Floral Backgrounds */
.floral-bg {
    position: absolute;
    width: 100%;
    height: 350px;
    background-image: url('../images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}
.floral-top {
    top: -150px;
    background-position: top center;
}
.floral-bottom {
    bottom: -150px;
    background-position: top center;
    transform: rotate(180deg);
}
.floral-top-hero {
    top: -250px;
    background-position: top center;
}
.floral-pattern-1 {
    background-image: url('../images/floral1.png') !important;
    filter: brightness(0) invert(1);
}
.floral-corner {
    position: absolute;
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}
.floral-middle-right {
    top: 5%;
    right: -50px;
    width: 250px;
    height: 250px;
    transform: rotate(15deg);
    opacity: 0.4;
}
.floral-bottom-left-large {
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    transform: rotate(-30deg);
    opacity: 0.4;
}
.text-right { text-align: right; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.float-right { float: right; }
.clearfix::after { content: ""; clear: both; display: table; }

/* Utilities */
.bg-sage { background-color: var(--sage); color: var(--white); }
.bg-sage-light { background-color: var(--sage-light); color: var(--white); }
.bg-sage-dark { background-color: var(--sage-dark); color: var(--white); }
.bg-dark-blue { background-color: var(--dark-blue) !important; color: var(--white); }
.text-sage { color: var(--sage); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-light); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.hidden { display: none !important; }
.hidden-opacity { opacity: 0; visibility: hidden; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.title-names {
    font-family: var(--font-names);
    font-size: 3rem;
    font-weight: 400;
}

.section-title {
    font-size: 2.2rem;
    font-style: italic;
    color: var(--sage-dark);
}
.bg-sage .section-title {
    color: var(--white);
}

.subtitle {
    font-style: italic;
    font-family: var(--font-quote);
    color: var(--text-light);
}

/* Buttons */
button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--btn-blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px rgba(124, 155, 159, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1);
}
.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}
.btn-primary:hover {
    background-color: var(--sage);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 142, 147, 0.4);
}

.btn-secondary {
    background-color: var(--sage-dark);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Scroll locked state */
body.locked #main-content,
body.locked footer {
    display: none;
}
body.locked {
    overflow: hidden;
}

/* Audio Button */
.btn-audio {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--sage-dark);
    color: white;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: spin-slow 4s linear infinite;
    animation-play-state: paused;
    border: 2px solid var(--white);
}
.btn-audio.playing {
    animation-play-state: running;
}

/* Layout */
#main-content {
    /* visible by default now, body handles scrolling lock */
}
.section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Cover Section */
.cover-page {
    position: relative;
    width: 100%;
    min-height: 115svh;
    background: 
        url('../images/backgroundbunga.png') center -15vh / 100% auto no-repeat,
        linear-gradient(to bottom, #dbeafe 0%, #eff6ff 60%, #ffffff 100%);
    z-index: 10;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.cover-page.slide-up {
    transform: translateY(-100%);
    pointer-events: none;
}
.floral-bottom-cover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background-image: url('../images/backgroundbunga.png');
    background-size: 100% auto;
    background-position: center -26vh;
    background-repeat: no-repeat;
    transform: scaleY(-1);
    z-index: 1;
    pointer-events: none;
}
.cover-content {
    z-index: 2;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-8vh);
}
.monogram-large {
    font-family: var(--font-names), 'Great Vibes', cursive;
    font-size: 6.4rem;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 2.5rem;
    font-weight: normal;
    font-style: italic;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-20px);
}
.mono-m {
    transform: translateY(-20px);
    margin-right: -40px;
}
.mono-d {
    transform: translateY(35px);
}
.wedding-text {
    margin-bottom: 2rem;
    transform: translateY(10px);
}
.text-serif {
    font-family: var(--font-heading), 'Playfair Display', serif;
    color: #333;
}
.subtitle {
    font-size: 0.75rem;
    margin-bottom: 10px;
    transform: translateY(8px);
}
.title-names-cursive {
    font-family: var(--font-names), 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #2c2c2c;
    margin: 0;
    font-weight: normal;
    font-style: italic;
    transform: translateY(10px);
}
.guest-info {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.kepada-yth {
    font-size: 0.75rem;
    margin: 0 0 25px 0;
}
.guest-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 25px 0;
}
.btn-cover {
    background-color: #79949f;
    color: #fff;
    border: 2px solid #fff;
    padding: 9px 18px;
    border-radius: 30px;
    font-family: var(--font-body), 'Inter', sans-serif;
    font-size: 0.675rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-cover:hover {
    background-color: #637d88;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero-image-container {
    margin-top: 20px;
}
.hero-couple-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: floating 4s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: 
        url('../images/backgroundbunga.png') center calc(-25vh + 10px) / 100% auto no-repeat,
        linear-gradient(to bottom, #dbeafe 0%, #eff6ff 60%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.floral-bottom-hero {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background-image: url('../images/backgroundbunga.png');
    background-size: 100% auto;
    background-position: center -26vh;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    transform: scaleY(-1);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    position: relative;
}
.avatar-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--white);
    margin: 0 auto;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 25px rgba(108, 142, 147, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
}
.avatar-circle img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}
.date-highlight {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-top: 10px;
}
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.countdown-item {
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--sage-dark);
    padding: 10px;
    border-radius: 15px;
    min-width: 65px;
    box-shadow: 0 4px 10px rgba(108, 142, 147, 0.3);
}
.countdown-item span {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    display: block;
}
.countdown-item p {
    font-size: 0.7rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quote Section */
.quote-section {
    position: relative;
    padding: 20px 20px;
    background-color: var(--sage-bg); /* Use the light blue background */
    z-index: 10;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
}
.quote-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
}
.quote-image-card {
    position: relative;
    z-index: 20;
    background-color: var(--white);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin: 0 auto 30px auto;
    width: 85%;
    max-width: 350px;
    overflow: hidden;
}
.quote-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

[data-animate="fade-up"] .quote-image-card {
    opacity: 0;
    transform: translateY(-50vh);
    transition: all 2s cubic-bezier(0.25, 1, 0.3, 1);
}
[data-animate="fade-up"].is-visible .quote-image-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.quote-text {
    text-align: center;
    padding: 0 20px;
}
.quote-text h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.arabic-text {
    font-size: 0.85rem;
    line-height: 2;
    margin: 20px 0;
    font-family: 'Amiri', serif;
}
.translation {
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.6;
    opacity: 0.9;
    text-transform: capitalize;
}

.profiles-section {
    position: relative;
    background: linear-gradient(to bottom, #dbeafe 0%, #eff6ff 60%, #ffffff 100%);
    overflow: hidden;
    padding: 100px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* CSS Clouds */
.cloud {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.6;
    filter: blur(25px);
    pointer-events: none;
}
.cloud-1 {
    width: 400px; height: 250px;
    top: 15%; left: -100px;
    animation: floatCloud 25s infinite alternate ease-in-out;
}
.cloud-2 {
    width: 350px; height: 200px;
    top: 40%; right: -50px;
    animation: floatCloud 20s infinite alternate-reverse ease-in-out;
}
.cloud-3 {
    width: 450px; height: 300px;
    bottom: 25%; left: -150px;
    animation: floatCloud 30s infinite alternate ease-in-out;
}
.cloud-4 {
    width: 300px; height: 180px;
    bottom: 10%; right: 50px;
    animation: floatCloud 18s infinite alternate-reverse ease-in-out;
}
@keyframes floatCloud {
    0% { transform: translateX(0) scale(1); }
    100% { transform: translateX(120px) scale(1.1); }
}
.floral-top-profiles,
.floral-bottom-profiles {
    position: absolute;
    left: 0;
    width: 100%;
    height: 40vh;
    background-image: url('../images/backgroundbunga.png');
    background-size: 100% auto;
    background-position: center -15vh;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}
.floral-top-profiles {
    top: 0;
}
.floral-bottom-profiles {
    bottom: 0;
    transform: scaleY(-1);
}
.profiles-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin-top: 40px; /* Space for top flower */
    margin-bottom: 40px; /* Space for bottom flower */
}
.profile-card {
    text-align: center;
    margin-bottom: 0px;
}
.profile-card .avatar-circle {
    width: 150px;
    height: 225px;
    border-radius: 75px;
    margin: 0 auto 15px auto;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 3px solid var(--white);
    background-color: #fcfcfc;
    animation: floating 4s ease-in-out infinite;
}
.profile-card .avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-card .title-names {
    font-size: 2.2rem;
    margin-top: 5px;
}
.profile-card .parents {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin: 5px 0 15px 0;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    line-height: 1.6;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #8fa5a6; /* Warna sage abu-abu */
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    gap: 8px;
    background: var(--sage);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px; /* Pill shape button */
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.social-link:hover {
    background: var(--sage-dark);
    color: var(--white);
    transform: translateY(-2px);
}
.ampersand {
    font-family: var(--font-names);
    font-size: 2.2rem;
    color: var(--gold);
    margin: 15px 0;
}

/* Timeline / Love Story */
.story-frame {
    background-color: #eaeff0; /* Light sage/grey background */
    border-radius: 20px;
    padding: 40px 30px;
    margin: 0 auto;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.story-item {
    margin-bottom: 20px;
}
.story-left {
    text-align: left;
}
.story-right {
    text-align: right;
}
.lovestory-section .section-title {
    color: var(--white);
    font-size: 1.8rem;
}
.story-title {
    font-family: var(--font-names);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: normal;
}
.story-date {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.story-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}
.story-divider {
    text-align: center;
    color: var(--text-dark);
    margin: 30px 0;
    position: relative;
    font-size: 1.2rem;
}
.story-divider::before, .story-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: var(--text-dark);
}
.story-divider::before { left: 0; }
.story-divider::after { right: 0; }

/* Remove old timeline media queries if any, as this flex approach works everywhere */

/* Event Card / Pill */
.events-section {
    position: relative;
    padding: 120px 20px 100px; /* Space for top and bottom florals */
    z-index: 1;
    background: linear-gradient(to bottom, #dbeafe 0%, #eff6ff 60%, #ffffff 100%);
    overflow: hidden; /* Keep clouds inside */
}
.events-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.event-card-pill {
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 200px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--white);
    overflow: hidden;
    margin-bottom: 50px;
}
.event-card-pill:last-child {
    margin-bottom: 0;
}
.card-floral {
    position: absolute;
    background-image: url('../images/floral1.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
.card-floral-tl {
    width: 150px; height: 150px;
    top: -20px; left: -20px;
    transform: rotate(45deg);
}
.card-floral-mr {
    width: 130px; height: 130px;
    top: 30%; right: -30px;
    transform: rotate(-15deg);
}
.card-floral-bl {
    width: 160px; height: 160px;
    bottom: -10px; left: -30px;
    transform: rotate(30deg);
}
.event-title, .event-date, .event-time, .event-location-icon, .event-location-name, .event-address, .btn-maps {
    position: relative;
    z-index: 1;
}
.event-title {
    font-family: var(--font-names);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: normal;
}
.event-date {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.event-time {
    font-size: 1rem;
    margin-bottom: 20px;
}
.event-location-icon {
    margin-bottom: 10px;
}
.event-location-name {
    font-weight: 600;
    font-size: 1.1rem;
}
.event-address {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.9;
}
.btn-maps {
    border: 1px solid var(--white);
    color: var(--white);
    border-radius: 50px;
    padding: 8px 20px;
    background: transparent;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-maps:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

/* Wedding Gift */
/* Wedding Gift New Layout */
.gift-container {
    max-width: 500px;
    margin: 0 auto;
}
.bank-card {
    background-color: #eaeff0;
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}
.bank-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: normal;
}
.bank-logo-container {
    text-align: right;
    width: 100px;
}
.bank-logo {
    height: 25px;
    max-width: 100%;
    object-fit: contain;
}
.bank-divider {
    border: none;
    border-top: 2px solid #333;
    margin: 5px 0 0 0;
    width: 100%;
}
.card-body-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.card-icon {
    font-size: 2.5rem;
    color: #8da4a6;
    margin-bottom: 15px;
    margin-top: 5px;
}
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 130px;
}
.btn-bank {
    background-color: #8da4a6;
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}
.btn-bank:hover {
    background-color: #728c8e;
    color: var(--white);
}
.card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    justify-content: flex-end;
}
.bank-details-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.bank-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.bank-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.bank-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
}

/* Guestbook */
.guestbook-section {
    position: relative;
    padding: 30px 20px 20px 20px;
    height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.guestbook-container {
    background-color: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.comments-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.comments-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    text-align: left;
}
/* styling scrollbar for comment list */
.comments-list::-webkit-scrollbar {
    width: 6px;
}
.comments-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}
.comments-count {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    background-color: #fcfcfc;
}
.form-control:focus {
    border-color: var(--sage);
    outline: none;
    box-shadow: 0 0 0 2px rgba(123, 159, 164, 0.2);
}
.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}
.comment-avatar-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.comment-bubble {
    background-color: #f1f4f5;
    padding: 12px 15px;
    border-radius: 0 15px 15px 15px;
    max-width: 100%;
}
.comment-bubble .comment-name {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text-dark);
}
.comment-bubble .comment-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.4;
}
.comment-bubble .time {
    font-size: 0.7rem;
    color: #999;
}

/* Closing Section */
.closing-section {
    position: relative;
    min-height: 105svh;
    background-image: url('../images/couple.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
}
.closing-gradient-overlay {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0.8) 70%, rgba(255,255,255,1) 100%);
    width: 100%;
    padding: 80px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer {
    padding: 60px 20px 40px;
}
.footer-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--white);
}
.footer h3 {
    letter-spacing: 2px;
}
.footer .subtitle {
    font-size: 0.8rem;
    letter-spacing: 5px;
    margin-top: 5px;
    font-family: var(--font-body);
    font-style: normal;
}
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--white);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background-color: var(--white);
    color: var(--sage-dark);
}

/* Animations */
@keyframes spin-slow {
    100% { transform: rotate(360deg); }
}
[data-animate] {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="zoom-in"] { transform: scale(0.9); }
[data-animate="slide-left"] { transform: translateX(50px); }
[data-animate="slide-right"] { transform: translateX(-50px); }

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1) translateX(0);
}

[data-animate="slide-long-left"] .profile-avatar-wrapper,
[data-animate="slide-long-right"] .profile-avatar-wrapper {
    opacity: 0;
}

[data-animate="slide-long-left"].is-visible .profile-avatar-wrapper {
    animation: slideLongLeftAnim 2.5s cubic-bezier(0.25, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}
[data-animate="slide-long-right"].is-visible .profile-avatar-wrapper {
    animation: slideLongRightAnim 2.5s cubic-bezier(0.25, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes slideLongLeftAnim {
    0% { transform: translateX(100vw); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideLongRightAnim {
    0% { transform: translateX(-100vw); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Specific delays or overrides for cover elements if needed */
.cover-slide-in-left {
    display: inline-block;
    opacity: 0;
    animation: coverSlideInLeft 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.2s;
}
.cover-slide-in-right {
    display: inline-block;
    opacity: 0;
    animation: coverSlideInRight 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.2s;
}
.cover-fade-up-1 {
    opacity: 0;
    animation: coverFadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.5s;
}
.cover-fade-up-2 {
    opacity: 0;
    animation: coverFadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.7s;
}
.cover-fade-up-3 {
    opacity: 0;
    animation: coverFadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.9s;
}

@keyframes coverSlideInLeft {
    0% { opacity: 0; transform: translateX(-100vw); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes coverSlideInRight {
    0% { opacity: 0; transform: translateX(100vw); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes coverFadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Custom Toast */
.custom-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #ffffff;
    color: var(--text-dark);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    min-width: 280px;
}
.custom-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.custom-toast .toast-icon {
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 20px;
}
.custom-toast .toast-icon i {
    animation: checkmarkPopup 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes checkmarkPopup {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.custom-toast .toast-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}
