/* ===== HERO SECTION ===== */
.hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-intro {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.7;
    margin: 1rem 0 0.75rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* ===== CAMPAIGNS SECTION ===== */
.campaigns-section {
    padding: 3rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.text-muted {
    color: #64748b;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.campaign-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.campaign-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.campaign-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.campaign-card-body {
    padding: 1.25rem;
}

.campaign-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.campaign-card-title a {
    color: #1e293b;
    text-decoration: none;
}

.campaign-card-title a:hover {
    color: #2563eb;
}

.campaign-card-location {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.campaign-card-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress-bar-wrapper {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
}

.progress-amount {
    font-weight: 600;
    color: #1e293b;
}

.campaign-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-donors, .progress-days {
    font-size: 0.8rem;
    color: #64748b;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===== LIVE SECTION (After Campaigns) ===== */
.live-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
}

.live-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.live-section-header h2 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

/* ===== LIVE STATS GRID 2x2 ===== */
.live-stats-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.live-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.live-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.live-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.live-stat-content {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.stat-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.stat-value.updating {
    color: #059669;
    transform: scale(1.05);
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== LIVE FEED SECTION ===== */
.live-feed-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.live-feed-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { opacity: 0.85; box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.live-feed-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.live-feed-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-left: auto;
}

.live-pause-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.live-pause-btn:hover {
    background: #e2e8f0;
}

.live-pause-btn.paused {
    background: #fef3c7;
}

/* ===== LIVE FEED CONTAINER ===== */
.live-feed-container {
    position: relative;
    max-height: 280px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.live-feed {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.live-feed::-webkit-scrollbar {
    width: 6px;
}

.live-feed::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.live-feed::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.live-feed::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== LIVE FEED ITEMS ===== */
.live-feed-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    animation: slideIn 0.4s ease-out;
    transition: all 0.3s ease;
}

.live-feed-item:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.live-feed-item.new-entry {
    background: linear-gradient(90deg, rgba(37,99,235,0.08) 0%, #fff 100%);
    border-left: 3px solid #2563eb;
    animation: highlightIn 0.5s ease-out;
}

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

@keyframes highlightIn {
    0% {
        background: rgba(37, 99, 235, 0.2);
    }
    100% {
        background: linear-gradient(90deg, rgba(37,99,235,0.08) 0%, #fff 100%);
    }
}

.live-feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.live-feed-info {
    min-width: 0;
}

.live-feed-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: baseline;
}

.live-feed-campaign {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 400;
}

.live-feed-campaign em {
    color: #2563eb;
    font-style: normal;
}

.live-feed-msg {
    font-size: 0.85rem;
    color: #475569;
    margin-top: 0.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-feed-amount {
    text-align: right;
    flex-shrink: 0;
}

.amount-value {
    display: block;
    font-weight: 700;
    color: #059669;
    font-size: 1rem;
}

.amount-time {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* ===== SCROLL INDICATORS ===== */
.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.scroll-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== NOTIFICATION TOAST ===== */
.live-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.live-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.live-toast-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .live-stats-grid-2x2 {
        max-width: 600px;
    }
    .stat-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    .hero-intro, .hero-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    .campaigns-grid {
        grid-template-columns: 1fr;
    }
    .live-stats-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .live-feed-item {
        grid-template-columns: 36px 1fr;
        grid-template-areas: 
            "avatar info"
            "avatar amount";
    }
    .live-feed-avatar { grid-area: avatar; }
    .live-feed-info { grid-area: info; }
    .live-feed-amount { 
        grid-area: amount; 
        text-align: left;
        margin-top: 0.25rem;
    }
    .live-feed-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .live-feed-subtitle {
        margin-left: 0;
    }
    .live-toast {
        left: 20px;
        right: 20px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .live-stat-card {
        padding: 1rem;
    }
    .live-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    .stat-value {
        font-size: 1.1rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{--primary:#2563eb;--primary-dark:#1d4ed8;--primary-light:#dbeafe;--secondary:#059669;--secondary-dark:#047857;--accent:#f59e0b;--danger:#ef4444;--danger-dark:#dc2626;--gray-50:#f9fafb;--gray-100:#f3f4f6;--gray-200:#e5e7eb;--gray-300:#d1d5db;--gray-400:#9ca3af;--gray-500:#6b7280;--gray-600:#4b5563;--gray-700:#374151;--gray-800:#1f2937;--gray-900:#111827;--white:#fff;--shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);--shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);--shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);--shadow-xl:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);--radius:12px;--radius-lg:16px;--transition:all .3s ease}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;background:var(--gray-50);color:var(--gray-800);line-height:1.6;min-height:100vh}
a{text-decoration:none;color:var(--primary);transition:var(--transition)}a:hover{color:var(--primary-dark)}
img{max-width:100%;height:auto}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.navbar{background:var(--white);box-shadow:var(--shadow);position:sticky;top:0;z-index:1000;border-bottom:3px solid var(--primary)}
.navbar .container{display:flex;align-items:center;justify-content:space-between;height:70px}
.navbar-brand{display:flex;align-items:center;gap:10px;font-size:1.4rem;font-weight:800;color:var(--primary)}
.navbar-brand .brand-icon{width:42px;height:42px;background:linear-gradient(135deg,var(--primary),var(--primary-dark));border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--white);font-size:1.3rem}
.navbar-menu{display:flex;align-items:center;gap:8px;list-style:none}
.navbar-menu a{padding:8px 18px;border-radius:8px;font-weight:500;color:var(--gray-600);font-size:.95rem}
.navbar-menu a:hover,.navbar-menu a.active{background:var(--primary-light);color:var(--primary)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:5px;background:none;border:none}
.hamburger span{width:25px;height:3px;background:var(--gray-700);border-radius:3px;transition:var(--transition)}
.hero{background:linear-gradient(135deg,#1e3a5f 0%,#2563eb 50%,#059669 100%);color:var(--white);padding:80px 0 60px;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;right:-20%;width:600px;height:600px;background:rgba(255,255,255,.05);border-radius:50%}
.hero::after{content:'';position:absolute;bottom:-30%;left:-10%;width:400px;height:400px;background:rgba(255,255,255,.03);border-radius:50%}
.hero .container{position:relative;z-index:1}
.hero h1{font-size:2.8rem;font-weight:800;margin-bottom:16px;line-height:1.2}
.hero p{font-size:1.15rem;opacity:.9;max-width:600px;margin-bottom:30px}
.hero-stats{display:flex;gap:40px;flex-wrap:wrap}
.hero-stat{text-align:center}
.hero-stat .number{display:block;font-size:2rem;font-weight:800;color:var(--accent)}
.hero-stat .label{font-size:.9rem;opacity:.8}
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;flex-wrap:wrap;gap:15px}
.section-header h2{font-size:1.8rem;font-weight:700;color:var(--gray-900)}
/* Live Donation Section */
.live-section{background:var(--white);border-bottom:2px solid var(--gray-100)}
.live-stats-bar{background:linear-gradient(135deg,#1e293b 0%,#334155 100%);padding:18px 0}
.live-stats-grid{display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:wrap}
.live-stat-item{display:flex;align-items:center;gap:12px;padding:8px 20px}
.live-stat-icon{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--white);flex-shrink:0}
.live-stat-text{display:flex;flex-direction:column}
.live-stat-number{font-size:1.25rem;font-weight:800;color:var(--white);line-height:1.2;transition:all .4s ease}
.live-stat-label{font-size:.72rem;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.5px;font-weight:500}
.live-stat-divider{width:1px;height:40px;background:rgba(255,255,255,.15);flex-shrink:0}
.live-ticker-wrapper{background:var(--gray-50);border-bottom:1px solid var(--gray-200);padding:0}
.live-ticker-header{display:flex;align-items:center;gap:12px;padding:12px 0 0;flex-wrap:wrap}
.live-badge{display:inline-flex;align-items:center;gap:6px;background:var(--danger);color:var(--white);padding:4px 14px;border-radius:20px;font-size:.75rem;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.live-dot{width:8px;height:8px;border-radius:50%;background:var(--white);animation:livePulse 1.5s infinite}
@keyframes livePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}
.live-ticker-title{font-size:.95rem;font-weight:700;color:var(--gray-800)}
.live-ticker-subtitle{font-size:.75rem;color:var(--gray-400);margin-left:auto}
.live-feed{display:flex;flex-direction:column;gap:0;max-height:260px;overflow-y:auto;scroll-behavior:smooth;padding:8px 0 12px}
.live-feed::-webkit-scrollbar{width:4px}
.live-feed::-webkit-scrollbar-track{background:transparent}
.live-feed::-webkit-scrollbar-thumb{background:var(--gray-300);border-radius:4px}
.live-feed-item{display:flex;align-items:center;gap:12px;padding:10px 16px;border-radius:10px;transition:all .3s ease;animation:feedSlideIn .5s ease}
.live-feed-item:hover{background:var(--white);box-shadow:var(--shadow-sm)}
.live-feed-item.new-entry{animation:feedSlideIn .6s ease;background:linear-gradient(135deg,#fef2f2,#fff7ed);border-left:3px solid var(--danger)}
@keyframes feedSlideIn{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}
.live-feed-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--primary),#7c3aed);display:flex;align-items:center;justify-content:center;color:var(--white);font-weight:700;font-size:.85rem;flex-shrink:0}
.live-feed-info{flex:1;min-width:0}
.live-feed-name{font-size:.85rem;font-weight:600;color:var(--gray-800);line-height:1.3}
.live-feed-campaign{font-weight:400;color:var(--primary);font-size:.78rem}
.live-feed-msg{font-size:.75rem;color:var(--gray-500);font-style:italic;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}
.live-feed-amount{text-align:right;flex-shrink:0}
.live-feed-amount>span:first-child{display:block;font-size:.9rem;font-weight:800;color:var(--secondary)}
.live-feed-time{font-size:.7rem;color:var(--gray-400);margin-top:2px}
/* Live Toast Notification */
.live-toast{position:fixed;bottom:30px;right:30px;background:var(--gray-900);color:var(--white);padding:14px 24px;border-radius:12px;font-size:.9rem;font-weight:600;box-shadow:var(--shadow-xl);z-index:9998;display:flex;align-items:center;gap:8px;transform:translateY(100px);opacity:0;transition:all .4s cubic-bezier(.68,-.55,.265,1.55)}
.live-toast.show{transform:translateY(0);opacity:1}
.live-toast-dot{width:10px;height:10px;border-radius:50%;background:#4ade80;animation:livePulse 1.5s infinite}
.campaigns-section{padding:60px 0}
.campaigns-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:28px}
.campaign-card{background:var(--white);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);transition:var(--transition);border:1px solid var(--gray-200)}
.campaign-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-xl);border-color:var(--primary)}
.campaign-card-image{position:relative;height:220px;overflow:hidden}
.campaign-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.campaign-card:hover .campaign-card-image img{transform:scale(1.05)}
.campaign-card-badge{position:absolute;top:12px;left:12px;z-index:2}
.campaign-card-images-count{position:absolute;bottom:12px;right:12px;background:rgba(0,0,0,.6);color:var(--white);padding:4px 12px;border-radius:20px;font-size:.8rem;display:flex;align-items:center;gap:5px}
.campaign-card-urgent{position:absolute;top:12px;right:12px;background:var(--danger);color:var(--white);padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:600;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.7}}
.campaign-card-body{padding:20px}
.campaign-card-title{font-size:1.15rem;font-weight:700;color:var(--gray-900);margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
.campaign-card-title a{color:var(--gray-900)}.campaign-card-title a:hover{color:var(--primary)}
.campaign-card-location{color:var(--gray-500);font-size:.85rem;margin-bottom:15px;display:flex;align-items:center;gap:5px}
.campaign-card-desc{font-size:.9rem;color:var(--gray-600);margin-bottom:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.progress-container{margin-bottom:15px}
.progress-bar-wrapper{width:100%;height:10px;background:var(--gray-200);border-radius:10px;overflow:hidden;margin-bottom:8px}
.progress-bar-fill{height:100%;background:linear-gradient(90deg,var(--secondary),#10b981);border-radius:10px;transition:width 1s ease}
.progress-info{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px}
.progress-amount{font-size:1rem;font-weight:700;color:var(--secondary)}
.progress-target{font-size:.8rem;color:var(--gray-400)}
.progress-days{font-size:.8rem;color:var(--gray-500)}
.progress-donors{font-size:.8rem;color:var(--gray-500);display:flex;align-items:center;gap:4px}
.campaign-card-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-top:1px solid var(--gray-100);background:var(--gray-50)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 24px;border-radius:8px;font-weight:600;font-size:.95rem;border:none;cursor:pointer;transition:var(--transition);text-align:center;font-family:inherit}
.btn-primary{background:var(--primary);color:var(--white)}.btn-primary:hover{background:var(--primary-dark);color:var(--white);transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-secondary{background:var(--secondary);color:var(--white)}.btn-secondary:hover{background:var(--secondary-dark);color:var(--white)}
.btn-danger{background:var(--danger);color:var(--white)}.btn-danger:hover{background:var(--danger-dark);color:var(--white)}
.btn-outline{background:transparent;color:var(--primary);border:2px solid var(--primary)}.btn-outline:hover{background:var(--primary);color:var(--white)}
.btn-warning{background:var(--accent);color:var(--white)}.btn-warning:hover{background:#d97706;color:var(--white)}
.btn-sm{padding:6px 14px;font-size:.85rem}.btn-lg{padding:14px 32px;font-size:1.05rem}.btn-block{width:100%}
.campaign-detail{padding:40px 0 60px}
.campaign-detail-grid{display:grid;grid-template-columns:1fr 380px;gap:30px;align-items:start}
.slider-main{width:100%;height:450px;overflow:hidden;border-radius:var(--radius-lg);position:relative;cursor:pointer}
.slider-main img{width:100%;height:100%;object-fit:cover}
.slider-nav{display:flex;gap:8px;margin-top:12px;overflow-x:auto;padding-bottom:5px}
.slider-thumb{width:90px;height:65px;border-radius:8px;overflow:hidden;cursor:pointer;border:3px solid transparent;transition:var(--transition);flex-shrink:0}
.slider-thumb.active,.slider-thumb:hover{border-color:var(--primary)}
.slider-thumb img{width:100%;height:100%;object-fit:cover}
.slider-caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.7));color:var(--white);padding:30px 20px 15px;font-size:.9rem}
.detail-content{background:var(--white);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow);margin-bottom:25px}
.detail-content h1{font-size:1.7rem;font-weight:800;color:var(--gray-900);margin-bottom:12px;line-height:1.3}
.detail-meta{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--gray-200)}
.detail-meta-item{display:flex;align-items:center;gap:6px;font-size:.9rem;color:var(--gray-500)}
.detail-body{font-size:.95rem;line-height:1.8;color:var(--gray-700)}
.detail-body p{margin-bottom:15px}.detail-body ul,.detail-body ol{margin:15px 0;padding-left:25px}.detail-body li{margin-bottom:8px}
.detail-sidebar{position:sticky;top:90px}
.donation-box{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden;border:2px solid var(--gray-200)}
.donation-box-header{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:var(--white);padding:25px;text-align:center}
.donation-box-header .total-label{font-size:.85rem;opacity:.9;margin-bottom:5px}
.donation-box-header .total-amount{font-size:1.8rem;font-weight:800}
.donation-box-body{padding:25px}
.quick-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:15px}
.quick-amount-btn{padding:10px 5px;border:2px solid var(--gray-200);border-radius:8px;background:var(--white);font-weight:600;font-size:.9rem;color:var(--gray-700);cursor:pointer;transition:var(--transition);text-align:center;font-family:inherit}
.quick-amount-btn:hover,.quick-amount-btn.active{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}
.form-group{margin-bottom:16px}
.form-group label{display:block;font-weight:600;font-size:.9rem;color:var(--gray-700);margin-bottom:6px}
.form-control{width:100%;padding:10px 14px;border:2px solid var(--gray-200);border-radius:8px;font-size:.95rem;font-family:inherit;transition:var(--transition);background:var(--white)}
.form-control:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
textarea.form-control{min-height:80px;resize:vertical}
.form-text{font-size:.8rem;color:var(--gray-400);margin-top:4px}
.qris-section{padding:30px;text-align:center}
.qris-image{width:250px;height:250px;margin:0 auto 15px;border:3px solid var(--gray-200);border-radius:var(--radius);overflow:hidden}
.qris-image img{width:100%;height:100%;object-fit:cover}
.qris-instructions{font-size:.85rem;color:var(--gray-500);line-height:1.6;text-align:left;max-width:400px;margin:0 auto}
.qris-instructions ol{padding-left:20px}.qris-instructions li{margin-bottom:6px}
.qris-amount{font-size:1.3rem;font-weight:800;color:var(--primary);margin:10px 0}
.qris-timer{font-size:1.1rem;font-weight:700;color:var(--danger);margin:10px 0}
.donation-list{margin-top:15px}
.donation-list h3{font-size:1.1rem;font-weight:700;color:var(--gray-800);margin-bottom:15px}
.donation-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--gray-100)}
.donation-item:last-child{border-bottom:none}
.donor-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--primary-light),var(--primary));display:flex;align-items:center;justify-content:center;color:var(--white);font-weight:700;font-size:1rem;flex-shrink:0}
.donor-info{flex:1;min-width:0}
.donor-name{font-weight:600;font-size:.9rem;color:var(--gray-800)}
.donor-message{font-size:.8rem;color:var(--gray-500);font-style:italic;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.donor-amount{font-weight:700;color:var(--secondary);font-size:.95rem;white-space:nowrap}
.donor-time{font-size:.75rem;color:var(--gray-400)}
.payment-page{padding:40px 0 60px;max-width:700px;margin:0 auto}
.payment-card{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden}
.payment-header{background:linear-gradient(135deg,var(--secondary),#10b981);color:var(--white);padding:30px;text-align:center}
.payment-header .check-icon{width:70px;height:70px;background:var(--white);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 15px;font-size:2rem;color:var(--secondary)}
.payment-header h2{font-size:1.4rem;margin-bottom:5px}.payment-header p{opacity:.9;font-size:.9rem}
.payment-body{padding:30px}
.payment-detail{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--gray-100);font-size:.95rem}
.payment-detail:last-child{border-bottom:none}
.payment-detail .label{color:var(--gray-500)}.payment-detail .value{font-weight:600;color:var(--gray-800)}
.payment-detail .value.amount{color:var(--primary);font-size:1.1rem}
.flash-message{padding:14px 20px;border-radius:8px;margin-bottom:20px;font-size:.9rem;display:flex;align-items:center;gap:10px}
.flash-success{background:#d1fae5;color:#065f46;border:1px solid #6ee7b7}
.flash-error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}
.flash-warning{background:#fef3c7;color:#92400e;border:1px solid #fcd34d}
.admin-layout{display:grid;grid-template-columns:250px 1fr;min-height:100vh}
.admin-sidebar{background:var(--gray-900);color:var(--white);padding:25px 0}
.admin-sidebar-header{padding:0 20px 25px;border-bottom:1px solid var(--gray-700);margin-bottom:20px}
.admin-sidebar-header h3{font-size:1.1rem;color:var(--white)}.admin-sidebar-header p{font-size:.8rem;color:var(--gray-400)}
.admin-nav{list-style:none}
.admin-nav li a{display:flex;align-items:center;gap:10px;padding:12px 20px;color:var(--gray-400);font-size:.9rem;transition:var(--transition)}
.admin-nav li a:hover,.admin-nav li a.active{background:rgba(255,255,255,.1);color:var(--white)}
.admin-content{padding:30px;background:var(--gray-50)}
.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
.admin-header h1{font-size:1.5rem;font-weight:700}
.admin-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;margin-bottom:30px}
.stat-card{background:var(--white);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow);display:flex;align-items:center;gap:15px}
.stat-icon{width:55px;height:55px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}
.stat-icon.blue{background:var(--primary-light);color:var(--primary)}
.stat-icon.green{background:#d1fae5;color:var(--secondary)}
.stat-icon.orange{background:#fef3c7;color:var(--accent)}
.stat-icon.red{background:#fee2e2;color:var(--danger)}
.stat-info h3{font-size:1.4rem;font-weight:800;color:var(--gray-900)}.stat-info p{font-size:.85rem;color:var(--gray-500)}
.admin-table-wrapper{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-bottom:30px}
.admin-table-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--gray-200);flex-wrap:wrap;gap:10px}
.admin-table-header h2{font-size:1.15rem;font-weight:700}
.admin-table{width:100%;border-collapse:collapse}
.admin-table th,.admin-table td{padding:12px 20px;text-align:left;font-size:.9rem;border-bottom:1px solid var(--gray-100)}
.admin-table th{background:var(--gray-50);font-weight:600;color:var(--gray-600);font-size:.8rem;text-transform:uppercase;letter-spacing:.5px}
.admin-table tr:hover{background:var(--gray-50)}
.status-badge{padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:600}
.status-terverifikasi,.status-aktif{background:#d1fae5;color:#065f46}
.status-menunggu{background:#fef3c7;color:#92400e}
.status-gagal{background:#fee2e2;color:#991b1b}
.status-selesai{background:var(--primary-light);color:var(--primary-dark)}
.footer{background:var(--gray-900);color:var(--gray-400);padding:50px 0 25px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;margin-bottom:30px}
.footer h4{color:var(--white);font-size:1rem;margin-bottom:15px}.footer p{font-size:.9rem;line-height:1.7}
.footer-links{list-style:none}.footer-links li{margin-bottom:8px}.footer-links a{color:var(--gray-400);font-size:.9rem}.footer-links a:hover{color:var(--white)}
.footer-bottom{border-top:1px solid var(--gray-700);padding-top:25px;text-align:center;font-size:.85rem}
.lightbox-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.92);z-index:9999;display:none;align-items:center;justify-content:center}
.lightbox-overlay.active{display:flex}
.lightbox-overlay img{max-width:90%;max-height:85vh;border-radius:var(--radius);object-fit:contain}
.lightbox-close{position:absolute;top:20px;right:30px;color:var(--white);font-size:1.5rem;cursor:pointer;z-index:10000;width:45px;height:45px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);border-radius:50%;transition:var(--transition);border:none}
.lightbox-close:hover{background:rgba(255,255,255,.2)}
.lightbox-caption{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);color:var(--white);font-size:.95rem;text-align:center;background:rgba(0,0,0,.6);padding:10px 25px;border-radius:30px;max-width:80%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);color:var(--white);font-size:1.5rem;cursor:pointer;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);border-radius:50%;transition:var(--transition);border:none}
.lightbox-nav:hover{background:rgba(255,255,255,.2)}
.lightbox-prev{left:20px}.lightbox-next{right:20px}
.empty-state{text-align:center;padding:60px 20px;color:var(--gray-400)}
.empty-state .icon{font-size:3rem;margin-bottom:15px}.empty-state h3{color:var(--gray-600);margin-bottom:8px}
.text-center{text-align:center}.text-primary{color:var(--primary)}.text-secondary{color:var(--secondary)}.text-danger{color:var(--danger)}.text-muted{color:var(--gray-500)}
.mt-2{margin-top:10px}.mt-3{margin-top:15px}.mt-4{margin-top:20px}.mb-2{margin-bottom:10px}.mb-3{margin-bottom:15px}.mb-4{margin-bottom:20px}.fw-bold{font-weight:700}
@media(max-width:992px){.hero h1{font-size:2.2rem}.campaign-detail-grid{grid-template-columns:1fr}.detail-sidebar{position:static}.admin-layout{grid-template-columns:1fr}.admin-sidebar{display:none}.footer-grid{grid-template-columns:1fr;gap:25px}.live-stats-grid{gap:0}.live-stat-divider{display:none}.live-stat-item{padding:6px 12px}}
@media(max-width:768px){.hamburger{display:flex}.navbar-menu{display:none;position:absolute;top:70px;left:0;right:0;background:var(--white);flex-direction:column;padding:15px;box-shadow:var(--shadow-lg);border-top:1px solid var(--gray-200)}.navbar-menu.active{display:flex}.hero{padding:50px 0 40px}.hero h1{font-size:1.8rem}.hero-stats{gap:20px}.campaigns-grid{grid-template-columns:1fr}.slider-main{height:280px}.quick-amounts{grid-template-columns:repeat(2,1fr)}.admin-content{padding:15px}.admin-stats{grid-template-columns:1fr}.admin-table th,.admin-table td{padding:8px 12px;font-size:.8rem}.live-stats-bar{padding:12px 0}.live-stat-number{font-size:1rem}.live-stat-icon{width:34px;height:34px;font-size:1rem}.live-feed-item{padding:8px 10px;gap:8px}.live-feed-msg{display:none}}
@media(max-width:480px){.hero h1{font-size:1.5rem}.section-header h2{font-size:1.3rem}.campaign-card-image{height:180px}.detail-content h1{font-size:1.3rem}.donation-box-header .total-amount{font-size:1.4rem}}

/* Tambahkan di file CSS Anda */
.hero-intro {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.7;
    margin: 1rem 0 0.75rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-intro, .hero-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .btn-outline, .btn-primary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
