    /* ─── RESET & BASE ─────────────────────────────────────── */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    :root {
        --bg: #0a0a0f;
        --bg2: #111118;
        --bg3: #18181f;
        --border: rgba(255, 255, 255, 0.08);
        --text: #e8e8f0;
        --muted: #6b6b80;
        --accent: #3b82f6;
        --accent2: #6366f1;
        --green: #22c55e;
        --red: #ef4444;
        --nav-w: 68px;
        --nav-open: 240px;
        --top-h: 58px;
        --font-head: 'Syne', sans-serif;
        --font-body: 'DM Sans', sans-serif;
        --radius: 10px;
        --trans: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    }

    html,
    body {
        height: 100%;
        background: var(--bg);
        color: var(--text);
        font-family: var(--font-body);
        font-size: 14px;
        overflow-x: hidden;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    button {
        cursor: pointer;
        border: none;
        background: none;
        font-family: inherit;
    }

    ul {
        list-style: none;
    }

    /* ─── SCROLLBAR ────────────────────────────────────────── */
    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-track {
        background: var(--bg);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--bg3);
        border-radius: 3px;
    }

    /* ─── LAYOUT SHELL ─────────────────────────────────────── */
    #shell {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    /* ─── TOP NAV ───────────────────────────────────────────── */
    #topnav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--top-h);
        z-index: 200;
        display: flex;
        align-items: center;
        padding: 0 16px 0 0;
        background: rgba(10, 10, 15, 0.85);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        gap: 12px;
    }

    /* Hamburger — hidden on desktop */
    #hamburger {
        display: none;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        color: var(--text);
        transition: background var(--trans);
        flex-shrink: 0;
        margin-left: 8px;
    }

    #hamburger:hover {
        background: var(--bg3);
    }

    #hamburger svg {
        width: 20px;
        height: 20px;
    }

    /* Logo space in topnav (desktop: hidden — logo lives in sidenav) */
    #topnav-logo {
        display: none;
        align-items: center;
        gap: 10px;
        font-family: var(--font-head);
        font-weight: 800;
        font-size: 18px;
        letter-spacing: -0.5px;
        white-space: nowrap;
        color: var(--text);
    }

    #topnav-logo svg {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    /* Search */
    #search-wrap {
        flex: 1;
        max-width: 560px;
        position: relative;
        margin-left: 4px;
    }

    #search-wrap svg.s-icon {
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        color: var(--muted);
        pointer-events: none;
    }

    #search-wrap input {
        width: 100%;
        height: 40px;
        background: var(--bg3);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        color: var(--text);
        font-family: var(--font-body);
        font-size: 14px;
        padding: 0 40px 0 38px;
        outline: none;
        transition: border-color var(--trans), background var(--trans);
    }

    #search-wrap input::placeholder {
        color: var(--muted);
    }

    #search-wrap input:focus {
        border-color: rgba(99, 102, 241, 0.5);
        background: var(--bg2);
    }

    .kbd-hint {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: 5px;
        padding: 1px 6px;
        font-size: 11px;
        color: var(--muted);
        pointer-events: none;
    }

    /* right controls */
    .topnav-right {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
        transition: background var(--trans), color var(--trans);
    }

    .icon-btn:hover {
        background: var(--bg3);
        color: var(--text);
    }

    .icon-btn svg {
        width: 18px;
        height: 18px;
    }

    @media (max-width: 460px){
        .icon-btn {
            display: none;
        }
    }

    #download-btn {
        display: flex;
        align-items: center;
        gap: 7px;
        height: 38px;
        padding: 0 16px;
        background: var(--accent);
        border-radius: var(--radius);
        font-family: var(--font-head);
        font-weight: 600;
        font-size: 13.5px;
        color: #fff;
        white-space: nowrap;
        transition: background var(--trans), transform var(--trans);
    }

    #download-btn:hover {
        background: #2563eb;
        transform: translateY(-1px);
    }

    #download-btn svg {
        width: 15px;
        height: 15px;
    }

    /* ─── BODY ROW ─────────────────────────────────────────── */
    #body-row {
        display: flex;
        flex: 1;
        padding-top: var(--top-h);
        overflow: hidden;
    }

    /* ─── LEFT SIDENAV ──────────────────────────────────────── */
    #sidenav {
        position: fixed;
        top: var(--top-h);
        left: 0;
        bottom: 0;
        width: var(--nav-w);
        background: var(--bg);
        border-right: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        z-index: 150;
        transition: width var(--trans);
    }

    #sidenav:hover {
        width: var(--nav-open);
    }

    /* Logo row inside sidenav */
    #sidenav-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        height: 60px;
        padding: 0 16px;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
        overflow: hidden;
        white-space: nowrap;
    }

    #sidenav-logo .logo-mark {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
    }

    #sidenav-logo .logo-text {
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 17px;
        letter-spacing: -0.4px;
        color: var(--text);
        opacity: 0;
        transform: translateX(-8px);
        transition: opacity var(--trans), transform var(--trans);
    }

    #sidenav:hover .logo-text {
        opacity: 1;
        transform: translateX(0);
    }

    /* nav groups */
    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 10px 8px;
        overflow: hidden;
    }

    .nav-list.bottom {
        margin-top: auto;
        border-top: 1px solid var(--border);
        padding-top: 10px;
    }

    .nav-divider {
        height: 1px;
        background: var(--border);
        margin: 6px 8px;
    }

    .nav-item {
        display: flex;
        align-items: center;
        gap: 13px;
        height: 42px;
        padding: 0 11px;
        border-radius: 9px;
        color: var(--muted);
        transition: background var(--trans), color var(--trans);
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
    }

    .nav-item:hover,
    .nav-item.active {
        background: var(--bg3);
        color: var(--text);
    }

    .nav-item.active {
        color: #fff;
    }

    .nav-item svg {
        width: 19px;
        height: 19px;
        flex-shrink: 0;
    }

    .nav-label {
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 500;
        opacity: 0;
        transform: translateX(-6px);
        transition: opacity var(--trans), transform var(--trans);
    }

    #sidenav:hover .nav-label {
        opacity: 1;
        transform: translateX(0);
    }

    /* ─── MAIN CONTENT ─────────────────────────────────────── */
    #main {
        margin-left: var(--nav-w);
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        transition: margin-left var(--trans);
    }

    /* ─── FILTER BAR ───────────────────────────────────────── */
    #filter-bar {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(10, 10, 15, 0.9);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 10px 20px;
        display: flex;
        gap: 8px;
        align-items: center;
        overflow-x: auto;
        scrollbar-width: none;
    }

    #filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-chip {
        display: flex;
        align-items: center;
        gap: 6px;
        height: 34px;
        padding: 0 12px;
        border-radius: 50px;
        border: 1px solid var(--border);
        background: var(--bg3);
        color: var(--muted);
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        transition: background var(--trans), color var(--trans), border-color var(--trans);
        cursor: pointer;
    }

    .filter-chip:hover {
        background: var(--bg2);
        color: var(--text);
    }

    .filter-chip.active {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
    }

    .filter-chip svg {
        width: 14px;
        height: 14px;
    }

    .filter-sep {
        width: 1px;
        height: 24px;
        background: var(--border);
        flex-shrink: 0;
    }

    /* chain pill */
    .chain-pill {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--bg3);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: border-color var(--trans);
        overflow: hidden;
    }

    .chain-pill:hover {
        border-color: var(--accent);
    }

    .chain-pill img {
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

    .chain-pill-text {
        font-size: 11px;
        font-weight: 700;
        color: var(--text);
    }

    /* ─── HERO SLIDER ──────────────────────────────────────── */
    #hero-section {
        padding: 20px 20px 0;
        position: relative;
    }

    #hero-slider {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        aspect-ratio: 16/7;
        background: #0d0d14;
        max-height: 420px;
    }

    /* Logo mark as image */
    .logo-mark {
        width: 36px;
        height: 36px;
        object-fit: contain;
        flex-shrink: 0;
        border-radius: 6px;
        background: var(--bg3);
    }

    #topnav-logo .logo-mark {
        font-weight: 700;
        width: 32px;
        height: 32px;
    }

    .slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 0.6s ease;
        display: flex;
    }

    .slide.active {
        opacity: 1;
    }

    .slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .slide-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 28px 28px 24px;
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.92) 0%,
                rgba(0, 0, 0, 0.75) 30%,
                rgba(0, 0, 0, 0.35) 65%,
                transparent 100%);
        display: flex;
        align-items: flex-end;
        gap: 20px;
    }

    .slide-info {
        flex: 1;
    }

    .slide-title {
        font-family: var(--font-head);
        font-size: clamp(18px, 2.5vw, 26px);
        font-weight: 800;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 4px;
    }

    .verified-badge {
        width: 20px;
        height: 20px;
        background: var(--accent);
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .verified-badge svg {
        width: 11px;
        height: 11px;
        color: #fff;
    }

    .slide-by {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.65);
    }

    .slide-stats {
        display: flex;
        gap: 24px;
        margin-top: 14px;
    }

    .slide-stat {
        text-align: left;
    }

    .stat-label {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(255, 255, 255, 0.45);
        margin-bottom: 3px;
    }

    .stat-val {
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 15px;
        color: #fff;
    }

    .slide-thumbs {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
    }

    .slide-thumb {
        width: 72px;
        height: 72px;
        border-radius: 10px;
        border: 2px solid rgba(255, 255, 255, 0.15);
        overflow: hidden;
        background: var(--bg3);
        cursor: pointer;
    }

    .slide-thumb.active {
        border-color: #fff;
    }

    .thumb-inner {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    /* slider controls */
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(8px);
        transition: background var(--trans);
        z-index: 10;
    }

    .slider-btn:hover {
        background: rgba(0, 0, 0, 0.8);
    }

    .slider-btn svg {
        width: 16px;
        height: 16px;
    }

    #prev-btn {
        left: 14px;
    }

    #next-btn {
        right: 14px;
    }

    /* dots */
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 14px;
    }

    .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--border);
        cursor: pointer;
        transition: background var(--trans), width var(--trans);
    }

    .dot.active {
        background: var(--accent);
        width: 20px;
        border-radius: 3px;
    }

    /* ─── SECTION ──────────────────────────────────────────── */
    .section {
        padding: 28px 20px;
    }

    .section-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        margin-bottom: 18px;
    }

    .section-title {
        font-family: var(--font-head);
        font-size: 18px;
        font-weight: 700;
        color: var(--text);
    }

    .section-sub {
        font-size: 13px;
        color: var(--muted);
        margin-top: 3px;
    }

    .see-all {
        font-size: 13px;
        color: var(--accent);
        font-weight: 500;
        transition: color var(--trans);
    }

    .see-all:hover {
        color: #93c5fd;
    }

    /* ─── NFT GRID ─────────────────────────────────────────── */
    .nft-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 14px;
    }

    .nft-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
        transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
        cursor: pointer;
    }

    .nft-card:hover {
        transform: translateY(-4px);
        border-color: rgba(99, 102, 241, 0.4);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    }

    .nft-img {
        width: 100%;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
        position: relative;
        overflow: hidden;
    }

    .nft-img .nft-hover-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity var(--trans);
    }

    .nft-img img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nft-card:hover .nft-hover-overlay {
        opacity: 1;
    }

    .buy-now-btn {
        height: 36px;
        padding: 0 16px;
        background: var(--accent);
        border-radius: 8px;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 13px;
        color: #fff;
    }

    .nft-info {
        padding: 12px 14px;
    }

    .nft-collection {
        font-size: 11px;
        color: var(--muted);
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .nft-name {
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 14px;
        color: var(--text);
        margin-bottom: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nft-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nft-price-label {
        font-size: 10px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .nft-price-val {
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 14px;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .eth-icon {
        font-size: 11px;
        color: var(--accent2);
    }

    .nft-last-sale {
        font-size: 11px;
        color: var(--muted);
    }

    /* ─── TRENDING TABLE ───────────────────────────────────── */
    .trending-table {
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
    }

    .table-head,
    .table-row {
        display: grid;
        grid-template-columns: 40px 1fr 100px 90px 90px;
        align-items: center;
        padding: 12px 16px;
        gap: 12px;
    }

    .table-head {
        background: var(--bg3);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--muted);
        font-weight: 600;
    }

    .table-row {
        border-top: 1px solid var(--border);
        background: var(--bg2);
        transition: background var(--trans);
        cursor: pointer;
    }

    .table-row:hover {
        background: var(--bg3);
    }

    .rank {
        color: var(--muted);
        font-size: 13px;
    }

    .collection-cell {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .coll-avatar {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
        overflow: hidden;
    }

    .coll-avatar img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .coll-name {
        font-weight: 600;
        font-size: 14px;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .coll-floor {
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 14px;
        color: var(--text);
        text-align: right;
    }

    .coll-vol {
        font-size: 13px;
        color: var(--text);
        text-align: right;
    }

    .change {
        font-weight: 600;
        font-size: 13px;
        text-align: right;
    }

    .change.up {
        color: var(--green);
    }

    .change.down {
        color: var(--red);
    }

    /* ─── TOKENS STRIP ─────────────────────────────────────── */
    .tokens-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }

    .token-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 14px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: border-color var(--trans), transform var(--trans);
        cursor: pointer;
    }

    .token-card:hover {
        border-color: rgba(99, 102, 241, 0.35);
        transform: translateY(-2px);
    }

    .token-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

    .token-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .token-name {
        font-weight: 600;
        font-size: 13px;
        color: var(--text);
    }

    .token-mc {
        font-size: 11px;
        color: var(--muted);
        margin-top: 2px;
    }

    .token-chg {
        margin-left: auto;
        font-weight: 700;
        font-size: 12px;
    }

    /* ─── MOBILE OVERLAY ───────────────────────────────────── */
    #mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 140;
        backdrop-filter: blur(2px);
    }

    /* ─── MOBILE DRAWER ────────────────────────────────────── */
    #mobile-drawer {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        background: var(--bg);
        border-right: 1px solid var(--border);
        z-index: 145;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: column;
        overflow-y: auto;
    }

    #mobile-drawer.open {
        transform: translateX(0);
    }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        height: 60px;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
    }

    .drawer-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: var(--font-head);
        font-weight: 800;
        font-size: 18px;
        color: var(--text);
    }

    .drawer-close {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
        transition: background var(--trans), color var(--trans);
    }

    .drawer-close:hover {
        background: var(--bg3);
        color: var(--text);
    }

    .drawer-close svg {
        width: 18px;
        height: 18px;
    }

    .drawer-nav {
        padding: 12px;
    }

    .drawer-item {
        display: flex;
        align-items: center;
        gap: 14px;
        height: 46px;
        padding: 0 12px;
        border-radius: 9px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 500;
        transition: background var(--trans), color var(--trans);
        cursor: pointer;
    }

    .drawer-item:hover,
    .drawer-item.active {
        background: var(--bg3);
        color: var(--text);
    }

    .drawer-item svg {
        width: 19px;
        height: 19px;
        flex-shrink: 0;
    }

    .drawer-divider {
        height: 1px;
        background: var(--border);
        margin: 8px 12px;
    }

    /* ─── RESPONSIVE ───────────────────────────────────────── */
    @media (max-width: 900px) {
        #sidenav {
            display: none;
        }

        #main {
            margin-left: 0;
        }

        #hamburger {
            display: flex;
        }

        #topnav-logo {
            display: flex;
            font-weight: 700;
        }

        #search-wrap {
            max-width: none;
        }

        #mobile-drawer {
            display: flex;
        }

        #mobile-overlay {
            display: block;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.28s;
        }

        #mobile-overlay.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .table-head,
        .table-row {
            grid-template-columns: 30px 1fr 80px 70px;
        }

        .table-head>*:nth-child(5),
        .table-row>*:nth-child(5) {
            display: none;
        }
    }

    @media (max-width: 600px) {
        .slide-thumbs {
            display: none;
        }

        .slide-stats {
            gap: 14px;
        }

        .nft-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .tokens-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .table-head,
        .table-row {
            grid-template-columns: 26px 1fr 70px;
        }

        .table-head>*:nth-child(4),
        .table-row>*:nth-child(4),
        .table-head>*:nth-child(5),
        .table-row>*:nth-child(5) {
            display: none;
        }

        .kbd-hint {
            display: none;
        }
    }

    /* ─── LOAD ANIMATION ───────────────────────────────────── */
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(16px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fade-up {
        animation: fadeUp 0.5s ease forwards;
    }

    .fade-up:nth-child(1) {
        animation-delay: 0.05s;
        opacity: 0;
    }

    .fade-up:nth-child(2) {
        animation-delay: 0.12s;
        opacity: 0;
    }

    .fade-up:nth-child(3) {
        animation-delay: 0.19s;
        opacity: 0;
    }

    .fade-up:nth-child(4) {
        animation-delay: 0.26s;
        opacity: 0;
    }

    .fade-up:nth-child(5) {
        animation-delay: 0.33s;
        opacity: 0;
    }

    .fade-up:nth-child(6) {
        animation-delay: 0.40s;
        opacity: 0;
    }

    @keyframes shimmer {
        0% {
            background-position: -400px 0;
        }

        100% {
            background-position: 400px 0;
        }
    }

    /* Gradient accent line under topnav */
    #topnav::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
    }

    /* footer */
    #footer {
        border-top: 1px solid var(--border);
        padding: 24px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 16px;
        color: var(--text);
    }

    .footer-links {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-link {
        font-size: 12px;
        color: var(--muted);
        transition: color var(--trans);
    }

    .footer-link:hover {
        color: var(--text);
    }

    .footer-copy {
        font-size: 12px;
        color: var(--muted);
    }