:root {
    --primary-pink: #ffb6c1;
    --secondary-pink: #ff69b4;
    --bg-pink: #fff0f5;
    --text-color: #333;
    --white: #fff;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-pink);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Dancing Script', cursive;
    color: var(--secondary-pink);
    margin-bottom: 0.5rem;
}

p {
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Curtain Loading Animation */
.curtain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    pointer-events: auto; /* Allow tapping */
    cursor: pointer;
    overflow: hidden;
}

.cloud-curtain {
    position: absolute;
    top: -20vh;
    left: 0;
    width: 100%;
    height: 120vh;
    /* Fluffy pink/white cloud gradient */
    background: radial-gradient(circle at center, #ffffff 40%, #ffebf0 100%);
    filter: url('#fluffy') drop-shadow(0 15px 30px rgba(255, 105, 180, 0.3));
    transition: transform 2s cubic-bezier(0.8, 0, 0.2, 1);
    z-index: 2;
}

/* Fluffy 3D clouds filling the screen */
.puff {
    position: absolute;
    /* Soft 3D lighting for each puff */
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #ffebf0 80%, #ffd1dc 100%);
    border-radius: 50%;
    filter: drop-shadow(0 10px 15px rgba(255, 105, 180, 0.15));
}

/* Bottom edge puffs (1-5) */
.puff:nth-child(1) { left: -5vw; bottom: -10vw; width: 35vw; height: 35vw; }
.puff:nth-child(2) { left: 20vw; bottom: -8vw; width: 25vw; height: 25vw; }
.puff:nth-child(3) { left: 35vw; bottom: -12vw; width: 45vw; height: 45vw; }
.puff:nth-child(4) { left: 65vw; bottom: -6vw; width: 30vw; height: 30vw; }
.puff:nth-child(5) { left: 85vw; bottom: -10vw; width: 25vw; height: 25vw; }

/* Mid/Upper screen puffs to fill the sky (6-20) */
.puff:nth-child(6) { left: 10vw; top: 10vh; width: 40vw; height: 40vw; }
.puff:nth-child(7) { left: 50vw; top: 5vh; width: 50vw; height: 50vw; }
.puff:nth-child(8) { left: -15vw; top: 30vh; width: 45vw; height: 45vw; }
.puff:nth-child(9) { left: 30vw; top: 25vh; width: 35vw; height: 35vw; }
.puff:nth-child(10) { left: 70vw; top: 35vh; width: 40vw; height: 40vw; }
.puff:nth-child(11) { left: 5vw; top: 55vh; width: 35vw; height: 35vw; }
.puff:nth-child(12) { left: 45vw; top: 50vh; width: 45vw; height: 45vw; }
.puff:nth-child(13) { left: 80vw; top: 60vh; width: 30vw; height: 30vw; }
.puff:nth-child(14) { left: 25vw; top: 70vh; width: 30vw; height: 30vw; }
.puff:nth-child(15) { left: 60vw; top: 75vh; width: 35vw; height: 35vw; }
.puff:nth-child(16) { left: -10vw; top: 80vh; width: 25vw; height: 25vw; }
.puff:nth-child(17) { left: 85vw; top: 15vh; width: 25vw; height: 25vw; }
.puff:nth-child(18) { left: 40vw; top: 85vh; width: 20vw; height: 20vw; }
.puff:nth-child(19) { left: 15vw; top: -10vh; width: 30vw; height: 30vw; }
.puff:nth-child(20) { left: 65vw; top: -5vh; width: 35vw; height: 35vw; }

/* Open states */
.curtain-container.open .cloud-curtain {
    animation: flyUpClouds 2.5s cubic-bezier(0.5, 0, 0.2, 1) forwards !important;
}

.curtain-container.open .curtain-content {
    animation: flyUpText 2.5s cubic-bezier(0.5, 0, 0.2, 1) forwards !important;
}

@keyframes flyUpClouds {
    to { transform: translateY(-130vh); }
}

@keyframes flyUpText {
    to { transform: translate(-50%, -180vh); }
}

.cloud-curtain {
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.curtain-content {
    position: absolute;
    left: 50vw;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    transition: transform 2s cubic-bezier(0.8, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90vw;
    animation: floatText 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes floatText {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}

.invite-text {
    font-size: 1.4rem;
    color: #777;
    margin-bottom: -10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.name-text {
    font-family: 'Dancing Script', cursive;
    font-size: 6rem;
    color: var(--secondary-pink);
    margin: 10px 0;
    text-shadow: 2px 2px 0px #fff, 4px 4px 15px rgba(255, 105, 180, 0.4);
    line-height: 1.1;
}

.event-text {
    font-size: 2.2rem;
    color: #777;
    margin-top: 0px;
    font-family: 'Dancing Script', cursive;
    letter-spacing: 2px;
}

.tap-text {
    margin-top: 50px;
    font-size: 1.2rem;
    color: var(--secondary-pink);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}



.curtain-container.open .curtain-content {
    opacity: 0;
}


/* Feather Container */
#feather-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.feather {
    position: absolute;
    top: -50px;
    z-index: 1;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1));
    /* Animation will be set in JS */
}

/* Pure CSS Feather Shape */
.feather-css {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(255,255,255,1) 0%, rgba(240,240,240,0.8) 100%);
    /* Creates a leaf/feather shape */
    border-radius: 100% 0 100% 0;
    box-shadow: inset -2px -2px 6px rgba(0,0,0,0.03), inset 2px 2px 6px rgba(255,255,255,0.8);
    position: relative;
    /* Angle it so it sits vertically pointing up/down */
    transform: rotate(-45deg);
}

/* Feather Stem/Quill */
.feather-css::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -15%;
    width: 140%;
    height: 2px;
    background: linear-gradient(to top right, rgba(200,200,200,0.8), rgba(255,255,255,0.2));
    transform: rotate(-45deg);
    transform-origin: bottom left;
    border-radius: 2px;
}

/* Realistic swaying falling animations */
@keyframes fall-1 {
    0% { transform: translate(0, -10vh) rotate(0deg); }
    25% { transform: translate(40px, 20vh) rotate(15deg); }
    50% { transform: translate(-20px, 50vh) rotate(-10deg); }
    75% { transform: translate(30px, 80vh) rotate(12deg); }
    100% { transform: translate(-10px, 110vh) rotate(-5deg); }
}

@keyframes fall-2 {
    0% { transform: translate(0, -10vh) rotate(0deg); }
    33% { transform: translate(-50px, 30vh) rotate(-20deg); }
    66% { transform: translate(40px, 70vh) rotate(18deg); }
    100% { transform: translate(-20px, 110vh) rotate(-8deg); }
}

@keyframes fall-3 {
    0% { transform: translate(0, -10vh) rotate(0deg); }
    20% { transform: translate(20px, 15vh) rotate(8deg); }
    40% { transform: translate(-30px, 40vh) rotate(-15deg); }
    60% { transform: translate(40px, 65vh) rotate(18deg); }
    80% { transform: translate(-15px, 90vh) rotate(-5deg); }
    100% { transform: translate(10px, 110vh) rotate(5deg); }
}

/* --- Background Clouds --- */
.clouds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Behind hero-content which is z-index: 2 */
    pointer-events: none;
}

.cloud {
    background: #ffffff;
    width: 300px; 
    height: 100px;
    border-radius: 100px;
    position: absolute;
    /* Soft pink drop-shadow */
    filter: drop-shadow(0 15px 15px rgba(255, 105, 180, 0.15));
}

.cloud::after, .cloud::before {
    content: '';
    position: absolute;
    background: #ffffff;
    z-index: -1;
}

.cloud::after {
    width: 100px; 
    height: 100px;
    top: -40px; 
    left: 40px;
    border-radius: 50%;
}

.cloud::before {
    width: 140px; 
    height: 140px;
    top: -70px; 
    right: 40px;
    border-radius: 50%;
}

@keyframes drift {
    0% { transform: translateX(-400px) scale(var(--scale, 1)); }
    100% { transform: translateX(100vw) scale(var(--scale, 1)); }
}

.cloud-1 { top: 5%; left: 0; --scale: 0.6; animation: drift 45s linear infinite; opacity: 0.8; }
.cloud-2 { top: 25%; left: 0; --scale: 0.9; animation: drift 65s linear infinite; animation-delay: -25s; opacity: 0.9; }
.cloud-3 { top: 55%; left: 0; --scale: 0.7; animation: drift 55s linear infinite; animation-delay: -10s; opacity: 0.7; }
.cloud-4 { top: 75%; left: 0; --scale: 0.4; animation: drift 40s linear infinite; animation-delay: -35s; opacity: 0.6; }
.cloud-5 { top: 15%; left: 0; --scale: 0.5; animation: drift 50s linear infinite; animation-delay: -15s; opacity: 0.8; }
.cloud-6 { top: 40%; left: 0; --scale: 0.8; animation: drift 70s linear infinite; animation-delay: -45s; opacity: 0.7; }
.cloud-7 { top: 65%; left: 0; --scale: 0.6; animation: drift 48s linear infinite; animation-delay: -20s; opacity: 0.9; }
.cloud-8 { top: 85%; left: 0; --scale: 0.5; animation: drift 35s linear infinite; animation-delay: -5s; opacity: 0.5; }

/* Hero Section */
.hero {
    position: relative;
    /* z-index removed to avoid creating a new stacking context */
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(255,182,193,0.3), rgba(255,240,245,1));
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 2; /* Foreground */
    animation: fadeUp 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 20px;
}

.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 5.5rem;
    color: var(--secondary-pink);
    margin: 0;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 105, 180, 0.2);
    line-height: 1.1;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-pink);
    margin: 30px auto;
    border-radius: 2px;
    opacity: 0.6;
}

.countdown {
    position: relative;
    z-index: 2;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.15);
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-val {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-pink);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.time-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.rsvp-btn {
    display: block;
    margin: 40px auto 0;
    padding: 15px 45px;
    background: linear-gradient(135deg, var(--secondary-pink), var(--primary-pink));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rsvp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 105, 180, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--secondary-pink);
    font-weight: 500;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.arrow-down {
    width: 15px;
    height: 15px;
    border-right: 3px solid var(--secondary-pink);
    border-bottom: 3px solid var(--secondary-pink);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}

/* Marquee Section */
.marquee-section {
    position: relative;
    /* z-index removed */
    padding: 50px 0;
    overflow: hidden;
}

.section-title {
    position: relative;
    z-index: 2; /* Keep above any floating clouds/feathers */
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.marquee-content {
    position: relative;
    z-index: 2; /* Foreground */
    display: inline-flex;
    align-items: center;
    will-change: transform;
}

.marquee-content img {
    height: 300px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    border-radius: 10px;
    margin: 0 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, filter 0.4s ease;
    cursor: pointer;
    /* Default state is slightly dimmed */
    filter: brightness(0.7); 
    transform: scale(0.9);
}

/* Highlight the center image or hovered/tapped image */
.marquee-content img.highlight,
.marquee-content img:hover {
    transform: scale(1.15);
    z-index: 10;
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.6);
}

/* Family & Godparents Section */
.family-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 2; /* Keep above feathers/clouds */
}

.family-list {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.family-list p {
    margin: 5px 0;
}

.godparents-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 20px;
    font-size: 1.1rem;
    text-align: left;
}

.godparent-column {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-width: 250px;
}

.godparent-column h3 {
    font-family: 'Dancing Script', cursive;
    color: var(--secondary-pink);
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.godparents-grid ul {
    list-style: none;
    padding: 0;
}

.godparents-grid li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.godparents-grid li::before {
    content: '♥';
    color: var(--secondary-pink);
    position: absolute;
    left: 0;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 20px;
    text-align: center;
}

.timeline-section h2 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-pink);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    z-index: 2; /* Foreground */
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    /* Scroll Reveal Initial State */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.timeline-item.visible {
    /* Scroll Reveal End State */
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--secondary-pink);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 0;
    background-color: var(--white);
    position: relative;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.15);
    overflow: hidden; /* Clip image to rounded corners */
}

.timeline-content img {
    width: 100%;
    height: auto;
    display: block; /* Remove inline bottom gap */
    transition: transform 0.4s ease;
}

.timeline-content:hover img {
    transform: scale(1.05); /* Slight zoom on hover for a nice effect */
}

.timeline-content h3 {
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white overlay */
    padding: 12px 0;
    font-size: 1.8rem;
    color: var(--secondary-pink);
    text-align: center;
    backdrop-filter: blur(4px); /* Extra modern touch */
}

/* Location Section */
.location-section {
    padding: 80px 20px;

    text-align: center;
}

.location-section h2, .location-section p {
    position: relative;
    z-index: 2; /* Foreground */
}

.location-section h2 {
    font-size: 3rem;
}

.map-container {
    position: relative;
    z-index: 2; /* Foreground */
    max-width: 800px;
    margin: 30px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* RSVP Section */
.rsvp-section {
    padding: 80px 20px;
    text-align: center;
  
    color: var(--primary-pink);
}

.rsvp-section h2, .rsvp-section p {
    position: relative;
    z-index: 2; /* Foreground */
}

.rsvp-section h2 {
    font-size: 3rem;
    color: var(--secondary-pink);
}

.rsvp-form {
    position: relative;
    z-index: 2; /* Foreground */
    max-width: 400px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsvp-form input[type="text"],
.rsvp-form textarea {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.rsvp-status {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.rsvp-status label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rsvp-form button {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: var(--secondary-pink);
    color: var(--white);
    font-size: 1.2rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rsvp-form button:hover {
    background-color: #d85096;
}

.public-board {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: left;
}

.public-board h3 {
    text-align: center;
    color: var(--secondary-pink);
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.rsvp-list {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsvp-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.rsvp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rsvp-item h4 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
}

.rsvp-item .status {
    font-size: 0.9rem;
    font-weight: 400;
    padding: 2px 8px;
    border-radius: 10px;
}
.status.yes { background-color: #e6f7e6; color: #2e7d32; }
.status.no { background-color: #ffebee; color: #c62828; }

.rsvp-item p {
    margin: 5px 0 0 0;
    font-size: 0.95rem;
    color: #666;
}

/* Footer */
footer {
    position: relative;
    z-index: 2; /* Foreground */
    text-align: center;
    padding: 20px;
  
    color: var(--white);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 90%;
    width: 400px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--secondary-pink);
    margin: 0 0 10px 0;
}

.modal-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.close-btn {
    padding: 10px 30px;
    background-color: var(--secondary-pink);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: #d85096;
}

/* Responsive */
@media screen and (max-width: 768px) {
    /* General Typography */
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    /* Hero / Curtain Texts */
    .name-text {
        font-size: 3.5rem;
    }
    .main-title {
        font-size: 3rem;
    }
    .subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    .event-text {
        font-size: 1.5rem;
    }
    .invite-text {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .tap-text {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    /* Countdown */
    .countdown {
        gap: 10px;
        flex-wrap: wrap;
    }
    .time-box {
        width: 70px;
        height: 70px;
    }
    .time-val {
        font-size: 1.8rem;
    }
    .time-label {
        font-size: 0.7rem;
    }

    /* Marquee */
    .marquee-content img {
        height: 220px;
        margin: 0 10px;
    }
    .marquee-content img.highlight,
    .marquee-content img:hover {
        transform: scale(1.1);
    }

    /* Godparents */
    .godparents-grid {
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }
    .godparent-column {
        width: 100%;
        max-width: 350px;
        padding: 20px;
    }

    /* Timeline */
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    .timeline-item::after {
        left: 21px;
        right: auto;
    }
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }

    /* RSVP & Board */
    .rsvp-section h2 {
        font-size: 2.5rem;
    }
    .rsvp-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-left: 10px;
    }
    .public-board {
        padding: 20px 15px;
        margin-top: 30px;
    }
    .public-board h3 {
        font-size: 2rem;
    }
    
    /* Modal */
    .modal-content {
        padding: 30px 20px;
    }
    .modal-content h3 {
        font-size: 2.2rem;
    }
}

/* ========================================= */
/* --- NEW ELEGANT DATE OVERRIDE STYLES ---  */
/* ========================================= */

.event-details {
    position: relative;
    z-index: 2;
    margin-top: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.15);
    display: inline-block;
}

.event-date {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--secondary-pink);
    line-height: 1.2;
}

.event-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    font-weight: 600;
}

/* Hide the old countdown just in case it's still in the HTML */
.countdown {
    display: none !important;
}

/* Mobile Responsiveness for the New Date */
@media screen and (max-width: 768px) {
    .event-details {
        padding: 15px 20px;
    }
    .event-date {
        font-size: 2.2rem;
    }
    .event-time {
        font-size: 0.85rem;
    }
}
