html, body { overflow-x: hidden; max-width: 100vw; }
/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--duration-base) var(--ease-out);
}
.navbar.scrolled {
    border-bottom-color: var(--slate-100);
    box-shadow: var(--shadow-xs);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6);
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex; align-items: center; gap: var(--space-3); text-decoration: none;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
    font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--slate-900);
}
.nav-logo-sub {
    font-family: var(--font-display); font-weight: 300; font-size: 9px;
    letter-spacing: 4px; color: var(--slate-400); margin-top: 1px;
}
.nav-links { display: flex; gap: var(--space-1); }
.nav-link {
    font-family: var(--font-display); font-size: var(--text-sm); font-weight: 500;
    color: var(--slate-600); padding: 8px 14px; border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out); text-decoration: none;
}
.nav-link:hover { color: var(--slate-900); background: var(--slate-50); }
.nav-actions { display: flex; align-items: center; gap: var(--space-2); }

/* Mobile toggle */
.nav-mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative; flex-direction: column;
    justify-content: space-between;
}
.nav-mobile-toggle span {
    display: block; width: 100%; height: 2px; background: var(--slate-700);
    border-radius: 2px; transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .nav-links, .nav-actions { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 72px; left: 0; right: 0; background: white; padding: var(--space-6);
        border-bottom: 1px solid var(--slate-100); box-shadow: var(--shadow-md);
    }
}

/* ============================================
   Donation Banner
   ============================================ */
.donation-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-top: 1px solid #fde68a;
}
.donation-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-6) 0; gap: var(--space-6); flex-wrap: wrap;
}
.donation-text {
    display: flex; align-items: center; gap: var(--space-4);
}
.donation-emoji { font-size: 32px; }
.donation-text strong {
    font-family: var(--font-display); font-size: var(--text-base);
    color: var(--slate-900); display: block;
}
.donation-text p {
    font-size: var(--text-sm); color: var(--slate-600); margin-top: 2px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--bg-dark); color: rgba(255,255,255,0.5); padding: var(--space-20) 0 var(--space-8);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-12);
    margin-bottom: var(--space-16);
}
.footer-tagline {
    margin-top: var(--space-4); font-size: var(--text-sm); line-height: 1.6;
    max-width: 280px;
}
.footer-col h4 {
    color: white; font-family: var(--font-display); font-size: var(--text-sm);
    font-weight: 600; margin-bottom: var(--space-5); letter-spacing: 0.5px;
}
.footer-col a {
    display: block; color: rgba(255,255,255,0.45); font-size: var(--text-sm);
    padding: 5px 0; transition: color var(--duration-fast) var(--ease-out); text-decoration: none;
}
.footer-col a:hover { color: white; }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: var(--space-8); border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: var(--text-sm); }
.footer-social { display: flex; gap: var(--space-4); }
.footer-social a {
    color: rgba(255,255,255,0.35); transition: color var(--duration-fast) var(--ease-out);
}
.footer-social a:hover { color: white; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
    .donation-inner { justify-content: center; text-align: center; }
    .donation-text { flex-direction: column; }
}

/* Mobile auth links - hidden on desktop, shown in burger menu */
.nav-mobile-auth { display: none; }
@media (max-width: 900px) {
    .nav-mobile-auth {
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--slate-100);
        margin-top: 12px;
        padding-top: 12px;
        gap: 4px;
    }
    .nav-mobile-auth .nav-link {
        font-weight: 600;
        color: var(--blue-600);
    }
}
