/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (LIGHT FLORAL THEME)
   ========================================================================== */
:root {
    --bg-light-floral: #fdfbf7;      /* Delicate watercolor warm background */
    --bg-gradient-end: #f5f2e8;      /* Cream gradient end */
    
    --champagne-light: #fdfaf3;
    --champagne-medium: #f2e9d2;
    
    --gold-accent: #c5a059;          /* Elegant brushed gold */
    --gold-light: #edd8a7;
    --gold-dark: #8c713b;
    
    --text-dark: #4d4138;            /* Highly readable bronze-charcoal */
    --text-muted: #807266;           /* Elegant descriptive text */
    
    --glass-bg: rgba(255, 255, 255, 0.85); /* Semi-translucent frosted glass */
    --glass-border: rgba(197, 160, 89, 0.35);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-fancy: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --box-shadow-glow: 0 15px 35px rgba(197, 160, 89, 0.12);
}

/* ==========================================================================
   RESET & BASE SYSTEM
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    html, body {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
}

body {
    background-color: #eae6db;
    color: var(--text-dark);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(140, 113, 59, 0.08) 0%, transparent 40%);
}

/* ==========================================================================
   SMARTPHONE WRAPPER (MOBILE SCREEN EMULATOR)
   ========================================================================== */
.smartphone-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 25%, var(--bg-light-floral) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .smartphone-wrapper {
        height: 100%;
    }
}

@media (min-width: 769px) {
    .smartphone-wrapper {
        width: 390px;
        height: 844px; /* iPhone size representation */
        border: 12px solid #5a4b41;
        border-radius: 44px;
        box-shadow: 0 25px 60px rgba(90, 75, 65, 0.25), 0 0 0 2px rgba(197, 160, 89, 0.4);
    }
}

/* ==========================================================================
   STORIES PROGRESS INDICATORS
   ========================================================================== */
.app-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px 10px 20px;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(253, 251, 247, 0.95) 0%, transparent 100%);
    pointer-events: none;
}

.story-progress-container {
    display: flex;
    gap: 5px;
    width: 100%;
    margin-bottom: 12px;
}

.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(140, 113, 59, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress-bar .fill {
    width: 0;
    height: 100%;
    background: var(--gold-accent);
}

.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-time {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   APP SLIDE CONTAINER & STORIES SNAP TRANSITION
   ========================================================================== */
.app-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; /* Block scrolling entirely */
    touch-action: none; /* Block browser level gesture/scroll drag on body */
}

/* Allow normal touches on form elements, maps, and zoom modal */
input, button, a, iframe, .modal-zoom-content-wrapper, .custom-slider-wrapper {
    touch-action: auto;
}

.slide-section {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 70px 24px 60px 24px;
    z-index: 1;
}

/* Stories state transform classes */
.slide-section.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 10;
}

.slide-section.next {
    transform: translateX(100%);
}

.slide-section.prev {
    transform: translateX(-100%);
}

/* ==========================================================================
   TYPOGRAPHY & ACCENTS
   ========================================================================== */
.slide-header-text {
    text-align: center;
    margin-bottom: 20px;
    z-index: 10;
}

.slide-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.slide-section-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.slide-intro {
    font-size: 0.8rem;
    font-weight: 450;
    color: var(--text-muted);
    max-width: 280px;
    margin: 6px auto 0 auto;
    line-height: 1.4;
    text-align: center;
}

/* ==========================================================================
   SLIDE 1: A ABERTURA (COVER)
   ========================================================================== */
#petalCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cover-content {
    text-align: center;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.luxury-monogram {
    font-family: var(--font-fancy);
    font-size: 5.5rem;
    font-weight: 300;
    color: transparent;
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(140, 113, 59, 0.15));
}

.pre-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 8px;
    max-width: 220px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: 2px;
}

.gold-ring-loader {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 50%;
    margin: 35px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gold-ring-loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: var(--gold-accent);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ring-inner {
    width: 60px;
    height: 60px;
    border: 1px dashed rgba(197, 160, 89, 0.35);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
}

.btn-start-journey {
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 16px 36px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(140, 113, 59, 0.25);
    transition: var(--transition);
}

.btn-start-journey:active {
    transform: scale(0.95);
}

/* ==========================================================================
   SLIDE 2: O CONVITE (3D TILT & FLIP)
   ========================================================================== */
.tilt-container-3d {
    perspective: 1200px;
    width: 250px;
    height: 380px;
    margin-bottom: 20px;
    z-index: 10;
}

.tilt-card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    cursor: pointer;
}

/* Subcontainer inside tilt-card for card flipping */
.card-3d-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Flip Trigger */
.tilt-card-3d.flipped .card-3d-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px rgba(90, 75, 65, 0.12), 0 0 20px rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.4);
    overflow: hidden;
}

.card-front {
    z-index: 2;
    transform: rotateY(0deg);
}

.invitation-image-3d {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tilt-light-sheen {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
}

/* Card Back (Verso - Easter Egg) */
.card-back {
    transform: rotateY(180deg);
    background: var(--bg-light-floral);
    background-image: 
        radial-gradient(circle at 100% 120%, rgba(197, 160, 89, 0.08) 20%, transparent 20%),
        radial-gradient(circle at 0% -20%, rgba(197, 160, 89, 0.08) 20%, transparent 20%);
    border: 2px solid var(--gold-accent);
    box-shadow: inset 0 0 25px rgba(197, 160, 89, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.card-back-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    justify-content: center;
}

.back-monogram {
    font-family: var(--font-fancy);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.back-divider {
    width: 40px;
    height: 1px;
    background: var(--gold-accent);
    margin-bottom: 16px;
}

.verse-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.verse-reference {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 22px;
    font-weight: 700;
}

.back-song-lyrics {
    border-top: 1px dashed rgba(197, 160, 89, 0.3);
    padding-top: 14px;
    width: 85%;
    margin-bottom: auto;
}

.song-line {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.45;
    font-style: italic;
}

.back-click-hint {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-dark);
    font-weight: 700;
    margin-top: 10px;
    opacity: 0.8;
}

/* Card Actions Row layout */
.card-actions-row {
    display: flex;
    gap: 12px;
    z-index: 10;
}

.btn-primary-disruptive {
    background: var(--glass-bg);
    border: 1px solid var(--gold-accent);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.1);
}

.btn-primary-disruptive:active {
    transform: scale(0.96);
    background: var(--champagne-medium);
}

/* ==========================================================================
   SLIDE 3: O GRANDE DIA (COUNTDOWN)
   ========================================================================== */
.countdown-radial-container {
    position: relative;
    width: 170px;
    height: 170px;
    margin-bottom: 20px;
    z-index: 10;
}

.radial-ring-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radial-progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.radial-bg {
    fill: none;
    stroke: rgba(140, 113, 59, 0.08);
    stroke-width: 4px;
}

.radial-progress {
    fill: none;
    stroke: var(--gold-accent);
    stroke-width: 4px;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s linear;
}

.radial-timer-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-days-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1;
}

.countdown-days-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    margin-top: 2px;
    font-weight: 600;
}

.countdown-grid-disruptive {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    z-index: 10;
}

.timer-box-mini {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(197, 160, 89, 0.25);
    width: 60px;
    padding: 10px 0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.06);
}

.timer-box-mini .time-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gold-dark);
}

.timer-box-mini .time-lbl {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 600;
}

.event-details-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-md);
    padding: 18px 24px;
    text-align: center;
    width: 100%;
    max-width: 290px;
    z-index: 10;
    box-shadow: var(--box-shadow-glow);
}

.details-date {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.details-time {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   SLIDE 4: LOCALIZAÇÃO (INTERACTIVE IFRAME MAP)
   ========================================================================== */
.location-glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10;
    box-shadow: var(--box-shadow-glow);
}

/* Iframe container replacement for static graphic */
.map-iframe-container {
    height: 125px;
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1.5px solid rgba(197, 160, 89, 0.4);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.location-info-body {
    text-align: center;
}

.location-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.location-address {
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 500;
}

.location-desc {
    font-size: 0.72rem;
    font-weight: 450;
    color: var(--text-muted);
    line-height: 1.5;
}

.map-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    color: #fff;
    border: none;
    font-weight: 700;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   SLIDE 5: PRESENTES (LISTA & PIX)
   ========================================================================== */
.gifts-options-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    z-index: 10;
}

.gift-option-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-md);
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-glow);
}

.gift-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gold-accent);
    color: #fff;
    padding: 4px 10px;
    border-bottom-left-radius: 10px;
}

.gift-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.gift-card-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 500;
}

.btn-gift-gold {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 0;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(140, 113, 59, 0.2);
    transition: var(--transition);
}

.btn-gift-gold:active {
    transform: scale(0.98);
}

/* Pix Clipboard Key */
.pix-key-wrapper {
    background: rgba(197, 160, 89, 0.08);
    border: 1px dashed rgba(197, 160, 89, 0.4);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
}

.pix-key-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
    font-weight: 650;
}

.pix-key-value {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 0.5px;
}

.copy-success-tooltip {
    position: absolute;
    top: -30px;
    background: var(--gold-dark);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.copy-success-tooltip.show {
    opacity: 1;
    visibility: visible;
    top: -35px;
}

.btn-gift-dark {
    display: block;
    width: 100%;
    background: rgba(197, 160, 89, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--gold-dark);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 0;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-gift-dark:active {
    transform: scale(0.98);
    background: rgba(197, 160, 89, 0.15);
}

/* ==========================================================================
   SLIDE 6: RSVP FORM
   ========================================================================== */
.rsvp-glass-card-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: 24px 20px;
    width: 100%;
    max-width: 320px;
    z-index: 10;
    box-shadow: var(--box-shadow-glow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Floating Input Group styles */
.disruptive-input-group {
    position: relative;
    width: 100%;
}

.disruptive-input-group input {
    width: 100%;
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    padding: 16px 16px 14px 16px;
    font-family: var(--font-body);
    color: var(--text-dark);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.disruptive-input-group input:focus {
    border-color: var(--gold-accent);
    background: #fff;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.15);
}

.disruptive-input-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.8rem;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.disruptive-input-group input:focus + label,
.disruptive-input-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.68rem;
    background: #fff;
    padding: 0 6px;
    color: var(--gold-dark);
    transform: translateY(-50%) scale(0.95);
    border-radius: 4px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.disruptive-input-group input.error {
    border-color: #ef476f;
    box-shadow: 0 0 10px rgba(239, 71, 111, 0.2);
    animation: shake 0.4s ease;
}

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

/* Range Slider */
.disruptive-companions-slider {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.companions-val {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.9rem;
}

.custom-slider-wrapper {
    width: 100%;
}

.custom-slider-wrapper input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(197, 160, 89, 0.2);
    border-radius: 2px;
    outline: none;
}

.custom-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-accent);
    border: 3px solid #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(140, 113, 59, 0.2);
    transition: transform 0.1s ease;
}

.custom-slider-wrapper input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

/* Action RSVP Buttons */
.rsvp-action-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-rsvp-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
    border-radius: 12px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-rsvp-action.confirm {
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(140, 113, 59, 0.2);
}

.btn-rsvp-action.confirm:active {
    transform: scale(0.97);
}

.btn-rsvp-action.decline {
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--text-muted);
}

.btn-rsvp-action.decline:active {
    transform: scale(0.97);
    background: rgba(197, 160, 89, 0.05);
}

/* Slide 6 Footer */
.app-footer {
    width: 100%;
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
    border-top: 1px dashed rgba(197, 160, 89, 0.3);
}

.footer-sign {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2px;
    font-weight: 600;
}

.footer-help {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-help:hover {
    color: var(--gold-dark);
}

/* ==========================================================================
   CONFETTI CANVAS CANVAS
   ========================================================================== */
#confettiCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 150;
}

/* ==========================================================================
   NAVIGATION HINTS (FLOATING CHEVRON)
   ========================================================================== */
.swipe-hint {
    position: absolute;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 10;
    opacity: 0.7;
    animation: bounceHint 2s infinite ease-in-out;
}

.swipe-hint span {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--gold-dark);
}

.chevron {
    width: 12px;
    height: 12px;
    border-right: 1.8px solid var(--gold-dark);
    border-bottom: 1.8px solid var(--gold-dark);
    transform: rotate(45deg);
}

@keyframes bounceHint {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-5px); opacity: 0.95; }
}

#slide-rsvp .swipe-hint {
    display: none;
}

/* ==========================================================================
   FULLSCREEN MODAL ZOOM & PAN SYSTEM
   ========================================================================== */
.modal-zoom {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(253, 251, 247, 0.98);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.modal-zoom.active {
    display: flex;
    opacity: 1;
}

.modal-zoom-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: grab;
}

.modal-zoom-content-wrapper:active {
    cursor: grabbing;
}

.modal-zoom-img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(90, 75, 65, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    transform: scale(1) translate(0px, 0px);
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-dark);
    font-size: 38px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    z-index: 1100;
}

.modal-close-btn:hover {
    color: var(--gold-dark);
}
