/* Royal Indian Wedding Invitation - Continuous Scrollable Website */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cinzel', serif;
    background: #0b0404;
    color: #fff;
    overflow-x: hidden;
}

/* Fixed Petal Canvas across Entire Page */
#petal-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 100;
}

/* Top Fixed Navigation Bar */
.fixed-top-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 14px 20px;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(15, 5, 5, 0.85) 0%, rgba(15, 5, 5, 0) 100%);
    backdrop-filter: blur(4px);
}

.brand-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    letter-spacing: 2px;
}

.audio-btn {
    background: rgba(20, 8, 8, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.7);
    color: #f8e3a1;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.audio-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

/* Main Page Layout Container */
.page-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: #000;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.3);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    border-right: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 500px) {
    .page-container {
        max-width: 100vw;
        border: none;
        box-shadow: none;
    }
}

/* Continuous Section Layout */
.page-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 100%),
                linear-gradient(to bottom, rgba(15, 5, 5, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(15, 5, 5, 0.85) 100%);
    z-index: 2;
}

/* Content Box & Scroll Animations */
.content-box {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
}

/* 3D Royal Doors Animation Overlay */
.royal-doors-wrapper {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    perspective: 1200px;
    pointer-events: none;
}

.royal-door {
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #1c0a0a 0%, #3d1414 40%, #150505 100%);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.4);
    border: 4px solid #d4af37;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 2.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.royal-door-left {
    transform-origin: left center;
    border-right: 2px solid #ffd700;
    animation: openDoorLeft 3s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

.royal-door-right {
    transform-origin: right center;
    border-left: 2px solid #ffd700;
    animation: openDoorRight 3s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

@keyframes openDoorLeft {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(-110deg); visibility: hidden; }
}

@keyframes openDoorRight {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(110deg); visibility: hidden; }
}

.door-inner-carving {
    width: 75%;
    height: 80%;
    border: 2px solid #ffd700;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.4);
}

.door-mandala {
    width: 100px;
    height: 100px;
    border: 2px dashed #ffd700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.door-mandala::before {
    content: '𑁍';
    font-size: 2.5rem;
    color: #ffd700;
}

.royal-knob {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff2a1, #d4af37 60%, #8b6508 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.8);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.royal-door-left .royal-knob { right: 12px; }
.royal-door-right .royal-knob { left: 12px; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #ffd700;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.arrow-down {
    font-size: 1.4rem;
    margin-top: 4px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Typography & Symbols */
.symbol-gospel {
    font-size: 0.95rem;
    color: #ffd700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.sub-quote {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #f8e3a1;
    font-weight: 400;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.invite-msg {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e0d0b0;
    margin-bottom: 12px;
}

.main-tagline {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
    margin-bottom: 20px;
}

.decorative-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

/* Slide 2: Marriage Card */
.card-header-tag {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.4rem;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.invitation-card-display {
    background: rgba(25, 5, 5, 0.82);
    border: 3px solid #ffd700;
    border-radius: 18px;
    padding: 30px 20px;
    width: 95%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.6);
    backdrop-filter: blur(8px);
}

.card-names-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #ffe6a3 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    margin: 15px 0;
}

.card-sub-msg {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #f8e3a1;
    line-height: 1.5;
}

.card-date-preview {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #ffd700;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Slide 3: Mandap & Names */
.invite-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffd700;
    margin-bottom: 25px;
}

.couple-names {
    margin-bottom: 30px;
}

.bride-name, .groom-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #ffe6a3 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    color: #ffd700;
    margin: -10px 0;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.parents-block {
    background: rgba(15, 8, 8, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    backdrop-filter: blur(6px);
    width: 90%;
}

.parent-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffd700;
    margin-bottom: 4px;
}

.parent-col p {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

.divider-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
    margin: 10px 0;
}

/* Slide 4: Ceremony & Venue */
.section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.date-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(15, 8, 8, 0.8));
    border: 1px solid #ffd700;
    border-radius: 30px;
    padding: 10px 24px;
    margin-bottom: 20px;
}

.date-main {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.date-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #ffd700;
    letter-spacing: 3px;
}

.muhurtham-box {
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 3px solid #ffd700;
}

.muhurtham-label {
    font-size: 0.9rem;
    color: #ffd700;
    display: block;
    margin-bottom: 4px;
}

.muhurtham-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #f8e3a1;
}

.venue-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #000;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease;
}

.venue-btn:hover {
    transform: translateY(-2px) scale(1.03);
}

/* Slide 5: Silhouette & Blessing */
.couple-tag {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.2rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.9);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.blessing-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 16px;
}

.blessing-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #f8e3a1;
    line-height: 1.3;
    margin-bottom: 20px;
}

.regal-flourish {
    color: #d4af37;
    font-size: 1.4rem;
    letter-spacing: 8px;
}

/* Slide 6: Save the Date & Countdown */
.save-date-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.3rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.couple-name-sub {
    font-family: 'Great Vibes', cursive;
    font-size: 2.3rem;
    color: #fff;
    margin: 6px 0;
}

.save-date-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #ffd700;
    letter-spacing: 3px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.countdown-wrapper {
    background: rgba(15, 5, 5, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    padding: 18px 16px;
    width: 95%;
    margin-bottom: 25px;
}

.countdown-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #ffd700;
    margin-bottom: 12px;
}

.timer-grid {
    display: flex;
    justify-content: space-around;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-num {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px #ffd700;
}

.timer-unit {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
