/* support_style.css */
:root {
    --support-bg: #f0f4f8;
    --support-text: #2c3e50;
    --support-text-muted: #546e7a;
    --support-primary: #3b5998;
    --support-secondary: #9b59b6;
    --support-accent-gradient: linear-gradient(135deg, #ff7e5f, #feb47b);
    --support-card-bg: rgba(255, 255, 255, 0.75);
    --support-card-border: rgba(255, 255, 255, 0.4);
    --support-card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --support-nav-bg: rgba(255, 255, 255, 0.85);
    --support-glow-1: rgba(59, 89, 152, 0.15);
    --support-glow-2: rgba(155, 89, 182, 0.15);
    --support-glow-3: rgba(255, 126, 95, 0.15);
}

[data-theme="dark"] {
    --support-bg: #1a1a2e;
    --support-text: #f5f6fa;
    --support-text-muted: #a4b0be;
    --support-primary: #5dbeef;
    --support-secondary: #9b59b6;
    --support-accent-gradient: linear-gradient(135deg, #ff7e5f, #feb47b);
    --support-card-bg: rgba(22, 33, 62, 0.65);
    --support-card-border: rgba(255, 255, 255, 0.1);
    --support-card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --support-nav-bg: rgba(26, 26, 46, 0.85);
    --support-glow-1: rgba(93, 190, 239, 0.15);
    --support-glow-2: rgba(155, 89, 182, 0.15);
    --support-glow-3: rgba(255, 126, 95, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background-color: var(--support-bg);
    color: var(--support-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Glows */
.support-bg-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.support-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.8;
}

.support-glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--support-glow-1);
}

.support-glow-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--support-glow-2);
}

.support-glow-3 {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 40vw;
    height: 40vw;
    background: var(--support-glow-3);
}

/* Navigation */
.support-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--support-nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--support-card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.support-nav-brand {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--support-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.support-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.support-nav-links a {
    color: var(--support-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.support-nav-links a:hover {
    color: var(--support-primary);
}

.support-dark-toggle {
    background: none;
    border: 1px solid var(--support-text-muted);
    color: var(--support-text);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.support-dark-toggle:hover {
    background: var(--support-text);
    color: var(--support-bg);
}

/* Main Content */
.support-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Glass Card Base */
.support-glass-card {
    background: var(--support-card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--support-card-border);
    border-radius: 16px;
    box-shadow: var(--support-card-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

/* Hero Section */
.support-hero {
    text-align: center;
}

.support-hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: var(--support-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.support-hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--support-text);
    margin-bottom: 1.5rem;
}

.support-hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.support-hero-benefits li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    color: var(--support-text-muted);
}

.support-hero-benefits li::before {
    content: '💝';
    position: absolute;
    left: 0;
    top: 0px;
    font-size: 0.9rem;
}

/* Donation Layout */
.support-donation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

/* QR Code Section */
.support-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.support-qr-wrapper {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.support-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.support-qr-placeholder {
    display: none; /* hidden by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
    height: 100%;
    width: 100%;
    padding: 1rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.support-qr-note {
    font-size: 0.9rem;
    color: var(--support-text-muted);
    font-weight: 500;
}

/* Steps Section */
.support-steps-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.support-steps-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--support-primary);
}

.support-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    counter-reset: step;
}

.support-step-item {
    position: relative;
    padding-left: 3rem;
    list-style: none;
    line-height: 1.5;
}

.support-step-item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--support-accent-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(255, 126, 95, 0.4);
}

/* Footer */
.support-footer {
    text-align: center;
    padding: 2rem;
    margin-top: auto;
    color: var(--support-text-muted);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .support-donation-container {
        grid-template-columns: 1fr;
    }
    
    .support-nav {
        flex-direction: column;
        gap: 1rem;
    }
}
