/* ==========================================================================
   Elephant Audiobooks - Premium Fantasy Support Page Redesign
   Inspired by Reference Image 1: Contained, Elegant Single-Flow Experience
   ========================================================================== */

html,
body.page-support {
    background: #040612 !important;
    min-height: 100%;
}

body.page-support main {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    background: #040612 !important;
}

/* --------------------------------------------------------------------------
   Page Container & Canvas
   -------------------------------------------------------------------------- */
.support-page {
    position: relative;
    flex: 1 0 auto;
    min-height: calc(100vh - 64px);
    overflow: clip;
    background: #040612;
    isolation: isolate;
    color: #f7f7fb;
}

/* --------------------------------------------------------------------------
   Fantasy Ambient Animated Background Layer
   -------------------------------------------------------------------------- */
.support-bg-stage {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.support-bg-mist {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

.support-bg-mist--1 {
    width: 750px;
    height: 750px;
    top: -120px;
    left: -120px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.08) 50%, transparent 75%);
    filter: blur(80px);
    animation: mistFloat1 26s ease-in-out infinite alternate;
}

.support-bg-mist--2 {
    width: 820px;
    height: 820px;
    top: 5%;
    right: -150px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.17) 0%, rgba(79, 70, 229, 0.06) 50%, transparent 75%);
    filter: blur(90px);
    animation: mistFloat2 32s ease-in-out infinite alternate;
}

.support-bg-mist--3 {
    width: 900px;
    height: 600px;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(217, 119, 6, 0.11) 0%, rgba(180, 83, 9, 0.03) 50%, transparent 70%);
    filter: blur(100px);
    animation: mistFloat3 24s ease-in-out infinite alternate;
}

.support-bg-mist--4 {
    width: 650px;
    height: 650px;
    top: 35%;
    left: 15%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.12) 0%, transparent 65%);
    filter: blur(75px);
    animation: mistFloat4 22s ease-in-out infinite alternate;
}

@keyframes mistFloat1 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(60px, 45px, 0) scale(1.15); }
    100% { transform: translate3d(-35px, 80px, 0) scale(0.95); }
}

@keyframes mistFloat2 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-70px, 60px, 0) scale(1.18); }
    100% { transform: translate3d(35px, -35px, 0) scale(1.05); }
}

@keyframes mistFloat3 {
    0% { transform: translate3d(-50%, 0, 0) scale(0.95); opacity: 0.7; }
    50% { transform: translate3d(-46%, -35px, 0) scale(1.1); opacity: 1; }
    100% { transform: translate3d(-54%, 25px, 0) scale(1); opacity: 0.75; }
}

@keyframes mistFloat4 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-55px, 35px, 0) scale(1.12); }
    100% { transform: translate3d(30px, -25px, 0) scale(0.92); }
}

/* Faint Arcane Celestial Ring Watermark */
.support-bg-arcane-ring {
    position: absolute;
    width: 1050px;
    height: 1050px;
    top: -240px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px dashed rgba(168, 85, 247, 0.08);
    box-shadow: 0 0 80px rgba(139, 92, 246, 0.04), inset 0 0 80px rgba(139, 92, 246, 0.03);
    animation: arcaneSpin 160s linear infinite;
    pointer-events: none;
}

@keyframes arcaneSpin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

/* Floating Stardust Particles Canvas */
.support-bg-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Vignette overlay for depth */
.support-bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, transparent 40%, rgba(4, 6, 18, 0.6) 80%, #040612 100%);
    pointer-events: none;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   Centered Main Shell & Stage
   -------------------------------------------------------------------------- */
.support-shell {
    position: relative;
    z-index: 3;
    padding: clamp(32px, 4.5vw, 54px) 16px clamp(48px, 6vw, 80px);
    width: 100%;
}

.support-stage {
    width: min(100%, 860px);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* --------------------------------------------------------------------------
   Section A: Top Hero Intro Card (Inspired by Reference Image 1)
   -------------------------------------------------------------------------- */
.support-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: clamp(30px, 4vw, 44px) clamp(26px, 4.5vw, 50px);
    background:
        radial-gradient(ellipse 100% 120% at 75% 0%, rgba(139, 92, 246, 0.35) 0%, transparent 65%),
        linear-gradient(135deg, rgba(46, 16, 88, 0.92) 0%, rgba(24, 11, 52, 0.95) 50%, rgba(14, 8, 32, 0.97) 100%);
    border: 1px solid rgba(168, 85, 247, 0.28);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 45px rgba(139, 92, 246, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-hero-card__glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, transparent 70%);
    filter: blur(45px);
    pointer-events: none;
}

.support-hero-card__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.support-eyebrow,
.support-kicker,
.support-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dfbd6e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.support-hero-card h1 {
    margin: 0 0 10px;
    color: #fffaf0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.12;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.support-hero-card p {
    margin: 0;
    color: rgba(235, 230, 248, 0.84);
    font-size: clamp(13.5px, 1.35vw, 15px);
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Payment / Support Form Flow (Centered, Contained Experience)
   -------------------------------------------------------------------------- */
.support-payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.support-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.support-group__label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #eae7f4;
    letter-spacing: 0.015em;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Section B: Support Amount Selector
   -------------------------------------------------------------------------- */
.support-amount-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
}

.support-amount-btn {
    min-height: 52px;
    padding: 12px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(14, 16, 36, 0.78);
    backdrop-filter: blur(10px);
    color: rgba(240, 238, 250, 0.9);
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.support-amount-btn:hover {
    background: rgba(26, 28, 58, 0.88);
    border-color: rgba(168, 85, 247, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32), 0 0 18px rgba(139, 92, 246, 0.22);
}

.support-amount-btn:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 3px;
}

.support-amount-btn.is-selected {
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.6) 0%, rgba(109, 40, 217, 0.48) 100%);
    border: 2px solid #a855f7;
    box-shadow:
        0 0 24px rgba(168, 85, 247, 0.42),
        inset 0 0 12px rgba(168, 85, 247, 0.24);
    color: #ffffff;
}

/* Custom Amount Input Field */
.support-custom-field {
    margin-top: 4px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(12, 14, 34, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    animation: fadeInCustom 0.22s ease-out;
}

@keyframes fadeInCustom {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.support-custom-field__label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #cfcbe0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 7px;
}

.support-custom-field__control {
    position: relative;
    display: flex;
    align-items: center;
}

.support-custom-symbol {
    position: absolute;
    left: 14px;
    font-size: 17px;
    font-weight: 700;
    color: #dfbd6e;
    pointer-events: none;
    z-index: 1;
}

.support-custom-input {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 8, 20, 0.88);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 14px 8px 34px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.support-custom-input:focus {
    border-color: #a855f7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

.support-custom-hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #8b8a9e;
}

/* --------------------------------------------------------------------------
   Section C: Contribution Preview Card (Inspired by Reference Image 1)
   -------------------------------------------------------------------------- */
.support-contribution-header {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.support-contribution-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(13, 16, 38, 0.82);
    border: 1px solid rgba(168, 85, 247, 0.22);
    backdrop-filter: blur(14px);
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-contribution-card.is-sparking {
    animation: contributionSparkle 0.45s ease-out;
}

@keyframes contributionSparkle {
    0% {
        border-color: rgba(223, 189, 110, 0.7);
        box-shadow: 0 0 35px rgba(168, 85, 247, 0.5), inset 0 0 18px rgba(223, 189, 110, 0.2);
    }
    100% {
        border-color: rgba(168, 85, 247, 0.22);
        box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
}

.support-contribution-card__thumb {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 13px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(9, 11, 26, 0.95) 75%);
    border: 1px solid rgba(168, 85, 247, 0.28);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.support-contribution-card__thumb img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
    transition: transform 0.25s ease;
}

.support-contribution-card:hover .support-contribution-card__thumb img {
    transform: scale(1.06);
}

.support-contribution-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.support-contribution-card__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.support-contribution-card__title {
    margin: 0;
    color: #dfbd6e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.support-contribution-card__amount {
    color: #c084fc;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.support-contribution-card__desc {
    margin: 0;
    color: rgba(220, 218, 235, 0.72);
    font-size: 12px;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Keepsake Selector Drawer (Collapsible & Compact)
   -------------------------------------------------------------------------- */
.support-token-drawer {
    margin-top: 4px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(10, 12, 30, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInDrawer 0.22s ease-out;
}

@keyframes fadeInDrawer {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.support-token-drawer__kicker {
    margin-bottom: 9px;
    color: #dfbd6e;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.support-token-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.support-token-card {
    --token-color: #a970e8;
    --token-border: rgba(169, 112, 232, .25);
    --token-surface: rgba(169, 112, 232, .06);
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    border: 1px solid var(--token-border);
    padding: 10px 8px 9px;
    background: linear-gradient(180deg, rgba(16, 18, 42, 0.9), rgba(10, 12, 30, 0.95));
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.support-token-card--gold {
    --token-color: #d6a84b;
    --token-border: rgba(214, 168, 75, .32);
    --token-surface: rgba(214, 168, 75, .08);
}

.support-token-card--orange {
    --token-color: #f97316;
    --token-border: rgba(249, 115, 22, .32);
    --token-surface: rgba(249, 115, 22, .08);
}

.support-token-card--green {
    --token-color: #4ade80;
    --token-border: rgba(74, 222, 128, .3);
    --token-surface: rgba(74, 222, 128, .08);
}

.support-token-card:hover {
    border-color: var(--token-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 16px var(--token-surface);
}

.support-token-card.is-selected {
    border-color: var(--token-color);
    background: linear-gradient(180deg, var(--token-surface), rgba(12, 14, 34, 0.98));
    box-shadow: 0 0 18px var(--token-surface), inset 0 0 0 1px var(--token-color);
}

.support-token-card__selected {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px solid var(--token-border);
    display: grid;
    place-items: center;
    color: transparent;
    font-size: 11px;
    background: rgba(4, 6, 18, 0.7);
    transition: all 0.18s ease;
}

.support-token-card.is-selected .support-token-card__selected {
    color: #fff;
    background: var(--token-color);
}

.support-token-card__art {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 5px;
}

.support-token-card__image {
    width: 46px;
    height: 46px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.support-token-card:hover .support-token-card__image {
    transform: scale(1.08);
}

.support-token-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.support-token-card__body strong {
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 500;
    color: #f7f5fd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-token-card__amount {
    font-size: 11px;
    font-weight: 700;
    color: var(--token-color);
}

/* --------------------------------------------------------------------------
   Section D: Payment Warning & Error Alerts (Styled as luxury warning)
   -------------------------------------------------------------------------- */
.support-payment-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 12px;
    background: rgba(46, 26, 7, 0.7);
    border: 1px solid rgba(245, 158, 11, 0.42);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(245, 158, 11, 0.08);
    color: #fde68a;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
}

.support-payment-warning i {
    font-size: 18px;
    color: #fbbf24;
    flex-shrink: 0;
}

.support-payment-error {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(69, 10, 10, 0.7);
    border: 1px solid rgba(239, 68, 68, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    color: #fca5a5;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Section D continued: Support Action Button (Inspired by Reference Image 1)
   -------------------------------------------------------------------------- */
.support-now-button {
    min-height: 52px;
    width: 100%;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.support-now-button:not([disabled]) {
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 48, 135, 0.38), 0 0 24px rgba(0, 112, 186, 0.2);
}

.support-now-button:not([disabled]):hover {
    background: linear-gradient(135deg, #0079c1 0%, #00379b 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 48, 135, 0.45), 0 0 30px rgba(0, 112, 186, 0.3);
}

.support-now-button[disabled] {
    background: rgba(22, 25, 46, 0.75);
    color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.07);
    cursor: not-allowed;
    box-shadow: none;
}

.support-now-button i {
    font-size: 18px;
}

/* Assurances trust row */
.support-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 11.5px;
    color: rgba(185, 182, 208, 0.65);
    margin-top: -6px;
}

.support-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.support-trust-row i {
    color: #a855f7;
    font-size: 12px;
}

/* PayPal container */
.support-paypal-shell {
    position: relative;
    margin-top: 24px;
    margin-bottom: 8px;
    padding: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0%, rgba(147, 51, 234, 0.18), transparent 70%),
                linear-gradient(165deg, rgba(18, 12, 38, 0.94), rgba(10, 6, 24, 0.98));
    border: 1px solid rgba(168, 85, 247, 0.32);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55),
                0 0 35px rgba(147, 51, 234, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.25s ease;
}

.support-paypal-card {
    padding: 28px 24px 22px;
    text-align: center;
}

.support-paypal-header {
    margin-bottom: 22px;
}

.support-paypal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(147, 51, 234, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.2);
}

.support-paypal-badge i {
    font-size: 12px;
    color: #e879f9;
}

.support-paypal-title {
    margin: 0 0 6px;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", Inter, -apple-system, sans-serif;
    font-size: clamp(17px, 2.2vw, 21px);
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.support-paypal-subtitle {
    margin: 0 auto;
    max-width: 460px;
    color: rgba(203, 213, 225, 0.78);
    font-size: 13.5px;
    line-height: 1.5;
}

.support-paypal-buttons-wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.support-paypal-buttons {
    min-height: 104px;
    width: 100%;
}

.support-paypal-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(168, 85, 247, 0.14);
}

.support-paypal-assurance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(148, 163, 184, 0.72);
    font-size: 11.5px;
    font-weight: 500;
}

.support-paypal-assurance i {
    color: #a855f7;
    font-size: 11px;
}

/* --------------------------------------------------------------------------
   Section E: Optional Note Field (Accordion / Disclosure)
   -------------------------------------------------------------------------- */
.support-note-disclosure {
    border-radius: 14px;
    background: rgba(13, 16, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.2s ease;
}

.support-note-disclosure[open] {
    border-color: rgba(168, 85, 247, 0.25);
    background: rgba(14, 17, 42, 0.85);
}

.support-note-disclosure__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    color: rgba(240, 238, 250, 0.88);
    font-size: 13.5px;
    font-weight: 600;
    user-select: none;
}

.support-note-disclosure__summary::-webkit-details-marker {
    display: none;
}

.support-note-disclosure__title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.support-note-disclosure__title i {
    color: #c084fc;
    font-size: 15px;
}

.support-note-disclosure__title small {
    color: #838598;
    font-size: 12px;
    font-weight: 400;
}

.support-note-disclosure__chevron {
    color: #8b8a9e;
    font-size: 12px;
    transition: transform 0.22s ease;
}

.support-note-disclosure[open] .support-note-disclosure__chevron {
    transform: rotate(180deg);
}

.support-note-disclosure__body {
    padding: 0 18px 16px;
    animation: fadeInNote 0.2s ease-out;
}

@keyframes fadeInNote {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.support-payment-note-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.support-note-textarea {
    width: 100%;
    min-height: 80px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 8, 20, 0.78);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 12px;
    resize: vertical;
    transition: border-color 0.18s ease;
}

.support-note-textarea:focus {
    border-color: #a855f7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
}

.support-note-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #828399;
}

/* --------------------------------------------------------------------------
   Secondary Section: Need Help / Inquiry Form (Preserves data-support-message-form)
   -------------------------------------------------------------------------- */
.support-story {
    margin-top: 10px;
    border-radius: 14px;
    background: rgba(10, 12, 28, 0.45);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.2s ease;
}

.support-story-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    cursor: pointer;
    list-style: none;
    color: rgba(220, 218, 235, 0.75);
    font-size: 12.5px;
    font-weight: 600;
}

.support-story-summary::-webkit-details-marker {
    display: none;
}

.support-story-summary i {
    color: #dfbd6e;
    margin-right: 6px;
}

.support-story-summary small {
    color: #7b7d92;
    font-size: 11.5px;
    font-weight: 400;
    margin-left: 6px;
}

.support-story-details[open] .support-story-summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.support-story-details[open] .support-story-summary > i:last-child {
    transform: rotate(180deg);
}

.support-story-body {
    padding: 16px 18px;
}

.support-story__copy p {
    margin: 0 0 10px;
    font-size: 12px;
    color: rgba(220, 218, 235, 0.7);
}

.support-story__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-story__form textarea {
    width: 100%;
    min-height: 70px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 8, 20, 0.85);
    color: #ffffff;
    font-size: 13px;
    padding: 10px 12px;
}

.support-story__form textarea:focus {
    border-color: #a855f7;
    outline: none;
}

.support-story__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.support-message-status {
    margin: 0;
    font-size: 11.5px;
    color: #a8a9b7;
}

.support-story__actions .ea-button {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #eeeafa;
    cursor: pointer;
}

.support-story__actions .ea-button:hover {
    background: rgba(139, 92, 246, 0.25);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Support Result Page Styles (Preserved for /support/success, etc.)
   -------------------------------------------------------------------------- */
.support-result-page {
    width: min(calc(100% - 48px), 1000px);
    min-height: calc(100dvh - 88px);
    display: grid;
    place-items: center;
    margin-inline: auto;
    padding: 36px 0 60px;
}

.support-result-card {
    width: 100%;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(139, 92, 246, .16);
    border-radius: 22px;
    color: var(--ea-text, #f7f7fb);
    background:
        radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .13), transparent 24rem),
        rgba(13, 16, 40, .92);
    box-shadow: 0 22px 64px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .025);
    text-align: center;
}

.result-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #7654e8, #a83ce5);
    box-shadow: 0 12px 28px rgba(86, 47, 163, .22);
    font-size: 27px;
}

.support-result-card.state-success .result-icon { background: linear-gradient(135deg, #16835f, #35b986); }
.support-result-card.state-cancelled .result-icon { background: linear-gradient(135deg, #536076, #7c8799); }
.support-result-card.state-failed .result-icon { background: linear-gradient(135deg, #b83d54, #d76945); }
.support-result-card.state-processing .result-icon { background: linear-gradient(135deg, #7256d9, #a85bc9); }

.support-result-card h1 {
    max-width: 690px;
    margin: 9px auto;
    color: #fffafc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.03;
}

.support-result-card > p {
    max-width: 650px;
    margin: 12px auto 0;
    color: var(--ea-text-secondary, #a7a8b8);
    font-size: 13px;
    line-height: 1.55;
}

.support-result-summary {
    display: grid;
    gap: 7px;
    width: min(650px, 100%);
    margin: 22px auto;
    text-align: left;
}

.support-result-summary div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 11px;
    background: rgba(2, 5, 18, .38);
}

.support-result-summary .result-note {
    display: grid;
}

.support-result-summary dt {
    color: #838598;
    font-size: 11px;
    font-weight: 650;
}

.support-result-summary dd {
    margin: 0;
    color: #f6f4fa;
    font-size: 12px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.support-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
}

.support-primary-link,
.support-secondary-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(139, 92, 246, .24);
    border-radius: 10px;
    padding: 10px 14px;
    color: #eeeafa;
    background: rgba(139, 92, 246, .08);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.support-primary-link {
    border-color: rgba(216, 180, 254, .2);
    color: #fff;
    background: linear-gradient(135deg, #7654e8, #a83ce5);
}

/* --------------------------------------------------------------------------
   Responsive Layout & Media Queries
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    body.page-support .support-page,
    body.page-support .support-result-page {
        max-height: none !important;
        overflow: visible !important;
        scrollbar-gutter: auto !important;
    }
}

/* Tablet & Mobile Adaptations (Inspired by Reference Image 1 grid) */
@media (max-width: 767.98px) {
    .support-amount-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 9px;
    }

    .support-amount-btn--custom {
        grid-column: span 2;
    }

    .support-token-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .support-contribution-card {
        padding: 14px 16px;
        gap: 14px;
    }

    .support-contribution-card__thumb {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }

    .support-contribution-card__thumb img {
        width: 44px;
        height: 44px;
    }

    .support-contribution-card__title {
        font-size: 16px;
    }

    .support-contribution-card__amount {
        font-size: 15px;
    }

    .support-trust-row {
        gap: 12px;
        font-size: 10.5px;
    }

    .support-paypal-card {
        padding: 22px 16px 18px;
    }

    .support-paypal-buttons-wrap {
        max-width: 100%;
    }

    .support-paypal-subtitle {
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .support-shell {
        padding: 24px 12px 60px;
    }

    .support-hero-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

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

    .support-amount-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .support-amount-btn {
        min-height: 46px;
        font-size: 14.5px;
    }

    .support-contribution-card__title-row {
        flex-direction: column;
        gap: 2px;
    }

    .support-paypal-card {
        padding: 18px 12px 14px;
    }

    .support-paypal-title {
        font-size: 16px;
    }

    .support-paypal-buttons {
        min-height: 96px;
    }

    .support-paypal-assurance {
        font-size: 10.5px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .support-paypal-card {
        padding: 16px 8px 12px;
    }

    .support-paypal-title {
        font-size: 15px;
    }

    .support-paypal-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* --------------------------------------------------------------------------
   Support Type Switcher (One-Time vs Monthly)
   -------------------------------------------------------------------------- */
.support-type-switcher {
    margin-bottom: 1.5rem;
}

.support-type-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.support-type-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.support-type-card.is-active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18) 0%, rgba(99, 102, 241, 0.12) 100%);
    border-color: rgba(139, 92, 246, 0.75);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.22);
}

.support-type-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
