* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

:root {
    /* Invitation Pastel Colors */
    --pastel-pink: #FFB3D9;
    --pastel-purple: #D4B3FF;
    --pastel-blue: #B3E5FF;
    --pastel-green: #B3FFD4;
    --pastel-yellow: #FFF5B3;
    --soft-pink: #FFE5F0;
    --lavender: #E6D9FF;
    --sky-blue: #E5F5FF;
    --mint: #E5FFF5;
    --cream: #FFFBF0;
    --gold: #FFD700;
    --dark-purple: #8B7AA8;
    --text-dark: #6B5B7D;
}

body {
    font-family: 'Nunito', 'Comic Neue', sans-serif;
    background: linear-gradient(180deg, 
        var(--sky-blue) 0%, 
        var(--soft-pink) 25%, 
        var(--lavender) 50%, 
        var(--mint) 75%, 
        var(--cream) 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Password Modal */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: linear-gradient(135deg, 
        rgba(227, 250, 250, 0.98) 0%, 
        rgba(255, 227, 245, 0.95) 25%,
        rgba(227, 227, 255, 0.95) 50%,
        rgba(245, 255, 227, 0.95) 75%,
        rgba(255, 250, 227, 0.95) 100%);
    animation: fadeIn 0.5s ease-in;
    overflow-y: auto;
    overflow-x: hidden;
}

.password-modal.hidden {
    display: none;
}

.password-modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(227, 250, 250, 0.98) 0%, 
        rgba(255, 227, 245, 0.96) 25%,
        rgba(227, 227, 255, 0.96) 50%,
        rgba(245, 255, 227, 0.96) 75%,
        rgba(255, 250, 227, 0.98) 100%);
    z-index: -1;
    overflow: hidden;
}

/* Add subtle animated stars and hearts to password background */
.password-modal-background::before,
.password-modal-background::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 153, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(211, 211, 255, 0.3) 2px, transparent 2px);
    background-size: 200px 200px, 250px 250px, 180px 180px;
    background-position: 0 0, 100px 100px, 50px 150px;
    animation: subtleMove 20s infinite ease-in-out;
    opacity: 0.5;
}

.password-modal-background::after {
    animation-delay: -10s;
    background-image: 
        radial-gradient(circle at 60% 20%, rgba(255, 192, 203, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 30% 80%, rgba(255, 255, 204, 0.4) 3px, transparent 3px);
    background-size: 300px 300px, 220px 220px;
}

@keyframes subtleMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}

.password-modal-content {
    background: transparent;
    border-radius: 0;
    padding: 40px 25px;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.6s ease-out;
    box-sizing: border-box;
}

.password-elephant {
    margin-bottom: 30px;
    animation: elephant-float 3s ease-in-out infinite;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.password-elephant-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
}

.password-main-title {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink), var(--pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.password-welcome-message {
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.65;
    font-weight: 500;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.password-instruction {
    font-family: 'Comic Neue', cursive;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 35px;
    opacity: 0.9;
    font-style: italic;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

/* Password Options Container */
.password-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin: 30px auto 25px;
}

/* Password Option Buttons (RSVP and Check In) */
.password-option-button {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.95), rgba(221, 160, 221, 0.95), rgba(176, 224, 230, 0.95));
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-family: 'Balsamiq Sans', cursive;
    width: 100%;
    animation: fadeIn 0.6s ease-out;
}

.password-option-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 1);
}

.password-option-button:active {
    transform: translateY(-2px) scale(0.98);
}

.password-option-button .option-text {
    text-align: center;
    width: 100%;
}

.password-option-button .option-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.password-option-button .option-text p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    opacity: 0.9;
    font-family: 'Comic Neue', cursive;
}

/* Password Option Content (RSVP form or Check In) */
.password-option-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease-out;
}

.password-option-content.hidden {
    display: none;
}

/* Password Back Button */
.password-back-button {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(221, 160, 221, 0.5);
    border-radius: 50px;
    padding: 12px 24px;
    cursor: pointer;
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.password-back-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--pastel-purple);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.password-back-button:active {
    transform: translateX(-2px) scale(0.98);
}

/* Check In Main Button */
.check-in-main-button {
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple));
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 25px 50px;
    cursor: pointer;
    font-family: 'Balsamiq Sans', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 30px auto;
    display: block;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(221, 160, 221, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.check-in-main-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(221, 160, 221, 0.6);
    border-color: white;
}

.check-in-main-button:active {
    transform: scale(0.95);
    animation: none;
}

.check-in-main-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Check In Success Message */
.check-in-success {
    font-family: 'Comic Neue', cursive;
    font-size: 1.2rem;
    color: var(--pastel-green);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--pastel-green);
    border-radius: 20px;
    padding: 20px;
    margin: 25px auto 0;
    text-align: center;
    animation: fadeIn 0.5s ease-out, pulse 1s ease-in-out 0.5s;
    max-width: 90%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    line-height: 1.5;
}

.check-in-success.hidden {
    display: none;
}

.password-note {
    font-family: 'Comic Neue', cursive;
    font-size: 0.95rem;
    color: var(--pastel-purple);
    margin-top: 20px;
    opacity: 0.85;
    font-style: italic;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.password-title {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.password-subtitle {
    font-family: 'Comic Neue', cursive;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 35px;
    opacity: 0.9;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.password-input {
    font-family: 'Comic Neue', cursive;
    font-size: 1.2rem;
    padding: 18px 25px;
    border: 3px solid var(--pastel-purple);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.password-input:focus {
    border-color: var(--pastel-pink);
    box-shadow: 0 0 20px rgba(212, 179, 255, 0.4);
    transform: scale(1.02);
}

.password-input::placeholder {
    color: rgba(139, 122, 168, 0.5);
}

.password-input.error {
    border-color: #ff6b6b;
    animation: shake 0.5s ease-in-out;
}

.password-input.error:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

.password-button {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 20px 45px;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 179, 255, 0.4);
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.password-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 179, 255, 0.6);
}

.password-button:active {
    transform: translateY(-1px) scale(1.02);
}

.password-error {
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    color: #ff6b6b;
    min-height: 24px;
    margin-top: 10px;
    animation: shake 0.5s ease-in-out;
}

.password-error.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.main-content {
    min-height: 100vh;
    position: relative;
}

.main-content.hidden {
    display: none;
}

.event-section {
    min-height: 100vh;
    position: relative;
}

.event-section.hidden {
    display: none;
}

.event-back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.98);
    display: inline-flex !important;
    padding: 14px 24px;
    border-radius: 50px;
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    font-weight: 600;
    color: var(--pastel-purple);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(212, 179, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
}

.event-back-button:hover {
    transform: translateX(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
    border-color: var(--pastel-pink);
}

.event-back-button:active {
    transform: translateX(-1px) scale(0.98);
}

@media (max-width: 768px) {
    .event-back-button {
        top: 16px;
        left: 16px;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 50px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15),
                    0 2px 6px rgba(0, 0, 0, 0.1);
    }
    
    .event-back-button:active {
        transform: scale(0.96);
    }
    
    .password-modal-content {
        padding: 40px 25px;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        justify-content: center;
    }
    
    .password-main-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .password-welcome-message {
        font-size: 1.15rem;
        max-width: 95%;
        margin: 0 auto 15px;
    }

    .password-instruction {
        font-size: 0.95rem;
        max-width: 90%;
        margin: 0 auto 30px;
    }
    
    .password-elephant {
        margin-bottom: 25px;
    }
    
    .password-elephant-img {
        max-width: 180px;
    }
    
    .password-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 20px;
    }
    
    .password-note {
        font-size: 0.9rem;
        max-width: 90%;
        margin: 20px auto 0;
    }

    /* Mobile styles for password options */
    .password-options {
        gap: 15px;
        margin: 25px auto 20px;
        padding: 0 10px;
    }

    .password-option-button {
        padding: 20px 20px;
        border-radius: 20px;
    }

    .password-option-button .option-text h3 {
        font-size: 1.5rem;
    }

    .password-option-button .option-text p {
        font-size: 0.9rem;
    }

    .check-in-main-button {
        font-size: 1.6rem;
        padding: 20px 40px;
        max-width: 90%;
    }

    .check-in-success {
        font-size: 1.05rem;
        padding: 18px;
    }

    .password-back-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .password-title {
        font-size: 2rem;
    }
    
    .password-subtitle {
        font-size: 1rem;
    }
    
    .password-input {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .password-button {
        font-size: 1.1rem;
        padding: 18px 35px;
    }
    
    .password-elephant-img {
        max-width: 150px;
    }
}

/* Falling Stars Animation */
.falling-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Falling Pink Hearts Animation */
.falling-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--pastel-pink);
    transform: rotate(-45deg);
    animation: heart-fall linear infinite;
    box-shadow: 0 0 10px rgba(255, 179, 217, 0.6);
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--pastel-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 179, 217, 0.6);
}

.heart::before {
    top: -10px;
    left: 0;
}

.heart::after {
    left: 10px;
    top: 0;
}

/* Dynamic heart sizing */
.heart[style*="--heart-size"]::before,
.heart[style*="--heart-size"]::after {
    width: var(--heart-size, 20px);
    height: var(--heart-size, 20px);
}

.heart[style*="--heart-size"]::before {
    top: calc(var(--heart-size, 20px) * -0.5);
}

.heart[style*="--heart-size"]::after {
    left: calc(var(--heart-size, 20px) * 0.5);
}

@keyframes heart-fall {
    0% {
        transform: translateY(-100vh) translateX(0) rotate(-45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px) rotate(-45deg);
        opacity: 0;
    }
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: fall linear infinite;
    box-shadow: 0 0 10px var(--gold);
}

.star::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    top: -2px;
    left: -2px;
    opacity: 0.6;
    box-shadow: 0 0 15px var(--gold);
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Animated Elephants - Removed floating background elephants, keeping only top, middle, bottom */

/* Hero Section - Soft Mint Green Background */
.hero-section {
    background: linear-gradient(180deg, 
        rgba(227, 250, 250, 0.95) 0%, 
        rgba(230, 253, 253, 0.98) 50%, 
        rgba(235, 255, 255, 1) 100%);
    padding: 80px 40px 150px;
    text-align: center;
    position: relative;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Hero Elephant Wrapper */
.elephant-hero-wrapper {
    position: absolute;
    bottom: 10%;
    right: 8%;
    z-index: 3;
    text-align: center;
    animation: elephant-float 4s ease-in-out infinite;
}

.elephant-image-hero {
    max-width: 450px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 2;
}

/* Hero Balloons */
.hero-balloons {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1;
}

.hero-balloon {
    width: 35px;
    height: 45px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: balloon-float 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.hero-balloon::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: rgba(139, 122, 168, 0.3);
}

.balloon-pink {
    background: var(--pastel-pink);
    animation-delay: 0s;
}

.balloon-yellow {
    background: var(--pastel-yellow);
    animation-delay: 0.3s;
}

.balloon-purple {
    background: var(--pastel-purple);
    animation-delay: 0.6s;
}

.balloon-mint {
    background: var(--pastel-green);
    animation-delay: 0.9s;
}

@keyframes balloon-float {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Middle Elephant - Keep current size */
.elephant-image-modern {
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
}

/* Family Event Elephant Display in Left Column */
.family-elephant-display {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    z-index: 5;
    position: relative;
}

.elephant-image-family {
    max-width: 100%;
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.25));
    animation: elephant-float 4s ease-in-out infinite;
    display: block;
}

/* Bottom Elephant */
.elephant-bottom {
    position: relative;
    text-align: center;
    padding: 60px 40px 40px;
    background: var(--white);
    z-index: 2;
}

.elephant-image-bottom {
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
    animation: elephant-float 3s ease-in-out infinite;
}

/* Thank You Footer */
.thank-you-footer {
    position: relative;
    text-align: center;
    padding: 50px 40px 60px;
    background: linear-gradient(135deg, 
        rgba(255, 240, 250, 0.98), 
        rgba(230, 217, 255, 0.98),
        rgba(255, 240, 250, 0.98));
    z-index: 2;
    border-top: 2px solid rgba(212, 179, 255, 0.3);
}

.thank-you-text {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple), var(--pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.4;
    animation: title-pulse 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(212, 179, 255, 0.2);
}

/* Smiley Face Clouds */
.smiley-clouds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.smiley-cloud {
    position: absolute;
    width: 120px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    animation: cloud-float 20s linear forwards;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    will-change: transform;
    left: -250px; /* Always start from off-screen left */
}

.smiley-cloud::before,
.smiley-cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.smiley-cloud::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.smiley-cloud::after {
    width: 70px;
    height: 70px;
    top: -40px;
    right: 15px;
}

/* Smiley Face */
.smiley-cloud .face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 2;
}

.smiley-cloud .eye {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--pastel-purple);
    border-radius: 50%;
    top: 25px;
    animation: blink 4s infinite;
}

.smiley-cloud .eye.left {
    left: 30px;
}

.smiley-cloud .eye.right {
    right: 30px;
}

.smiley-cloud .mouth {
    position: absolute;
    width: 40px;
    height: 25px;
    border: 3px solid var(--pastel-pink);
    border-top: none;
    border-radius: 0 0 40px 40px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes cloud-float {
    0% {
        transform: translateX(calc(-250px)) translateY(var(--initial-y, 0px)) scale(0.8);
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 250px)) translateY(var(--final-y, -100px)) scale(1.2);
        opacity: 0;
    }
}

@keyframes blink {
    0%, 90%, 100% {
        height: 12px;
    }
    95% {
        height: 2px;
    }
}

/* Different cloud sizes and speeds */
.smiley-cloud.cloud-small {
    width: 80px;
    height: 55px;
    animation-duration: 15s;
}

.smiley-cloud.cloud-small::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 10px;
}

.smiley-cloud.cloud-small::after {
    width: 45px;
    height: 45px;
    top: -25px;
    right: 10px;
}

.smiley-cloud.cloud-small .eye {
    width: 8px;
    height: 8px;
    top: 15px;
}

.smiley-cloud.cloud-small .eye.left {
    left: 20px;
}

.smiley-cloud.cloud-small .eye.right {
    right: 20px;
}

.smiley-cloud.cloud-small .mouth {
    width: 25px;
    height: 18px;
    bottom: 12px;
    border-width: 2px;
}

.smiley-cloud.cloud-large {
    width: 160px;
    height: 110px;
    animation-duration: 25s;
}

.smiley-cloud.cloud-large::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 20px;
}

.smiley-cloud.cloud-large::after {
    width: 90px;
    height: 90px;
    top: -50px;
    right: 20px;
}

.smiley-cloud.cloud-large .eye {
    width: 16px;
    height: 16px;
    top: 35px;
}

.smiley-cloud.cloud-large .eye.left {
    left: 40px;
}

.smiley-cloud.cloud-large .eye.right {
    right: 40px;
}

.smiley-cloud.cloud-large .mouth {
    width: 55px;
    height: 35px;
    bottom: 28px;
    border-width: 4px;
}

.hero-content {
    max-width: 900px;
    z-index: 4;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: hero-fade-in 1s ease-out;
    text-align: center;
    margin-top: 40px;
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--dark-purple);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    animation: bounce-subtitle 2s ease-in-out infinite;
}

@keyframes bounce-subtitle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hero-title-main {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink), var(--pastel-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1.1;
    text-shadow: 4px 4px 8px rgba(255, 255, 255, 0.5);
    animation: title-pulse 3s ease-in-out infinite;
}

.hero-subtitle-paradise {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pastel-purple);
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    animation: subtitle-sway 3s ease-in-out infinite;
}

@keyframes subtitle-sway {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes title-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.hero-description {
    font-family: 'Comic Neue', cursive;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.rainbow-decoration {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 500px;
    height: 250px;
    z-index: 2;
    animation: rainbow-sway 5s ease-in-out infinite;
    opacity: 0.85;
}

.rainbow-decoration::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 500px 500px 0 0;
    background: linear-gradient(180deg,
        var(--pastel-pink) 0%,
        var(--pastel-yellow) 16.66%,
        var(--pastel-green) 33.33%,
        var(--pastel-blue) 50%,
        var(--pastel-purple) 66.66%,
        transparent 83.33%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@keyframes rainbow-sway {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

/* Wavy Dividers */
.wavy-divider-top,
.wavy-divider-bottom,
.wavy-divider-bottom-footer {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 10;
}

.wavy-divider-top {
    bottom: -1px;
}

.wavy-divider-bottom,
.wavy-divider-bottom-footer {
    top: -1px;
}

.wavy-divider-top svg,
.wavy-divider-bottom svg,
.wavy-divider-bottom-footer svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wavy-divider-left,
.wavy-divider-right {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

.wavy-divider-left {
    right: -1px;
}

.wavy-divider-right {
    left: -1px;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
    position: relative;
    background: var(--white);
    transition: all 0.4s ease;
}

.left-column {
    background: linear-gradient(135deg, var(--pastel-purple), var(--lavender));
    color: var(--white);
    padding: 60px 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.right-column {
    background: linear-gradient(135deg, var(--pastel-pink), var(--soft-pink));
    padding: 60px 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}

.column-content {
    max-width: 500px;
    z-index: 2;
}

.section-heading {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
    color: var(--pastel-yellow);
}

.left-column .section-heading {
    color: var(--pastel-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.center-heading {
    text-align: center;
    color: var(--pastel-purple);
}

.section-description {
    font-family: 'Comic Neue', cursive;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.right-column .section-description {
    color: var(--text-dark);
}

.feature-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.feature-btn {
    background: var(--pastel-yellow);
    border: 3px solid var(--white);
    color: var(--text-dark);
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Balsamiq Sans', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-btn:hover {
    background: var(--pastel-pink);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.how-to-order {
    margin-top: 40px;
}

/* Details Card */
.details-card-modern {
    background: var(--white);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    border: 4px solid var(--pastel-yellow);
    animation: card-float 3s ease-in-out infinite;
}

@keyframes card-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-title {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 2.5rem;
    color: var(--pastel-purple);
    margin-bottom: 35px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.detail-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--soft-pink), var(--lavender));
    border-radius: 15px;
    transition: all 0.3s ease;
}

.detail-item-modern:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.detail-icon-svg {
    width: 40px;
    height: 40px;
    color: var(--pastel-purple);
    flex-shrink: 0;
}

.detail-label {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.detail-value {
    font-family: 'Comic Neue', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.detail-subvalue {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 5px;
    opacity: 0.8;
}

/* Elephant Section */
.elephant-section-modern {
    text-align: center;
    margin-top: 40px;
}

.elephant-container {
    display: inline-block;
}

.elephant-image-modern {
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
}

.floating-elephant {
    animation: elephant-float 3s ease-in-out infinite;
}

@keyframes elephant-float {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

/* Activities Section */
.activities-section-modern {
    background: linear-gradient(180deg, var(--pastel-blue), var(--pastel-green));
    padding: 100px 40px;
    position: relative;
    transition: all 0.4s ease;
}

.activities-container {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.activities-intro {
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

/* For House event with 4 activities */
#houseEvent .activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.activity-card-modern {
    background: var(--white);
    border-radius: 25px;
    padding: 50px 35px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.activity-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bounce-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.bounce-card {
    animation: card-bounce 2s ease-in-out infinite;
}

@keyframes card-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.activity-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: icon-spin 4s linear infinite;
}

@keyframes icon-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.icon-pink {
    background: linear-gradient(135deg, var(--pastel-pink), var(--soft-pink));
}

.icon-purple {
    background: linear-gradient(135deg, var(--pastel-purple), var(--lavender));
}

.icon-blue {
    background: linear-gradient(135deg, var(--pastel-blue), var(--sky-blue));
}

.icon-yellow {
    background: linear-gradient(135deg, var(--pastel-yellow), var(--gold));
}

.activity-icon-svg {
    width: 50px;
    height: 50px;
    color: var(--white);
}

.activity-title {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 1.8rem;
    color: var(--pastel-purple);
    margin-bottom: 20px;
    font-weight: 700;
}

.activity-description {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
}

/* RSVP Section */
.rsvp-section-modern {
    background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-purple) 50%, var(--pastel-blue) 100%);
    padding: 120px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confetti-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: confetti-pulse 3s ease-in-out infinite;
}

@keyframes confetti-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.balloons-rsvp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.balloon-rsvp {
    position: absolute;
    width: 80px;
    height: 100px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: balloon-float 6s ease-in-out infinite;
}

.balloon-r1 {
    top: 10%;
    left: 10%;
    background: var(--pastel-pink);
    animation-delay: 0s;
}

.balloon-r2 {
    top: 20%;
    right: 15%;
    background: var(--pastel-yellow);
    animation-delay: 1s;
}

.balloon-r3 {
    bottom: 15%;
    left: 20%;
    background: var(--pastel-purple);
    animation-delay: 2s;
}

.balloon-r4 {
    bottom: 20%;
    right: 10%;
    background: var(--pastel-blue);
    animation-delay: 1.5s;
}

@keyframes balloon-float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-40px) rotate(5deg);
    }
}

.rsvp-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.rsvp-description-modern {
    font-family: 'Comic Neue', cursive;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 400;
}

.rsvp-button-modern {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--pastel-yellow), var(--gold));
    color: var(--text-dark);
    padding: 25px 55px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Balsamiq Sans', cursive;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 4px solid var(--pastel-pink);
    animation: button-pulse 2s ease-in-out infinite;
}

@keyframes button-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.rsvp-button-modern:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, var(--gold), var(--pastel-yellow));
}

.rsvp-icon {
    width: 28px;
    height: 28px;
}

.rsvp-note-modern {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-style: italic;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 968px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .wavy-divider-left,
    .wavy-divider-right {
        display: none;
    }

    .left-column,
    .right-column {
        padding: 50px 30px;
    }

    .feature-buttons {
        grid-template-columns: 1fr;
    }

}

/* Tablet and Mobile - iPad and smaller */
@media (max-width: 1024px) {
    .hero-section {
        padding: 50px 30px 100px;
        min-height: 550px;
    }

    .hero-title-main {
        font-size: 4.5rem;
    }

    .hero-subtitle-paradise {
        font-size: 2rem;
    }

    .elephant-hero-wrapper {
        bottom: 8%;
        right: 5%;
    }

    .elephant-image-hero {
        max-width: 320px;
    }

    .rainbow-decoration {
        width: 400px;
        height: 200px;
        top: 5%;
        left: 5%;
    }

    .hero-balloons {
        top: -70px;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    /* Modern Mobile-First Design */
    body {
        overflow-x: hidden;
    }

    /* Hero Section - Modern Mobile Layout */
    .hero-section {
        padding: 40px 20px 80px;
        min-height: auto;
        border-radius: 0;
        background: linear-gradient(180deg, 
            rgba(227, 250, 250, 0.98) 0%, 
            rgba(255, 240, 250, 0.95) 50%,
            rgba(240, 248, 255, 0.98) 100%);
        position: relative;
        overflow: hidden;
    }

    .hero-content {
        position: relative;
        z-index: 10;
        text-align: center;
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
        order: 2;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--pastel-purple);
        margin-bottom: 15px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        opacity: 0.9;
    }

    .hero-title-main {
        font-size: 3.2rem;
        line-height: 1.15;
        margin-bottom: 12px;
        background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple), var(--pastel-blue));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
        letter-spacing: -1px;
    }

    .hero-subtitle-paradise {
        font-size: 1.4rem;
        color: var(--pastel-purple);
        margin-bottom: 25px;
        font-weight: 600;
        opacity: 0.95;
    }

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.6;
        color: var(--text-dark);
        opacity: 0.9;
        margin: 0 auto 30px;
        max-width: 90%;
        font-weight: 400;
    }

    /* Hero Section Layout Reorder for Mobile */
    .hero-section {
        flex-direction: column;
        gap: 0;
    }

    /* Elephant Hero - Modern Centered Layout */
    .elephant-hero-wrapper {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 0 auto 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        order: 1;
    }

    .elephant-image-hero {
        max-width: 220px;
        width: 100%;
        height: auto;
        margin: 0 auto;
        filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.12));
    }

    .hero-balloons {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 20px;
        gap: 10px;
        justify-content: center;
    }

    .hero-balloon {
        width: 32px;
        height: 42px;
    }

    .rainbow-decoration {
        width: 280px;
        height: 140px;
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0.7;
    }

    /* Two Column Layout - Modern Stacked Cards */
    .two-column-layout {
        border-radius: 0;
        margin-top: 0;
        padding-top: 0;
        box-shadow: none;
        overflow: visible;
        background: transparent;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .left-column,
    .right-column {
        border-radius: 24px;
        margin: 0;
        padding: 35px 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
                    0 2px 10px rgba(0, 0, 0, 0.04);
        transform: translateY(0);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .left-column {
        background: linear-gradient(135deg, 
            rgba(212, 179, 255, 0.95), 
            rgba(230, 217, 255, 0.98));
    }

    .right-column {
        background: linear-gradient(135deg, 
            rgba(255, 179, 217, 0.95), 
            rgba(255, 225, 240, 0.98));
    }

    /* Family Elephant in Left Column - Mobile */
    .family-elephant-display {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        z-index: 5;
        position: relative;
    }

    .elephant-image-family {
        max-width: 100%;
        width: 100%;
        max-width: 350px;
        height: auto;
        filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
        display: block !important;
        visibility: visible !important;
    }

    .left-column:active,
    .right-column:active {
        transform: translateY(-3px) scale(0.98);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12),
                    0 4px 15px rgba(0, 0, 0, 0.06);
    }

    .activities-section-modern {
        border-radius: 30px 30px 0 0;
        margin-top: -20px;
        padding-top: 40px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
    }

    .activity-card-modern {
        border-radius: 25px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transform: translateY(0);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .activity-card-modern:active {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }

    .rsvp-section-modern {
        border-radius: 30px 30px 0 0;
        margin-top: -20px;
        padding-top: 40px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
    }

    .details-card-modern {
        border-radius: 25px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        transform: translateY(0);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .details-card-modern:active {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    }

    /* Smooth wavy divider transitions */
    .wavy-divider-top,
    .wavy-divider-bottom,
    .wavy-divider-bottom-footer {
        height: 80px;
        opacity: 0.95;
    }


    .section-heading {
        font-size: 1.9rem;
        line-height: 1.3;
        margin-bottom: 20px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .section-description {
        font-size: 1.05rem;
        line-height: 1.7;
        opacity: 0.95;
        margin-bottom: 25px;
    }

    .column-content {
        max-width: 100%;
    }

    /* Feature Buttons - Modern Mobile Design */
    .feature-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 25px 0;
    }

    .feature-btn {
        padding: 14px 18px;
        font-size: 0.95rem;
        border-radius: 16px;
        font-weight: 600;
        border: 2px solid rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(10px);
        transition: all 0.2s ease;
    }

    .feature-btn:active {
        transform: scale(0.96);
        background: rgba(255, 255, 255, 0.6);
    }

    /* Details Card - Modern Design */
    .details-card-modern {
        padding: 28px 22px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1),
                    0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
    }

    .card-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .detail-items {
        gap: 18px;
    }

    .detail-item-modern {
        padding: 16px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.8);
    }

    .detail-label {
        font-size: 0.85rem;
        opacity: 0.8;
        margin-bottom: 6px;
    }

    .detail-value {
        font-size: 1.1rem;
        font-weight: 600;
    }

    /* Activities Section - Modern Mobile */
    .activities-section-modern {
        padding: 50px 20px;
        border-radius: 0;
        margin-top: 0;
        padding-top: 50px;
        background: linear-gradient(180deg, 
            rgba(179, 229, 255, 0.95), 
            rgba(179, 255, 212, 0.98));
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }

    .activity-card-modern {
        padding: 28px 22px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                    0 3px 12px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .activity-card-modern:active {
        transform: translateY(-4px) scale(0.98);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15),
                    0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .activity-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .activity-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* RSVP Section - Modern Mobile */
    .rsvp-section-modern {
        padding: 60px 20px;
        min-height: auto;
        border-radius: 0;
        margin-top: 0;
        padding-top: 60px;
        background: linear-gradient(135deg, 
            rgba(255, 179, 217, 0.95), 
            rgba(255, 240, 250, 0.98));
    }

    .rsvp-content {
        max-width: 100%;
    }

    .rsvp-description-modern {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 30px;
        opacity: 0.95;
    }

    .rsvp-button-modern {
        padding: 18px 36px;
        font-size: 1.15rem;
        border-radius: 50px;
        box-shadow: 0 8px 25px rgba(212, 179, 255, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }

    .rsvp-button-modern:active {
        transform: translateY(-2px) scale(0.98);
        box-shadow: 0 12px 35px rgba(212, 179, 255, 0.5);
    }

    /* Reduce cloud count on mobile for performance */
    .smiley-clouds-container {
        opacity: 0.8;
    }

    /* Optimize animations for mobile */
    .smiley-cloud {
        animation-duration: 15s;
    }

    .smiley-cloud.cloud-large {
        animation-duration: 18s;
    }

    .smiley-cloud.cloud-small {
        animation-duration: 12s;
    }
}

/* Mobile phones - small screens */
@media (max-width: 480px) {
    /* Ultra-Modern Small Mobile Design */
    .hero-section {
        padding: 35px 18px 60px;
        min-height: auto;
    }

    .hero-title-main {
        font-size: 2.8rem;
        line-height: 1.15;
        letter-spacing: -0.8px;
    }

    .hero-subtitle-paradise {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.8px;
    }

    .hero-description {
        font-size: 0.98rem;
        line-height: 1.65;
        max-width: 95%;
    }

    .elephant-image-hero {
        max-width: 180px;
    }

    .rainbow-decoration {
        width: 240px;
        height: 120px;
        top: 5%;
        opacity: 0.6;
    }

    .two-column-layout {
        padding: 25px 18px;
        gap: 18px;
    }

    .left-column,
    .right-column {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .section-heading {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.65;
    }

    .feature-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: 14px;
    }

    .details-card-modern {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .card-title {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }

    .detail-item-modern {
        padding: 14px;
        border-radius: 14px;
    }

    .detail-value {
        font-size: 1.05rem;
    }

    .activities-section-modern {
        padding: 45px 18px;
    }

    .activities-grid {
        gap: 16px;
    }

    .activity-card-modern {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .activity-title {
        font-size: 1.3rem;
    }

    .rsvp-section-modern {
        padding: 50px 18px;
    }

    .rsvp-button-modern {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .wavy-divider-top,
    .wavy-divider-bottom,
    .wavy-divider-bottom-footer {
        height: 50px;
    }

    .elephant-hero-wrapper {
        margin: 20px auto;
    }

    .elephant-image-hero {
        max-width: 200px;
    }

    .rainbow-decoration {
        width: 250px;
        height: 125px;
        top: 2%;
    }

    .hero-balloons {
        top: -40px;
        gap: 6px;
    }

    .hero-balloon {
        width: 20px;
        height: 28px;
    }

    .hero-balloon::after {
        height: 20px;
        bottom: -20px;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .card-title {
        font-size: 2rem;
    }

    .left-column,
    .right-column {
        padding: 30px 20px;
        min-height: 350px;
    }

    /* Family Elephant Mobile */
    .family-elephant-display {
        padding: 15px;
        width: 100%;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .elephant-image-family {
        max-width: 280px !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        visibility: visible !important;
    }

    .details-card-modern {
        padding: 30px 20px;
    }

    .detail-item-modern {
        padding: 15px;
        gap: 15px;
    }

    .detail-icon-svg {
        width: 32px;
        height: 32px;
    }

    .detail-value {
        font-size: 1.1rem;
    }

    .activities-section-modern {
        padding: 50px 20px;
    }

    .activity-card-modern {
        padding: 30px 25px;
    }

    .activity-title {
        font-size: 1.5rem;
    }

    .activity-description {
        font-size: 1rem;
    }

    .rsvp-section-modern {
        padding: 60px 20px;
        min-height: 400px;
    }

    .rsvp-description-modern {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .rsvp-button-modern {
        padding: 18px 35px;
        font-size: 1.1rem;
    }

    .rsvp-note-modern {
        font-size: 0.95rem;
    }

    /* Further optimize clouds on small mobile */
    .smiley-cloud {
        width: 80px;
        height: 55px;
    }

    .smiley-cloud.cloud-large {
        width: 100px;
        height: 70px;
    }

    .smiley-cloud.cloud-small {
        width: 60px;
        height: 40px;
    }

    /* Reduce animation complexity for better performance */
    .floating-elephant {
        animation-duration: 4s;
    }

    .elephant-bottom {
        padding: 40px 20px 30px;
    }

    .elephant-image-bottom {
        max-width: 200px;
    }

    /* Thank You Footer Mobile */
    .thank-you-footer {
        padding: 40px 20px 50px;
    }

    .thank-you-text {
        font-size: 1.4rem;
        line-height: 1.5;
        padding: 0 10px;
    }
}

/* Small Mobile - Extra Optimizations */
@media (max-width: 480px) {
    .thank-you-footer {
        padding: 35px 15px 45px;
    }

    .thank-you-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 400px;
        padding: 30px 20px 80px;
    }

    .hero-title-main {
        font-size: 3rem;
    }

    .elephant-image-hero {
        max-width: 200px;
    }

    .rainbow-decoration {
        width: 250px;
        height: 125px;
    }
}

/* RSVP Modal Styles */
.rsvp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in;
}

.rsvp-modal.hidden {
    display: none;
}

.rsvp-modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.rsvp-modal-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 4px solid var(--pastel-pink);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

.rsvp-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--pastel-purple);
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.rsvp-modal-close:hover {
    background: rgba(212, 179, 255, 0.2);
    transform: rotate(90deg);
}

.rsvp-modal-title {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-align: center;
}

.rsvp-modal-subtitle {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 35px;
    text-align: center;
    opacity: 0.9;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    padding: 15px 20px;
    border: 3px solid var(--pastel-purple);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--pastel-pink);
    box-shadow: 0 0 20px rgba(212, 179, 255, 0.4);
    transform: scale(1.01);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Comic Neue', cursive;
}

/* Children's Names Container */
.children-names-container {
    margin-bottom: 20px;
    animation: fadeIn 0.4s ease-out;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.children-names-container.hidden {
    display: none;
}

.children-names-label {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: block;
    text-align: left;
}

.children-names-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.children-name-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.children-name-field-group label {
    font-family: 'Comic Neue', cursive;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    opacity: 0.9;
    text-align: left;
}

.children-name-input {
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    padding: 14px 20px;
    border: 2px solid var(--pastel-purple);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.children-name-input:focus {
    border-color: var(--pastel-pink);
    box-shadow: 0 0 18px rgba(255, 182, 193, 0.35);
    transform: scale(1.01);
}

.children-name-input::placeholder {
    color: rgba(139, 122, 168, 0.5);
    font-style: italic;
}

.rsvp-submit-button {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 179, 255, 0.4);
}

.rsvp-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 179, 255, 0.6);
}

.rsvp-submit-button:active {
    transform: translateY(-1px);
}

.rsvp-success {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    color: #10b981;
    text-align: center;
    padding: 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    border-radius: 15px;
    margin-top: 20px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.rsvp-error {
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    color: #ff6b6b;
    text-align: center;
    margin-top: 10px;
    min-height: 20px;
    display: block;
    padding: 12px;
    background: rgba(255, 107, 107, 0.15);
    border: 2px solid #ff6b6b;
    border-radius: 10px;
    font-weight: 600;
}

.rsvp-success.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.rsvp-error:empty,
.rsvp-error[style*="display: none"] {
    display: none !important;
}

.rsvp-success:not(.hidden) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile RSVP Modal - Modern Full-Screen Design */
@media (max-width: 768px) {
    .rsvp-modal {
        padding: 0;
    }

    .rsvp-modal-content {
        padding: 50px 25px 30px;
        max-width: 100%;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(255, 240, 250, 0.95) 100%);
        box-shadow: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rsvp-modal-close {
        top: 15px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 2rem;
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid var(--pastel-pink);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .rsvp-modal-close:active {
        transform: scale(0.95) rotate(90deg);
        background: rgba(255, 255, 255, 1);
    }

    .rsvp-modal-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
        margin-top: 10px;
    }

    .rsvp-modal-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .rsvp-form {
        gap: 20px;
        width: 100%;
    }

    .form-group {
        gap: 8px;
    }

    .form-group label {
        font-size: 1rem;
        font-weight: 600;
        text-align: left;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 16px 20px;
        border-radius: 18px;
        border: 2px solid var(--pastel-purple);
        background: rgba(255, 255, 255, 0.95);
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Mobile styles for children's names fields */
    .children-names-container {
        gap: 10px;
        margin-bottom: 18px;
    }
    
    .children-names-label {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .children-names-fields {
        gap: 12px;
    }
    
    .children-name-field-group {
        gap: 6px;
    }
    
    .children-name-field-group label {
        font-size: 0.9rem;
    }
    
    .children-name-input {
        font-size: 0.95rem;
        padding: 12px 18px;
        border-radius: 18px;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--pastel-pink);
        box-shadow: 0 0 0 4px rgba(212, 179, 255, 0.2);
        transform: none;
        background: rgba(255, 255, 255, 1);
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    .rsvp-submit-button {
        font-size: 1.15rem;
        padding: 18px 40px;
        width: 100%;
        max-width: 100%;
        border-radius: 50px;
        margin-top: 15px;
        box-shadow: 0 8px 25px rgba(212, 179, 255, 0.4);
    }

    .rsvp-submit-button:active {
        transform: scale(0.98);
        box-shadow: 0 6px 20px rgba(212, 179, 255, 0.5);
    }

    .rsvp-success,
    .rsvp-error {
        font-size: 1rem;
        margin-top: 15px;
        padding: 12px 18px;
        border-radius: 12px;
    }
}

/* Small Mobile - Extra Optimizations */
@media (max-width: 480px) {
    .rsvp-modal-content {
        padding: 45px 20px 25px;
    }

    .rsvp-modal-title {
        font-size: 1.9rem;
    }

    .rsvp-modal-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 14px 18px;
        border-radius: 16px;
    }

    .rsvp-submit-button {
        font-size: 1.05rem;
        padding: 16px 35px;
    }
}
