﻿        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        :root {
            --max: 680px;
            --ink-900: #0A0A0F;
            --ink-700: #2D2D3A;
            --ink-500: #4B4B63;
            --ink-400: #6B6B88;
            --ink-300: #9898B0;
            --ink-100: #E8E8F0;
            --ink-050: #F4F4F8;
            --white: #FAFAFA;
            --amber: #D97A28;
            --amber-lt: #FEF3E8;
            --violet: #5B4EE8;
            --violet-lt: #F0EEFF;
            --sage: #2D8A6E;
            --sage-lt: #E8F5F1;
            --rose: #E84E6E;
            --rose-lt: #FEF0F3;
            --r-l: 16px;
            --r-m: 12px;
            --s1: 0 1px 4px rgba(10, 10, 15, .06), 0 2px 12px rgba(10, 10, 15, .07);
            --s2: 0 4px 16px rgba(10, 10, 15, .10), 0 12px 32px rgba(10, 10, 15, .10);
        }

        html {
            background: var(--ink-050);
            color: var(--ink-700);
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased
        }

        a {
            text-decoration: none;
            color: inherit
        }

        button {
            background: none;
            border: none;
            font-family: inherit;
            cursor: pointer
        }

        .ico {
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round
        }

        /* TOPBAR */
        .topbar {
            position: sticky;
            top: 0;
            z-index: 60;
            background: rgba(250, 250, 252, .92);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--ink-100)
        }

        .tb {
            max-width: var(--max);
            margin: 0 auto;
            padding: 11px 18px;
            display: flex;
            align-items: center;
            gap: 10px
        }

        .back-btn {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            border: 1px solid var(--ink-100);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--ink-500);
            transition: all .15s
        }

        .back-btn:hover {
            background: var(--ink-050)
        }

        .tb-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--ink-900);
            flex: 1
        }

        /* HERO */
        .hero {
            background: linear-gradient(145deg, #1a1535 0%, #2d1860 60%, #1a2a4a 100%);
            padding: 28px 18px 32px;
            position: relative;
            overflow: hidden
        }

        .hero::before {
            content: '';
            position: absolute;
            right: -60px;
            top: -60px;
            width: 260px;
            height: 260px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .04)
        }

        .hi {
            max-width: var(--max);
            margin: 0 auto;
            position: relative;
            z-index: 1
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, .12);
            border: 1px solid rgba(255, 255, 255, .2);
            border-radius: 99px;
            padding: 4px 12px;
            font-size: 11px;
            font-weight: 600;
            color: rgba(255, 255, 255, .85);
            margin-bottom: 14px
        }

        .hero h1 {
            font-size: 24px;
            font-weight: 800;
            color: white;
            letter-spacing: -.4px;
            margin-bottom: 6px
        }

        .hero-sub {
            font-size: 13px;
            color: rgba(255, 255, 255, .55);
            margin-bottom: 18px
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, .12);
            border: 1.5px solid rgba(255, 255, 255, .2);
            border-radius: var(--r-m);
            padding: 10px 14px;
            transition: all .2s
        }

        .search-box:focus-within {
            border-color: rgba(255, 255, 255, .5);
            background: rgba(255, 255, 255, .18)
        }

        .search-box svg {
            color: rgba(255, 255, 255, .5);
            flex-shrink: 0
        }

        .search-box input {
            background: none;
            border: none;
            outline: none;
            font-size: 14px;
            color: white;
            width: 100%;
            font-family: 'Inter', sans-serif
        }

        .search-box input::placeholder {
            color: rgba(255, 255, 255, .4)
        }

        /* CATS */
        .cat-scroll {
            overflow-x: auto;
            padding: 14px 18px 0;
            -webkit-overflow-scrolling: touch
        }

        .cat-scroll::-webkit-scrollbar {
            display: none
        }

        .cat-inner {
            max-width: var(--max);
            margin: 0 auto;
            display: flex;
            gap: 8px;
            padding-bottom: 2px
        }

        .cat-btn {
            flex-shrink: 0;
            padding: 7px 14px;
            border-radius: 99px;
            border: 1.5px solid var(--ink-100);
            font-size: 12px;
            font-weight: 600;
            color: var(--ink-400);
            background: var(--white);
            cursor: pointer;
            transition: all .2s;
            white-space: nowrap
        }

        .cat-btn.on {
            color: var(--amber);
            border-color: var(--amber);
            background: var(--amber-lt)
        }

        /* PAGE */
        .page {
            max-width: var(--max);
            margin: 0 auto;
            padding: 16px 18px 100px
        }

        /* FEATURED */
        .featured {
            background: var(--white);
            border: 1px solid var(--ink-100);
            border-radius: var(--r-l);
            overflow: hidden;
            box-shadow: var(--s2);
            margin-bottom: 20px;
            cursor: pointer;
            transition: transform .18s
        }

        .featured:hover {
            transform: translateY(-2px)
        }

        .feat-img {
            width: 100%;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 56px;
            background: linear-gradient(135deg, #1a1535, #2d1860)
        }

        .feat-body {
            padding: 16px
        }

        .feat-tag {
            display: inline-flex;
            padding: 3px 10px;
            border-radius: 99px;
            font-size: 10px;
            font-weight: 700;
            background: var(--amber-lt);
            color: var(--amber);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: .5px
        }

        .feat-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--ink-900);
            line-height: 1.35;
            margin-bottom: 6px
        }

        .feat-excerpt {
            font-size: 13px;
            color: var(--ink-500);
            line-height: 1.7;
            margin-bottom: 10px
        }

        .feat-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 11px;
            color: var(--ink-300)
        }

        .feat-meta span {
            display: flex;
            align-items: center;
            gap: 4px
        }

        /* ARTICLE GRID */
        .sec-label {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .8px;
            color: var(--ink-300);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px
        }

        .sec-label::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--ink-100)
        }

        .art-grid {
            display: flex;
            flex-direction: column;
            gap: 12px
        }

        .art-card {
            background: var(--white);
            border: 1px solid var(--ink-100);
            border-radius: var(--r-l);
            overflow: hidden;
            display: flex;
            gap: 0;
            box-shadow: var(--s1);
            cursor: pointer;
            transition: box-shadow .18s, transform .15s
        }

        .art-card:hover {
            box-shadow: var(--s2);
            transform: translateY(-1px)
        }

        .art-thumb {
            flex: 0 0 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px
        }

        .art-info {
            flex: 1;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            gap: 4px
        }

        .art-cat {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .5px
        }

        .cat-panduan {
            color: var(--amber)
        }

        .cat-amalan {
            color: var(--violet)
        }

        .cat-quran {
            color: var(--sage)
        }

        .cat-hadits {
            color: var(--ink-500)
        }

        .cat-fiqih {
            color: var(--rose)
        }

        .art-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink-900);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden
        }

        .art-meta {
            font-size: 10px;
            color: var(--ink-300);
            display: flex;
            gap: 6px;
            align-items: center;
            margin-top: 2px
        }

        /* NAV */
        .nav-shell {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0 18px 18px;
            z-index: 100;
            pointer-events: none
        }

        .nav-bar {
            max-width: var(--max);
            margin: 0 auto;
            background: rgba(255, 255, 255, .88);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, .9);
            border-radius: 22px;
            padding: 8px 6px;
            display: flex;
            align-items: center;
            justify-content: space-around;
            box-shadow: 0 10px 36px rgba(10, 10, 15, .12);
            pointer-events: all
        }

        .nl {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            padding: 7px 12px;
            border-radius: 12px;
            color: var(--ink-300);
            cursor: pointer;
            transition: all .18s;
            flex: 1
        }

        .nl.on {
            color: var(--violet)
        }

        .nl-ico {
            width: 21px;
            height: 21px
        }

        .nl-lbl {
            font-size: 9.5px;
            font-weight: 600
        }

        .nav-dot {
            width: 4px;
            height: 4px;
            border-radius: 99px;
            background: transparent;
            margin-top: 1px
        }

        .nl.on .nav-dot {
            background: var(--violet)
        }

        .ap {
            opacity: 0;
            transform: translateY(12px);
            transition: opacity .4s ease, transform .4s ease
        }

        .ap.in {
            opacity: 1;
            transform: translateY(0)
        }