/* ============================================
   SUPPORT PAGE
   ============================================ */

.support-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.support-main {
    flex: 1;
    padding: 4rem 2rem 6rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.support-heading {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.support-heading span.project-highlight {
    color: #ffffff;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.support-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Project List */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-project-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.support-project-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.support-project-item.selected {
    background: rgba(122, 107, 158, 0.25);
    border-color: #7a6b9e;
    border-left: 4px solid #a694cc;
    padding-left: 15px;
}

.support-project-item:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.support-project-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.support-project-logo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
}

.support-project-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.support-project-category {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-left: auto;
    flex-shrink: 0;
}

/* Payment Panel */
.payment-panel {
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    position: sticky;
    top: 2rem;
}

.payment-panel.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.payment-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.amount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    font-family: inherit;
}

.amount-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.amount-btn.selected {
    background: rgba(122, 107, 158, 0.35);
    border-color: #a694cc;
    color: #ffffff;
}

.amount-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.amount-other-wrapper {
    margin-bottom: 16px;
}

.amount-btn.other-btn {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
}

.other-input-wrapper {
    display: none;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid #a694cc;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
}

.other-input-wrapper.visible {
    display: flex;
}

.other-dollar {
    padding: 13px 0 13px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    pointer-events: none;
    flex-shrink: 0;
}

.other-input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    padding: 13px 16px 13px 6px;
    width: 100%;
}

.other-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}

.next-btn {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: #7a6b9e;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: not-allowed;
    opacity: 0.35;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.02em;
}

.next-btn.active {
    opacity: 1;
    cursor: pointer;
}

.next-btn.active:hover {
    background: #9080b8;
    transform: translateY(-2px);
}

.next-btn.active:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

/* Support Page Responsive */
@media (max-width: 700px) {
    .support-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .payment-panel {
        position: static;
    }
}

@media (max-width: 480px) {
    .support-main {
        padding: 2.5rem 1rem 4rem;
    }
}