/* ==========================================================================
   ROYAL TELUGU WEDDING INVITATION - LUXURY WHITE & ROYAL BLUE CUSTOM STYLESHEET
   ========================================================================== */

/* 1. Custom Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --bg-ivory: #FFF8F0;
    --bg-card: rgba(255, 255, 255, 0.9);
    --color-champagne: #F7E7CE;
    --color-temple-gold: #D4AF37;
    --color-royal-blue: #002060; /* Deep Royal Navy Blue */
    --color-royal-blue-glow: rgba(0, 32, 96, 0.4);
    
    /* Event Colors */
    --event-haldi: #F4B400;     /* Saffron Yellow */
    --event-mehendi: #0F7B5F;   /* Emerald Green */
    --event-sangeet: #5B3A8E;   /* Royal Purple */
    --event-wedding: #800020;   /* Maroon */
    
    /* Gradients & Shadows */
    --gold-metallic: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --maroon-gradient: linear-gradient(135deg, #800020, #4A0010);
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.5);
    --royal-blue-glow: 0 0 15px rgba(0, 32, 96, 0.35);
    --card-shadow: 0 15px 40px rgba(0, 32, 96, 0.04), 0 5px 15px rgba(212, 175, 55, 0.03);
    --glass-shadow: 0 8px 32px 0 rgba(0, 32, 96, 0.05);
    
    /* Borders */
    --border-gold-light: rgba(212, 175, 55, 0.25);
    --border-gold-strong: rgba(212, 175, 55, 0.6);
    
    /* Typography */
    --font-heading-dec: 'Cinzel Decorative', serif;
    --font-heading: 'Cinzel', serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-cinematic: all 1.8s cubic-bezier(0.77, 0, 0.175, 1);
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-ivory);
}

body {
    background-color: var(--bg-ivory);
    font-family: var(--font-body);
    color: #2C2A29;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background canvas for particles (marigold/rose petals & gold dust) */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   2. Animated Royal Temple Doors Overlay
   ========================================================================== */
.temple-doors-wrapper {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    overflow: hidden;
    background: #000;
}

.door {
    width: 50%;
    height: 100%;
    position: relative;
    background-color: #600018; /* Deep royal maroon */
    background-image: radial-gradient(circle at center, #800020 0%, #30000a 100%);
    transition: var(--transition-cinematic);
    display: flex;
    align-items: center;
}

.door-left {
    justify-content: flex-end;
    border-right: 4px solid var(--color-temple-gold);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.door-right {
    justify-content: flex-start;
    border-left: 4px solid var(--color-temple-gold);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

/* Sliding animation classes */
.temple-doors-wrapper.open .door-left {
    transform: translateX(-100%);
}

.temple-doors-wrapper.open .door-right {
    transform: translateX(100%);
}

.temple-doors-wrapper.open {
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease 1.5s, visibility 1s ease 1.5s;
    visibility: hidden;
}

.door-inner-panel {
    width: 100%;
    height: 100%;
    position: relative;
    border: 15px double rgba(212, 175, 55, 0.35);
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.door-mandala {
    width: 250px;
    height: 250px;
    border: 3px solid var(--color-temple-gold);
    border-radius: 50%;
    position: absolute;
    background: rgba(212, 175, 55, 0.03);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.2);
}

.left-mandala {
    right: -125px;
    border-top-left-radius: 250px;
    border-bottom-left-radius: 250px;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.right-mandala {
    left: -125px;
    border-top-right-radius: 250px;
    border-bottom-right-radius: 250px;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

/* Traditional Mango Leaves Garland (Toran) hanging on door tops */
.mango-leaves-hanging {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: radial-gradient(circle at 50% -10px, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-bottom: 2px dashed rgba(212, 175, 55, 0.3);
}

/* Door Knocker / Lock Ring */
.door-knocker-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.8s ease;
}

.temple-doors-wrapper.open .door-knocker-wrap {
    opacity: 0;
    pointer-events: none;
}

.knocker-ring {
    width: 130px;
    height: 130px;
    border: 4px solid var(--color-temple-gold);
    border-radius: 50%;
    background: #4A0010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4), inset 0 0 15px rgba(0,0,0,0.5);
    animation: ringPulse 2.5s infinite ease-in-out;
}

.knocker-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-champagne);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.knocker-center-dot {
    width: 12px;
    height: 12px;
    background: var(--gold-metallic);
    border-radius: 50%;
    margin-top: 10px;
    box-shadow: var(--gold-glow);
}

.knocker-couple-names {
    font-family: var(--font-heading-dec);
    font-size: 1.8rem;
    color: var(--color-champagne);
    margin-top: 1.5rem;
    text-shadow: 0 3px 8px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}

.knocker-intro-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: #e5c38c;
    margin-top: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 35px rgba(212, 175, 55, 0.7), var(--gold-glow); }
}

/* ==========================================================================
   3. Content Visibility Framework
   ========================================================================== */
.scroll-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hidden-content {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 1.5s ease 0.5s, transform 1.5s ease 0.5s;
}

.hidden-content.visible-content {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Floating Countdown Pill */
.floating-countdown-pill {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold-strong);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--card-shadow), 0 0 10px rgba(212, 175, 55, 0.15);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.floating-countdown-pill.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-countdown-pill:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--card-shadow), var(--gold-glow);
}

.pill-icon {
    font-size: 0.95rem;
}

.pill-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-royal-blue);
}

/* Persistent Music Player Toggle */
.music-player-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.music-toggle-btn {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold-strong);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-royal-blue);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.music-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow), var(--gold-glow);
}

.music-icon-wrap {
    width: 24px;
    height: 24px;
    background: var(--gold-metallic);
    color: var(--bg-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    animation: musicPulse 2s infinite ease-in-out;
}

.music-toggle-btn.playing .music-icon-wrap {
    animation: musicSpin 4s infinite linear, musicPulse 2s infinite ease-in-out;
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}

@keyframes musicSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   4. Section Layout & Elements
   ========================================================================== */
.section {
    padding: 7rem 1.5rem;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold-light);
    border-radius: 20px;
    box-shadow: var(--glass-shadow), var(--card-shadow);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-gold-strong);
    box-shadow: var(--glass-shadow), var(--card-shadow), 0 0 20px rgba(0, 32, 96, 0.08);
}

/* Fonts and Typographic Hierarchy (Royal Blue Fonts) */
.serif-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--color-royal-blue);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--color-temple-gold);
    text-align: center;
    margin-bottom: 0.2rem;
    display: block;
}

.script-accent-text {
    font-family: var(--font-script);
    font-size: 2.6rem;
    color: var(--color-temple-gold);
}

/* Royal Blue Font styling */
.font-royal-blue {
    color: var(--color-royal-blue) !important;
    font-family: var(--font-heading);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.royal-blue-glow {
    text-shadow: 0 0 10px rgba(0, 32, 96, 0.35);
    color: var(--color-royal-blue);
}

/* Custom Dividers */
.gold-accent-divider {
    width: 100px;
    height: 2px;
    background: var(--gold-metallic);
    margin: 1.2rem auto 2.5rem;
    position: relative;
}

.gold-accent-divider::after {
    content: '❖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-ivory);
    color: var(--color-temple-gold);
    font-size: 0.95rem;
    padding: 0 0.5rem;
}

/* Royal Blue Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-royal-blue {
    background: var(--color-royal-blue);
    color: var(--bg-ivory);
    border: 1px solid var(--border-gold-strong);
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.15);
}

.btn-royal-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 32, 96, 0.3), var(--gold-glow);
    background: #00153f;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 0.85rem;
    border-radius: 50px;
}

/* ==========================================================================
   5. Hero Section & Main Countdown
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(circle, rgba(255, 248, 240, 0.75) 0%, rgba(244, 239, 235, 0.9) 100%), url('assets/bg_pastel_gold.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 248, 240, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin-top: 1rem;
}

.hero-together-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-royal-blue);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-couple-names {
    margin-bottom: 2.5rem;
}

.hero-couple-names h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    line-height: 1.1;
    color: var(--color-royal-blue);
}

.heart-icon {
    font-size: 1.6rem;
    margin: 0.6rem 0;
    animation: heartBeat 1.5s infinite ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Monogram restored to golden metallic style as requested */
.monogram-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monogram-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: slowSpin 25s infinite linear;
}

.monogram-initials {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

.monogram-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    z-index: 2;
}

@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Countdown Main Container */
.countdown-container {
    padding: 2.5rem 3.5rem;
    border-radius: 24px;
    margin-bottom: 2.5rem;
    border: 1.5px solid var(--border-gold-strong);
    box-shadow: var(--gold-glow), var(--card-shadow);
}

.countdown-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

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

.countdown-val {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.1;
}

.countdown-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #5C5856;
    margin-top: 0.2rem;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-royal-blue);
    line-height: 1;
    margin-bottom: 1.2rem;
}

.hero-quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: #5C5856;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Portrait Section
   ========================================================================== */
.portrait-section {
    background-color: var(--bg-ivory);
}

.portrait-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
    max-width: 1000px;
}

.portrait-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gold-strong);
    box-shadow: var(--gold-glow);
    padding: 10px;
    background: #fff;
    aspect-ratio: 2/3;
}

.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 1.5s ease;
}

.portrait-card:hover .couple-photo {
    transform: scale(1.04);
}

.portrait-details {
    display: flex;
    flex-direction: column;
}

.portrait-details .serif-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.portrait-desc {
    font-size: 0.95rem;
    color: #5C5856;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.wedding-blessing {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-royal-blue);
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-temple-gold);
}

/* ==========================================================================
   6. Wedding Journey & Interactive Scratch Cards
   ========================================================================== */
.timeline-section {
    background-image: linear-gradient(rgba(255, 248, 240, 0.92), rgba(244, 239, 235, 0.95)), url('assets/bg_pastel_gold.png');
    background-size: cover;
    background-position: center;
}

.section-instruction-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #5C5856;
    text-align: center;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.scratch-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.scratch-card-wrapper {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 5/6;
    margin: 0 auto;
    perspective: 1000px;
}

.scratch-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-gold-light);
    overflow: hidden;
}

.scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
    border-radius: 16px;
    touch-action: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s ease;
}

/* Revealed Content Styling */
.event-details-revealed {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--bg-ivory);
}

.event-icon {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
    animation: iconPulse 3s infinite ease-in-out;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; }
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 0.2rem;
}

.event-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 0.3rem;
    width: 80%;
}

/* Event illustration frame inside card */
.event-graphic-frame {
    width: 100%;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.event-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.event-text {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.event-key-points {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.7rem;
    width: 100%;
    text-align: left;
    border-top: 1px dashed rgba(255,255,255,0.25);
    padding-top: 0.8rem;
}

.event-key-points span {
    display: flex;
    justify-content: space-between;
}

/* Event Specific Background Themes */
.event-haldi .event-details-revealed {
    background: linear-gradient(135deg, #FFFDF0, #FFF5CC, #FFEFA6);
    color: #5C4508;
    border: 1px solid rgba(212, 175, 55, 0.4);
}
.event-haldi .event-details-revealed .event-icon i {
    color: #B8860B;
}
.event-haldi .event-details-revealed .event-title {
    color: #4B3607;
}
.event-haldi .event-details-revealed .event-subtitle {
    color: #614B15;
    border-bottom: 1px solid rgba(97, 75, 21, 0.25);
}
.event-haldi .event-details-revealed .event-text {
    color: #5C4508;
}
.event-haldi .event-details-revealed .event-key-points {
    border-top: 1px dashed rgba(97, 75, 21, 0.25);
}
.event-haldi .event-details-revealed .event-key-points span {
    color: #5C4508;
}

.event-mehendi .event-details-revealed {
    background: linear-gradient(135deg, #D91A5F, #E65C00, #FFB300, #008E5F, #006B9E, #5B1EB2);
    color: var(--bg-ivory);
}

.event-sangeet .event-details-revealed {
    background: linear-gradient(135deg, #7F00FF, #FF007F, #FF1493, #FF8E53);
    color: var(--bg-ivory);
}

/* ==========================================
   Divine Sumuhurtam Section Styles
   ========================================== */
.sumuhurtam-divine-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 4rem auto 0;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, #4A0010, #660017, #800020, #33000A);
    border: 2px solid var(--color-temple-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(212, 175, 55, 0.15);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Hanging Temple Bells */
.bell-container {
    position: absolute;
    top: -10px;
    width: 60px;
    height: 100px;
    z-index: 10;
}

.left-bell-container {
    left: 40px;
}

.right-bell-container {
    right: 40px;
}

.temple-bell {
    width: 100%;
    height: 100%;
    transform-origin: top center;
    transition: transform 0.5s ease-out;
}

/* Bell Swing Animations */
@keyframes swingLeftBell {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-12deg); }
    60% { transform: rotate(8deg); }
    80% { transform: rotate(-4deg); }
}

@keyframes swingRightBell {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(12deg); }
    60% { transform: rotate(-8deg); }
    80% { transform: rotate(4deg); }
}

.sumuhurtam-divine-card.divine-active .bell-left {
    animation: swingLeftBell 4.5s ease-in-out infinite;
}

.sumuhurtam-divine-card.divine-active .bell-right {
    animation: swingRightBell 4.5s ease-in-out infinite;
}

/* Sunburst background glow */
.sunburst-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 226, 89, 0.25) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
}

.sumuhurtam-divine-card.divine-active .sunburst-glow {
    opacity: 1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translateX(-50%) scale(0.9); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

/* Venkateswara Graphic Reveal */
.divine-blessing-graphic {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin-bottom: 1.5rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.venkateswara-svg {
    width: 100%;
    height: 100%;
    max-height: 200px;
    overflow: visible;
}

.venkateswara-group {
    transform: translateY(-40px);
    opacity: 0;
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s ease-out;
}

.sumuhurtam-divine-card.divine-active .venkateswara-group {
    transform: translateY(0);
    opacity: 1;
}

/* Halo rotation */
.sumuhurtam-divine-card.divine-active .venkateswara-svg circle[stroke-dasharray="3 6"] {
    animation: rotateHalo 25s linear infinite;
    transform-origin: 200px 150px;
}

@keyframes rotateHalo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Blessing glow rays */
.venkateswara-svg filter#divineGlow feGaussianBlur {
    animation: glowFluctuate 2.5s ease-in-out infinite alternate;
}

@keyframes glowFluctuate {
    0% { stdDeviation: 4; }
    100% { stdDeviation: 8; }
}

/* Sumuhurtam Text details styling */
.sumuhurtam-details-body {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.telugu-word {
    font-family: 'Gautami', 'NTR', 'Ramabhadra', 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-temple-gold);
    display: inline-block;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.sumuhurtam-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 0.4rem;
    color: var(--color-temple-gold) !important;
    line-height: 1.2;
}

.sumuhurtam-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bg-ivory);
    opacity: 0.85;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.4rem;
    width: 60%;
    max-width: 300px;
}

.sumuhurtam-text {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    color: var(--bg-ivory);
    max-width: 650px;
}

.sumuhurtam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2.5rem;
    width: 100%;
    max-width: 700px;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.25);
}

.sumuhurtam-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.sumuhurtam-item .item-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-temple-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sumuhurtam-item .item-lbl i {
    font-size: 0.85rem;
}

.sumuhurtam-item .item-val {
    font-size: 0.95rem;
    color: var(--bg-ivory);
    font-weight: 300;
}

/* ==========================================================================
   7. Sacred Rituals Experience
   ========================================================================= */
.rituals-section {
    background-color: var(--bg-ivory);
}

.ritual-block {
    width: 100%;
    max-width: 900px;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ritual-block:last-child {
    margin-bottom: 0;
}

.ritual-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-align: center;
}

.bold-title {
    font-weight: 700 !important;
    letter-spacing: 2px;
    font-size: 2rem !important;
    color: var(--color-royal-blue) !important;
    text-shadow: none;
}

.ritual-subtitle-hint {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--color-temple-gold);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.ritual-info-card {
    padding: 2.2rem 3rem;
    text-align: center;
    border-radius: 16px;
    width: 100%;
    max-width: 750px;
    margin-top: 2rem;
}

/* Ritual Illustration Graphic Frame */
.ritual-graphic-frame {
    width: 100%;
    max-width: 480px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--border-gold-strong);
    box-shadow: var(--gold-glow), var(--card-shadow);
    margin: 0 auto 1.5rem;
    background: #fff;
    padding: 6px;
}

.ritual-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.ritual-desc {
    font-size: 0.95rem;
    color: #5C5856;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.ritual-essence {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-royal-blue);
    border-top: 1px dashed var(--border-gold-light);
    display: block;
    padding-top: 0.8rem;
    width: 60%;
    margin: 0 auto;
}

/* 7a. Jeelakarra Bellam Merging Animation Styles */
.jeelakarra-merge-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    height: 140px;
    width: 100%;
    position: relative;
}

.merge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.cumin-leaf, .jaggery-block {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-gold-light);
}

.cumin-leaf {
    background: rgba(15, 123, 95, 0.08);
}

.jaggery-block {
    background: rgba(229, 195, 140, 0.12);
}

.merge-sparkle {
    position: absolute;
    font-size: 3.5rem;
    opacity: 0;
    transform: scale(0.5);
    color: var(--color-temple-gold);
    text-shadow: var(--gold-glow);
    transition: all 1s ease;
    z-index: 3;
}

.merged .item-cumin {
    transform: translateX(105px);
}

.merged .item-jaggery {
    transform: translateX(-105px);
}

.merged .merge-sparkle {
    opacity: 1;
    transform: scale(1.3);
    animation: spinGlow 4s infinite linear;
}

@keyframes spinGlow {
    0% { transform: scale(1.2) rotate(0deg); opacity: 0.9; }
    50% { transform: scale(1.4) rotate(180deg); opacity: 1; }
    100% { transform: scale(1.2) rotate(360deg); opacity: 0.9; }
}

/* 7b. Mangalya Dharana styles */
.mangalsutra-animation-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mangalsutra-svg-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mangalsutra-svg {
    width: 100%;
    height: 100%;
}

.knot-pulse {
    animation: knotPulseAnim 2s infinite ease-in-out;
}

.coin-glow {
    animation: coinGlowAnim 2s infinite ease-in-out;
}

@keyframes knotPulseAnim {
    0%, 100% { transform: scale(1); transform-origin: 50% 50%; opacity: 0.95; }
    50% { transform: scale(1.15); transform-origin: 50% 50%; opacity: 1; }
}

@keyframes coinGlowAnim {
    0%, 100% { fill: #D4AF37; filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.4)); }
    50% { fill: #FFE57F; filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8)); }
}

/* 7c. Saptapadi Sequential Timeline list */
.saptapadi-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    width: 100%;
    max-width: 750px;
    margin: 2rem auto 0;
}

.saptapadi-step-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.8rem 2.2rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold-light);
    box-shadow: var(--glass-shadow), var(--card-shadow);
    transition: var(--transition-smooth);
}

.saptapadi-step-card:hover {
    border-color: var(--border-gold-strong);
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow), var(--card-shadow), 0 0 15px rgba(0, 32, 96, 0.08);
}

.step-footprint-wrap {
    flex-shrink: 0;
}

.footprint-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1.5px solid var(--border-gold-strong);
    background: rgba(0, 32, 96, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.saptapadi-step-card:hover .footprint-circle {
    background: rgba(0, 32, 96, 0.06);
    border-color: var(--color-royal-blue);
    transform: scale(1.05);
}

.step-num-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--color-royal-blue);
    color: var(--bg-ivory);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gold-light);
    box-shadow: var(--royal-blue-glow);
}

.footprint-graphic {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,32,96,0.1));
}

.step-vow-content {
    text-align: left;
}

.step-vow-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-royal-blue);
}

.step-vow-meaning {
    font-size: 0.88rem;
    color: #5C5856;
    font-weight: 300;
    line-height: 1.6;
}

.saptapadi-final-text {
    margin-top: 3.5rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-royal-blue);
    text-align: center;
}

/* ==========================================================================
   8. Family Section
   ========================================================================== */
.family-section {
    background-image: linear-gradient(rgba(244, 239, 235, 0.93), rgba(255, 248, 240, 0.95)), url('assets/bg_pastel_gold.png');
    background-size: cover;
    background-position: center;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 900px;
}

.family-card {
    padding: 3.5rem 2.2rem;
    text-align: center;
    border-radius: 20px;
    position: relative;
}

.family-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-metallic);
    color: var(--bg-ivory);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.4rem 1.8rem;
    border-radius: 50px;
    box-shadow: var(--gold-glow);
}

.family-family-name {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
}

.family-members-wrap {
    margin-bottom: 1.5rem;
}

.sibling-wrap {
    margin-top: 1.5rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.15);
    padding-top: 1.2rem;
}

.parent-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #5C5856;
    margin-bottom: 0.4rem;
}

.parent-names {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-royal-blue);
}

.sibling-names {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.late-parent {
    font-size: 0.7rem;
    font-weight: 500;
    color: #888;
    display: block;
    margin-top: 0.2rem;
}

.family-note {
    font-size: 0.8rem;
    font-style: italic;
    color: #5C5856;
    line-height: 1.6;
    border-top: 1px dashed var(--border-gold-light);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

/* ==========================================================================
   9. Venue Section
   ========================================================================== */
.venue-section {
    background-color: var(--bg-ivory);
}

.venue-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 900px;
    margin-bottom: 3.5rem;
}

.venue-detail-card {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

/* Clean solid Royal Blue header for venues - no portraits as requested */
.venue-header-img {
    height: 130px;
    background-color: var(--color-royal-blue);
    background-image: radial-gradient(circle, #0e2a5c 0%, #00153f 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--color-temple-gold);
}

.venue-img-overlay {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    pointer-events: none;
}

.venue-header-img h3 {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-champagne);
}

.venue-info-body {
    padding: 2.2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.venue-location-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.venue-events-hosted {
    font-size: 0.85rem;
    color: #5C5856;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.venue-date-time {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.venue-btn {
    width: 100%;
}

.map-iframe-container {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map-iframe-container iframe {
    display: block;
}

/* ==========================================================================
   10. RSVP Section
   ========================================================================== */
.rsvp-section {
    background-image: linear-gradient(rgba(255, 248, 240, 0.93), rgba(244, 239, 235, 0.95)), url('assets/bg_pastel_gold.png');
    background-size: cover;
    background-position: center;
}

.rsvp-card-wrapper {
    width: 100%;
    max-width: 800px;
    padding: 5rem 3rem;
    text-align: center;
}

.rsvp-description {
    font-size: 0.95rem;
    color: #5C5856;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rsvp-action-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.rsvp-subtext {
    font-size: 0.8rem;
    font-weight: 500;
    color: #5C5856;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   11. Ending Section / Footer
   ========================================================================== */
.ending-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-gold-light);
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    background-image: radial-gradient(circle, rgba(255,255,255,0.85) 0%, rgba(244,239,235,0.95) 100%), url('assets/bg_pastel_gold.png');
    background-size: cover;
}

.ending-invite-phrase {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-royal-blue);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.ending-couple-names {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 3px;
    margin-bottom: 3.5rem;
}

.save-the-date-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 2.2rem 2rem;
    border-radius: 20px;
    border: 1.5px solid var(--border-gold-strong);
    box-shadow: var(--gold-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.save-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #5C5856;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.save-date {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-gold-light);
    padding-bottom: 0.5rem;
    width: 80%;
}

.footer-countdown {
    display: flex;
    gap: 0.8rem;
}

.f-countdown-box {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: #5C5856;
    text-transform: uppercase;
}

.f-countdown-box span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: block;
    line-height: 1;
}

.copyright-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #a0a0a0;
    text-transform: uppercase;
}

/* ==========================================================================
   12. Scroll Reveal Transitions
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Entrance custom transitions */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   13. Responsive Breakpoints (Mobile First)
   ========================================================================== */
@media (max-width: 1024px) {
    .portrait-card {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
        padding: 3rem 2.2rem;
    }
    
    .portrait-frame {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .portrait-details .serif-title {
        text-align: center;
    }
    
    .portrait-desc {
        text-align: center;
    }
    
    .wedding-blessing {
        text-align: center;
        padding-left: 0;
        border-left: none;
        border-top: 1.5px solid var(--color-temple-gold);
        padding-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 1rem;
    }
    
    .serif-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-couple-names h1 {
        font-size: 2.8rem;
    }
    
    .monogram-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .countdown-container {
        padding: 1.8rem 1.5rem;
    }
    
    .countdown-val {
        font-size: 2.4rem;
    }
    
    .countdown-item {
        min-width: 55px;
    }
    
    .scratch-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 360px;
    }
    
    .sumuhurtam-divine-card {
        padding: 2.5rem 1.5rem;
        margin-top: 3rem;
    }
    
    .left-bell-container {
        left: 20px;
    }
    
    .right-bell-container {
        right: 20px;
    }
    
    .bell-container {
        width: 45px;
        height: 80px;
    }
    
    .sumuhurtam-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .sumuhurtam-item {
        align-items: center;
        text-align: center;
    }
    
    .saptapadi-step-card {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .family-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 450px;
    }
    
    .family-card {
        padding: 3rem 1.5rem;
    }
    
    .venue-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 450px;
    }
    
    .map-iframe-container {
        max-width: 450px;
    }
    
    .rsvp-card-wrapper {
        padding: 3.5rem 1.5rem;
    }
    
    .ending-couple-names {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    
    .floating-countdown-pill {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .music-player-container {
        bottom: 1rem;
        right: 1rem;
    }
    
    .jeelakarra-merge-animation {
        gap: 1.5rem;
        height: 100px;
    }
    
    .merged .item-cumin {
        transform: translateX(50px);
    }
    
    .merged .item-jaggery {
        transform: translateX(-50px);
    }
    
    .door-mandala {
        width: 180px;
        height: 180px;
    }
    
    .left-mandala {
        right: -90px;
    }
    
    .right-mandala {
        left: -90px;
    }
    
    .knocker-couple-names {
        font-size: 1.4rem;
    }
    
    .ritual-graphic-frame {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .saptapadi-step-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .step-vow-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-couple-names h1 {
        font-size: 2.3rem;
    }
    
    .hero-together-text {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .countdown-grid {
        gap: 0.6rem;
    }
    
    .countdown-val {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 45px;
    }
    
    .countdown-separator {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
}

/* Custom Mobile Adjustments for Event Details */
@media (max-width: 768px) {
    .event-details-revealed {
        padding: 1.2rem 1rem !important;
    }
    .event-icon {
        font-size: 1.6rem !important;
        margin-bottom: 0.2rem !important;
    }
    .event-title {
        font-size: 1.25rem !important;
    }
    .event-subtitle {
        font-size: 0.65rem !important;
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.2rem !important;
    }
    .event-graphic-frame {
        height: 95px !important;
        margin-bottom: 0.5rem !important;
    }
    .event-text {
        font-size: 0.68rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
    }
    .event-key-points {
        font-size: 0.65rem !important;
        padding-top: 0.5rem !important;
    }
}

/* Scroll Down Indicator Styling */
.scroll-down-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    animation: scrollBounce 2s infinite ease-in-out;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-royal-blue);
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.2rem;
    color: var(--color-temple-gold);
    text-shadow: var(--gold-glow);
}

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

