@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/iransans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #fd8d2a;
    --primary-hover: #e67d1a;
    --primary-light: #fff3e8;
    --bg: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --text: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #999999;
    --border: #e8e8e8;
    --border-light: #f2f2f2;
    --danger: #e74c3c;
    --danger-bg: #fff5f5;
    --danger-border: #fdd;
    --success: #27ae60;
    --success-bg: #f0fff4;
    --success-border: #c8f7d5;
    --warning: #f39c12;
    --warning-bg: #fffdf5;
    --warning-border: #fef0c0;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-sm: 6px;
    --shadow: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --transition: all 0.25s ease;
    --sidebar-width: 260px;
}

.dark {
    --primary: #fd8d2a;
    --primary-hover: #e67d1a;
    --primary-light: #2a2018;
    --bg: #1a1a1a;
    --bg-secondary: #242424;
    --bg-tertiary: #2d2d2d;
    --text: #e8e8e8;
    --text-secondary: #b0b0b0;
    --text-muted: #777777;
    --border: #333333;
    --border-light: #2a2a2a;
    --danger: #e74c3c;
    --danger-bg: #2a1515;
    --danger-border: #3a1a1a;
    --success: #27ae60;
    --success-bg: #152a1a;
    --success-border: #1a3a1a;
    --warning: #f39c12;
    --warning-bg: #2a2515;
    --warning-border: #3a301a;
    --shadow: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}

a, button, div, span { -webkit-tap-highlight-color: transparent; }
a:focus, button:focus { outline: none; }

.dark .hero-section { background: linear-gradient(180deg, #2a2018 0%, #1a1a1a 100%); }
.dark .dpp-header { background: linear-gradient(135deg, #2a2018 0%, #1a1a1a 100%); }
.dark .item-card { background: #242424; }
.dark .step-card { background: #242424; }
.dark .hero-stats { background: #242424; }
.dark .modal-content { background: #1a1a1a; }
.dark .btn-hero-secondary { background: #242424; color: var(--text); }
.dark input, .dark select, .dark textarea { background: #242424; }
.dark .donate-social-btn { background: #2d2d2d; }
.dark .sidebar-user { background: #242424; }
.dark .dpp-category { background: #333; }

body {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s, color 0.3s;
    padding-bottom: 70px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 56px;
    transition: background 0.3s, border-color 0.3s;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.logo { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
.logo-img { height: 34px; border-radius: 8px; }

.desktop-nav { display: none; align-items: center; gap: 4px; }

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover { background: var(--bg-secondary); color: var(--primary); }
.btn-nav { background: var(--primary); color: #fff !important; padding: 8px 18px; }
.btn-nav:hover { background: var(--primary-hover); color: #fff !important; }

.dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.dark-mode-toggle:hover { background: var(--border); }
.dark-mode-toggle svg { width: 18px; height: 18px; fill: var(--text-secondary); transition: var(--transition); }
.dark .dark-mode-toggle svg { fill: #f39c12; }

.mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    z-index: 1000;
    height: 60px;
    padding: 0 12px;
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.mobile-bottom-nav a img { width: 22px; height: 22px; opacity: 0.6; }
.mobile-bottom-nav a:active { background: transparent; color: var(--text-secondary); }
.mobile-bottom-nav a:focus { outline: none; background: transparent; }
.mobile-bottom-nav a.active { color: var(--primary); }
.mobile-bottom-nav a.active img { opacity: 1; }

.main-wrapper { display: flex; min-height: calc(100vh - 56px); }

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg);
    border-left: 1px solid var(--border-light);
    padding: 20px 0;
    position: fixed;
    top: 0;
    right: -280px;
    height: 100vh;
    z-index: 1700;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.sidebar.active { right: 0; }

.sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border-light); }
.sidebar-header-title { font-size: 15px; font-weight: 700; color: var(--text); }
.sidebar-close { width: 32px; height: 32px; border: none; background: var(--bg-secondary); border-radius: 50%; font-size: 20px; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; }

.sidebar-section { padding: 0 12px; margin-bottom: 20px; }
.sidebar-section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 10px; padding: 0 8px; font-weight: 600; }

.sidebar-link {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 13px;
    transition: var(--transition); margin-bottom: 3px; font-weight: 500;
}

.sidebar-link:hover { background: var(--bg-secondary); color: var(--primary); }
.sidebar-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.sidebar-link img { width: 20px; height: 20px; opacity: 0.6; }
.sidebar-link:hover img { opacity: 1; }
.sidebar-link.active img { opacity: 1; }

.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin: 12px; background: var(--bg-secondary); border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.sidebar-user-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-light); padding: 5px; }
.sidebar-user-name { font-size: 12px; font-weight: 600; color: var(--text); }

.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1600; opacity: 0; visibility: hidden; transition: all 0.3s; }
.sidebar-overlay.active { opacity: 1; visibility: visible; }

.mobile-sidebar-toggle {
    display: none; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: none; background: var(--bg-secondary);
    border-radius: 50%; cursor: pointer; flex-shrink: 0; flex-direction: column; gap: 4px; z-index: 2;
}
.mobile-sidebar-toggle span { display: block; width: 18px; height: 2px; background: var(--text-secondary); border-radius: 2px; }

.main-content { flex: 1; padding: 20px 16px; background: var(--bg-secondary); min-height: calc(100vh - 56px); transition: background 0.3s; }
.main-content .container { max-width: 100%; padding: 0; }
.main-content-full { flex: 1; padding: 0; background: var(--bg); min-height: calc(100vh - 56px); transition: background 0.3s; }

.site-footer { background: var(--bg); border-top: 1px solid var(--border-light); padding: 20px 0; margin-bottom: 60px; transition: background 0.3s, border-color 0.3s; }
.footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.footer-brand { font-size: 13px; font-weight: 700; color: var(--primary); }
.footer-desc { font-size: 11px; color: var(--text-muted); }
.footer-links { display: flex; gap: 14px; }
.footer-links a { color: var(--text-secondary); font-size: 12px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 10px; color: var(--text-muted); }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: none; border-radius: var(--radius-sm); font-size: 13px; font-family: 'IRANSans', Tahoma, Arial, sans-serif; cursor: pointer; text-decoration: none; transition: var(--transition); font-weight: 500; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-secondary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0392b; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #219a52; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-sm { padding: 5px 10px; font-size: 11px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn img { width: 16px; height: 16px; }

.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--text-secondary); font-weight: 600; }

input[type="text"], input[type="password"], input[type="number"], input[type="url"], input[type="email"], select, textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 14px; font-family: 'IRANSans', Tahoma, Arial, sans-serif; background: var(--bg); color: var(--text); transition: var(--transition);
}

input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
textarea { resize: vertical; min-height: 100px; }
.form-hint { display: block; margin-top: 4px; font-size: 11px; color: var(--text-muted); }
.form-hint strong { color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.form-group-full { grid-column: 1 / -1; }

.alert { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 12px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.alert img { width: 18px; height: 18px; flex-shrink: 0; }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger-border); }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning-border); }

.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-bottom: 14px; transition: background 0.3s, border-color 0.3s; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); flex-wrap: wrap; gap: 8px; }
.card-title { font-size: 15px; color: var(--text); font-weight: 700; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.stat-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; transition: background 0.3s, border-color 0.3s; }
.stat-icon { width: 32px; height: 32px; flex-shrink: 0; }
.stat-label { font-size: 10px; color: var(--text-muted); margin-bottom: 2px; }
.stat-value { font-size: 18px; font-weight: 700; color: var(--primary); }
.stat-sub { font-size: 10px; color: var(--text-muted); }

.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
table th { background: var(--bg-secondary); padding: 10px 12px; text-align: right; font-size: 11px; color: var(--text-muted); font-weight: 600; border-bottom: 2px solid var(--border); white-space: nowrap; }
table td { padding: 10px 12px; border-bottom: 1px solid var(--border-light); font-size: 12px; }
table tbody tr:hover { background: var(--bg-secondary); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-approved, .badge-completed { background: var(--success-bg); color: var(--success); }
.badge-rejected, .badge-failed { background: var(--danger-bg); color: var(--danger); }

.auth-container { max-width: 400px; margin: 24px auto; padding: 0 12px; }
.auth-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow-md); transition: background 0.3s, border-color 0.3s; }
.auth-header { text-align: center; margin-bottom: 20px; }
.auth-header img { height: 44px; margin-bottom: 12px; }
.auth-header h1 { font-size: 20px; color: var(--text); margin-bottom: 6px; }
.auth-header p { color: var(--text-muted); font-size: 13px; }
.auth-footer { text-align: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

.donate-page-container { max-width: 600px; margin: 20px auto; padding: 0 12px; text-align: center; }
.donate-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 16px; box-shadow: var(--shadow-lg); transition: background 0.3s, border-color 0.3s; }
.donate-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 3px solid var(--border-light); }
.donate-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.donate-category { color: var(--text-muted); font-size: 12px; margin-bottom: 12px; }
.donate-description { color: var(--text-secondary); font-size: 13px; line-height: 1.8; margin-bottom: 16px; white-space: pre-line; }
.donate-social-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.donate-social-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.donate-social-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: 11px; padding: 6px 10px; background: var(--bg-secondary); border-radius: 20px; transition: var(--transition); text-decoration: none; white-space: nowrap; }
.donate-social-btn img { width: 16px; height: 16px; }
.donate-social-btn:hover { background: var(--primary); color: #fff; }
.donate-social-btn:hover img { filter: brightness(0) invert(1); }
.donate-like-wrap { flex-shrink: 0; }

.donate-items { display: grid; gap: 10px; }
.donate-item { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: var(--transition); display: flex; justify-content: space-between; align-items: center; }
.donate-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.donate-item-left { display: flex; align-items: center; gap: 10px; }
.donate-item-icon { width: 32px; height: 32px; flex-shrink: 0; }
.donate-item-name { font-size: 13px; font-weight: 600; color: var(--text); }
.donate-item-amount { color: var(--primary); font-weight: 700; font-size: 14px; white-space: nowrap; }

.like-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg); cursor: pointer; transition: var(--transition); font-family: 'IRANSans', Tahoma, Arial, sans-serif; font-size: 13px; color: var(--text-secondary); }
.like-btn:hover { border-color: #e74c3c; color: #e74c3c; }
.like-btn.liked { border-color: #e74c3c; color: #e74c3c; background: var(--danger-bg); }
.like-btn img { width: 18px; height: 18px; }
.like-count { font-weight: 600; }

.recent-donations { margin-top: 20px; }
.recent-donations h3 { font-size: 14px; color: var(--text); margin-bottom: 10px; text-align: right; font-weight: 700; }
.recent-donation-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 12px; }
.recent-donation-item:last-child { border-bottom: none; }
.recent-donation-info { text-align: right; }
.recent-donation-name { font-weight: 600; color: var(--text); }
.recent-donation-type { color: var(--text-muted); font-size: 10px; }
.recent-donation-date { color: var(--text-muted); font-size: 10px; }
.recent-donation-amount { color: var(--primary); font-weight: 600; }

.hero-section { background: linear-gradient(180deg, #fff8f0 0%, #ffffff 100%); padding: 40px 16px 32px; text-align: center; transition: background 0.3s; }
.hero-container { max-width: 600px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-light); color: var(--primary); padding: 6px 14px; border-radius: 30px; font-size: 11px; font-weight: 600; margin-bottom: 16px; }
.hero-badge-icon { width: 14px; height: 14px; }
.hero-title { font-size: 22px; font-weight: 900; color: var(--text); line-height: 1.6; margin-bottom: 12px; }
.hero-highlight { color: var(--primary); }
.hero-desc { font-size: 14px; color: var(--text-secondary); line-height: 2; margin-bottom: 20px; max-width: 400px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: nowrap; margin-bottom: 24px; }

.btn-hero { display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 10px; font-size: 13px; font-weight: 600; font-family: 'IRANSans', Tahoma, Arial, sans-serif; text-decoration: none; transition: all 0.3s; white-space: nowrap; }
.btn-hero img { width: 16px; height: 16px; }
.btn-hero-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(253,141,42,0.3); }
.btn-hero-primary:hover { background: var(--primary-hover); }
.btn-hero-secondary { background: #fff; color: var(--text); border: 2px solid var(--border); }
.btn-hero-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-hero-lg { padding: 14px 24px; font-size: 14px; }

.hero-stats { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0; box-shadow: var(--shadow-md); overflow: hidden; }
.hero-stat-item { text-align: center; padding: 10px 6px; flex: 1; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.hero-stat-item:active { background: transparent; }
.hero-stat-number { display: block; font-size: 14px; font-weight: 800; color: var(--primary); }
.hero-stat-label { display: block; font-size: 9px; color: var(--text-muted); margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }

.items-section { padding: 32px 16px; background: var(--bg); transition: background 0.3s; }
.items-container { max-width: 600px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 24px; }
.section-title { font-size: 22px; font-weight: 900; color: var(--text); margin-bottom: 6px; }
.section-subtitle { font-size: 13px; color: var(--text-muted); }
.items-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.item-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px 16px; text-align: center; transition: all 0.3s; position: relative; }
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.item-card-featured { border-color: var(--primary); }
.item-card-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 3px 12px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.item-card-image { width: 60px; height: 60px; margin: 0 auto 12px; background: var(--bg-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.item-card-image img { width: 36px; height: 36px; }
.item-card-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.item-card-price { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.item-card-desc { font-size: 12px; color: var(--text-muted); line-height: 1.7; }

.steps-section { padding: 32px 16px 48px; background: var(--bg-secondary); transition: background 0.3s; }
.steps-container { max-width: 600px; margin: 0 auto; }
.steps-grid { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 24px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 16px; text-align: center; width: 100%; transition: all 0.3s; }
.step-card:hover { box-shadow: var(--shadow-md); }
.step-icon-wrap { width: 44px; height: 44px; margin: 0 auto 12px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step-icon { width: 24px; height: 24px; }
.step-number-badge { width: 24px; height: 24px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin: 0 auto 8px; }
.step-card h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-card p { font-size: 11px; color: var(--text-muted); line-height: 1.7; }
.step-arrow { display: none; }
.steps-cta { text-align: center; }

.trust-section { padding: 24px 16px; background: var(--bg); border-top: 1px solid var(--border-light); transition: background 0.3s; }
.trust-container { max-width: 400px; margin: 0 auto; }
.trust-items { display: grid; grid-template-columns: 1fr; gap: 10px; text-align: center; }
.trust-item { padding: 12px; }
.trust-item img { width: 32px; height: 32px; margin-bottom: 8px; opacity: 0.7; }
.trust-item h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.trust-item p { font-size: 11px; color: var(--text-muted); }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; display: flex; align-items: flex-end; justify-content: center; }
.modal-content { background: var(--bg); border-radius: 20px 20px 0 0; padding: 24px 20px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); transition: background 0.3s; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-header h3 { font-size: 16px; color: var(--text); font-weight: 700; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
.modal-close:hover { color: var(--danger); }

.error-page { text-align: center; padding: 40px 16px; }
.error-page .error-icon { width: 60px; height: 60px; margin-bottom: 16px; opacity: 0.6; }
.error-page h1 { font-size: 60px; font-weight: 800; color: var(--primary); line-height: 1; }
.error-page h2 { font-size: 18px; color: var(--text); margin: 8px 0; }
.error-page p { color: var(--text-muted); margin-bottom: 20px; }

.empty-state { text-align: center; padding: 32px 16px; color: var(--text-muted); }
.empty-state img { width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state h3 { font-size: 15px; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state p { font-size: 13px; margin-bottom: 16px; }

.logo-upload-wrapper { display: flex; align-items: center; gap: 12px; }
.logo-preview { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); background: var(--bg-secondary); }

.static-page-container { max-width: 600px; margin: 20px auto; padding: 0 12px; }
.static-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 16px; box-shadow: var(--shadow-md); transition: background 0.3s; }
.static-title { font-size: 20px; font-weight: 900; color: var(--text); margin-bottom: 20px; text-align: center; }
.static-subtitle { text-align: center; color: var(--text-muted); font-size: 13px; margin-bottom: 20px; }
.static-section { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.static-section:last-child { border-bottom: none; }
.static-section h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.static-section p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.static-link { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-weight: 600; margin-top: 6px; font-size: 12px; }
.static-link:hover { text-decoration: underline; }

.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
.pricing-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 16px; text-align: center; transition: var(--transition); position: relative; }
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pricing-featured { border-color: var(--primary); }
.pricing-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 3px 12px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.pricing-image { width: 56px; height: 56px; margin: 0 auto 10px; background: var(--bg-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pricing-image img { width: 34px; height: 34px; }
.pricing-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pricing-price { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pricing-desc { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.pricing-info { display: grid; grid-template-columns: 1fr; gap: 10px; border-top: 1px solid var(--border-light); padding-top: 16px; }
.pricing-info-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px; }
.pricing-info-item img { width: 28px; height: 28px; flex-shrink: 0; }
.pricing-info-item h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.pricing-info-item p { font-size: 11px; color: var(--text-muted); }

.register-notice { display: flex; align-items: flex-start; gap: 8px; background: var(--primary-light); border: 1px solid #ffe0c0; border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 16px; font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.register-notice img { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.register-notice a { color: var(--primary); font-weight: 600; }
.register-notice a:hover { text-decoration: underline; }
.auth-rules { margin-top: 6px; font-size: 11px; }
.auth-rules a { color: var(--text-muted); }
.auth-rules a:hover { color: var(--primary); }

.donate-page-preview-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow-md); margin-bottom: 14px; overflow: hidden; transition: background 0.3s, border-color 0.3s; }
.dpp-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border-light); gap: 10px; flex-wrap: wrap; }
.dpp-header-left { display: flex; align-items: center; gap: 10px; }
.dpp-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow); flex-shrink: 0; }
.dpp-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.dpp-category { font-size: 10px; color: var(--text-muted); background: var(--bg); padding: 2px 8px; border-radius: 10px; border: 1px solid var(--border); }
.dpp-header-right { flex-shrink: 0; }
.dpp-body { padding: 14px 16px; }
.dpp-info-row { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
.dpp-info-item { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; background: var(--bg-secondary); border-radius: var(--radius-sm); }
.dpp-info-item img { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; opacity: 0.6; }
.dpp-info-label { display: block; font-size: 10px; color: var(--text-muted); margin-bottom: 2px; }
.dpp-info-value { display: block; font-size: 12px; font-weight: 600; color: var(--text); word-break: break-all; }
.dpp-link { color: var(--primary); direction: ltr; text-align: right; }
.dpp-description { background: var(--bg-secondary); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.dpp-footer { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border-light); background: var(--bg-secondary); flex-wrap: wrap; }

.otp-inputs { display: flex; justify-content: center; gap: 8px; direction: ltr; margin-bottom: 16px; }
.otp-input { width: 48px; height: 54px; text-align: center; font-size: 22px; font-weight: 700; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); outline: none; transition: var(--transition); }
.otp-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 20px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 14px; }
.mb-3 { margin-bottom: 20px; }

@media (max-width: 768px) {
    .mobile-sidebar-toggle { display: flex; }
    .hero-buttons { flex-wrap: nowrap; }
    .btn-hero { padding: 10px 14px; font-size: 12px; gap: 4px; }
    .btn-hero img { width: 14px; height: 14px; }
    .btn-hero-lg { padding: 12px 18px; font-size: 13px; }
}

@media (min-width: 769px) {
    body { padding-bottom: 0; }
    .mobile-bottom-nav { display: none; }
    .desktop-nav { display: flex; }
    .logo { position: static; transform: none; }
    .sidebar { position: sticky; top: 56px; right: auto; height: calc(100vh - 56px); display: block; z-index: auto; }
    .sidebar-overlay { display: none; }
    .main-content { padding: 24px 20px; }
    .site-footer { margin-bottom: 0; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .hero-title { font-size: 32px; }
    .hero-buttons { flex-wrap: nowrap; }
    .items-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { flex-direction: row; }
    .step-arrow { display: block; }
    .step-card { max-width: 220px; }
    .trust-items { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-info { grid-template-columns: repeat(3, 1fr); }
    .dpp-info-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
    .donate-card { padding: 24px; }
    .auth-card { padding: 28px 24px; }
    .card { padding: 20px; }
    .mobile-sidebar-toggle { display: none; }
}