:root {
    --brand-primary: #ff4d6d;
    --brand-dark: #0f172a;
    --brand-accent: #6366f1;
    --success: #10b981;
    --pending: #f59e0b;
    --surface: #ffffff;
    --background: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.9);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --shadow-premium: 0 10px 30px -5px rgba(0,0,0,0.08);
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; -webkit-tap-highlight-color: transparent; }
body { background-color: var(--background); color: var(--text-main); padding-bottom: 120px; line-height: 1.6; }
header { background: var(--glass); backdrop-filter: blur(15px); padding: 18px 20px; position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.05); }
.logo { font-size: 24px; font-weight: 800; color: var(--brand-dark); text-decoration: none; letter-spacing: -0.8px; }
.logo span { color: var(--brand-primary); }
.back-link, .create-btn { color: var(--brand-dark); text-decoration: none; display: flex; align-items: center; font-weight: 700; font-size: 14px; }
.create-btn { background: var(--brand-dark); color: white; padding: 8px 16px; border-radius: 12px; font-size: 13px; gap: 6px; }
.menu-icon { color: var(--brand-dark); cursor: pointer; display: flex; align-items: center; }
.form-container { padding: 20px; padding-top: 10px; }
.input-group { margin-bottom: 20px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--brand-dark); }
input[type="text"], textarea { width: 100%; padding: 14px; border-radius: 12px; border: 2px solid #e2e8f0; background: white; font-size: 14px; transition: all 0.3s; }
input:focus, textarea:focus { border-color: var(--brand-primary); outline: none; }
.preview-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px;}
.preview-label .live-dot { width: 8px; height: 8px; background: #ff0000; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
.tiktok-preview { background: #000; border-radius: 20px; padding: 20px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.2); margin-bottom: 15px; }
.tiktok-comment { display: flex; gap: 12px; }
.tt-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: #333; }
.tt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tt-content { flex-grow: 1; }
.tt-user { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.tt-text { color: #eee; font-size: 13px; line-height: 1.4; margin-bottom: 6px; }
.tt-text span { color: #5dade2; font-weight: 600; }
.tt-photo-wrapper { display: none; margin-top: 8px; width: fit-content; max-width: 160px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.tt-photo { display: block; width: 100%; height: auto; max-height: 200px; object-fit: cover; }
.tt-meta { display: flex; gap: 15px; margin-top: 10px; }
.tt-meta span { color: #777; font-size: 11px; font-weight: 600; }
.tt-heart { color: #777; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 5px; }
.tt-heart svg { width: 18px; height: 18px; fill: currentColor; }
.upload-btn { width: 100%; padding: 16px 20px; border-radius: 12px; border: 2px dashed var(--brand-primary); background: rgba(255, 77, 109, 0.05); color: var(--brand-primary); font-size: 15px; font-weight: 800; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; transition: all 0.3s; box-shadow: 0 4px 15px rgba(255, 77, 109, 0.15); }
.upload-btn:hover { background: rgba(255, 77, 109, 0.1); }
.upload-btn.has-file { border-style: solid; border-color: #10b981; background: #10b981; color: white; box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3); }
.footer-action { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--glass); backdrop-filter: blur(15px); padding: 20px; border-top: 1px solid rgba(0,0,0,0.05); z-index: 1000; }
.launch-btn, .cta-btn { background: var(--brand-primary); color: white; border: none; width: 100%; padding: 16px; border-radius: 16px; font-size: 16px; font-weight: 800; box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3); display: flex; cursor: pointer; justify-content: center; align-items: center; gap: 10px; }
.about-section, .about-adzora { padding: 20px 0; text-align: center; }
.about-adzora { margin: 40px 20px 20px; padding: 25px; background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-premium); border: 1px solid rgba(0,0,0,0.05); }
.about-section h4, .about-adzora h4 { font-size: 16px; margin-bottom: 10px; color: var(--brand-dark); font-weight: 800; }
.about-section p, .about-adzora p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.ai-growth-card { margin: 20px; padding: 25px; background: var(--brand-dark); border-radius: var(--radius-xl); color: white; text-align: center; position: relative; overflow: hidden; box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.5); }
.ai-growth-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.2) 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.15) 2px, transparent 3px), radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.2) 2px, transparent 3px), radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.1) 2px, transparent 3px); background-size: 50px 50px; animation: blinkData 4s infinite linear; opacity: 0.7; z-index: 1; }
@keyframes blinkData { 0%, 100% { opacity: 0.7; } 50% { opacity: 0.3; } }
.ai-growth-card h4 { font-size: 18px; margin-bottom: 10px; font-weight: 800; position: relative; z-index: 2; }
.ai-growth-card p { font-size: 13px; opacity: 0.9; line-height: 1.6; position: relative; z-index: 2; }
.ai-growth-card .ai-accent { color: var(--brand-accent); font-weight: 700; }
.category-scroll { display: flex; overflow-x: auto; padding: 0 20px 20px; gap: 18px; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.cat-item { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
.cat-img-wrapper { width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, #ff4d6d, #ff9a8b); margin-bottom: 8px; box-shadow: 0 4px 10px rgba(255, 77, 109, 0.2); }
.cat-item img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid white; }
.cat-title { font-size: 11px; font-weight: 700; color: var(--text-main); }
.section-header, .list-header { padding: 10px 20px 15px; display: flex; justify-content: space-between; align-items: center; }
.section-header h2, .list-header h2 { font-size: 18px; font-weight: 800; }
.seller-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0 20px; }
.seller-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-premium); transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); border: 1px solid rgba(255,255,255,0.7); cursor: pointer; }
.seller-card:active { transform: scale(0.95); }
.card-img { height: 130px; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; color: white; }
.card-body { padding: 12px; }
.card-cat { color: var(--brand-primary); font-size: 10px; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; display: block; }
.card-name { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.card-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin-bottom: 10px; }
.card-price { font-size: 15px; font-weight: 800; color: var(--brand-dark); }
.stats-container { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 20px; }
.stat-card { background: white; padding: 15px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.03); }
.stat-card span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.stat-card h3 { font-size: 20px; font-weight: 800; color: var(--brand-dark); margin-top: 4px; }
.campaign-list { padding: 0 20px; }
.campaign-card { background: white; border-radius: var(--radius-lg); padding: 15px; margin-bottom: 15px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 12px; position: relative; border-left: 6px solid #ddd; }
.card-pending { border-left-color: var(--pending); }
.card-emerald { border-left-color: var(--success); }
.card-top { display: flex; gap: 12px; align-items: center; }
.thumb { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; background: #eee; }
.info { flex-grow: 1; }
.info h4 { font-size: 14px; font-weight: 700; color: var(--brand-dark); }
.info p { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.status-badge { font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; }
.status-active { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-unpaid { background: rgba(245, 158, 11, 0.1); color: var(--pending); }
.metrics-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.metric { text-align: center; }
.metric-val { display: block; font-size: 13px; font-weight: 800; color: var(--brand-dark); }
.metric-label { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.card-action-bar { margin-top: 5px; }
.btn-see-links { display: block; width: 100%; padding: 10px; text-align: center; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 10px; color: var(--brand-dark); font-size: 12px; font-weight: 800; text-decoration: none; transition: 0.2s; }
.btn-see-links:active { background: #e2e8f0; transform: scale(0.98); }
.btn-group { display: flex; gap: 10px; margin-top: 10px; }
.btn-edit { background: #f1f5f9; color: var(--brand-dark); flex: 1; text-align: center; padding: 10px; border-radius: 10px; text-decoration: none; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.btn-delete { background: #fee2e2; color: #ef4444; flex: 1; border: none; border-radius: 10px; font-weight: 800; cursor: pointer; padding: 10px; }
.btn-pay { background: var(--brand-primary); color: white; border: none; width: 100%; padding: 10px; border-radius: 10px; font-weight: 800; margin-top: 10px; cursor: pointer; }
.bottom-nav { position: fixed; bottom: 0; width: 100%; background: var(--glass); backdrop-filter: blur(15px); display: flex; justify-content: space-around; padding: 12px 10px 30px; border-top: 1px solid rgba(0,0,0,0.05); z-index: 1500; }
.nav-link { text-align: center; color: var(--text-muted); text-decoration: none; }
.nav-link.active { color: var(--brand-primary); }
.nav-link span { display: block; font-size: 10px; font-weight: 700; margin-top: 4px; }
.auth-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-box { background: white; padding: 30px; border-radius: 20px; width: 100%; max-width: 400px; text-align: center; }
.auth-box h2 { font-weight: 800; color: var(--brand-dark); }
.auth-box p { color: #666; font-size: 14px; margin: 10px 0 20px; }
.auth-input { width: 100%; padding: 15px; border-radius: 10px; border: 2px solid #eee; margin-bottom: 15px; font-size: 14px; }
.auth-input:focus { border-color: var(--brand-dark); outline: none; }
.auth-btn { width: 100%; padding: 15px; background: var(--brand-dark); color: white; border: none; border-radius: 10px; font-weight: 800; cursor: pointer; }
.auth-btn-primary { background: var(--brand-primary); }
.preview-anchor { position: sticky; top: 70px; z-index: 900; background: var(--background); padding: 10px 20px; margin: 0 -20px; }
.location-toggle-group { display: flex; background: #e2e8f0; padding: 4px; border-radius: 10px; margin-bottom: 12px; }
.toggle-option { flex: 1; text-align: center; padding: 10px; font-size: 12px; font-weight: 700; cursor: pointer; border-radius: 8px; transition: all 0.3s; color: var(--text-muted); }
.toggle-option.active { background: white; color: var(--brand-dark); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.pay-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); display: none; align-items: center; justify-content: center; z-index: 9999; }
.pay-modal-box { background: #0f172a; color: #f8fafc; border-radius: 20px; width: 90%; max-width: 400px; padding: 35px 25px; text-align: center; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6); border: 1px solid #1e293b; }
.pay-modal-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; color: #ffffff; }
.pay-modal-box .subtext { color: #94a3b8; font-size: 14px; margin-bottom: 25px; }
.pay-modal-box input { width: 100%; padding: 16px; border-radius: 12px; border: 2px solid #334155; background: #1e293b; color: white; font-size: 18px; font-weight: 600; margin-bottom: 20px; outline: none; text-align: center; letter-spacing: 2px; transition: 0.3s; }
.pay-modal-box input:focus { border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2); }
.pay-modal-box input::placeholder { color: #64748b; font-weight: 400; letter-spacing: normal; }
.modal-action-btn { background: #3b82f6; color: white; width: 100%; padding: 16px; border-radius: 12px; font-weight: 700; font-size: 16px; border: none; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4); }
.modal-action-btn:hover { background: #2563eb; transform: translateY(-2px); }
.cancel-btn { background: transparent; color: #94a3b8; font-weight: 600; font-size: 14px; border: none; margin-top: 20px; cursor: pointer; transition: 0.2s; }
.cancel-btn:hover { color: #cbd5e1; }
.loader { border: 4px solid #1e293b; border-top: 4px solid #3b82f6; border-radius: 50%; width: 55px; height: 55px; animation: spin 1s linear infinite; margin: 0 auto 20px auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.success-icon { width: 60px; height: 60px; background: #10b981; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; color: white; }
.success-icon svg { width: 35px; height: 35px; }
