:root {
    --bg: #06060f;
    --bg-2: #0c0c1d;
    --bg-3: #12122a;
    --text: #eaeaea;
    --text-2: #a1a1b5;
    --hint: #6b7280;
    --accent: #818cf8;
    --accent-2: #6366f1;
    --accent-glow: rgba(129, 140, 248, 0.12);
    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.08);
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.08);
    --danger: #f87171;
    --info: #60a5fa;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover: rgba(255, 255, 255, 0.06);
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --radius: 16px;
    --radius-sm: 12px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── LOGIN ── */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 400px;
    max-width: 100%;
    padding: 48px 36px;
    background: var(--bg-2);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.06);
    text-align: center;
}

.login-logo {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.login-sub { font-size: 14px; color: var(--hint); margin-bottom: 36px; }

.auth-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-3);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--hint);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.auth-tab.active {
    background: var(--accent-glow);
    color: var(--accent);
}

.auth-tab:hover:not(.active) { color: var(--text-2); }

.login-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-3);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    text-align: left;
    letter-spacing: normal;
    outline: none;
    transition: var(--transition);
}

.login-input-code {
    font-family: 'SF Mono', monospace;
    font-weight: 700;
    text-align: center;
    letter-spacing: 3px;
}

.login-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.login-input::placeholder { color: rgba(255,255,255,0.15); letter-spacing: normal; font-weight: 400; font-family: inherit; }
.login-input-code::placeholder { letter-spacing: 1px; }

.login-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.login-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(99, 102, 241, 0.4); }
.login-btn:active { transform: scale(0.98); }
.login-error { color: var(--danger); font-size: 13px; margin-top: 12px; min-height: 18px; font-weight: 600; }
.login-hint { color: var(--hint); font-size: 12px; margin-top: 20px; line-height: 1.5; }

.login-tg-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: rgba(0, 136, 204, 0.12);
    border: 1px solid rgba(0, 136, 204, 0.2);
    border-radius: var(--radius-sm);
    color: #29B6F6;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    margin-top: 12px;
    transition: var(--transition);
}

.login-tg-btn:hover { background: rgba(0, 136, 204, 0.18); }

/* ── APP LAYOUT ── */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 20px 100px;
}

/* ── TOP BAR ── */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-top: 8px;
}

.topbar-brand {
    font-size: 20px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-name { font-size: 14px; font-weight: 600; color: var(--text-2); }

.topbar-logout {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: transparent;
    color: var(--hint);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.topbar-logout:hover { border-color: var(--danger); color: var(--danger); }

/* ── STATS ── */
.stats-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 10px;
    color: var(--hint);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-top: 2px;
}

/* ── CAMPAIGN LIST ── */
.section-title {
    font-size: 11px;
    color: var(--hint);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 12px;
}

.campaign-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.campaign-item:hover { background: var(--card-hover); }
.campaign-item:active { transform: scale(0.99); }
.campaign-left { flex: 1; }

.campaign-type-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-right: 8px;
}

.badge-quick { background: var(--warning-bg); color: var(--warning); }
.badge-campaign { background: var(--accent-glow); color: var(--accent); }

.campaign-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; display: inline; }
.campaign-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.campaign-budget { font-family: 'SF Mono', monospace; font-weight: 700; color: var(--success); font-size: 14px; }
.campaign-arrow { color: var(--hint); font-size: 20px; }

/* ── STATUS BADGE ── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-draft { background: rgba(107,114,128,0.12); color: #9ca3af; }
.status-draft::before { background: #9ca3af; }
.status-proposal_sent { background: rgba(96,165,250,0.12); color: #60a5fa; }
.status-proposal_sent::before { background: #60a5fa; }
.status-accepted { background: var(--warning-bg); color: var(--warning); }
.status-accepted::before { background: var(--warning); }
.status-payment_submitted { background: rgba(245,158,11,0.12); color: #f59e0b; }
.status-payment_submitted::before { background: #f59e0b; animation: pulse 2s infinite; }
.status-paid { background: var(--success-bg); color: var(--success); }
.status-paid::before { background: var(--success); }
.status-scheduling { background: rgba(167,139,250,0.12); color: #a78bfa; }
.status-scheduling::before { background: #a78bfa; }
.status-drafts_review { background: rgba(244,114,182,0.12); color: #f472b6; }
.status-drafts_review::before { background: #f472b6; }
.status-drafts_approved { background: var(--success-bg); color: var(--success); }
.status-drafts_approved::before { background: var(--success); }
.status-in_progress { background: rgba(96,165,250,0.12); color: #60a5fa; }
.status-in_progress::before { background: #60a5fa; animation: pulse 2s infinite; }
.status-completed { background: rgba(52,211,153,0.15); color: var(--success); }
.status-completed::before { background: var(--success); }
.status-cancelled { background: rgba(248,113,113,0.08); color: var(--danger); }
.status-cancelled::before { background: var(--danger); }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── DETAIL PAGE ── */
.back-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    font-family: inherit;
}

.detail-header {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.04));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 16px;
}

.detail-project { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 10px; }
.detail-row { display: flex; justify-content: space-between; align-items: center; }
.detail-budget { font-family: 'SF Mono', monospace; font-size: 22px; font-weight: 800; color: var(--success); }

/* Next step banner */
.next-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--warning-bg);
    border: 1px solid rgba(251,191,36,0.15);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.next-step-icon { font-size: 20px; }
.next-step-text { font-size: 13px; font-weight: 600; color: var(--warning); }

/* ── CARDS / SECTIONS ── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 14px;
    backdrop-filter: blur(10px);
}

.card-title {
    font-size: 11px;
    color: var(--hint);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* ── KOL CARDS ── */
.kol-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.kol-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-border);
    flex-shrink: 0;
}

.kol-info { flex: 1; }
.kol-name { font-size: 14px; font-weight: 700; }
.kol-handle { font-size: 12px; color: var(--hint); }
.kol-services { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }

.kol-service-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--accent-glow);
    color: var(--accent);
}

.kol-followers { text-align: right; white-space: nowrap; }
.followers-num { font-size: 14px; font-weight: 700; display: block; }
.followers-label { font-size: 9px; color: var(--hint); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── PLAN CARDS ── */
.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.plan-card:hover { border-color: rgba(129,140,248,0.2); }
.plan-card.selected { border-color: var(--accent); box-shadow: 0 0 20px rgba(99,102,241,0.12); }

.plan-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }

.plan-badge {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 4px 14px;
    border-radius: 8px;
}

.plan-count { font-size: 12px; color: var(--hint); }
.plan-kols { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.plan-kol-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    padding: 4px 10px 4px 4px;
    font-size: 12px;
}

.plan-kol-chip img { width: 22px; height: 22px; border-radius: 50%; }
.plan-reach { font-size: 12px; color: var(--hint); }

/* ── PROPOSAL STATS ── */
.proposal-stats { margin-bottom: 12px; }

.proposal-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    font-size: 13px;
}

.proposal-row:last-child { border-bottom: none; }
.proposal-label { color: var(--hint); }
.proposal-value { font-weight: 700; }

/* ── BUTTONS ── */
.btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: var(--transition);
    font-family: inherit;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}

.btn-glow {
    animation: glowPulseBtn 2.5s ease-in-out infinite;
}

.btn-glow:active { animation: none; }

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text);
    border: 1px solid var(--card-border);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #34d399);
    color: white;
    box-shadow: 0 4px 15px rgba(52,211,153,0.3);
}

.btn-sm { padding: 10px 16px; font-size: 13px; width: auto; display: inline-block; }

/* ── FORMS ── */
.field { margin-bottom: 16px; }

.field label {
    display: block;
    font-size: 11px;
    color: var(--hint);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.field input, .field textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.field input:focus, .field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.2); }
.field-hint { font-size: 11px; color: var(--hint); margin-top: 6px; }
textarea { resize: vertical; min-height: 80px; }

/* ── PAYMENT ── */
.payment-amount {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4px;
}

.payment-network {
    font-size: 13px;
    color: var(--accent);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wallet-address {
    font-family: 'SF Mono', monospace;
    font-size: 12px;
    word-break: break-all;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin: 12px 0;
    color: var(--accent);
    line-height: 1.6;
    text-align: center;
    cursor: pointer;
}

.wallet-address:hover { background: rgba(255,255,255,0.06); }

/* ── DRAFTS ── */
.draft-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.7;
}

.draft-label {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* ── POST LINKS ── */
.post-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--card-border);
}

.post-link:last-child { border-bottom: none; }
.post-link::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* ── PAID ANIMATION ── */
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.paid-screen { text-align: center; padding: 40px 20px; }

.paid-check {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: white;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.3);
}

.paid-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.paid-sub { color: var(--hint); font-size: 14px; }

/* ── WAITING ── */
.waiting { text-align: center; padding: 40px 20px; }
.waiting-icon { font-size: 48px; margin-bottom: 16px; }
.waiting-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.waiting-sub { color: var(--hint); font-size: 14px; }

/* ── TOAST ── */
.toast-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 999; }

.toast {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: rgba(52,211,153,0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.5s forwards;
    text-align: center;
}

.toast.error { background: rgba(248,113,113,0.95); }

@keyframes toastIn { from { opacity: 0; transform: translateY(-20px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-20px); } }

/* ── EMPTY ── */
.empty { color: var(--hint); text-align: center; padding: 40px; font-size: 14px; line-height: 1.6; }
.empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }

/* ── LOADING ── */
.spinner {
    width: 24px; height: 24px;
    border: 3px solid var(--card-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px; color: var(--hint); }

/* ── MODE CARDS ── */
.mode-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.mode-card:hover { background: var(--card-hover); border-color: var(--accent); }
.mode-card:active { transform: scale(0.99); }

.mode-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mode-info { flex: 1; }

/* ── ACTION TILES ── */
.action-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.action-tile:active { transform: scale(0.95); }
.action-tile.selected { background: var(--warning-bg); border-color: var(--warning); box-shadow: 0 0 0 1px var(--warning); }

/* ── REGION TILES ── */
.region-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.region-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
}

.region-tile:active { transform: scale(0.97); }
.region-tile.selected { background: var(--accent-glow); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* ── CAMPAIGN NEEDS ACTION ── */
.campaign-item.needs-action {
    border-color: rgba(129, 140, 248, 0.25);
    background: rgba(129, 140, 248, 0.04);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow { 0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 15px rgba(129, 140, 248, 0.1); } }

.campaign-action-hint {
    font-size: 12px;
    font-weight: 800;
    color: var(--warning);
    margin-top: 6px;
}

.campaign-action-hint::after {
    content: ' →';
    font-weight: 800;
}

/* ── PROGRESS STEPPER ── */
.stepper {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 8px;
    overflow-x: auto;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
}

.stepper-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 55%;
    width: 90%;
    height: 2px;
    background: var(--card-border);
    z-index: 0;
}

.stepper-step.done:not(:last-child)::after { background: var(--success); }

.stepper-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--card-border);
    z-index: 1;
    transition: all 0.3s;
}

.stepper-step.done .stepper-dot { background: var(--success); }
.stepper-step.current .stepper-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2s infinite; }

.stepper-label {
    font-size: 9px;
    color: var(--hint);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
}

.stepper-step.done .stepper-label { color: var(--success); }
.stepper-step.current .stepper-label { color: var(--accent); }

/* ── SUPPORT BAR ── */
.support-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--hint);
    border-top: 1px solid var(--card-border);
}

.support-bar a { color: var(--accent); text-decoration: none; font-weight: 600; }
.support-bar a:hover { text-decoration: underline; }

/* ── CODE MODAL ── */
.code-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
}

.code-modal {
    background: var(--bg-2);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.code-modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.code-modal p { font-size: 13px; color: var(--hint); margin-bottom: 20px; line-height: 1.5; }

.code-display {
    font-family: 'SF Mono', monospace;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    background: var(--bg-3);
    border: 1px solid var(--card-border);
    padding: 16px;
    border-radius: var(--radius-sm);
    letter-spacing: 3px;
    margin-bottom: 12px;
    cursor: pointer;
}

.code-display:hover { background: rgba(255,255,255,0.06); }

/* ── STATUS MODAL ── */
.btn-glow-pulse {
    animation: glowPulseBtn 2s ease-in-out infinite;
}

@keyframes glowPulseBtn {
    0%, 100% { box-shadow: 0 4px 20px rgba(99,102,241,0.3); }
    50% { box-shadow: 0 4px 35px rgba(99,102,241,0.6); }
}

/* ── DELIVERY PROGRESS ── */
.delivery-progress {
    height: 4px;
    background: var(--card-border);
    border-radius: 2px;
    margin: 12px 0 16px;
    overflow: hidden;
}

.delivery-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--gradient-1);
    transition: width 0.5s ease;
}

/* ── TWEET PREVIEW ── */
.tweet-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

.tweet-preview-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--card-border);
}

.tweet-preview-handle {
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
}

.tweet-preview-body {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

.hidden { display: none !important; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 0; }
::selection { background: var(--accent); color: white; }

@media (max-width: 500px) {
    .app-container { padding: 12px 12px 80px; }
    .detail-project { font-size: 20px; }
    .payment-amount { font-size: 26px; }
}
