/**
 * ============================================================
 * Landing Page — App-Like CSS (Mobile-First)
 * ============================================================
 */

/* Hero — full viewport, immersive */
.lp-hero {
    position: relative; min-height: 100svh;
    display: flex; align-items: flex-end;
    padding: 0 0 var(--space-3xl); overflow: hidden;
    background: var(--color-text);
}
.lp-hero-bg { position: absolute; inset: 0; z-index: 0; }
.lp-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.lp-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,15,26,0.95) 0%, rgba(10,15,26,0.4) 50%, rgba(10,15,26,0.15) 100%);
}
.lp-hero-content { position: relative; z-index: 1; max-width: 720px; padding: 0 var(--space-xl); }
.lp-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-full);
    padding: 8px 18px; font-size: var(--text-sm); color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-lg); font-weight: 500;
}
.lp-hero-badge .pulse-dot {
    width: 8px; height: 8px; background: #4ade80;
    border-radius: 50%; animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.lp-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900;
    color: #fff; line-height: 1.15; margin-bottom: var(--space-lg); letter-spacing: -0.02em;
}
.lp-hero p.lead {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    color: rgba(255,255,255,0.8); line-height: 1.7;
    margin-bottom: var(--space-xl); max-width: 560px;
}
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lp-hero-actions .btn {
    min-height: 56px; font-size: var(--text-lg); padding: 0 32px;
    border-radius: var(--radius-full); font-weight: 700;
}
.lp-hero-actions .btn-glow {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff; border: none; box-shadow: 0 4px 24px rgba(0,111,214,0.35);
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.lp-hero-actions .btn-glow:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(0,111,214,0.5); }
.lp-hero-actions .btn-ghost {
    background: rgba(255,255,255,0.08); color: #fff;
    border: 2px solid rgba(255,255,255,0.25); backdrop-filter: blur(6px);
}
.lp-hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }

/* Trust strip */
.lp-trust-strip {
    position: relative; z-index: 2; background: var(--color-bg);
    border-bottom: 1px solid var(--color-border); padding: var(--space-lg) 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.lp-trust-strip .container {
    display: flex; align-items: center; justify-content: center;
    gap: var(--space-2xl); flex-wrap: nowrap; min-width: max-content;
}
.lp-trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: var(--text-sm); color: var(--color-text-secondary);
    white-space: nowrap; font-weight: 500;
}
.lp-trust-item svg { width: 22px; height: 22px; color: var(--color-accent); flex-shrink: 0; }

/* Stats */
.lp-stats { padding: var(--space-3xl) 0; background: var(--color-bg-soft); }
.lp-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-stat-card {
    background: var(--color-bg); border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg); text-align: center;
    box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.lp-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lp-stat-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-md); font-size: 1.5rem;
}
.lp-stat-icon.raised { background: #E8F5E9; }
.lp-stat-icon.donors { background: #E3F2FD; }
.lp-stat-icon.lives  { background: #FFF3E0; }
.lp-stat-icon.events { background: #F3E5F5; }
.lp-stat-number {
    font-family: var(--font-heading); font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 900; color: var(--color-text); line-height: 1.2;
}
.lp-stat-label { font-size: var(--text-sm); color: var(--color-text-secondary); font-weight: 500; margin-top: 4px; }
@media (min-width: 768px) { .lp-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* Section common */
.lp-section { padding: var(--space-3xl) 0; }
.lp-section-header { margin-bottom: var(--space-2xl); }
.lp-section-header .overline {
    display: inline-block; font-size: var(--text-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary);
    margin-bottom: var(--space-sm);
}
.lp-section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 900;
    margin-bottom: var(--space-sm); line-height: 1.2;
}
.lp-section-header .desc { font-size: var(--text-lg); color: var(--color-text-secondary); max-width: 560px; }

/* Cause cards — swipeable on mobile */
.lp-causes-scroll {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: var(--space-md); scrollbar-width: none;
}
.lp-causes-scroll::-webkit-scrollbar { display: none; }
.lp-cause-card {
    flex: 0 0 300px; scroll-snap-align: start;
    background: var(--color-bg); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
    transition: transform 150ms ease, box-shadow 150ms ease;
    display: flex; flex-direction: column;
}
.lp-cause-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lp-cause-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.lp-cause-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.lp-cause-cat {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px;
    border-radius: var(--radius-full); background: var(--color-primary-light);
    color: var(--color-primary); margin-bottom: var(--space-sm); width: fit-content;
}
.lp-cause-name {
    font-family: var(--font-heading); font-size: var(--text-lg);
    font-weight: 700; margin-bottom: var(--space-sm); line-height: 1.3;
}
.lp-cause-desc {
    font-size: var(--text-sm); color: var(--color-text-secondary);
    margin-bottom: var(--space-lg); flex: 1; line-height: 1.6;
}
.lp-cause-progress { margin-bottom: var(--space-md); }
.lp-cause-bar {
    height: 8px; border-radius: 4px; background: var(--color-bg-soft);
    overflow: hidden; margin-bottom: 8px;
}
.lp-cause-bar-fill {
    height: 100%; border-radius: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 1.2s cubic-bezier(.22,1,.36,1); width: 0%;
}
.lp-cause-amounts { display: flex; justify-content: space-between; font-size: var(--text-xs); font-weight: 600; }
.lp-cause-amounts .raised { color: var(--color-primary); }
.lp-cause-amounts .goal { color: var(--color-text-muted); }
.lp-cause-card .btn { margin-top: auto; width: 100%; border-radius: var(--radius-full); min-height: 48px; }
@media (min-width: 768px) {
    .lp-causes-scroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
    .lp-cause-card { flex: unset; }
}

/* Quick Donate — dark immersive */
.lp-donate {
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2332 50%, #0d1b2a 100%);
    color: #fff; padding: var(--space-3xl) 0; position: relative; overflow: hidden;
}
.lp-donate::before {
    content: ''; position: absolute; top: -50%; right: -30%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,111,214,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.lp-donate-grid { display: grid; gap: var(--space-2xl); }
.lp-donate-info h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: var(--space-lg); }
.lp-donate-info p { color: rgba(255,255,255,0.7); font-size: var(--text-lg); line-height: 1.7; margin-bottom: var(--space-xl); }
.lp-impact-preview {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: var(--space-xl);
}
.lp-impact-preview .impact-line {
    display: flex; align-items: center; gap: 12px; padding: 10px 0;
    font-size: var(--text-base); color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-impact-preview .impact-line:last-child { border-bottom: none; }
.lp-impact-preview .impact-emoji { font-size: 1.5rem; flex-shrink: 0; }
.lp-donate-form-card {
    background: rgba(255,255,255,0.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: var(--space-xl);
}
.lp-amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: var(--space-lg); }
.lp-amount-btn {
    background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md); color: #fff; font-size: var(--text-lg); font-weight: 700;
    padding: 14px 8px; cursor: pointer; transition: all 150ms ease;
    text-align: center; min-height: 52px;
}
.lp-amount-btn:hover, .lp-amount-btn.selected {
    background: var(--color-primary); border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(0,111,214,0.4);
}
.lp-donate-input-wrap { position: relative; margin-bottom: var(--space-lg); }
.lp-donate-input-wrap .prefix {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    font-size: var(--text-xl); font-weight: 700; color: rgba(255,255,255,0.4);
}
.lp-donate-input-wrap input {
    width: 100%; background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md); color: #fff; font-size: var(--text-xl); font-weight: 700;
    padding: 16px 16px 16px 42px; outline: none; transition: border-color 150ms ease;
}
.lp-donate-input-wrap input:focus { border-color: var(--color-primary); }
.lp-donate-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
.lp-donate-submit {
    width: 100%; min-height: 56px; font-size: var(--text-lg); font-weight: 700;
    border: none; border-radius: var(--radius-full); cursor: pointer;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: transform 150ms ease, box-shadow 150ms ease;
    text-decoration: none; margin-bottom: var(--space-md);
}
.lp-donate-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,111,214,0.4); color: #fff; }
.lp-secure {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: var(--text-xs); color: rgba(255,255,255,0.5);
}
.lp-secure svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .lp-donate-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* Events — timeline cards */
.lp-events-list { display: flex; flex-direction: column; gap: 16px; }
.lp-event-card {
    display: flex; gap: var(--space-lg); align-items: flex-start;
    background: var(--color-bg); border-radius: var(--radius-lg);
    padding: var(--space-lg); box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border); transition: transform 150ms ease;
}
.lp-event-card:hover { transform: translateX(4px); }
.lp-event-date {
    flex-shrink: 0; width: 64px; text-align: center;
    background: var(--color-primary-light); border-radius: var(--radius-md); padding: 10px 8px;
}
.lp-event-date .month {
    display: block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; color: var(--color-primary); letter-spacing: 0.08em;
}
.lp-event-date .day {
    display: block; font-family: var(--font-heading); font-size: 1.6rem;
    font-weight: 900; color: var(--color-primary-dark); line-height: 1.2;
}
.lp-event-info { flex: 1; min-width: 0; }
.lp-event-info h3 { font-size: var(--text-lg); margin-bottom: 4px; font-weight: 700; }
.lp-event-info .meta { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.lp-event-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-event-actions .btn { min-height: 42px; font-size: var(--text-sm); border-radius: var(--radius-full); padding: 0 20px; }

/* Testimonials — swipeable */
.lp-testimonials { background: var(--color-bg-soft); padding: var(--space-3xl) 0; }
.lp-testimonial-scroll {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: var(--space-md); scrollbar-width: none;
}
.lp-testimonial-scroll::-webkit-scrollbar { display: none; }
.lp-testimonial-card {
    flex: 0 0 calc(100% - 32px); scroll-snap-align: start;
    background: var(--color-bg); border-radius: var(--radius-lg);
    padding: var(--space-xl); box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border); display: flex; flex-direction: column;
}
.lp-testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-md); color: #f59e0b; font-size: 1.2rem; }
.lp-testimonial-quote {
    font-size: var(--text-base); color: var(--color-text); line-height: 1.7;
    flex: 1; margin-bottom: var(--space-lg); font-style: italic;
}
.lp-testimonial-author {
    display: flex; align-items: center; gap: 14px;
    padding-top: var(--space-md); border-top: 1px solid var(--color-border);
}
.lp-testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 700; flex-shrink: 0;
}
.lp-testimonial-name { font-weight: 700; font-size: var(--text-base); }
.lp-testimonial-role { font-size: var(--text-xs); color: var(--color-text-muted); }
@media (min-width: 768px) { .lp-testimonial-card { flex: 0 0 340px; } }

/* Blog cards */
.lp-blog-grid { display: grid; gap: 20px; }
.lp-blog-card {
    display: flex; gap: var(--space-lg); background: var(--color-bg);
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border); transition: transform 150ms ease;
}
.lp-blog-card:hover { transform: translateY(-3px); }
.lp-blog-card img { width: 120px; min-height: 120px; object-fit: cover; flex-shrink: 0; }
.lp-blog-card-body { padding: var(--space-lg); display: flex; flex-direction: column; justify-content: center; }
.lp-blog-card-body .date { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: 4px; }
.lp-blog-card-body h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.lp-blog-card-body p {
    font-size: var(--text-sm); color: var(--color-text-secondary);
    margin-bottom: 0; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 768px) {
    .lp-blog-grid { grid-template-columns: repeat(3, 1fr); }
    .lp-blog-card { flex-direction: column; }
    .lp-blog-card img { width: 100%; height: 200px; }
}

/* CTA Banner */
.lp-cta-banner { background: var(--color-primary); color: #fff; padding: var(--space-3xl) 0; text-align: center; }
.lp-cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: var(--space-md); }
.lp-cta-banner p {
    font-size: var(--text-lg); color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-xl); max-width: 520px; margin-left: auto; margin-right: auto;
}
.lp-cta-banner .btn {
    min-height: 56px; padding: 0 40px; font-size: var(--text-lg); font-weight: 700;
    border-radius: var(--radius-full); background: #fff; color: var(--color-primary);
    border: none; transition: transform 150ms ease, box-shadow 150ms ease;
}
.lp-cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: var(--color-primary-dark); }

/* View All links */
.lp-view-all { text-align: center; padding-top: var(--space-xl); }
.lp-view-all a {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: var(--text-base);
    color: var(--color-primary); text-decoration: none; transition: gap 150ms ease;
}
.lp-view-all a:hover { gap: 14px; }
.lp-view-all a svg { width: 20px; height: 20px; }

/* Scroll-reveal animations */
.lp-fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lp-fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Auth Pages (Login / Register)
   ============================================================ */
.auth-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: var(--space-xl); background: var(--color-bg-soft);
}
.auth-card {
    width: 100%; max-width: 440px; background: var(--color-bg); border-radius: var(--radius-lg);
    padding: var(--space-2xl); box-shadow: var(--shadow-lg); border: 1px solid var(--color-border);
}
.auth-header { text-align: center; margin-bottom: var(--space-xl); }
.auth-logo { margin-bottom: var(--space-md); }
.auth-header h1 { font-size: var(--text-2xl); font-weight: 900; margin-bottom: var(--space-sm); }
.auth-header p { font-size: var(--text-base); color: var(--color-text-secondary); }

.input-icon-wrap { position: relative; }
.input-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; color: var(--color-text-muted); pointer-events: none;
}
.input-icon-wrap .form-input { padding-left: 44px; }

.auth-submit {
    width: 100%; min-height: 52px; font-size: var(--text-lg); font-weight: 700;
    border-radius: var(--radius-full); margin-top: var(--space-lg);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.auth-link-sm { font-size: var(--text-xs); color: var(--color-primary); text-decoration: none; }
.auth-link-sm:hover { text-decoration: underline; }

.auth-divider {
    display: flex; align-items: center; gap: 16px;
    margin: var(--space-xl) 0; color: var(--color-text-muted); font-size: var(--text-sm);
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--color-border);
}
.auth-switch { text-align: center; font-size: var(--text-base); color: var(--color-text-secondary); }
.auth-switch a { color: var(--color-primary); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

.auth-secure {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: var(--space-xl); font-size: var(--text-xs); color: var(--color-text-muted);
}
.auth-secure svg { width: 16px; height: 16px; color: var(--color-accent); }

.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.auth-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .auth-row, .auth-row-3 { grid-template-columns: 1fr; } }

/* ============================================================
   Dashboard
   ============================================================ */
.dash-hero {
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2332 100%);
    color: #fff; padding: var(--space-2xl) 0;
}
.dash-hero-inner { display: flex; align-items: center; gap: var(--space-lg); }
.dash-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff; font-size: var(--text-2xl); font-weight: 900;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dash-hero h1 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 4px; }
.dash-hero p { color: rgba(255,255,255,0.7); font-size: var(--text-base); }

.dash-stats-grid { margin-bottom: var(--space-2xl); }
.dash-actions {
    display: flex; flex-wrap: wrap; gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}
.dash-actions .btn { min-height: 48px; border-radius: var(--radius-full); padding: 0 24px; }

.dash-section { margin-bottom: var(--space-2xl); }
.dash-section-title {
    font-size: var(--text-xl); font-weight: 900; margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm); border-bottom: 2px solid var(--color-border);
}
.dash-sub-heading { color: var(--color-primary); font-size: var(--text-lg); margin-bottom: var(--space-lg); }

.dash-donation-list { display: flex; flex-direction: column; gap: 12px; }
.dash-donation-item {
    display: flex; align-items: center; gap: var(--space-md);
    background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg); transition: transform 150ms ease;
}
.dash-donation-item:hover { transform: translateX(3px); }
.dash-donation-date {
    flex-shrink: 0; width: 48px; text-align: center;
    background: var(--color-primary-light); border-radius: var(--radius-sm); padding: 6px;
}
.dash-donation-date .month { display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: var(--color-primary); }
.dash-donation-date .day { display: block; font-size: 1.2rem; font-weight: 900; color: var(--color-primary-dark); }
.dash-donation-info { flex: 1; min-width: 0; }
.dash-donation-cause { font-weight: 700; font-size: var(--text-base); margin-bottom: 2px; }
.dash-donation-meta { display: flex; gap: 8px; align-items: center; font-size: var(--text-xs); color: var(--color-text-muted); }
.dash-donation-amount { font-family: var(--font-heading); font-weight: 900; font-size: var(--text-lg); color: var(--color-primary); white-space: nowrap; }
.dash-receipt-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    border: 1px solid var(--color-border); background: var(--color-bg);
    color: var(--color-text-muted); transition: all 150ms ease; flex-shrink: 0;
}
.dash-receipt-btn:hover { background: var(--color-primary-light); color: var(--color-primary); border-color: var(--color-primary); }

.dash-empty {
    text-align: center; padding: var(--space-3xl); background: var(--color-bg-soft);
    border-radius: var(--radius-lg); border: 2px dashed var(--color-border);
}
.dash-empty-icon { font-size: 3rem; margin-bottom: var(--space-md); }
.dash-empty p { color: var(--color-text-secondary); font-size: var(--text-lg); margin-bottom: var(--space-lg); }

.dash-profile-card {
    background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: var(--space-xl);
}

@media (max-width: 600px) {
    .dash-donation-item { flex-wrap: wrap; }
    .dash-donation-amount { width: 100%; text-align: right; }
}

/* ============================================================
   Header — App Feel Override
   ============================================================ */
.site-header {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
.site-header.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.08) !important;
}
.header-inner {
    max-width: 1320px !important;
}

/* Logo */
.site-logo .logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: var(--text-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav links — pill style on hover/active */
.nav-link {
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: var(--text-sm) !important;
    padding: 8px 16px !important;
    transition: all 150ms ease !important;
}
.nav-link:hover {
    background: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
}
.nav-link.active {
    background: var(--color-primary) !important;
    color: #fff !important;
}

/* Donate button — gradient glow */
.nav-donate-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 12px rgba(0,111,214,0.3) !important;
    transition: transform 150ms ease, box-shadow 150ms ease !important;
}
.nav-donate-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 20px rgba(0,111,214,0.4) !important;
    color: #fff !important;
}

/* btn-sm helper */
.btn-sm {
    font-size: var(--text-sm) !important;
    min-height: 40px !important;
    padding: 6px 18px !important;
    border-radius: var(--radius-full) !important;
}

/* btn-glow (shared) */
.btn-glow {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff; border: none;
    box-shadow: 0 4px 24px rgba(0,111,214,0.35);
    transition: transform 150ms ease, box-shadow 150ms ease;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(0,111,214,0.5);
    color: #fff;
}

/* Nav selectors — cleaner */
.nav-selector {
    border-radius: var(--radius-full) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    background: var(--color-bg-soft) !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
}

/* Text size buttons — subtle */
.text-size-controls {
    display: flex;
    gap: 2px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-full);
    padding: 3px;
}
.text-size-btn {
    width: 32px; height: 32px;
    border-radius: var(--radius-full) !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    font-weight: 700 !important;
    color: var(--color-text-secondary) !important;
    transition: all 150ms ease;
    display: flex; align-items: center; justify-content: center;
}
.text-size-btn:hover {
    background: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
}

/* Mobile drawer — slide-in with backdrop */
.nav-drawer-extras { display: none; }

@media (max-width: 900px) {
    .site-header .header-inner > .nav-actions { display: none !important; }
    .nav-toggle { display: flex !important; }

    .nav-main {
        display: none;
        position: fixed;
        top: 0; right: 0;
        width: min(85vw, 360px);
        height: 100vh; height: 100dvh;
        background: var(--color-bg);
        box-shadow: -8px 0 40px rgba(0,0,0,0.15);
        z-index: 9999;
        flex-direction: column;
        padding: var(--space-xl);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: slideIn 250ms ease;
    }
    @keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
    .nav-main.open { display: flex !important; }

    .nav-links {
        display: flex; flex-direction: column; gap: 4px;
        padding-bottom: var(--space-lg);
        border-bottom: 1px solid var(--color-border);
        margin-bottom: var(--space-lg);
    }
    .nav-link {
        font-size: var(--text-lg) !important;
        padding: 14px 16px !important;
        border-radius: var(--radius-md) !important;
        min-height: 52px !important;
    }

    .nav-drawer-extras { display: flex; flex-direction: column; gap: var(--space-lg); }
    .nav-drawer-controls {
        display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    }
    .nav-drawer-auth {
        display: flex; flex-direction: column; gap: 10px;
    }
    .nav-drawer-auth .btn { width: 100%; min-height: 48px; justify-content: center; }

    /* Backdrop overlay */
    body.nav-open::before {
        content: '';
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 9998;
        animation: fadeIn 200ms ease;
    }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
}

/* ============================================================
   Footer — App Feel Override
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, #0a0f1a 0%, #111827 100%) !important;
    color: rgba(255,255,255,0.85) !important;
    border-top: none !important;
}
.site-footer a { color: rgba(255,255,255,0.7) !important; transition: color 150ms ease; }
.site-footer a:hover { color: #fff !important; }
.footer-heading {
    color: #fff !important;
    font-size: var(--text-base) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 700 !important;
    margin-bottom: var(--space-md) !important;
}
.footer-links li { margin-bottom: 10px !important; }
.footer-links li a {
    font-size: var(--text-sm) !important;
    display: inline-flex; align-items: center; gap: 6px;
}

.footer-brand .site-logo { color: #fff !important; }
.footer-brand .site-logo .logo-text,
.footer-brand .site-logo span {
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    background: none !important;
}
.footer-brand p { color: rgba(255,255,255,0.6) !important; }

/* Social links — circular */
.footer-social { margin-top: var(--space-lg) !important; }
.social-link {
    width: 42px !important; height: 42px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    transition: all 150ms ease !important;
}
.social-link:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-2px);
}
.social-link svg { width: 18px !important; height: 18px !important; color: rgba(255,255,255,0.8) !important; }

/* Newsletter form — dark style */
.footer-newsletter-form {
    display: flex; gap: 8px;
}
.footer-newsletter-form .form-input {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: var(--radius-full) !important;
    padding: 12px 18px !important;
}
.footer-newsletter-form .form-input::placeholder { color: rgba(255,255,255,0.4) !important; }
.footer-newsletter-form .form-input:focus { border-color: var(--color-primary) !important; }
.footer-newsletter-form .btn {
    border-radius: var(--radius-full) !important;
    white-space: nowrap;
    min-height: 48px !important;
    padding: 0 24px !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding-top: var(--space-xl) !important;
    margin-top: var(--space-2xl) !important;
}
.footer-bottom p { color: rgba(255,255,255,0.4) !important; }

/* Back to top — rounded gradient */
.back-to-top {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 52px !important; height: 52px !important;
    box-shadow: 0 4px 16px rgba(0,111,214,0.35) !important;
}
.back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 24px rgba(0,111,214,0.5) !important;
}

/* ============================================================
   Shared Page Styles — App Feel
   ============================================================ */

/* Hero banner for all pages */
.pg-hero {
    background: linear-gradient(135deg, #0a0f1a, #1a2332);
    color: #fff;
    padding: 56px 0;
    text-align: center;
}
.pg-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 8px; }
.pg-hero p { color: rgba(255,255,255,.6); font-size: 1.1rem; }

/* Filter bar */
.pg-filters {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center; margin-bottom: 32px;
}
.pg-filter-btn {
    padding: 10px 20px; border-radius: 999px;
    border: 2px solid var(--color-border); background: var(--color-bg);
    color: var(--color-text); font-weight: 600; font-size: .95rem;
    text-decoration: none; transition: all 150ms; white-space: nowrap;
}
.pg-filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pg-filter-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* Card grid */
.pg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.pg-card {
    border: 1px solid var(--color-border);
    border-radius: 16px; overflow: hidden;
    background: var(--color-bg);
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.pg-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.pg-card-img { width: 100%; height: 200px; object-fit: cover; }
.pg-card-body { padding: 20px; }
.pg-card-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--color-text-muted); margin-bottom: 8px; }
.pg-card-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.pg-card-title a { color: inherit; text-decoration: none; }
.pg-card-title a:hover { color: var(--color-primary); }
.pg-card-desc { color: var(--color-text-secondary); font-size: .95rem; line-height: 1.6; margin-bottom: 12px; }
.pg-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--color-text-muted); }
.pg-card-link { color: var(--color-primary); font-weight: 700; text-decoration: none; }
.pg-card-cta {
    display: block; text-align: center; padding: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff; font-weight: 700; border-radius: 10px;
    text-decoration: none; margin-top: 16px; transition: opacity 150ms;
}
.pg-card-cta:hover { opacity: .9; color: #fff; }

/* Badge */
.pg-badge {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    font-size: .8rem; font-weight: 700; background: var(--color-primary);
    color: #fff; margin-bottom: 8px;
}
.pg-badge.green { background: #16a34a; }
.pg-badge.gray { background: #6b7280; }
.pg-badge.accent { background: var(--color-accent); }
.pg-badge.outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text-secondary); }

/* Progress bar */
.pg-progress { width: 100%; height: 8px; background: var(--color-bg-soft); border-radius: 999px; overflow: hidden; margin: 12px 0 8px; }
.pg-progress-bar { height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); border-radius: 999px; transition: width 600ms ease; }

/* Event list */
.pg-event-list { display: flex; flex-direction: column; gap: 16px; }
.pg-event-card {
    display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
    padding: 20px; border: 1px solid var(--color-border);
    border-radius: 16px; background: var(--color-bg); transition: box-shadow 150ms;
}
.pg-event-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.pg-event-date { text-align: center; min-width: 70px; }
.pg-event-month { font-size: .85rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; }
.pg-event-day { font-size: 2rem; font-weight: 900; line-height: 1; }
.pg-event-info h3 { margin-bottom: 4px; }
.pg-event-info h3 a { color: inherit; text-decoration: none; }
.pg-event-info h3 a:hover { color: var(--color-primary); }
.pg-event-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.pg-event-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--color-text-muted); margin-top: 8px; }
.pg-event-actions { display: flex; flex-direction: column; gap: 8px; }

/* Stats row */
.pg-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.pg-stat { padding: 24px; border: 1px solid var(--color-border); border-radius: 12px; }
.pg-stat-num { font-size: 2rem; font-weight: 900; color: var(--color-primary); }

/* Blog comment */
.pg-comment { padding: 16px; border: 1px solid var(--color-border); border-radius: 12px; margin-bottom: 12px; }
.pg-comment-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .9rem; }
.pg-comment-head span { color: var(--color-text-muted); }

/* Prose content */
.prose h2 { margin-top: 32px; margin-bottom: 12px; }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--color-primary); }

/* Mobile responsive */
@media (max-width: 600px) {
    .pg-grid { grid-template-columns: 1fr; }
    .pg-event-card { grid-template-columns: 1fr; }
    .pg-event-actions { flex-direction: row; }
    .pg-stats-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Pagination — App Style
   ============================================================ */
.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 6px; margin-top: 40px; flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 14px;
    border-radius: 999px; font-weight: 600; font-size: .95rem;
    text-decoration: none; transition: all 150ms;
}
.pagination a {
    border: 2px solid var(--color-border); color: var(--color-text);
    background: var(--color-bg);
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active, .pagination .current {
    background: var(--color-primary) !important; color: #fff !important;
    border-color: var(--color-primary) !important;
}
.pagination .disabled { opacity: .4; pointer-events: none; }
.pagination .dots { border: none; color: var(--color-text-muted); }
