@font-face {
    font-family: 'SystemUI';
    src: local('Inter'), local('Segoe UI'), local('Helvetica Neue'), local('Arial');
    font-display: swap;
}

:root {
    --bg-primary: #06101a;
    --bg-secondary: #0c1929;
    --bg-elevated: #111f33;
    --bg-card: rgba(12, 25, 41, 0.85);
    --bg-card-hover: rgba(17, 31, 51, 0.95);
    --border-subtle: rgba(56, 130, 246, 0.08);
    --border-default: rgba(56, 130, 246, 0.15);
    --border-strong: rgba(56, 130, 246, 0.3);
    --text-primary: #e2e8f0;
    --text-secondary: #8899aa;
    --text-muted: #5a6b7d;
    --text-inverse: #06101a;
    --accent: #3b82f6;
    --accent-bright: #60a5fa;
    --accent-muted: rgba(59, 130, 246, 0.15);
    --accent-glow: rgba(59, 130, 246, 0.25);
    --danger: #ef4444;
    --danger-muted: rgba(239, 68, 68, 0.12);
    --success: #22c55e;
    --warning: #f59e0b;
    --glass-bg: rgba(6, 16, 26, 0.8);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(59,130,246,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.2s ease;
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --border-subtle: rgba(15, 23, 42, 0.06);
    --border-default: rgba(15, 23, 42, 0.1);
    --border-strong: rgba(15, 23, 42, 0.2);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    --accent: #2563eb;
    --accent-bright: #3b82f6;
    --accent-muted: rgba(37, 99, 235, 0.08);
    --accent-glow: rgba(37, 99, 235, 0.12);
    --danger: #dc2626;
    --danger-muted: rgba(220, 38, 38, 0.08);
    --glass-bg: rgba(248, 250, 252, 0.9);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 30px rgba(37,99,235,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    transition: background var(--transition), color var(--transition);
    overflow-x: hidden;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.desktop-nav a:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    flex-wrap: nowrap;
}

[data-theme="dark"] .language-switcher {
    background: rgba(12, 25, 41, 0.7);
    border-color: rgba(56, 130, 246, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.lang-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.15s ease;
    min-width: 60px;
    text-align: center;
    letter-spacing: 0;
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--accent);
    border-color: var(--border-subtle);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    font-weight: 700;
}

.theme-toggle-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.15s ease;
    min-width: 42px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    color: var(--accent);
    border-color: var(--border-subtle);
}

.theme-toggle-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle-btn svg {
    transform: rotate(20deg);
}

.theme-toggle-btn .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle-btn .icon-moon {
    display: block;
}

.mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.mobile-menu-btn svg { width: 20px; height: 20px; }

.mobile-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav a:last-of-type {
    border-bottom: none;
}

.mobile-nav a:hover { color: var(--text-primary); }

.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.hero-glow--left {
    background: var(--accent);
    top: 0;
    left: 15%;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

.hero-glow--right {
    background: #1e40af;
    top: 60px;
    right: 15%;
    animation: pulseGlow 8s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.15); opacity: 0.35; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--accent-muted);
    border: 1px solid var(--border-default);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-bright);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md), 0 0 20px var(--accent-glow);
}

.btn--primary:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
}

.btn--outline {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.btn--outline:hover {
    border-color: var(--accent);
    background: var(--accent-muted);
}

.btn--danger {
    border-color: var(--danger);
    color: var(--danger);
}

.btn--danger:hover {
    background: var(--danger-muted);
    border-color: var(--danger);
}

.btn--sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

.btn--ghost {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.btn--ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-default);
}

.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.setup-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.setup-locked {
    position: relative;
    text-align: center;
}

.locked-overlay {
    background: var(--bg-card);
    border: 1px dashed var(--border-default);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
}

.locked-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.locked-icon svg { width: 24px; height: 24px; }

.locked-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.locked-overlay p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.setup-unlocked {
    display: none;
}

.setup-unlocked.visible {
    display: block;
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.setup-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 24px;
}

.setup-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setup-card h3 .step-num {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.setup-steps {
    padding-left: 0;
    counter-reset: step;
}

.setup-steps li {
    position: relative;
    padding: 10px 0 10px 36px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
}

.setup-steps li:last-child { border-bottom: none; }

.setup-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    background: var(--accent-muted);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.cred-row {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    gap: 12px;
}

.cred-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    flex-shrink: 0;
}

.cred-value {
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    color: var(--accent-bright);
    flex: 1;
    word-break: break-all;
}

.copy-btn {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    flex-shrink: 0;
    white-space: nowrap;
}

.copy-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.copy-btn.copied {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.oneclick-row {
    margin-top: 16px;
    text-align: center;
}

.or-divider {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.or-divider::before, .or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.faq-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--border-default);
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.65;
}

.donate-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        var(--bg-primary) 0%,
        rgba(239, 68, 68, 0.04) 40%,
        rgba(59, 130, 246, 0.04) 70%,
        var(--bg-primary) 100%
    );
}

.donate-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.donate-particles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35), transparent 70%);
    animation: floatParticle linear infinite;
}

.donate-particles span:nth-child(1)  { width: 280px; height: 280px; left: -5%;  top: 10%; animation-duration: 22s; opacity: 0.4; }
.donate-particles span:nth-child(2)  { width: 160px; height: 160px; left: 20%;  top: 60%; animation-duration: 18s; opacity: 0.3; background: radial-gradient(circle, rgba(59,130,246,0.3), transparent 70%); }
.donate-particles span:nth-child(3)  { width: 200px; height: 200px; left: 60%;  top: 5%;  animation-duration: 25s; opacity: 0.3; }
.donate-particles span:nth-child(4)  { width: 120px; height: 120px; left: 80%;  top: 50%; animation-duration: 16s; opacity: 0.4; background: radial-gradient(circle, rgba(59,130,246,0.3), transparent 70%); }
.donate-particles span:nth-child(5)  { width: 90px;  height: 90px;  left: 45%;  top: 80%; animation-duration: 20s; opacity: 0.35; }
.donate-particles span:nth-child(6)  { width: 60px;  height: 60px;  left: 10%;  top: 80%; animation-duration: 14s; opacity: 0.25; }
.donate-particles span:nth-child(7)  { width: 100px; height: 100px; left: 70%;  top: 75%; animation-duration: 19s; opacity: 0.3; background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%); }
.donate-particles span:nth-child(8)  { width: 180px; height: 180px; left: 35%;  top: 20%; animation-duration: 28s; opacity: 0.2; }
.donate-particles span:nth-child(9)  { width: 70px;  height: 70px;  left: 90%;  top: 20%; animation-duration: 12s; opacity: 0.3; }
.donate-particles span:nth-child(10) { width: 140px; height: 140px; left: 50%;  top: 45%; animation-duration: 23s; opacity: 0.2; background: radial-gradient(circle, rgba(239,68,68,0.2), transparent 70%); }

@keyframes floatParticle {
    0%   { transform: translateY(0px) scale(1);   }
    50%  { transform: translateY(-40px) scale(1.08); }
    100% { transform: translateY(0px) scale(1);   }
}

.donate-section .container {
    position: relative;
    z-index: 1;
}

.donate-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(239,68,68,0.06));
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.15), inset 0 0 20px rgba(239,68,68,0.05);
}

.donate-heart {
    width: 32px;
    height: 32px;
    color: #ef4444;
    animation: heartbeat 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(239,68,68,0.6));
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14%  { transform: scale(1.2); }
    28%  { transform: scale(1); }
    42%  { transform: scale(1.15); }
    70%  { transform: scale(1); }
}

.donate-costs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.cost-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.cost-card:hover {
    border-color: var(--border-default);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cost-card--total {
    background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(239,68,68,0.03));
    border-color: rgba(239, 68, 68, 0.25);
}

.cost-card--total:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.12);
}

.cost-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.cost-icon svg { width: 20px; height: 20px; }

.cost-icon--total {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.cost-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cost-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cost-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.cost-amount--total {
    font-size: 1.75rem;
    color: #ef4444;
}

.cost-period {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 2px;
    vertical-align: middle;
}

.donate-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
}

.donate-btn {
    padding: 18px 52px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239,68,68,0.3);
    animation: pulseShadow 2.5s ease-in-out infinite;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.donate-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.donate-btn:hover::before { opacity: 1; }

.donate-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(239, 68, 68, 0.55), 0 0 0 0 rgba(239,68,68,0.3);
}

.donate-btn svg {
    width: 20px;
    height: 20px;
}

@keyframes pulseShadow {
    0%, 100% { box-shadow: 0 4px 24px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239,68,68,0.15); }
    50%       { box-shadow: 0 4px 24px rgba(239, 68, 68, 0.5), 0 0 30px 10px rgba(239,68,68,0.1); }
}

.donate-cta-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.donate-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--success);
    flex-shrink: 0;
}

.community-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.community-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    color: var(--text-primary);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.community-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-glow);
}

.community-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.28s ease;
}

.community-card:hover .community-card-icon {
    transform: scale(1.08);
}

.community-card-icon svg { width: 24px; height: 24px; }

.community-card-icon--blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.community-card-icon--teal {
    background: rgba(20, 184, 166, 0.12);
    color: #2dd4bf;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.community-card-icon--purple {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.community-card-body {
    flex: 1;
}

.community-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.community-card-body p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.community-card-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.community-card-arrow svg { width: 16px; height: 16px; }

.community-card:hover .community-card-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

.site-footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-email {
    color: var(--accent);
    font-weight: 600;
}

.footer-email:hover {
    text-decoration: underline;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
    font-size: 0.95rem;
}

.footer-contacts a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.footer-contacts a:hover {
    color: var(--accent);
}

.footer-contacts .divider {
    color: var(--text-muted);
    opacity: 0.5;
    user-select: none;
}

.footer-contacts .donate-link {
    background: var(--accent-muted);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    color: var(--accent);
    transition: all 0.2s;
}

.footer-contacts .donate-link:hover {
    background: var(--accent);
    color: white;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-bottom .rights {
    font-size: 0.8rem;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-box {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 36px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: var(--danger-muted);
    color: var(--danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.modal-icon svg { width: 22px; height: 22px; }

.modal-box h3 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-box .modal-text {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-warning {
    background: var(--accent-muted);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent-bright);
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-actions .btn { width: 100%; justify-content: center; }

@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .donate-costs { grid-template-columns: repeat(2, 1fr); }
    .donate-trust { gap: 20px; }
}

@media (max-width: 640px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .header-actions .language-switcher { display: none; }
    .mobile-nav { padding: 12px 24px 24px; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .donate-costs { grid-template-columns: 1fr; }
    .feature-card { padding: 24px; }
    .section { padding: 60px 0; }
    .setup-card { padding: 24px; }
    .locked-overlay { padding: 40px 20px; }
    .cred-row { flex-direction: column; align-items: stretch; gap: 8px; }
    .cred-label { margin-bottom: 0; min-width: auto; text-align: left; }
    .cred-value { width: 100%; word-break: break-all; }
    .copy-btn { width: 100%; padding: 10px; margin-top: 4px; justify-content: center; }
    .community-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; position: relative; }
    .community-card-icon { margin-bottom: 0; }
    .community-card-arrow { position: absolute; top: 24px; right: 20px; margin: 0; }
    .footer-contacts { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 300px; }
    .footer-contacts .divider { display: none; }
    .footer-contacts a { background: var(--bg-card); padding: 14px; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); text-align: center; }
    .footer-contacts .donate-link { margin-top: 8px; padding: 14px; text-align: center; }
    .modal-box { padding: 28px 20px; }
    .donate-btn { width: 100%; padding: 16px 20px; }
    .trust-item { font-size: 0.85rem; width: 100%; justify-content: center; }
    .donate-trust { flex-direction: column; align-items: center; gap: 14px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .btn { padding: 12px 24px; width: 100%; justify-content: center; }
    .btn--sm { padding: 8px 16px; }
    .setup-card h3 { font-size: 1.05rem; }
    .oneclick-row .btn { width: 100%; }
}