/* Support Us Page Styles */

.support-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
    background: #111;
}

/* Canvas Background Container */
#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.canvas-bg-wrapper canvas {
    will-change: transform;
}

/* ── Desktop: side-docked card ──────────────────────────────────── */
.support-container {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 420px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-container.hidden {
    transform: translateX(100%);
}

.support-card {
    background: rgba(20, 22, 24, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--neu-radius-lg);
    padding: 35px;
    box-shadow:
        8px 8px 20px rgba(0, 0, 0, 0.5),
        -4px -4px 12px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: white;
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Hide/show toggle tab — sits on the left edge of the card */
.panel-toggle {
    position: fixed;
    top: 50%;
    right: 420px;
    transform: translateY(-50%);
    z-index: 101;
    background: rgba(20, 22, 24, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-right: none;
    border-radius: var(--neu-radius) 0 0 var(--neu-radius);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 14px 8px;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    box-shadow:
        -3px 3px 8px rgba(0, 0, 0, 0.35),
        1px -1px 4px rgba(255, 255, 255, 0.02);
}

.panel-toggle:hover {
    color: white;
    background: rgba(20, 22, 24, 0.8);
}

.panel-toggle .fa {
    transition: transform 0.3s;
}

.support-container.hidden ~ .panel-toggle {
    right: 0;
    border-radius: 10px 0 0 10px;
}

.support-container.hidden ~ .panel-toggle .fa {
    transform: rotate(180deg);
}

/* Header */
.support-header {
    text-align: center;
    margin-bottom: 15px;
}

.support-header h1 {
    margin: 0 0 8px 0;
    color: white;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.support-header p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-family: 'Barlow Semi Condensed', 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    border-left: 2px solid rgba(228, 30, 51, 0.6);
    padding-left: 14px;
    text-align: left;
}

/* Support Content */
.support-content {
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.7;
}

.support-content h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 17px;
    color: white;
    margin: 0 0 10px 0;
    letter-spacing: 0.03em;
}

.support-content p {
    margin: 0 0 12px 0;
}

.support-content p:last-of-type {
    margin-bottom: 0;
}

/* CTA Button — neumorphic raised */
.support-btn,
.support-btn:visited,
.support-btn:link {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(145deg, var(--og-red-light), var(--og-red-dark));
    color: white;
    border: none;
    border-radius: var(--neu-radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Open Sans Condensed', sans-serif;
    text-decoration: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.45),
        -2px -2px 8px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.support-btn:hover {
    background: linear-gradient(145deg, #e41e33, #b8162a);
    transform: translateY(-2px);
    box-shadow:
        6px 6px 16px rgba(0, 0, 0, 0.5),
        -3px -3px 10px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px var(--og-red-glow);
    color: white;
    text-decoration: none;
}

.support-btn:active {
    transform: translateY(0);
    box-shadow:
        inset 3px 3px 8px rgba(0, 0, 0, 0.4),
        inset -2px -2px 6px rgba(255, 255, 255, 0.05);
}

.support-btn i {
    margin-right: 10px;
}

/* Periodic red glow pulse */
@keyframes redGlowPulse {
    0%, 80%, 100% {
        box-shadow:
            4px 4px 10px rgba(0, 0, 0, 0.45),
            -2px -2px 8px rgba(255, 255, 255, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 0 rgba(228, 30, 51, 0);
    }
    88%, 92% {
        box-shadow:
            4px 4px 10px rgba(0, 0, 0, 0.45),
            -2px -2px 8px rgba(255, 255, 255, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 25px rgba(228, 30, 51, 0.4),
            0 0 50px rgba(228, 30, 51, 0.15);
    }
}

.support-btn:not(:hover):not(:active) {
    animation: redGlowPulse 10s ease-in-out infinite;
}

/* ── Donate + Share row ───────────────────────────────────────── */
.support-btn-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
}

.support-btn-row .support-btn {
    flex: 1;
    margin-top: 0;
}

.share-wrapper {
    position: relative;
    flex-shrink: 0;
}

.share-toggle {
    width: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--neu-radius);
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.35),
        -2px -2px 6px rgba(255, 255, 255, 0.03);
}

.share-toggle:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.share-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: rgba(20, 22, 24, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--neu-radius);
    box-shadow:
        4px 4px 12px rgba(0, 0, 0, 0.5),
        -2px -2px 8px rgba(255, 255, 255, 0.03);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.share-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.15s;
    background: rgba(255, 255, 255, 0.04);
}

.share-option:hover {
    color: white;
    background: rgba(255, 255, 255, 0.12);
}

.share-option[data-platform="facebook"]:hover { color: #1877f2; }
.share-option[data-platform="instagram"]:hover { color: #e1306c; }
.share-option[data-platform="whatsapp"]:hover { color: #25d366; }
.share-option[data-platform="email"]:hover    { color: #ea4335; }
.share-option[data-platform="copy"]:hover     { color: #27ae60; }

/* Footer */
.support-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 15px;
    margin-top: 20px;
    text-align: center;
}

.support-links {
    margin-bottom: 10px;
}

.back-to-site,
.back-to-site:visited {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.back-to-site:hover {
    color: white;
}

.back-to-site i {
    margin-right: 8px;
}

.support-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.support-info i {
    margin-right: 5px;
}

/* Settings Toggle — neumorphic circle */
.settings-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    font-size: 15px;
    padding: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    z-index: 10;
    box-shadow:
        2px 2px 5px rgba(0, 0, 0, 0.3),
        -1px -1px 3px rgba(255, 255, 255, 0.03);
}

.settings-toggle:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.35),
        -2px -2px 5px rgba(255, 255, 255, 0.04);
}

.settings-toggle.active {
    color: var(--og-red);
    box-shadow:
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -1px -1px 3px rgba(255, 255, 255, 0.02);
}

/* Settings Panel — neumorphic inset */
.settings-panel {
    display: none;
    padding: 14px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--neu-radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 3px 3px 8px rgba(0, 0, 0, 0.35),
        inset -2px -2px 6px rgba(255, 255, 255, 0.03);
}

.settings-panel.open {
    display: block;
}

.settings-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.settings-row:last-child {
    margin-bottom: 0;
}

.settings-group {
    flex: 1;
    min-width: 120px;
}

.settings-group.full-width {
    flex: 100%;
}

.settings-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.settings-group select,
.settings-group input[type="text"] {
    width: 100%;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--neu-radius-sm);
    background: rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 13px;
    box-sizing: border-box;
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.35),
        inset -1px -1px 3px rgba(255, 255, 255, 0.03);
    transition: all var(--transition-fast);
}

.settings-group select option {
    background: #2d3133;
    color: white;
}

.settings-group select:focus,
.settings-group input[type="text"]:focus {
    outline: none;
    border-color: rgba(228, 30, 51, 0.5);
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.35),
        inset -1px -1px 3px rgba(255, 255, 255, 0.03),
        0 0 8px var(--og-red-glow);
}

.flickr-input-group {
    display: none;
}

.flickr-input-group.visible {
    display: flex;
}

.artist-select-group {
    display: none;
}

.artist-select-group.visible {
    display: flex;
}

/* Photo counter */
.photo-counter {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-counter.visible {
    opacity: 1;
}

/* Photo credit — indented to match image captions */
/* ── Slideshow prev/next nav ──────────────────────────────────── */
.slideshow-nav {
    position: fixed;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.slideshow-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.slideshow-nav-btn:hover {
    color: white;
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.2);
}

.slideshow-nav-btn:active {
    transform: scale(0.92);
}

.photo-credit {
    position: fixed;
    bottom: 14px;
    left: 40px;
    z-index: 10;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.45);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    white-space: nowrap;
}

.photo-credit.visible {
    opacity: 1;
}

/* Gift Aid */
.gift-aid {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.gift-aid input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #f42539;
    width: 16px;
    height: 16px;
}

.gift-aid strong {
    color: rgba(255, 255, 255, 0.9);
}

/* ── Quote overlay ─────────────────────────────────────────────── */
.quote-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    box-sizing: border-box;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.quote-overlay.visible {
    opacity: 1;
}

.quote-overlay.splash {
    background: #1a1a1a;
    transition: opacity 1.5s ease, background 2s ease;
}

.quote-text {
    font-family: 'Dosis', 'Segoe UI', sans-serif;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-bottom: 30px;
}

.quote-author {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.quote-role {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.quote-donate-btn,
.quote-donate-btn:visited,
.quote-donate-btn:link {
    pointer-events: auto;
    display: inline-block;
    margin-top: 24px;
    padding: 12px 32px;
    background: linear-gradient(145deg, var(--og-red-light), var(--og-red-dark));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow:
        4px 4px 12px rgba(0, 0, 0, 0.4),
        0 0 20px var(--og-red-glow);
    animation: redGlowPulse 4s ease-in-out infinite;
}

.quote-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        6px 6px 16px rgba(0, 0, 0, 0.5),
        0 0 30px var(--og-red-glow);
    color: white;
    text-decoration: none;
}

.quote-donate-btn .fa {
    margin-right: 8px;
    margin-top: 4px;
}

/* Link separator in footer */
.link-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}

/* ── Newsletter slide-up panel ─────────────────────────────────── */
.newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.newsletter-overlay.active {
    opacity: 1;
    visibility: visible;
}

.newsletter-panel {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 600px;
    padding: 30px 35px 35px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: white;
}

.newsletter-overlay.active .newsletter-panel {
    transform: translateY(0);
}

.newsletter-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
    line-height: 1;
}

.newsletter-close:hover {
    color: white;
}

.newsletter-inner h3 {
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 20px;
    margin: 0 0 6px 0;
}

.newsletter-inner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0 0 18px 0;
}

.newsletter-field {
    margin-bottom: 14px;
    flex: 1;
    min-width: 0;
}

.newsletter-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-field label .req {
    color: #f42539;
}

.newsletter-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.newsletter-field input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-field input:focus {
    outline: none;
    border-color: #f42539;
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-row {
    display: flex;
    gap: 12px;
}

.newsletter-row .newsletter-field {
    flex: 1;
}

.newsletter-submit {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #f42539, #c41a2d);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.newsletter-submit:hover {
    background: linear-gradient(135deg, #e41e33, #b8162a);
    transform: translateY(-1px);
}

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

.newsletter-message {
    font-size: 13px;
    margin-top: 10px;
    min-height: 0;
}

.newsletter-message.success {
    color: #4ecdc4;
}

.newsletter-message.error {
    color: #f42539;
}

/* Mobile close button — hidden on desktop */
.mobile-close {
    display: none;
}

/* Mobile back button — hidden by default */
.mobile-back-btn {
    display: none;
}

/* Hide main-site side nav / social icons that bleed through from includes */
.support-page #menu-logo,
.support-page .side-nav,
.support-page .social-side,
.support-page #side-nav,
.support-page #social-side,
.support-page .side-tabs,
.support-page #side-tabs,
.support-page [class*="side-tab"],
.support-page [id*="side-tab"] {
    display: none !important;
}

/* ── Mobile: centred card ───────────────────────────────────────── */
@media (min-width: 769px) {
    /* Shift quote left so it doesn't sit behind the side panel */
    .quote-overlay {
        padding-right: 460px;
        align-items: flex-start;
        text-align: left;
        padding-left: 80px;
    }
}

@media (max-width: 768px) {
    /* Card flows naturally — no fixed overlay on mobile */
    .support-container {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px 15px;
        justify-content: flex-start;
        align-items: center;
    }

    .support-container.hidden {
        transform: none;
    }

    .panel-toggle {
        display: none;
    }

    .support-card {
        max-width: 520px;
        padding: 30px 25px;
        max-height: none;
        overflow-y: visible;
    }

    .support-header h1 {
        font-size: 24px;
    }

    /* Close button — top-left of card */
    .mobile-close {
        display: block;
        position: absolute;
        top: 12px;
        left: 12px;
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.5);
        font-size: 18px;
        padding: 8px;
        cursor: pointer;
        z-index: 10;
        border-radius: 50%;
        transition: all 0.3s;
    }

    .mobile-close:hover,
    .mobile-close:active {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }

    /* When card is hidden: hide it, show canvas fullscreen */
    .support-container.hidden {
        display: none;
    }

    .support-container.hidden ~ #canvas-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Canvas plays inline below the card by default */
    #canvas-bg {
        position: relative;
        height: 56vw;
        min-height: 220px;
        border-radius: 0;
    }

    /* Floating back button — appears when card is hidden */
    /* Force image captions to top-centre on mobile so they don't clash with back button */
    .canvas-bg-caption {
        top: 10px !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        text-align: center !important;
    }

    .support-container.hidden ~ .mobile-back-btn {
        display: block;
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 200;
        padding: 12px 28px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 30px;
        color: rgba(255, 255, 255, 0.85);
        font-family: 'Open Sans Condensed', sans-serif;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        cursor: pointer;
        white-space: nowrap;
    }

    .support-container.hidden ~ .mobile-back-btn .fa {
        margin-right: 8px;
    }

    /* Quote overlay covers the inline canvas area */
    .quote-overlay {
        position: absolute;
        padding: 20px;
        z-index: 5;
    }

    /* Photo credit below/over inline canvas */
    .photo-credit {
        left: 15px;
        right: auto;
        bottom: 10px;
    }

    .slideshow-nav {
        left: 8px;
    }

    .slideshow-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .support-card {
        padding: 25px 20px;
    }

    .support-btn,
    .support-btn:visited,
    .support-btn:link {
        font-size: 14px;
        padding: 12px 20px;
    }

    .newsletter-row {
        flex-direction: column;
        gap: 0;
    }

    .newsletter-panel {
        padding: 25px 20px 30px;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
    }

    .giftaid-row {
        flex-direction: column;
        gap: 0;
    }

    .giftaid-panel {
        padding: 25px 20px 30px;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
    }
}

/* ── Floating donate button ───────────────────────────────────── */
.floating-donate {
    display: none;
    position: fixed;
    z-index: 200;
    padding: 14px 28px;
    background: linear-gradient(145deg, var(--og-red-light), var(--og-red-dark));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    left: 50%;
    translate: -50% 0;
    box-shadow:
        4px 4px 12px rgba(0, 0, 0, 0.4),
        -2px -2px 8px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px var(--og-red-glow);
    animation: floatDrift 120s ease-in-out infinite;
    transition: box-shadow 0.2s ease;
}

.floating-donate:visited,
.floating-donate:link {
    color: white;
    text-decoration: none;
}

.floating-donate:hover {
    box-shadow:
        6px 6px 16px rgba(0, 0, 0, 0.5),
        -3px -3px 10px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 30px var(--og-red-glow);
    color: white;
    text-decoration: none;
}

.floating-donate .fa {
    margin-right: 8px;
}

.support-container.hidden ~ .floating-donate,
.floating-donate.visible {
    display: block;
}

/* Desktop: top-centre → centre → bottom → back, long pauses at each stop */
@keyframes floatDrift {
    0%    { top: 8%;  }
    28%   { top: 8%;  }
    33%   { top: 45%; }
    61%   { top: 45%; }
    66%   { top: 82%; }
    94%   { top: 82%; }
    100%  { top: 8%;  }
}

@media (max-width: 768px) {
    .floating-donate {
        animation: floatDriftMobile 120s ease-in-out infinite;
        font-size: 14px;
        padding: 12px 22px;
    }

    @keyframes floatDriftMobile {
        0%    { top: 12%; }
        28%   { top: 12%; }
        33%   { top: 45%; }
        61%   { top: 45%; }
        66%   { top: 78%; }
        94%   { top: 78%; }
        100%  { top: 12%; }
    }
}

/* ── Gift Aid nudge — prominent, directly after donate ────────── */
.giftaid-nudge {
    margin-top: 16px;
}

.giftaid-nudge-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: rgba(228, 30, 51, 0.06);
    border: 1px solid rgba(228, 30, 51, 0.12);
    border-radius: var(--neu-radius);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.35),
        -2px -2px 6px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-align: left;
}

.giftaid-nudge-toggle:hover {
    background: rgba(228, 30, 51, 0.1);
    border-color: rgba(228, 30, 51, 0.2);
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.4),
        -2px -2px 8px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.giftaid-nudge-toggle.open {
    background: rgba(228, 30, 51, 0.08);
    border-color: rgba(228, 30, 51, 0.18);
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.3),
        inset -1px -1px 3px rgba(255, 255, 255, 0.02);
}

.giftaid-nudge-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--og-red-light), var(--og-red-dark));
    border-radius: 50%;
    font-size: 12px;
    box-shadow:
        2px 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.giftaid-nudge-text {
    flex: 1;
    font-size: 12px;
    line-height: 1.4;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.giftaid-nudge-text strong {
    color: white;
    font-size: 13px;
}

.giftaid-nudge-arrow {
    flex-shrink: 0;
    font-size: 11px;
    opacity: 0.5;
    transition: transform 0.3s;
}

.giftaid-nudge-toggle.open .giftaid-nudge-arrow {
    transform: rotate(180deg);
}

/* Gift Aid body — collapsed by default */
.giftaid-nudge-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2px;
}

.giftaid-nudge-body.open {
    max-height: 900px;
    padding: 16px 2px 4px;
}

/* ── Newsletter — subtle secondary toggle ────────────────────── */
.newsletter-inline {
    margin-top: 12px;
}

.newsletter-inline-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--neu-radius-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.newsletter-inline-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.newsletter-inline-toggle.open {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.newsletter-inline-toggle .fa-envelope {
    font-size: 11px;
}

.newsletter-inline-toggle .toggle-arrow {
    margin-left: auto;
    font-size: 10px;
    opacity: 0.4;
    transition: transform 0.3s;
}

.newsletter-inline-toggle.open .toggle-arrow {
    transform: rotate(180deg);
}

/* Newsletter body — collapsed by default */
.newsletter-inline-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 2px;
}

.newsletter-inline-body.open {
    max-height: 500px;
    padding: 14px 2px 4px;
}

/* Newsletter submit — smaller/quieter than Gift Aid */
.newsletter-submit-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow:
        2px 2px 6px rgba(0, 0, 0, 0.3),
        -1px -1px 4px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.newsletter-submit-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.35),
        -2px -2px 6px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* ── Shared form field styles ────────────────────────────────── */
.inline-form-row {
    display: flex;
    gap: 10px;
}

.inline-form-field {
    flex: 1;
    min-width: 0;
    margin-bottom: 12px;
}

.inline-form-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.65);
}

.inline-form-field label .req {
    color: var(--og-red);
}

.inline-form-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--neu-radius-sm);
    background: rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 13px;
    box-sizing: border-box;
    transition: all var(--transition-fast);
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.4),
        inset -2px -2px 4px rgba(255, 255, 255, 0.03);
}

.inline-form-field input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.inline-form-field input:focus {
    outline: none;
    border-color: rgba(228, 30, 51, 0.4);
    background: rgba(0, 0, 0, 0.3);
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.4),
        inset -2px -2px 4px rgba(255, 255, 255, 0.03),
        0 0 10px var(--og-red-glow);
}

.inline-form-field input[readonly] {
    opacity: 0.6;
    cursor: default;
}


/* Submit buttons — neumorphic raised */
.inline-form-submit {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(145deg, var(--og-red-light), var(--og-red-dark));
    color: white;
    border: none;
    border-radius: var(--neu-radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition: all var(--transition-medium);
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.4),
        -2px -2px 6px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.inline-form-submit:hover {
    background: linear-gradient(145deg, #e41e33, #b8162a);
    transform: translateY(-1px);
    box-shadow:
        4px 4px 12px rgba(0, 0, 0, 0.45),
        -2px -2px 8px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 14px var(--og-red-glow);
}

.inline-form-submit:active {
    transform: translateY(0);
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.4),
        inset -1px -1px 3px rgba(255, 255, 255, 0.03);
}

.inline-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow:
        2px 2px 5px rgba(0, 0, 0, 0.3),
        -1px -1px 3px rgba(255, 255, 255, 0.02);
}

.inline-form-submit .fa {
    margin-right: 6px;
}

/* Messages */
.inline-form-message {
    font-size: 12px;
    margin-top: 8px;
    min-height: 0;
    padding: 0;
    transition: all var(--transition-fast);
}

.inline-form-message.success {
    color: #4ecdc4;
    padding: 8px 12px;
    background: rgba(78, 205, 196, 0.08);
    border-radius: var(--neu-radius-sm);
    border: 1px solid rgba(78, 205, 196, 0.15);
}

.inline-form-message.error {
    color: var(--og-red-light);
    padding: 8px 12px;
    background: rgba(244, 37, 57, 0.08);
    border-radius: var(--neu-radius-sm);
    border: 1px solid rgba(244, 37, 57, 0.15);
}

/* Gift Aid declaration checkbox block — neumorphic inset panel */
.giftaid-declaration {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    padding: 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--neu-radius-sm);
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.35),
        inset -2px -2px 4px rgba(255, 255, 255, 0.03);
    transition: border-color var(--transition-fast);
}

.giftaid-declaration:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.giftaid-declaration input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--og-red);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.giftaid-declaration-text strong {
    color: white;
}

/* reCAPTCHA wrapper */
.recaptcha-wrapper {
    margin-bottom: 12px;
}

.recaptcha-wrapper .g-recaptcha {
    transform: scale(0.9);
    transform-origin: left top;
}

.giftaid-note {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    margin: 10px 0 0 0;
    line-height: 1.5;
    font-style: italic;
}

/* ── Canvas caption: for-sale dot + enquire link ──────────────── */
.canvas-bg-for-sale-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #27ae60;
    box-shadow: 0 0 6px rgba(39, 174, 96, 0.6);
    flex-shrink: 0;
}

.canvas-bg-enquire-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s;
    cursor: pointer;
}

.canvas-bg-enquire-link:hover {
    color: #e74c3c;
}

/* Mobile: stack inline form rows */
@media (max-width: 480px) {
    .inline-form-row {
        flex-direction: column;
        gap: 0;
    }
}
