:root {
            --bg-dark: #070d18;
            --card-bg: #0d1524;
            --card-border: #1e293b;
            --accent-cyan: #38bdf8;
            --accent-blue: #0284c7;
            --accent-yellow: #facc15;
            --accent-green: #22c55e;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            background: var(--bg-dark);
            color: var(--text-main);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.6;
        }
        a { text-decoration: none; color: inherit; }
        .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

        /* HEADER */
        .site-header {
            background: rgba(11, 19, 34, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--card-border);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 14px 0;
        }
        .header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
        .brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px; color: #fff; }

        /* HERO */
        .lib-hero {
            padding: 50px 0 30px 0;
            text-align: center;
            background: radial-gradient(circle at center top, #0e2240 0%, var(--bg-dark) 70%);
            border-bottom: 1px solid var(--card-border);
        }
        .lib-badge {
            display: inline-block;
            background: rgba(2, 132, 199, 0.2);
            border: 1px solid var(--accent-cyan);
            color: var(--accent-cyan);
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 12px;
        }
        .lib-title { font-size: 32px; font-weight: 900; margin-bottom: 12px; color: #fff; }
        .lib-desc { color: var(--text-muted); max-width: 780px; margin: 0 auto 24px auto; font-size: 14.5px; }

        /* SEARCH BAR */
        .search-box {
            max-width: 680px;
            margin: 0 auto;
            display: flex;
            gap: 8px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 30px;
            padding: 6px 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .search-input {
            flex: 1;
            background: transparent;
            border: none;
            color: #fff;
            padding: 10px 14px;
            font-size: 14.5px;
            outline: none;
        }
        .search-btn {
            background: linear-gradient(135deg, var(--accent-blue) 0%, #2563eb 100%);
            border: none;
            color: #fff;
            padding: 10px 24px;
            border-radius: 24px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
        }

        /* CITY PILLS */
        .pills-bar {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 18px 0;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
        }
        .pill {
            background: #0d1524;
            border: 1px solid #1e293b;
            color: #cbd5e1;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.2s;
        }
        .pill:hover, .pill.active {
            background: var(--accent-blue);
            color: #fff;
            border-color: var(--accent-cyan);
        }

        /* GRID */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 20px;
            padding: 30px 0;
        }
        .article-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 10px;
            padding: 22px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
        }
        .article-card:hover {
            transform: translateY(-3px);
            border-color: var(--accent-cyan);
            box-shadow: 0 10px 30px rgba(2, 132, 199, 0.2);
        }
        .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 11.5px;
            margin-bottom: 12px;
        }
        .city-tag {
            background: rgba(2, 132, 199, 0.15);
            border: 1px solid #0284c7;
            color: var(--accent-cyan);
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: bold;
        }
        .card-title {
            font-size: 16.5px;
            font-weight: bold;
            color: #fff;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        .card-summary {
            color: var(--text-muted);
            font-size: 13px;
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid #1e293b;
            padding-top: 12px;
            font-size: 12px;
        }
        .read-btn {
            color: var(--accent-cyan);
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .read-btn:hover { text-decoration: underline; }

        /* PAGINATION */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
            padding: 30px 0 60px 0;
            flex-wrap: wrap;
        }
        .page-link {
            background: #0d1524;
            border: 1px solid #1e293b;
            color: #cbd5e1;
            padding: 8px 14px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: bold;
        }
        .page-link.active {
            background: var(--accent-blue);
            color: #fff;
            border-color: var(--accent-cyan);
        }
        .page-link:hover { background: #1e293b; color: #fff; }

        /* FOOTER */
        .site-footer {
            background: #050a12;
            border-top: 1px solid var(--card-border);
            padding: 30px 0;
            font-size: 12px;
            color: var(--text-muted);
            text-align: center;
        }