/* Grandma Evelyn 80th Jubilee Guestbook Styles */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --g-burgundy-dark: #19050d;
    --g-burgundy-card: #2a0b17;
    --g-burgundy-pill: #3a101f;
    --g-gold-primary: #d4af37;
    --g-gold-bright: #fcd34d;
    --g-gold-light: #fef08a;
    --g-gold-gradient: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #b45309 100%);
    --g-text-cream: #ffffff;
    --g-text-sub: #f3e5ab;
    --g-border-gold: rgba(212, 175, 55, 0.65);
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}

/* 100VH Zero-Scroll Root Container */
.grandma-hero-container {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: var(--g-text-cream) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    background-color: var(--g-burgundy-dark) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    padding: clamp(8px, 1.8vh, 20px) clamp(10px, 2.5vw, 24px) !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    .grandma-hero-container {
        background-image: url('../images/bg-mobile.jpg') !important;
    }
}
@media (min-width: 768px) {
    .grandma-hero-container {
        background-image: url('../images/bg-desktop.jpg') !important;
    }
}

.grandma-hero-container > .e-con-inner,
.grandma-hero-container {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 1. Grandmother Portrait & Badges */
.grandma-portrait-widget-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(6px, 1vh, 12px);
}

.grandma-portrait-container {
    position: relative;
    margin-bottom: clamp(8px, 1.5vh, 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grandma-portrait-frame {
    width: clamp(130px, 18vh, 175px);
    height: clamp(130px, 18vh, 175px);
    border-radius: 50% !important;
    padding: 4px;
    background: linear-gradient(135deg, #fff2a3 0%, #d4af37 40%, #8a640a 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 25px rgba(212, 175, 55, 0.55);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.grandma-portrait-frame img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #1a040d !important;
    display: block !important;
}

/* 80th Jubilee Ribbon */
.grandma-jubilee-ribbon {
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #420f21 0%, #1c030c 100%);
    border: 1.5px solid var(--g-gold-primary);
    border-radius: 20px;
    padding: clamp(2px, 0.5vh, 4px) clamp(12px, 2vw, 18px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.6), 0 0 10px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
    z-index: 5;
}

.grandma-jubilee-ribbon span {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(10px, 1.2vh, 12px) !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: var(--g-gold-bright) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9) !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Milestone Badge */
.grandma-milestone-pill {
    display: inline-block;
    background: rgba(45, 12, 24, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 20px;
    padding: clamp(3px, 0.6vh, 6px) clamp(12px, 2vw, 20px);
    margin-top: clamp(4px, 0.8vh, 8px);
    margin-bottom: clamp(4px, 0.8vh, 8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.grandma-milestone-pill span {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(10px, 1.1vh, 12px) !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px !important;
    color: var(--g-gold-bright) !important;
    text-transform: uppercase !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
}

/* 2. Main Title Heading */
.grandma-main-title .elementor-heading-title,
.grandma-main-title {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(24px, 4.2vh, 40px) !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: clamp(2px, 0.6vh, 6px) !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.85), 0 0 5px rgba(0,0,0,0.9) !important;
}

.grandma-main-title .gold-accent {
    font-style: italic !important;
    font-weight: 600 !important;
    color: #fbd360 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px rgba(212, 175, 55, 0.6) !important;
    display: inline-block !important;
}

/* 3. Subtitle Quote Text Editor */
.grandma-subtitle-quote p,
.grandma-subtitle-quote {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-size: clamp(12px, 1.6vh, 15px) !important;
    line-height: 1.4 !important;
    color: var(--g-text-sub) !important;
    max-width: 520px !important;
    margin: 0 auto clamp(8px, 1.5vh, 16px) auto !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9) !important;
}

/* 4. Action Buttons Stack */
.grandma-actions-stack {
    width: 100% !important;
    display: flex !important;
    flex-direction: row;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(8px, 1.4vh, 16px) !important;
    margin-bottom: clamp(8px, 1.4vh, 14px) !important;
}

@media(max-width: 600px) {
    .grandma-actions-stack {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

.grandma-action-card {
    background: linear-gradient(135deg, rgba(46, 12, 26, 0.95) 0%, rgba(22, 5, 12, 0.97) 100%);
    border: 1.5px solid var(--g-gold-primary);
    border-radius: 16px;
    padding: clamp(10px, 1.5vh, 15px) clamp(14px, 2vw, 20px);
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15), 0 0 10px rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    flex: 1 1 50%;
    width: 100%;
}

.grandma-action-card:hover {
    transform: translateY(-3px);
    border-color: var(--g-gold-bright);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35), 0 6px 25px rgba(0,0,0,0.6);
    background: linear-gradient(135deg, rgba(58, 18, 34, 0.98) 0%, rgba(32, 8, 18, 0.98) 100%);
}

.grandma-action-card:active {
    transform: scale(0.98);
}

.card-icon-box {
    width: clamp(42px, 5.5vh, 50px);
    height: clamp(42px, 5.5vh, 50px);
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

.card-text-group {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(15px, 2.2vh, 18px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.card-subtitle {
    font-size: clamp(11px, 1.4vh, 12px);
    color: var(--g-gold-light);
    font-weight: 500;
    opacity: 0.95;
}

/* 5. Privacy Badge Text Editor */
.grandma-privacy-widget {
    margin-bottom: clamp(6px, 1.2vh, 12px) !important;
}

.grandma-privacy-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: rgba(25, 6, 15, 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 30px !important;
    padding: clamp(4px, 0.7vh, 7px) clamp(14px, 2vw, 20px) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
    font-size: clamp(10.5px, 1.3vh, 12px) !important;
    color: var(--g-text-sub) !important;
    font-weight: 500 !important;
}

/* 6. Live Reception Footer Bar Text Editor */
.grandma-reception-bar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: rgba(18, 3, 9, 0.88) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 30px !important;
    padding: clamp(4px, 0.7vh, 7px) clamp(14px, 2vw, 22px) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.reception-text {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-size: clamp(10.5px, 1.3vh, 12px) !important;
    color: var(--g-text-sub) !important;
    letter-spacing: 0.3px !important;
    margin: 0 !important;
}

/* ==========================================================================
   LIVE CAMERA & VIDEO STUDIO MODAL STYLING
   ========================================================================== */
.grandma-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 2, 6, 0.94);
    backdrop-filter: blur(14px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 2vh, 18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.grandma-modal-backdrop.modal-active {
    opacity: 1;
    pointer-events: auto;
}

.grandma-modal-card {
    background: linear-gradient(145deg, #2b0b18 0%, #15030b 100%);
    border: 2px solid var(--g-gold-primary);
    border-radius: 22px;
    width: 100%;
    max-width: 480px;
    max-height: 94vh;
    overflow-y: auto;
    padding: clamp(14px, 2vh, 22px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.85), 0 0 35px rgba(212, 175, 55, 0.35);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #ffffff;
    text-align: left;
    box-sizing: border-box;
}

.grandma-modal-backdrop.modal-active .grandma-modal-card {
    transform: translateY(0) scale(1);
}

/* Modal Header Bar & Actions */
.camera-top-header-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
    gap: 10px !important;
    position: relative !important;
}

.camera-title-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.camera-icon-badge {
    font-size: 20px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.camera-modal-title-text {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(15px, 2.2vh, 19px) !important;
    font-weight: 700 !important;
    color: #fcd34d !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 12px rgba(212, 175, 55, 0.4) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.camera-actions-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.camera-flip-badge-btn {
    background: rgba(212, 175, 55, 0.18) !important;
    border: 1px solid rgba(212, 175, 55, 0.6) !important;
    color: #fef08a !important;
    border-radius: 20px !important;
    padding: 5px 12px !important;
    cursor: pointer !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

.camera-flip-badge-btn:hover {
    background: rgba(212, 175, 55, 0.35) !important;
    color: #ffffff !important;
    border-color: #fcd34d !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}

.modal-close-circle-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(46, 12, 26, 0.9) !important;
    border: 1.5px solid var(--g-gold-primary) !important;
    color: var(--g-gold-bright) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    padding: 0 !important;
    outline: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    flex-shrink: 0 !important;
}

.modal-close-circle-btn svg {
    display: block !important;
    transition: transform 0.25s ease !important;
}

.modal-close-circle-btn:hover {
    background: linear-gradient(135deg, #420f21 0%, #20040e 100%) !important;
    color: #ffffff !important;
    border-color: #fef08a !important;
    transform: scale(1.1) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.55), 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

.modal-close-circle-btn:hover svg {
    transform: rotate(90deg) !important;
}

.modal-close-circle-btn:active {
    transform: scale(0.92) !important;
}

/* Live Viewfinder Stream */
.camera-stream-wrapper {
    position: relative !important;
    width: 100% !important;
    height: clamp(230px, 38vh, 320px) !important;
    background: #000000 !important;
    border-radius: 16px !important;
    border: 2px solid rgba(212, 175, 55, 0.45) !important;
    overflow: hidden !important;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.9) !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#grandma-camera-stream {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: scaleX(-1); /* Mirror front camera for selfie feel */
}

#grandma-camera-stream.camera-back-view {
    transform: scaleX(1) !important;
}

.camera-placeholder-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 3, 9, 0.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 5;
    padding: 20px;
    text-align: center;
}

.camera-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(212, 175, 55, 0.25);
    border-top-color: #fcd34d;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.recording-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.8);
    border: 1.5px solid #ef4444;
    border-radius: 20px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.7);
    z-index: 10;
}

.rec-red-dot {
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
    animation: pulse-red 1s infinite;
}

.rec-mic-icon {
    font-size: 13px;
}

#video-timer-display {
    font-family: monospace;
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
}

@keyframes pulse-red {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* Camera Bottom Controls */
.camera-bottom-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.camera-bottom-controls.hidden-control,
.camera-bottom-controls[style*="display: none"],
.camera-bottom-controls[style*="display:none"] {
    display: none !important;
}

/* Shutter Gold Button */
.camera-shutter-gold-btn {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    border: 3px solid #fef08a !important;
    background: rgba(212, 175, 55, 0.25) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6), 0 0 15px rgba(212, 175, 55, 0.45) !important;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    padding: 0 !important;
    outline: none !important;
}

.camera-shutter-gold-btn:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.7) !important;
    border-color: #ffffff !important;
}

.camera-shutter-gold-btn:active {
    transform: scale(0.94) !important;
}

.shutter-inner-gold-circle {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: var(--g-gold-gradient) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
}

/* Video Record Red Button */
.video-record-red-btn {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    border: 3px solid #fca5a5 !important;
    background: rgba(220, 38, 38, 0.25) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6), 0 0 15px rgba(220, 38, 38, 0.5) !important;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    padding: 0 !important;
    outline: none !important;
}

.video-record-red-btn:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.75) !important;
    border-color: #ffffff !important;
}

.video-record-red-btn:active {
    transform: scale(0.94) !important;
}

.record-inner-red-circle {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: #dc2626 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.7) !important;
    transition: all 0.25s ease !important;
}

.record-inner-red-square {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #b91c1c !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    box-shadow: 0 0 12px rgba(185, 28, 28, 0.8) !important;
}

.record-instruction {
    font-size: 12px !important;
    color: var(--g-text-sub) !important;
    font-weight: 500 !important;
    text-align: center !important;
}

/* Media Preview inside form view */
.modal-preview-box {
    width: 100% !important;
    height: clamp(190px, 32vh, 260px) !important;
    background: #000000 !important;
    border-radius: 14px !important;
    border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-preview-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000000 !important;
}

.modal-preview-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000000 !important;
}

/* Form Inputs inside modal */
.modal-form-group {
    margin-bottom: 12px !important;
}

.modal-form-label {
    display: block !important;
    font-size: 12px !important;
    color: var(--g-gold-light) !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
}

.modal-form-input, .modal-form-textarea {
    width: 100%;
    background: rgba(15, 2, 8, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    padding: 9px 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.modal-form-input:focus, .modal-form-textarea:focus {
    border-color: var(--g-gold-bright);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.modal-form-textarea {
    resize: none;
    height: 55px;
}

/* Action Buttons inside preview */
.modal-preview-action-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.modal-btn-retake {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--g-gold-light);
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.modal-btn-retake:hover {
    background: rgba(212, 175, 55, 0.25);
    color: #ffffff;
}

.modal-submit-btn {
    flex-grow: 1;
    background: var(--g-gold-gradient);
    border: none;
    border-radius: 12px;
    color: #19050d;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    padding: 11px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.modal-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Progress bar */
.modal-progress-container {
    display: none;
    margin-top: 12px;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--g-gold-gradient);
    border-radius: 10px;
    transition: width 0.2s ease;
}

.progress-text {
    font-size: 11px;
    color: var(--g-gold-light);
    text-align: center;
    margin-top: 5px;
}

/* Success Screen */
.grandma-success-card {
    text-align: center;
    padding: 18px 10px;
}

.success-sparkle {
    font-size: 42px;
    margin-bottom: 10px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--g-gold-bright);
    margin-bottom: 8px;
}

.success-desc {
    font-size: 13.5px;
    color: var(--g-text-sub);
    line-height: 1.45;
    margin-bottom: 20px;
}

.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.success-btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #ffffff;
    border-radius: 10px;
    padding: 9px;
    cursor: pointer;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.success-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
}