/* ========================================
   WEDDING INVITATION - PREMIUM TEMPLATE
   Color Palette:
   - Deep Teal: #022938
   - Gold: #AC9545
   - Bright Gold: #f0dfa0
   - Dark Green: #0d3328
   - Cream: #fdf8f0
   - Soft Green: #88b2a0
   ======================================== */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #022938;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: #022938;
    color: #AC9545;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === LAYOUT === */
.invitation-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

.section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === MUSIC BUTTON === */
.music-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(172, 149, 69, 0.9);
    border: 2px solid rgba(240, 223, 160, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(172, 149, 69, 0.3);
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(172, 149, 69, 0.5);
}

.music-btn svg {
    width: 18px;
    height: 18px;
    fill: #022938;
}

.music-btn.playing .icon-play { display: none; }
.music-btn.playing .icon-pause { display: block; }
.music-btn:not(.playing) .icon-play { display: block; }
.music-btn:not(.playing) .icon-pause { display: none; }

/* ================================================
   SECTION 1: HERO
   ================================================ */
.hero-section {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #011e2a 0%, #022938 30%, #0a3d4f 70%, #1a4a3a 100%);
    overflow: hidden;
}

.hero-sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-sky img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 2;
    pointer-events: none;
}

.hero-stars img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    animation: twinkle 4s ease-in-out infinite alternate;
}

.hero-mountains {
    position: absolute;
    top: 20%;
    left: -5%;
    width: 110%;
    z-index: 3;
}

.hero-mountains img {
    width: 100%;
    object-fit: cover;
}

.hero-hills {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 110%;
    z-index: 4;
}

.hero-hills img {
    width: 100%;
    object-fit: cover;
}

.hero-tree-left {
    position: absolute;
    top: 5%;
    left: -15%;
    width: 55%;
    max-width: 700px;
    z-index: 6;
    pointer-events: none;
}

.hero-tree-right {
    position: absolute;
    top: 3%;
    right: -12%;
    width: 50%;
    max-width: 650px;
    z-index: 6;
    pointer-events: none;
}

.hero-moon {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    z-index: 5;
}

.hero-temple {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 750px;
    min-width: 350px;
    z-index: 5;
}

.hero-balloon {
    position: absolute;
    top: 15%;
    right: 8%;
    width: 22%;
    max-width: 300px;
    z-index: 7;
}

.hero-leaves-left {
    position: absolute;
    top: 20%;
    left: -3%;
    width: 28%;
    max-width: 350px;
    z-index: 8;
    pointer-events: none;
}

.hero-leaves-right {
    position: absolute;
    top: 20%;
    right: -3%;
    width: 28%;
    max-width: 350px;
    z-index: 8;
    pointer-events: none;
}

.hero-big-leaves-left {
    position: absolute;
    top: 10%;
    left: -22%;
    width: 65%;
    max-width: 820px;
    z-index: 9;
    pointer-events: none;
}

.hero-big-leaves-right {
    position: absolute;
    top: 10%;
    right: -22%;
    width: 65%;
    max-width: 820px;
    z-index: 9;
    pointer-events: none;
}

/* Hero Text */
.hero-content {
    position: relative;
    z-index: 50;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-names {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-name-groom {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(55px, 11vw, 100px);
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 3px;
    text-shadow: 
        0 0 40px rgba(172, 149, 69, 0.7),
        0 0 80px rgba(2, 41, 56, 1),
        0 4px 15px rgba(0,0,0,0.9);
}

.hero-weds {
    font-family: 'Cormorant Unicase', serif;
    font-size: clamp(28px, 5vw, 50px);
    color: #e8d5a3;
    line-height: 2;
    letter-spacing: 6px;
    text-shadow: 
        0 0 20px rgba(172, 149, 69, 0.5),
        0 2px 8px rgba(0,0,0,0.9);
}

.hero-name-bride {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(55px, 11vw, 100px);
    color: #ffffff;
    line-height: 1;
    letter-spacing: 3px;
    text-shadow: 
        0 0 40px rgba(172, 149, 69, 0.7),
        0 0 80px rgba(2, 41, 56, 1),
        0 4px 15px rgba(0,0,0,0.9);
}

/* Premium Hero Enhancements */
.hero-sanskrit {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14px, 3vw, 20px);
    color: #AC9545;
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(172, 149, 69, 0.5);
    opacity: 0.95;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: 'Gotu', sans-serif;
    font-size: clamp(10px, 2vw, 13px);
    color: #e8d5a3;
    letter-spacing: 4px;
    margin-bottom: 25px;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero-divider {
    width: min(150px, 35vw);
    margin: 15px auto;
    filter: drop-shadow(0 0 8px rgba(172, 149, 69, 0.4));
    opacity: 0.9;
}

.hero-emotional-quote {
    font-family: 'Cormorant Infant', serif;
    font-style: italic;
    font-size: clamp(14px, 3.2vw, 21px);
    color: rgba(240, 223, 160, 0.85);
    line-height: 1.8;
    max-width: 480px;
    margin: 20px auto 30px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.hero-emotional-quote::before { content: '\201C'; margin-right: 2px; font-size: 1.3em; color: #AC9545; }
.hero-emotional-quote::after  { content: '\201D'; margin-left:  2px; font-size: 1.3em; color: #AC9545; }

.hero-date-venue {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(11px, 2.2vw, 14px);
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(2, 41, 56, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(172, 149, 69, 0.3);
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-top: 10px;
    display: inline-block;
}

/* Letter animation */
.letter {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px) scale(0.5);
    animation: letterReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ================================================
   SECTION 2: INVITATION (PREMIUM - ENHANCED)
   ================================================ */
.invite-section {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: visible;
}

.invite-bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.invite-bg-texture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invite-mandala {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    animation: mandalaRotate 120s linear infinite;
}

.invite-mandala img {
    width: 100%;
    height: auto;
}

.invite-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
    pointer-events: none;
    opacity: 0.6;
    animation: sparkleFloat 8s ease-in-out infinite alternate;
}

.invite-sparkles img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.invite-marigold-left {
    position: absolute;
    top: 0;
    left: -5%;
    width: 35%;
    max-width: 350px;
    z-index: 13;
    pointer-events: none;
    animation: marigoldSwayLeft 6s ease-in-out infinite;
}

.invite-marigold-right {
    position: absolute;
    top: 0;
    right: -5%;
    width: 35%;
    max-width: 350px;
    z-index: 13;
    pointer-events: none;
    animation: marigoldSwayRight 6s ease-in-out infinite;
}

.invite-diya-glow {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
    animation: glowPulse 3s ease-in-out infinite;
}

.invite-diya-left {
    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 80px;
    z-index: 14;
    pointer-events: none;
    animation: diyaFlicker 2s ease-in-out infinite alternate;
}

.invite-diya-right {
    position: absolute;
    bottom: 25%;
    right: 8%;
    width: 80px;
    z-index: 14;
    pointer-events: none;
    animation: diyaFlicker 2.5s ease-in-out infinite alternate;
}

.invite-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(13, 51, 40, 0.2) 0%, rgba(13, 51, 40, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.invite-border-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.invite-border-left img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.invite-border-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.invite-border-right img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.invite-pillar-left {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(160px, 28vw);
    z-index: 15;
    pointer-events: none;
    opacity: 0.85;
    display: block !important;
}

.invite-pillar-left img {
    width: 100%;
    height: auto;
    display: block;
}

.invite-pillar-right {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(160px, 28vw);
    z-index: 15;
    pointer-events: none;
    opacity: 0.85;
    display: block !important;
}

.invite-pillar-right img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 480px) {
    .invite-pillar-left,
    .invite-pillar-right {
        width: 90px;
        opacity: 0.8;
    }
}

/* Vector ornaments — Top-Left Corner Frame */
.invite-vector-tl {
    position: absolute;
    top: 0;
    left: 0;
    width: min(180px, 36vw);
    z-index: 14;
    opacity: 0.75;
    pointer-events: none;
    transform: none;
}

/* Vector ornaments — Top-Right Corner Frame */
.invite-vector-tr {
    position: absolute;
    top: 0;
    right: 0;
    width: min(180px, 36vw);
    z-index: 14;
    opacity: 0.75;
    pointer-events: none;
    transform: none;
}

/* Vector ornaments — Bottom-Left Corner Frame */
.invite-vector-bl {
    position: absolute;
    bottom: 0;
    left: 0;
    width: min(180px, 36vw);
    z-index: 14;
    opacity: 0.75;
    pointer-events: none;
    transform: scaleY(-1);
}

/* Vector ornaments — Bottom-Right Corner Frame */
.invite-vector-br {
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(180px, 36vw);
    z-index: 14;
    opacity: 0.75;
    pointer-events: none;
    transform: scaleY(-1);
}

.invite-bottom-flowers {
    display: none;
}

.invite-lotus-divider {
    width: 180px;
    opacity: 0.7;
    filter: drop-shadow(0 0 8px rgba(172, 149, 69, 0.3));
}

.invite-lotus-divider img {
    width: 100%;
    height: auto;
}

.invite-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    margin: 0 auto;
    padding: 240px 40px 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

@media (max-width: 600px) {
    .invite-content {
        padding: 200px 20px 180px;
    }
}

@media (max-width: 400px) {
    .invite-content {
        padding: 170px 16px 160px;
    }
}

.invite-om {
    width: 55px;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(172, 149, 69, 0.4));
}

.invite-sanskrit {
    font-family: 'Gotu', sans-serif;
    font-size: 15px;
    color: #AC9545;
    letter-spacing: 1px;
    opacity: 0.9;
}

.invite-ganesha {
    width: 120px;
    margin: 0;
    filter: drop-shadow(0 0 20px rgba(172, 149, 69, 0.4));
}

.invite-blessings {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(18px, 2.8vw, 28px);
    color: #d4c090;
    line-height: 1.7;
    letter-spacing: -0.02em;
}

.invite-blessings strong {
    color: #f0dfa0;
}

.invite-separator {
    font-size: 30px;
    color: #AC9545;
    opacity: 0.5;
    letter-spacing: 10px;
}

.invite-title {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(60px, 12vw, 120px);
    color: #f0dfa0;
    line-height: 0.9;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(172, 149, 69, 0.3);
}

.invite-subtitle {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(18px, 2.8vw, 28px);
    color: #d4c090;
    letter-spacing: -0.03em;
}

.invite-couple-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 10px 0;
}

.invite-couple-names .groom-name {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(60px, 13vw, 140px);
    color: #f5e6b0;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(172, 149, 69, 0.4);
}

.invite-couple-names .amp {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 8vw, 80px);
    color: #AC9545;
    line-height: 0.7;
    font-style: italic;
}

.invite-couple-names .bride-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(60px, 13vw, 140px);
    color: #f5e6b0;
    line-height: 0.9;
    font-style: italic;
    text-shadow: 0 2px 20px rgba(172, 149, 69, 0.4);
}

.invite-parents {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(16px, 2.2vw, 24px);
    color: #d4c090;
    line-height: 1.7;
    text-align: center;
}

.invite-parents strong {
    color: #f0dfa0;
}

/* ================================================
   SECTION 3: EVENTS
   ================================================ */
.events-section {
    position: relative;
    background: linear-gradient(180deg, #0d2e25 0%, #022938 50%, #011e2a 100%);
    padding: 80px 20px 100px;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(13, 51, 40, 0.8) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.events-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.events-title h2 {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(40px, 8vw, 80px);
    color: #f0dfa0;
    letter-spacing: 2px;
}

.events-title p {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(14px, 2vw, 20px);
    color: #AC9545;
    opacity: 0.7;
    margin-top: 8px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.event-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.event-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.event-card:nth-child(2) { transition-delay: 0.15s; }
.event-card:nth-child(3) { transition-delay: 0.3s; }
.event-card:nth-child(4) { transition-delay: 0.45s; }

.event-card-image {
    position: relative;
    width: 200px;
    height: 270px;
    border-radius: 130px;
    overflow: hidden;
    border: 3.5px solid #AC9545;
    box-shadow: 
        inset 0 0 60px rgba(0,0,0,0.7),
        0 15px 50px rgba(0,0,0,0.5),
        0 0 30px rgba(172, 149, 69, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-card:hover .event-card-image {
    transform: translateY(-8px);
    box-shadow: 
        inset 0 0 60px rgba(0,0,0,0.7),
        0 25px 60px rgba(0,0,0,0.6),
        0 0 50px rgba(172, 149, 69, 0.25);
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 50px 8px rgba(0,0,0,0.6);
    pointer-events: none;
}

.event-card-details h3 {
    font-family: 'Cormorant Infant', serif;
    font-size: 36px;
    color: #f0dfa0;
    margin-bottom: 10px;
}

.event-card-details .event-date,
.event-card-details .event-venue,
.event-card-details .event-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    color: #AC9545;
    opacity: 0.85;
    margin-bottom: 5px;
    line-height: 1.4;
}

.event-card-details .event-map-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 700;
    color: #d4c3ff;
    background: rgba(172, 149, 69, 0.12);
    padding: 7px 18px;
    border-radius: 25px;
    border: 1px solid rgba(172, 149, 69, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 6px;
}

.event-card-details .event-map-link:hover {
    background: rgba(172, 149, 69, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(172, 149, 69, 0.2);
}

/* ================================================
   SECTION 4: SCRATCH CARD + COUNTDOWN
   ================================================ */
.countdown-section {
    position: relative;
    background: linear-gradient(180deg, #011e2a 0%, #0a2e3d 50%, #011e2a 100%);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(172, 149, 69, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.countdown-title {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(32px, 6vw, 55px);
    color: #f0dfa0;
    margin-bottom: 10px;
    position: relative;
}

.countdown-subtitle {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(16px, 2.5vw, 22px);
    color: #AC9545;
    opacity: 0.7;
    margin-bottom: 40px;
}

/* Scratch Card */
.scratch-card-wrapper {
    text-align: center;
    position: relative;
    z-index: 2;
}

.scratch-card {
    position: relative;
    width: 320px;
    height: 180px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(172, 149, 69, 0.5);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 25px rgba(172, 149, 69, 0.15);
    cursor: crosshair;
}

.scratch-card canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 14px;
    touch-action: none;
}

.scratch-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d3328 0%, #022938 50%, #1a4a3a 100%);
    border-radius: 14px;
    z-index: 1;
    padding: 20px;
}

.reveal-date-label {
    font-family: 'Cormorant Unicase', serif;
    font-size: 13px;
    color: #AC9545;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.7;
}

.reveal-date {
    font-family: 'Cormorant Infant', serif;
    font-size: 38px;
    color: #f0dfa0;
    text-shadow: 0 0 20px rgba(172, 149, 69, 0.5);
    margin-bottom: 6px;
}

.reveal-venue {
    font-family: 'Cormorant Upright', serif;
    font-size: 16px;
    color: #d4c090;
}

.scratch-hint {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    color: #AC9545;
    opacity: 0.5;
    margin-top: 12px;
    transition: opacity 0.5s ease;
}

.scratch-hint.hidden {
    opacity: 0;
}

/* Countdown Timer below scratch card */
.countdown-timer-wrapper {
    margin-top: 35px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.countdown-timer-label {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(16px, 2.5vw, 22px);
    color: #d4c090;
    margin-bottom: 20px;
    opacity: 0.8;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 14px 10px;
    border: 1px solid rgba(172, 149, 69, 0.3);
    border-radius: 12px;
    background: rgba(172, 149, 69, 0.05);
    backdrop-filter: blur(5px);
}

.countdown-number {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(32px, 7vw, 50px);
    color: #f0dfa0;
    line-height: 1;
}

.countdown-label {
    font-family: 'Manrope', sans-serif;
    font-size: 9px;
    color: #AC9545;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.countdown-status {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(20px, 4vw, 30px);
    color: #f0dfa0;
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.countdown-status.visible {
    opacity: 1;
}

/* ================================================
   SECTION 5: GALLERY
   ================================================ */
.couple-section {
    position: relative;
    background: linear-gradient(180deg, #011e2a 0%, #0a3d4f 50%, #0d3328 100%);
    padding: 80px 20px 100px;
}

.couple-title {
    text-align: center;
    margin-bottom: 50px;
}

.couple-title span {
    font-family: 'Cormorant Unicase', serif;
    font-size: clamp(12px, 1.8vw, 15px);
    color: #AC9545;
    opacity: 0.7;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.couple-title h2 {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(38px, 8vw, 75px);
    color: #f0dfa0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.gallery-item.revealed {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: 0.1s; grid-row: span 2; aspect-ratio: auto; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }
.gallery-item:nth-child(5) { transition-delay: 0.4s; }
.gallery-item:nth-child(6) { transition-delay: 0.5s; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(2, 41, 56, 0.5) 100%);
    pointer-events: none;
    border-radius: inherit;
}

/* ================================================
   SECTION 6: MESSAGE
   ================================================ */
.message-section {
    position: relative;
    background: linear-gradient(180deg, #0d3328 0%, #022938 100%);
    padding: 80px 20px;
    text-align: center;
}

.message-hearts {
    width: 50px;
    margin: 0 auto 30px;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(172, 149, 69, 0.3));
}

.message-text {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(18px, 3vw, 28px);
    color: #d4c090;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.message-signature {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(22px, 4vw, 36px);
    color: #f0dfa0;
    margin-top: 40px;
    font-style: italic;
}

/* ================================================
   SECTION 7: FOOTER / RSVP (PREMIUM)
   ================================================ */
.footer-section {
    position: relative;
    background: #011520;
    padding: 70px 20px 50px;
    text-align: center;
    overflow: hidden;
}

/* RSVP Background Pattern */
.rsvp-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.rsvp-bg-pattern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating petals */
.rsvp-floating-petals {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    animation: petalsFloat 10s ease-in-out infinite alternate;
}

.rsvp-floating-petals img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsvp-petals-2 {
    top: auto;
    bottom: 5%;
    animation: petalsFloat2 12s ease-in-out infinite alternate;
    opacity: 0.3;
    transform: rotate(180deg);
}

/* RSVP Sparkles */
.rsvp-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
    animation: sparkleFloat 6s ease-in-out infinite alternate;
}

.rsvp-sparkles img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-hashtag {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(28px, 5.5vw, 48px);
    color: #f0dfa0;
    margin-bottom: 35px;
    position: relative;
    z-index: 5;
}

/* === RSVP PREMIUM CARD === */
.rsvp-card {
    position: relative;
    z-index: 5;
    max-width: 520px;
    width: 100%;
    margin: 0 auto 40px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(13, 51, 40, 0.6) 0%, rgba(2, 41, 56, 0.8) 50%, rgba(13, 51, 40, 0.6) 100%);
    border: 1.5px solid rgba(172, 149, 69, 0.35);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(172, 149, 69, 0.08),
        inset 0 1px 0 rgba(172, 149, 69, 0.15);
    overflow: hidden;
}

/* Mandala top decoration */
.rsvp-mandala-top {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
}

.rsvp-mandala-top img {
    width: 100%;
    height: auto;
}

/* Corner ornaments */
.rsvp-corner {
    position: absolute;
    width: 60px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.6;
}

.rsvp-corner img {
    width: 100%;
    height: auto;
}

.rsvp-corner-tl { top: 10px; left: 10px; }
.rsvp-corner-tr { top: 10px; right: 10px; transform: scaleX(-1); }
.rsvp-corner-bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.rsvp-corner-br { bottom: 10px; right: 10px; transform: scale(-1, -1); }

/* Inner glow effect */
.rsvp-inner-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(172, 149, 69, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

/* RSVP Card Content */
.rsvp-card-content {
    position: relative;
    z-index: 4;
    padding: 50px 35px 40px;
}

.rsvp-header {
    text-align: center;
    margin-bottom: 30px;
}

.rsvp-header-icon {
    font-size: 36px;
    margin-bottom: 10px;
    animation: floatSlow 4s ease-in-out infinite;
}

.rsvp-title {
    font-family: 'Cormorant Infant', serif;
    font-size: clamp(34px, 7vw, 44px);
    color: #f0dfa0;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(172, 149, 69, 0.2);
}

.rsvp-subtitle {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(14px, 2.5vw, 17px);
    color: #AC9545;
    opacity: 0.7;
    margin-bottom: 15px;
}

.rsvp-title-divider {
    width: 120px;
    margin: 0 auto;
    opacity: 0.5;
}

.rsvp-title-divider img {
    width: 100%;
    height: auto;
}

/* RSVP Form */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group-full {
    width: 100%;
}

.form-group label {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #AC9545;
    opacity: 0.6;
    padding-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #f0dfa0;
    background: rgba(2, 41, 56, 0.7);
    border: 1px solid rgba(172, 149, 69, 0.25);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(172, 149, 69, 0.4);
}

.form-group select {
    color: rgba(172, 149, 69, 0.5);
    cursor: pointer;
}

.form-group select option {
    background: #022938;
    color: #f0dfa0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #AC9545;
    box-shadow: 0 0 15px rgba(172, 149, 69, 0.15), inset 0 0 10px rgba(172, 149, 69, 0.05);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.rsvp-submit-btn {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #022938;
    background: linear-gradient(135deg, #AC9545 0%, #d4b85a 50%, #f0dfa0 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(172, 149, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.rsvp-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.rsvp-submit-btn:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease infinite;
}

.rsvp-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(172, 149, 69, 0.45);
}

.rsvp-submit-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    font-size: 16px;
}

/* RSVP Success */
.rsvp-success {
    text-align: center;
    padding: 30px 20px;
    animation: fadeInUp 0.8s ease;
}

.rsvp-success .success-icon {
    font-size: 50px;
    margin-bottom: 15px;
    animation: floatSlow 3s ease-in-out infinite;
}

.rsvp-success h4 {
    font-family: 'Cormorant Infant', serif;
    font-size: 34px;
    color: #f0dfa0;
    margin-bottom: 10px;
}

.rsvp-success p {
    font-family: 'Cormorant Upright', serif;
    font-size: 18px;
    color: #88b2a0;
    line-height: 1.6;
}

/* Footer CTA buttons */
.footer-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
    z-index: 5;
}

.footer-btn {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid rgba(172, 149, 69, 0.4);
    color: #AC9545;
    background: rgba(172, 149, 69, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-btn:hover {
    background: #AC9545;
    color: #022938;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(172, 149, 69, 0.3);
    border-color: #AC9545;
}

.btn-emoji {
    font-size: 14px;
}

.footer-copyright {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    color: #AC9545;
    opacity: 0.35;
    margin-top: 25px;
    letter-spacing: 1px;
    position: relative;
    z-index: 5;
}

/* Footer Pillars */
.footer-pillar-left {
    position: absolute;
    left: 20px;
    bottom: 0;
    width: 250px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
}

.footer-pillar-right {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 250px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes letterReveal {
    0% { opacity: 0; filter: blur(8px); transform: translateY(15px) scale(0.5); }
    100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-80px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: translateX(-50%) scale(0.85); }
    to { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; filter: drop-shadow(0 0 8px rgba(172, 149, 69, 0.3)); }
    50% { opacity: 0.7; filter: drop-shadow(0 0 25px rgba(172, 149, 69, 0.6)); }
}

@keyframes mandalaRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes sparkleFloat {
    0% { transform: translateY(0); opacity: 0.3; }
    100% { transform: translateY(-10px); opacity: 0.6; }
}

@keyframes marigoldSwayLeft {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(8px) rotate(1.5deg); }
}

@keyframes marigoldSwayRight {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-8px) rotate(-1.5deg); }
}

@keyframes diyaFlicker {
    0% { opacity: 0.7; filter: drop-shadow(0 0 5px rgba(255, 180, 50, 0.3)); }
    100% { opacity: 1; filter: drop-shadow(0 0 15px rgba(255, 180, 50, 0.6)); }
}

@keyframes petalsFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-15px) translateX(10px); }
}

@keyframes petalsFloat2 {
    0% { transform: rotate(180deg) translateY(0) translateX(0); }
    100% { transform: rotate(180deg) translateY(-10px) translateX(-8px); }
}

@keyframes shimmer {
    0% { left: -50%; }
    100% { left: 150%; }
}

/* === HERO CONTINUOUS LOOP ANIMATIONS === */
@keyframes treeSway {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    25% { transform: rotate(0.5deg) translateX(3px); }
    75% { transform: rotate(-0.3deg) translateX(-2px); }
}

@keyframes treeSwayReverse {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    25% { transform: rotate(-0.4deg) translateX(-3px); }
    75% { transform: rotate(0.3deg) translateX(2px); }
}

@keyframes bigLeafDrift {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-8px) translateX(5px) rotate(0.5deg); }
    66% { transform: translateY(-4px) translateX(-3px) rotate(-0.3deg); }
}

@keyframes bigLeafDriftReverse {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-6px) translateX(-4px) rotate(-0.5deg); }
    66% { transform: translateY(-3px) translateX(3px) rotate(0.3deg); }
}

@keyframes leafFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes leafFloatReverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes templeGlow {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(172, 149, 69, 0)); transform: translateX(-50%) scale(1); }
    50% { filter: drop-shadow(0 0 15px rgba(172, 149, 69, 0.2)); transform: translateX(-50%) scale(1.005); }
}

@keyframes moonGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(240, 223, 160, 0.3)); }
    50% { filter: drop-shadow(0 0 25px rgba(240, 223, 160, 0.6)); }
}

@keyframes balloonDrift {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-8px) rotate(-0.5deg); }
    75% { transform: translateY(-20px) rotate(1.5deg); }
}

@keyframes hillsBreathe {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.008) translateY(-2px); }
}

@keyframes mountainsDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Animation triggers */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* Hero element animations - continuous looping for lively feel */
.hero-tree-left { animation: slideInLeft 3s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both, treeSway 8s ease-in-out 3.5s infinite; }
.hero-tree-right { animation: slideInRight 3s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both, treeSwayReverse 9s ease-in-out 3.5s infinite; }
.hero-big-leaves-left { animation: slideDown 4s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both, bigLeafDrift 7s ease-in-out 4.8s infinite; }
.hero-big-leaves-right { animation: slideDown 4s cubic-bezier(0.22, 1, 0.36, 1) 1s both, bigLeafDriftReverse 8s ease-in-out 5s infinite; }
.hero-leaves-left { animation: slideDown 3s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both, leafFloat 5s ease-in-out 4.2s infinite; }
.hero-leaves-right { animation: slideDown 3s cubic-bezier(0.22, 1, 0.36, 1) 1.4s both, leafFloatReverse 5.5s ease-in-out 4.9s infinite; }
.hero-temple { animation: scaleIn 2.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both, templeGlow 4s ease-in-out 2.8s infinite; }
.hero-moon { animation: float 6s ease-in-out infinite, fadeInUp 2s ease 0.2s both, moonGlow 5s ease-in-out infinite; }
.hero-balloon { animation: balloonDrift 10s ease-in-out infinite; }
.hero-stars { animation: twinkle 4s ease-in-out infinite alternate; }
.hero-hills { animation: hillsBreathe 12s ease-in-out infinite; }
.hero-mountains { animation: mountainsDrift 15s ease-in-out infinite; }

/* ================================================
   RESPONSIVE - TABLET (1024px)
   ================================================ */
@media (max-width: 1024px) {
    .hero-tree-left { width: 45%; left: -12%; }
    .hero-tree-right { width: 40%; right: -10%; }
    .hero-big-leaves-left { width: 55%; left: -18%; }
    .hero-big-leaves-right { width: 55%; right: -18%; }
    .hero-balloon { width: 20%; right: 5%; }
    .hero-temple { width: 55%; }
    .invite-pillar-left { width: 280px; }
    .invite-pillar-right { width: 280px; }
    .invite-vector-tl, .invite-vector-tr { width: 150px; }
    .invite-vector-bl, .invite-vector-br { width: 150px; }
    .invite-marigold-left { width: 30%; }
    .invite-marigold-right { width: 30%; }
}

/* ================================================
   RESPONSIVE - MOBILE (768px)
   ================================================ */
@media (max-width: 768px) {
    .hero-content { padding: 0 15px; }
    .hero-tree-left { width: 55%; left: -20%; top: 10%; }
    .hero-tree-right { width: 50%; right: -15%; top: 8%; }
    .hero-big-leaves-left { width: 60%; left: -20%; }
    .hero-big-leaves-right { width: 60%; right: -20%; }
    .hero-leaves-left { width: 35%; left: -5%; }
    .hero-leaves-right { width: 35%; right: -5%; }
    .hero-balloon { width: 25%; right: 2%; top: 10%; }
    .hero-temple { width: 80%; bottom: 8%; }
    .hero-moon { width: 120px; top: 4%; }

    .invite-border-left { width: 50px; }
    .invite-border-right { width: 50px; }
    .invite-pillar-left { width: 120px; left: 0; opacity: 0.85; z-index: 15; }
    .invite-pillar-right { width: 120px; right: 0; opacity: 0.85; z-index: 15; }
    .invite-vector-tl, .invite-vector-tr,
    .invite-vector-bl, .invite-vector-br { width: 100px; }

    .invite-content { padding: 60px 25px 140px; gap: 14px; }
    .invite-marigold-left { width: 38%; left: -8%; }
    .invite-marigold-right { width: 38%; right: -8%; }
    .invite-diya-left { width: 60px; bottom: 30%; left: 5%; }
    .invite-diya-right { width: 60px; bottom: 30%; right: 5%; }
    .invite-diya-glow { width: 200px; top: 15%; }
    .invite-ganesha { width: 100px; }
    .invite-title { font-size: clamp(50px, 11vw, 90px); }
    .invite-couple-names .groom-name { font-size: clamp(50px, 12vw, 100px); }
    .invite-couple-names .amp { font-size: clamp(35px, 7vw, 60px); }
    .invite-couple-names .bride-name { font-size: clamp(50px, 12vw, 100px); }
    .invite-lotus-divider { width: 140px; }

    .events-section { padding: 60px 15px 80px; }
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .events-title { margin-bottom: 40px; }
    .event-card-image { width: 160px; height: 220px; }
    .event-card-details h3 { font-size: 28px; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .gallery-item:nth-child(2) { grid-row: span 1; }
    .couple-section { padding: 60px 15px 80px; }
    .couple-title { margin-bottom: 35px; }

    .countdown-section { padding: 60px 15px; }
    .scratch-card { width: 290px; height: 160px; }
    .countdown-timer-wrapper { margin-top: 40px; }

    .message-section { padding: 60px 15px; }

    .footer-section { padding: 50px 15px 40px; }
    .footer-cta { flex-direction: column; align-items: center; }
    .footer-pillar-left { width: 150px; }
    .footer-pillar-right { width: 150px; }
    .rsvp-card { margin-bottom: 30px; }
    .rsvp-card-content { padding: 40px 25px 35px; }
    .rsvp-mandala-top { width: 220px; }
}

/* ================================================
   RESPONSIVE - SMALL MOBILE (480px)
   ================================================ */
@media (max-width: 480px) {
    .hero-section { height: 100vh; min-height: 100vh; }
    .hero-tree-left { width: 65%; left: -25%; }
    .hero-tree-right { width: 60%; right: -20%; }
    .hero-big-leaves-left { width: 70%; left: -25%; }
    .hero-big-leaves-right { width: 70%; right: -25%; }
    .hero-temple { width: 90%; }
    .hero-balloon { width: 28%; }
    .hero-moon { width: 90px; }
    .hero-leaves-left { width: 40%; }
    .hero-leaves-right { width: 40%; }
    .hero-name-groom { font-size: clamp(42px, 10vw, 60px); }
    .hero-weds { font-size: clamp(22px, 4.5vw, 32px); line-height: 1.8; }
    .hero-name-bride { font-size: clamp(42px, 10vw, 60px); }

    .invite-section { min-height: 100vh; }
    .invite-content {
        padding: 40px 18px 120px;
        gap: 10px;
    }
    .invite-om { width: 40px; }
    .invite-sanskrit { font-size: 12px; }
    .invite-ganesha { width: 80px; }
    .invite-blessings { font-size: 15px; line-height: 1.5; }
    .invite-title { font-size: clamp(45px, 10vw, 70px); }
    .invite-subtitle { font-size: 14px; }
    .invite-couple-names { margin: 5px 0; }
    .invite-couple-names .groom-name { font-size: clamp(42px, 11vw, 80px); line-height: 1.1; }
    .invite-couple-names .amp { font-size: clamp(28px, 6vw, 45px); line-height: 0.8; }
    .invite-couple-names .bride-name { font-size: clamp(42px, 11vw, 80px); line-height: 0.9; }
    .invite-parents { font-size: 14px; line-height: 1.5; }
    .invite-lotus-divider { width: 100px; }
    .invite-pillar-left { width: 85px; left: 0; opacity: 0.85; z-index: 15; }
    .invite-pillar-right { width: 85px; right: 0; opacity: 0.85; z-index: 15; }
    .invite-vector-tl, .invite-vector-tr,
    .invite-vector-bl, .invite-vector-br { width: 60px; }

    .invite-border-left { width: 30px; }
    .invite-border-right { width: 30px; }
    .invite-marigold-left { width: 40%; left: -10%; top: -2%; }
    .invite-marigold-right { width: 40%; right: -10%; top: -2%; }
    .invite-diya-left { width: 50px; bottom: 20%; left: 3%; }
    .invite-diya-right { width: 50px; bottom: 20%; right: 3%; }
    .invite-diya-glow { width: 160px; top: 12%; }
    .invite-mandala { width: 110%; opacity: 0.08; }
    .invite-bottom-flowers { display: none; }

    .events-section { padding: 50px 12px 60px; }
    .events-title { margin-bottom: 30px; }
    .events-title h2 { font-size: clamp(32px, 8vw, 50px); }
    .events-title p { font-size: 13px; }
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .event-card { gap: 12px; }
    .event-card-image { width: 130px; height: 180px; border-width: 2.5px; }
    .event-card-details h3 { font-size: 22px; margin-bottom: 6px; }
    .event-card-details .event-date,
    .event-card-details .event-venue,
    .event-card-details .event-time { font-size: 11px; margin-bottom: 3px; }
    .event-card-details .event-map-link { font-size: 11px; padding: 5px 12px; }

    .countdown-section { padding: 50px 12px; }
    .countdown-title { font-size: clamp(26px, 6vw, 40px); margin-bottom: 6px; }
    .countdown-subtitle { font-size: 14px; margin-bottom: 25px; }
    .scratch-card { width: 260px; height: 140px; }
    .reveal-date { font-size: 30px; }
    .reveal-venue { font-size: 14px; }
    .countdown-timer-wrapper { margin-top: 25px; }
    .countdown-grid { gap: 8px; }
    .countdown-item { min-width: 60px; padding: 10px 8px; border-radius: 10px; }
    .countdown-number { font-size: clamp(28px, 7vw, 40px); }
    .countdown-label { font-size: 8px; letter-spacing: 1.5px; }
    .countdown-status { font-size: 16px; margin-top: 10px; }

    .couple-section { padding: 50px 10px 60px; }
    .couple-title { margin-bottom: 25px; }
    .couple-title h2 { font-size: clamp(32px, 8vw, 50px); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .gallery-item { border-radius: 10px; }

    .message-section { padding: 50px 15px; }
    .message-hearts { width: 40px; margin-bottom: 20px; }
    .message-text { font-size: 16px; line-height: 1.7; }
    .message-signature { font-size: 20px; margin-top: 25px; }

    .footer-section { padding: 40px 12px 35px; }
    .footer-hashtag { font-size: clamp(22px, 5vw, 34px); margin-bottom: 20px; }
    .footer-pillar-left { width: 100px; opacity: 0.4; }
    .footer-pillar-right { width: 100px; opacity: 0.4; }
    .rsvp-card { border-radius: 22px; margin-bottom: 25px; }
    .rsvp-card-content { padding: 35px 18px 30px; }
    .rsvp-header { margin-bottom: 20px; }
    .rsvp-header-icon { font-size: 28px; }
    .rsvp-title { font-size: 30px; }
    .rsvp-subtitle { font-size: 13px; margin-bottom: 10px; }
    .rsvp-title-divider { width: 90px; }
    .rsvp-mandala-top { width: 180px; top: -5px; }
    .rsvp-corner { width: 40px; }
    .form-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .form-group label { font-size: 9px; }
    .form-group input,
    .form-group select,
    .form-group textarea { padding: 10px 12px; font-size: 12px; border-radius: 8px; }
    .form-group textarea { min-height: 50px; }
    .rsvp-submit-btn { padding: 13px; font-size: 13px; border-radius: 10px; }
    .rsvp-form { gap: 10px; }
    .footer-btn { font-size: 12px; padding: 10px 18px; }
    .footer-cta { gap: 10px; margin-bottom: 20px; }
}

/* ================================================
   RESPONSIVE - EXTRA SMALL (360px)
   ================================================ */
@media (max-width: 360px) {
    .hero-name-groom { font-size: 38px; }
    .hero-weds { font-size: 20px; }
    .hero-name-bride { font-size: 38px; }

    .invite-content { padding: 30px 14px 100px; gap: 8px; }
    .invite-om { width: 35px; }
    .invite-sanskrit { font-size: 11px; }
    .invite-ganesha { width: 65px; }
    .invite-blessings { font-size: 13px; }
    .invite-title { font-size: 40px; }
    .invite-subtitle { font-size: 12px; }
    .invite-couple-names .groom-name { font-size: 38px; }
    .invite-couple-names .amp { font-size: 24px; }
    .invite-couple-names .bride-name { font-size: 38px; }
    .invite-parents { font-size: 12px; }
    .invite-lotus-divider { width: 80px; }

    .event-card-image { width: 110px; height: 150px; }
    .event-card-details h3 { font-size: 18px; }

    .countdown-item { min-width: 55px; padding: 10px 6px; }
    .countdown-number { font-size: 28px; }
    .scratch-card { width: 230px; height: 120px; }
    .reveal-date { font-size: 24px; }
    .reveal-date-label { font-size: 10px; }
    .countdown-status { font-size: 14px; }

    .form-row { grid-template-columns: 1fr; }
    .rsvp-card-content { padding: 30px 14px 25px; }
    .rsvp-title { font-size: 26px; }
    .rsvp-mandala-top { width: 150px; }
    .rsvp-corner { width: 35px; }
}


/* ========================================
   PREMIUM SECTIONS: Dress Code, Travel, Gifts
   ======================================== */

/* === SHARED SECTION STYLES === */
.em-dresscode-section,
.em-travel-section,
.em-gifts-section {
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background: linear-gradient(180deg, #011e2a 0%, #022938 50%, #0d3328 100%);
}

/* === DECORATIVE BACKGROUND LAYERS === */
/* These are purely decorative - positioned absolute, fill the section, no pointer events */

.em-section-bg,
.em-section-sparkles,
.em-section-petals {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-bg picture,
.em-section-sparkles picture,
.em-section-petals picture {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-bg img,
.em-section-sparkles img,
.em-section-petals img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-bg img {
    opacity: 0.3;
}

.em-section-sparkles {
    z-index: 1;
    opacity: 0.4;
}

.em-section-petals {
    z-index: 1;
    opacity: 0.3;
    animation: emPetalsFloat 15s ease-in-out infinite;
}

.em-section-ornament {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 500px;
    opacity: 0.06;
    z-index: 1;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-ornament picture {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-ornament img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-divider-top {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 200px;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-divider-top picture {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-divider-top img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-marigold-left,
.em-section-marigold-right {
    position: absolute !important;
    width: 120px;
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-marigold-left {
    top: 20%;
    left: -20px;
    animation: emMarigoldLeft 10s ease-in-out infinite;
}

.em-section-marigold-right {
    bottom: 20%;
    right: -20px;
    animation: emMarigoldRight 10s ease-in-out infinite;
}

.em-section-marigold-left picture,
.em-section-marigold-right picture {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.em-section-marigold-left img,
.em-section-marigold-right img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === ANIMATIONS FOR DECORATIVE LAYERS === */
.em-ornament-spin {
    animation: emOrnamentSpin 60s linear infinite;
}
@keyframes emOrnamentSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.em-ornament-float {
    animation: emOrnamentFloat 8s ease-in-out infinite;
}
@keyframes emOrnamentFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -52%) scale(1.03); }
}

.em-sparkles-float {
    animation: emSparklesFloat 12s ease-in-out infinite;
}
@keyframes emSparklesFloat {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-10px); }
}

@keyframes emPetalsFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes emMarigoldLeft {
    0%, 100% { transform: translateX(0) rotate(-5deg); }
    50% { transform: translateX(10px) rotate(5deg); }
}

@keyframes emMarigoldRight {
    0%, 100% { transform: translateX(0) rotate(5deg); }
    50% { transform: translateX(-10px) rotate(-5deg); }
}

@keyframes emGlowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* === SECTION CONTENT === */
.em-section-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.em-section-header {
    margin-bottom: 50px;
}

.em-section-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 20px rgba(172, 149, 69, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.em-section-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(172, 149, 69, 0.6));
    margin: 0 auto;
}

.em-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 8vw, 3.2rem);
    font-weight: 700;
    color: #f0dfa0;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-shadow: 0 2px 20px rgba(172, 149, 69, 0.3);
}

.em-section-subtitle {
    font-family: 'Cormorant Infant', serif;
    font-style: italic;
    font-size: clamp(0.85rem, 3vw, 1.1rem);
    color: rgba(172, 149, 69, 0.6);
    letter-spacing: 0.1em;
}

.em-section-title-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #AC9545, transparent);
    margin: 20px auto 0;
}

/* === DRESS CODE CARDS === */
.em-dresscode-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.em-dresscode-card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    background: rgba(2, 41, 56, 0.6);
    border: 1px solid rgba(172, 149, 69, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(172, 149, 69, 0.1);
}
.em-dresscode-card:hover {
    transform: translateY(-5px);
    border-color: rgba(172, 149, 69, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(172, 149, 69, 0.2), 0 0 40px rgba(172, 149, 69, 0.1);
}

.em-dresscode-card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.em-dresscode-card-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(172, 149, 69, 0.5));
    margin: 0 auto;
}

.em-dresscode-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #AC9545;
    margin-bottom: 12px;
}

.em-dresscode-card-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(172, 149, 69, 0.5), transparent);
    margin: 0 auto 18px;
}

.em-dresscode-card-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: rgba(172, 149, 69, 0.7);
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* === TRAVEL CARD === */
.em-travel-card {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
}

.em-travel-card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(172, 149, 69, 0.3), transparent, rgba(172, 149, 69, 0.2));
    border-radius: 32px;
    z-index: 0;
    animation: emGlowPulse 4s ease-in-out infinite;
}
@keyframes emGlowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.em-travel-card-border {
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(172, 149, 69, 0.15);
    border-radius: 30px;
    z-index: 1;
    pointer-events: none;
}

.em-travel-card-content {
    position: relative;
    z-index: 2;
    background: rgba(2, 41, 56, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 50px 40px;
}

.em-travel-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(172, 149, 69, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.em-travel-card-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(172, 149, 69, 0.5));
    margin: 0 auto;
}

.em-travel-card-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: rgba(172, 149, 69, 0.75);
    line-height: 2;
    letter-spacing: 0.02em;
}

/* === GIFTS CARD === */
.em-gifts-card {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(2, 41, 56, 0.5);
    border: 1px solid rgba(172, 149, 69, 0.15);
    border-radius: 30px;
    padding: 60px 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.em-gifts-card-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: rgba(172, 149, 69, 0.4);
    border-style: solid;
    border-width: 0;
}
.em-corner-tl { top: 15px; left: 15px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 8px; }
.em-corner-tr { top: 15px; right: 15px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 8px; }
.em-corner-bl { bottom: 15px; left: 15px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 8px; }
.em-corner-br { bottom: 15px; right: 15px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; }

.em-gifts-card-content {
    position: relative;
    z-index: 2;
}

.em-gifts-text {
    font-family: 'Cormorant Infant', serif;
    font-style: italic;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    color: rgba(172, 149, 69, 0.8);
    line-height: 2;
    letter-spacing: 0.02em;
}

.em-gifts-signature {
    margin-top: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: rgba(172, 149, 69, 0.5);
    letter-spacing: 0.1em;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .em-dresscode-section,
    .em-travel-section,
    .em-gifts-section {
        padding: 80px 20px;
        min-height: 60vh;
    }

    .em-section-content {
        max-width: 600px;
    }

    .em-dresscode-cards {
        gap: 20px;
    }

    .em-dresscode-card {
        min-width: 220px;
        max-width: 300px;
        padding: 35px 25px;
    }

    .em-travel-card-content {
        padding: 40px 30px;
    }

    .em-gifts-card {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .em-dresscode-section,
    .em-travel-section,
    .em-gifts-section {
        padding: 70px 16px;
        min-height: auto;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .em-section-content {
        max-width: 100%;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .em-section-header {
        margin-bottom: 35px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .em-section-ornament {
        width: 90%;
        max-width: 350px;
    }

    .em-section-marigold-left,
    .em-section-marigold-right {
        width: 90px;
        opacity: 0.15;
    }

    .em-section-marigold-left {
        left: -10px;
    }

    .em-section-marigold-right {
        right: -10px;
    }

    .em-section-divider-top {
        width: 150px;
    }

    .em-dresscode-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .em-dresscode-card {
        min-width: 100%;
        max-width: 100%;
        padding: 30px 24px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .em-dresscode-card-icon {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .em-dresscode-card-icon img {
        margin: 0 auto !important;
    }

    .em-travel-card {
        border-radius: 24px;
        width: 100%;
    }

    .em-travel-card-glow {
        border-radius: 26px;
    }

    .em-travel-card-border {
        border-radius: 24px;
    }

    .em-travel-card-content {
        padding: 35px 24px;
        border-radius: 24px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .em-travel-card-icon {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .em-travel-card-icon img {
        margin: 0 auto !important;
    }

    .em-gifts-card {
        padding: 40px 24px;
        border-radius: 24px;
        width: 100%;
        text-align: center;
    }

    .em-gifts-card-corner {
        width: 24px;
        height: 24px;
    }

    .em-section-icon {
        font-size: 2rem;
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .em-section-icon img {
        margin: 0 auto !important;
    }

    .em-section-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
        text-align: center;
    }

    .em-section-title-line {
        width: 50px;
        margin: 15px auto 0;
    }
}

@media (max-width: 480px) {
    .em-dresscode-section,
    .em-travel-section,
    .em-gifts-section {
        padding: 60px 12px;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .em-section-content {
        padding: 0 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .em-section-header {
        margin-bottom: 28px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .em-section-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .em-section-icon img {
        width: 56px !important;
        height: 56px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .em-section-title {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
        margin-bottom: 6px;
        text-align: center;
    }

    .em-section-subtitle {
        font-size: 0.8rem;
        text-align: center;
    }

    .em-section-title-line {
        width: 40px;
        margin: 12px auto 0;
    }

    .em-section-marigold-left,
    .em-section-marigold-right {
        width: 60px;
        opacity: 0.12;
    }

    .em-section-divider-top {
        width: 120px;
        opacity: 0.3;
    }

    .em-dresscode-cards {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .em-dresscode-card {
        padding: 24px 18px;
        border-radius: 18px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .em-dresscode-card-icon {
        font-size: 1.6rem;
        margin-bottom: 10px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .em-dresscode-card-icon img {
        width: 48px !important;
        height: 48px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .em-dresscode-card-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
        text-align: center;
        width: 100%;
    }

    .em-dresscode-card-divider {
        margin: 0 auto 14px;
    }

    .em-dresscode-card-text {
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: center;
    }

    .em-travel-card {
        border-radius: 20px;
        width: 100%;
    }

    .em-travel-card-glow {
        border-radius: 22px;
    }

    .em-travel-card-border {
        border-radius: 20px;
    }

    .em-travel-card-content {
        padding: 28px 18px;
        border-radius: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .em-travel-card-icon {
        font-size: 2rem;
        margin-bottom: 14px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .em-travel-card-icon img {
        width: 44px !important;
        height: 44px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .em-travel-card-text {
        font-size: 0.85rem;
        line-height: 1.8;
        text-align: center;
    }

    .em-gifts-card {
        padding: 32px 18px;
        border-radius: 20px;
        width: 100%;
        text-align: center;
    }

    .em-gifts-card-corner {
        width: 20px;
        height: 20px;
    }
    .em-corner-tl { top: 10px; left: 10px; }
    .em-corner-tr { top: 10px; right: 10px; }
    .em-corner-bl { bottom: 10px; left: 10px; }
    .em-corner-br { bottom: 10px; right: 10px; }

    .em-gifts-text {
        font-size: 0.9rem;
        line-height: 1.8;
        text-align: center;
    }

    .em-gifts-signature {
        margin-top: 20px;
        font-size: 0.85rem;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .em-dresscode-section,
    .em-travel-section,
    .em-gifts-section {
        padding: 50px 10px;
    }

    .em-section-header {
        margin-bottom: 22px;
    }

    .em-dresscode-card {
        padding: 20px 14px;
    }

    .em-travel-card-content {
        padding: 22px 14px;
    }

    .em-gifts-card {
        padding: 26px 14px;
    }

    .em-section-title {
        font-size: 1.3rem;
    }
}
