:root {
      --bg: #0a0e17;
      --panel: #12182a;
      --line: #1e2d4a;
      --mint: #2eecc0;
      --mint-soft: rgba(46,236,192,0.1);
      --ember: #ff7a4d;
      --ink: #f2f6fc;
      --ink-2: #c5d0e0;
      --ink-3: #9aadc0;
      --gold: #fcd34d;
      --font: "Inter", system-ui, sans-serif;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font); background: var(--bg); color: var(--ink);
      line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
    }
    a { color: var(--mint); text-decoration: none; font-weight: 500; }
    a:hover { color: #6ef8dc; }
    .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

    /* Nav */
    .nav {
      position: sticky; top: 0; z-index: 100;
      background: rgba(10,14,23,0.92); backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }
    .nav-in {
      display: flex; align-items: center; justify-content: space-between;
      height: 60px; gap: 10px;
    }
    .nav-in img { height: 28px; }
    .nav-ul { display: flex; gap: 2px; list-style: none; }
    .nav-ul a {
      padding: 7px 13px; font-size: 0.84rem; font-weight: 500;
      color: var(--ink-3); border-radius: 8px; transition: 0.18s;
    }
    .nav-ul a:hover, .nav-ul a.on { color: var(--mint); background: var(--mint-soft); }
    .nav-r { display: flex; align-items: center; gap: 8px; }
    .nb {
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 0.78rem; font-weight: 700; padding: 9px 16px; border-radius: 9px; transition: 0.18s;
    }
    .nb-o { border: 1px solid rgba(46,236,192,0.4); color: var(--mint); background: rgba(46,236,192,0.06); }
    .nb-p {
      background: linear-gradient(180deg, #3ef0cc, #18c9a5);
      color: #042318; font-weight: 800; text-transform: uppercase;
      box-shadow: 0 4px 14px rgba(46,236,192,0.25);
    }
    .nb-dl {
      background: linear-gradient(135deg, var(--ember), #ff9359);
      color: #fff; font-weight: 700; font-size: 0.88rem;
      padding: 13px 24px; border-radius: 11px;
      text-transform: uppercase; letter-spacing: 0.04em;
    }
    .nb-dl:hover { color: #fff; transform: translateY(-1px); }
    .nb-full { width: 100%; padding: 14px 28px; border-radius: 12px; font-size: 0.92rem; }
    .tog { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
    .tog b { display: block; width: 20px; height: 2px; background: var(--mint); margin: 4px 0; border-radius: 2px; }
    .mob { display: none; padding: 6px 0 12px; border-top: 1px solid var(--line); }
    .mob.show { display: flex; flex-direction: column; }
    .mob a { padding: 11px 16px; color: var(--ink-2); border-bottom: 1px solid var(--line); font-weight: 500; }

    /* Hero — centered */
    .hero {
      text-align: center; padding: 40px 20px 32px;
      background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(46,236,192,0.08), transparent 60%),
        radial-gradient(ellipse 40% 30% at 90% 80%, rgba(255,122,77,0.05), transparent 50%);
      border-bottom: 1px solid var(--line);
    }
    .hero .path {
      font-size: 0.78rem; color: var(--ink-3); margin-bottom: 14px;
      display: flex; gap: 8px; align-items: center; justify-content: center;
    }
    .hero .path i { opacity: 0.45; font-style: normal; }
    .hero h1 {
      font-size: clamp(1.45rem, 3.8vw, 2.05rem);
      font-weight: 800; line-height: 1.22; margin-bottom: 12px;
      max-width: 680px; margin-left: auto; margin-right: auto;
    }
    .hero > p {
      font-size: 0.98rem; color: var(--ink-2); line-height: 1.72;
      max-width: 600px; margin: 0 auto 20px;
    }
    .hero-tags {
      display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
    }
    .htag {
      font-size: 0.76rem; font-weight: 700; padding: 6px 14px;
      border-radius: 50px; border: 1px solid var(--line);
      color: var(--ink-3); background: var(--panel);
    }
    .htag.hot { border-color: rgba(46,236,192,0.45); color: var(--mint); background: var(--mint-soft); }

    /* Sticky toolbar + search */
    .toolbar {
      position: sticky; top: 60px; z-index: 80;
      background: rgba(10,14,23,0.95); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
      padding: 14px 0;
    }
    .toolbar-in {
      display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    }
    .toolbar-label {
      font-size: 0.78rem; font-weight: 800; color: var(--ink-3);
      text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0;
    }
    .app-search { flex: 1; min-width: 200px; }
    .app-search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .app-search-input {
      width: 100%; padding: 12px 16px 12px 40px;
      border: 1px solid var(--line); border-radius: 10px;
      font-size: 0.9rem; font-family: var(--font);
      color: var(--ink); background: var(--panel);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239aadc0' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.857 0a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: 12px center;
      transition: 0.18s;
    }
    .app-search-input:focus {
      outline: none; border-color: rgba(46,236,192,0.5);
      box-shadow: 0 0 0 3px rgba(46,236,192,0.1);
    }
    .app-search-status {
      width: 100%; margin-top: 8px; font-size: 0.8rem;
      color: var(--ember); font-weight: 600;
    }
    .app-search-status[hidden] { display: none !important; }

    /* Card grid — aplikasi.js */
    .catalog { padding: 28px 0 52px; }
    .app-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-bottom: 28px;
    }

    .app-row {
      display: flex; flex-direction: column; align-items: stretch;
      padding: 0; overflow: hidden;
      background: var(--panel); border: 1px solid var(--line);
      border-radius: 16px; transition: 0.2s;
      position: relative;
    }
    .app-row::before {
      content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--mint), var(--ember));
      opacity: 0.55;
    }
    .app-row:hover {
      border-color: rgba(46,236,192,0.45);
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    }
    .app-row[hidden] { display: none !important; }

    .app-row-visual {
      display: flex; flex-direction: column; align-items: center;
      padding: 22px 16px 12px; position: relative;
    }
    .app-row-icon {
      width: 80px; height: 80px; border-radius: 20px;
      object-fit: cover; background: var(--bg);
      border: 1px solid var(--line);
      box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }
    .app-row-rating {
      position: absolute; top: 14px; right: 14px;
      font-size: 0.72rem; font-weight: 800; color: var(--gold);
      background: rgba(10,14,23,0.85); border: 1px solid var(--line);
      padding: 4px 8px; border-radius: 6px;
    }

    .app-row-body { padding: 0 16px 12px; flex: 1; text-align: center; }
    .app-row-name {
      font-size: 0.98rem; font-weight: 800; color: var(--ink);
      margin-bottom: 6px; line-height: 1.3;
      word-break: break-word;
    }
    .app-row-meta {
      display: flex; flex-wrap: wrap; gap: 4px 10px;
      justify-content: center;
      font-size: 0.74rem; color: var(--ink-3); font-weight: 600;
      margin-bottom: 8px;
    }
    .app-row-meta span:not(:last-child)::after {
      content: "·"; margin-left: 10px; opacity: 0.45;
    }
    .app-row-desc {
      font-size: 0.8rem; color: var(--ink-2); line-height: 1.55;
      margin: 0; display: -webkit-box;
      -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .app-row-action {
      padding: 12px 16px 16px; margin-top: auto;
      border-top: 1px solid var(--line);
      background: rgba(0,0,0,0.15);
    }
    .btn-detail {
      display: block; width: 100%; text-align: center;
      padding: 10px 14px; border-radius: 10px;
      font-size: 0.78rem; font-weight: 700;
      background: var(--mint-soft);
      border: 1px solid rgba(46,236,192,0.35);
      color: var(--mint); transition: 0.18s;
    }
    .btn-detail:hover {
      background: rgba(46,236,192,0.2); color: #6ef8dc;
    }

    /* Pager */
    .app-pager {
      display: flex; flex-wrap: wrap; align-items: center;
      justify-content: center; gap: 8px;
      padding: 16px; background: var(--panel);
      border: 1px solid var(--line); border-radius: 14px;
    }
    .app-pager[hidden] { display: none !important; }
    .app-pager a, .app-pager span {
      display: inline-flex; align-items: center; justify-content: center;
      min-width: 38px; height: 38px; padding: 0 12px;
      border-radius: 8px; font-size: 0.86rem; font-weight: 600;
    }
    .app-pager a {
      background: var(--bg); color: var(--mint); border: 1px solid var(--line);
    }
    .app-pager a:hover { border-color: rgba(46,236,192,0.45); background: var(--mint-soft); }
    .app-pager-current { background: var(--mint); color: #042318; font-weight: 800; }
    .app-pager-prev, .app-pager-next { min-width: auto !important; padding: 0 14px !important; }

    .note {
      text-align: center; font-size: 0.82rem; color: var(--ink-3);
      margin-top: 14px; font-weight: 500;
    }

    .cta {
      text-align: center; padding: 44px 20px 48px;
      border-top: 1px solid var(--line);
    }
    .cta h2 { font-size: 1.28rem; font-weight: 800; margin-bottom: 8px; }
    .cta p { color: var(--ink-2); margin-bottom: 18px; font-size: 0.94rem; }
    .cta .nb-dl { max-width: 320px; margin-inline: auto; }
    .foot {
      padding: 22px 0; border-top: 1px solid var(--line);
      font-size: 0.84rem; color: var(--ink-3);
    }
    .foot-in {
      display: flex; justify-content: space-between; flex-wrap: wrap;
      gap: 12px; align-items: center;
    }
    .foot-a { display: flex; gap: 18px; }
    .foot-a a { color: var(--ink-2); font-weight: 500; }
    .stick {
      display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
      padding: 11px 16px; background: rgba(10,14,23,0.94);
      backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    }

    @media (max-width: 960px) {
      .app-list { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 900px) {
      .nav-ul, .desk { display: none; }
      .tog { display: block; }
      .stick { display: block; }
      body { padding-bottom: 68px; }
    }
    @media (max-width: 520px) {
      .app-list { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
      .toolbar-in { flex-direction: column; align-items: stretch; }
    }
