
:root { --bg: #0b1120; --surface: #1e293b; --primary: #3b82f6; --text: #f8fafc; --muted: #94a3b8; --accent: #f59e0b; --danger: #ef4444; }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
body { background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; padding-bottom: 80px; }
a { text-decoration: none; color: inherit; }
header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: rgba(30, 41, 59, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05); }
.logo { font-size: 1.4rem; font-weight: 800; background: linear-gradient(to right, #3b82f6, #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.coin-badge { background: rgba(245, 158, 11, 0.15); color: var(--accent); padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; border: 1px solid rgba(245, 158, 11, 0.3); }
.container { padding: 20px; max-width: 600px; margin: 0 auto; width: 100%; flex: 1; }
.card { background: var(--surface); border-radius: 16px; padding: 20px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.05); }
.btn { width: 100%; padding: 14px; border-radius: 12px; border: none; font-weight: 700; font-size: 1rem; cursor: pointer; transition: opacity 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px; }
.btn:active { opacity: 0.8; }
.btn-primary { background: var(--primary); color: white; }
.btn-accent { background: var(--accent); color: #000; }
.btn-danger { background: var(--danger); color: white; }
.bottom-nav { position: fixed; bottom: 0; width: 100%; display: flex; justify-content: space-around; background: var(--surface); padding: 12px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); z-index: 100; }
.nav-item { display: flex; flex-direction: column; align-items: center; font-size: 0.75rem; color: var(--muted); gap: 4px; font-weight: 500; }
.nav-item.active { color: var(--primary); }
.nav-icon { font-size: 1.2rem; }
.novel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.novel-card { background: var(--surface); border-radius: 12px; overflow: hidden; }
.novel-cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #334155; }
.novel-info { padding: 12px; }
.novel-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
