:root {
    color-scheme: dark;
    --bg: #10131b;
    --bg-raised: #161a24;
    --panel: #191e29;
    --text: #f5f5f1;
    --muted: #9b9fac;
    --quiet: #717887;
    --lime: #c4f16a;
    --violet: #aa9aff;
    --line: rgba(255, 255, 255, .09);
    font-family: "Segoe UI Variable", "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: inherit; font-size: 15px; font-weight: 400; letter-spacing: .005em; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid rgba(255, 255, 255, .055); background: rgba(16, 19, 27, .94); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #f7f8f2; font-size: 19px; font-weight: 750; letter-spacing: -.7px; white-space: nowrap; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; background: var(--lime); color: #151a15; font-size: 23px; font-weight: 850; letter-spacing: -2px; }
.brand-dot { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 35px; color: #b7bbc4; font-size: 13px; }
.nav-links a, .subtle-link { transition: color .18s ease; }
.nav-links a:hover, .subtle-link:hover { color: var(--lime); }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; border-radius: 9px; font-size: 12px; font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 38px; padding: 0 14px; }
.button-outline { border: 1px solid rgba(255, 255, 255, .15); background: transparent; color: #e9eae5; }
.button-outline:hover { border-color: rgba(196, 241, 106, .45); background: rgba(196, 241, 106, .06); }

.hero { position: relative; overflow: hidden; min-height: 565px; padding: 82px 0 78px; background: radial-gradient(ellipse at 71% 44%, rgba(118, 99, 205, .13), transparent 32%), linear-gradient(180deg, #11141d, #12151e); }
.hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent); content: ""; }
.hero-orb { position: absolute; border: 1px solid rgba(171, 156, 255, .07); border-radius: 50%; pointer-events: none; }
.hero-orb-one { width: 590px; height: 590px; top: -350px; left: -260px; }
.hero-orb-two { width: 830px; height: 830px; right: -440px; bottom: -580px; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.hero-copy { padding: 12px 0 24px; }
.eyebrow, .section-kicker { color: var(--lime); font-size: 11px; font-weight: 750; letter-spacing: 1.3px; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; letter-spacing: .55px; text-transform: none; }
.eyebrow-spark { color: var(--violet); font-size: 17px; }
.hero h1 { margin: 22px 0 17px; font-size: clamp(48px, 6.1vw, 76px); line-height: 1.06; letter-spacing: -4px; font-weight: 760; }
.hero h1 span { color: var(--lime); }
.hero-description { max-width: 515px; margin: 0 0 28px; color: #aeb2bd; font-size: 15px; line-height: 1.9; }
.hero-search { display: flex; width: min(530px, 100%); min-height: 60px; align-items: center; gap: 12px; padding: 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .055); box-shadow: 0 12px 40px rgba(0, 0, 0, .15); }
.search-icon { padding-left: 12px; color: var(--lime); font-size: 25px; line-height: 1; }
.hero-search input, .catalog-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.hero-search input { font-size: 12px; }
.hero-search input::placeholder, .catalog-search input::placeholder { color: #858b98; opacity: 1; }
.hero-search button { min-height: 44px; flex: 0 0 auto; padding: 0 16px; border: 0; border-radius: 8px; background: var(--lime); color: #171b11; cursor: pointer; font-size: 12px; font-weight: 800; transition: background .18s ease; }
.hero-search button:hover, .button-search:hover { background: #d3ff83; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 19px; color: #868c98; font-size: 11px; }
.hero-note span { color: var(--violet); font-size: 14px; }

.hero-art { position: relative; display: grid; min-height: 380px; place-items: center; }
.art-ring { position: absolute; width: 425px; height: 290px; border: 1px solid rgba(182, 168, 255, .12); border-radius: 50%; transform: rotate(-22deg); }
.art-ring-two { width: 370px; height: 260px; border-color: rgba(196, 241, 106, .1); transform: rotate(28deg); }
.art-card { position: relative; z-index: 1; width: min(440px, 100%); padding: 21px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: linear-gradient(145deg, rgba(34, 39, 53, .98), rgba(24, 28, 39, .98)); box-shadow: 0 30px 90px rgba(0, 0, 0, .38), 0 0 65px rgba(130, 107, 208, .1); transform: rotate(-2deg); }
.art-card-top { display: flex; align-items: center; gap: 10px; }
.art-logo { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: var(--lime); color: #192014; font-size: 18px; font-weight: 850; }
.art-label, .art-caption { color: #777e8d; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.art-menu { margin-left: auto; color: #9da1ad; font-size: 12px; letter-spacing: 2px; }
.art-featured { display: flex; align-items: center; gap: 15px; margin-top: 30px; padding: 17px; border: 1px solid rgba(255, 255, 255, .075); border-radius: 12px; background: rgba(12, 15, 22, .35); }
.art-app-icon { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border-radius: 15px; font-size: 23px; }
.art-icon-purple { background: linear-gradient(145deg, #7865c7, #473975); color: #e2dbff; }
.art-featured > div:last-child { display: grid; gap: 5px; }
.art-featured strong { max-width: 215px; color: #f3f1f6; font-size: 17px; line-height: 1.35; letter-spacing: -.5px; }
.art-stat-row { display: flex; justify-content: space-between; gap: 10px; margin: 17px 3px 14px; color: #a9adba; font-size: 9px; }
.art-stat-row > span { display: inline-flex; align-items: center; gap: 7px; }
.stat-dot { width: 6px; height: 6px; border-radius: 50%; }
.stat-dot.purple { background: var(--violet); box-shadow: 0 0 10px rgba(170, 154, 255, .5); }
.art-category-row { display: flex; gap: 7px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .08); }
.art-category-row span { padding: 5px 9px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 20px; color: #aeb2bf; font-size: 8px; }
.art-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 11px; background: #262b38; box-shadow: 0 13px 35px rgba(0, 0, 0, .28); color: #e8e8e5; font-size: 10px; }
.art-float-top { top: 30px; right: -8px; transform: rotate(4deg); }
.art-float-top > span:last-child { display: grid; gap: 1px; }
.art-float small { color: #9a9eaa; font-size: 7px; letter-spacing: .8px; }
.art-float strong { font-size: 11px; }
.float-icon { color: var(--lime); font-size: 21px; }
.art-float-bottom { bottom: 30px; left: -9px; transform: rotate(-3deg); }
.float-check { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: rgba(196, 241, 106, .17); color: var(--lime); font-size: 12px; }
.art-spark { position: absolute; color: var(--lime); }
.art-spark-one { top: 54px; left: 37px; font-size: 18px; }
.art-spark-two { right: 28px; bottom: 55px; color: var(--violet); font-size: 23px; }

.apps-section { min-height: 430px; padding: 82px 0 95px; background: radial-gradient(ellipse at 10% 8%, rgba(123, 103, 197, .055), transparent 33%), #10131b; }
.section-kicker { display: inline-block; }
.apps-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.apps-heading h2 { margin: 0 0 6px; font-size: 30px; line-height: 1.2; letter-spacing: -1.2px; }
.apps-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.apps-heading h2 { margin: 8px 0 7px; font-size: 34px; }
.updated-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 30px; color: #9fa4ae; font-size: 9px; }
.updated-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(196, 241, 106, .6); }
.catalog-controls { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.catalog-search { display: flex; min-width: 150px; min-height: 47px; flex: 1; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: #171b25; color: var(--lime); font-size: 21px; }
.catalog-search:focus-within, .hero-search:focus-within { border-color: rgba(196, 241, 106, .45); }
.catalog-search input { font-size: 12px; }
.filter-control select { min-width: 125px; height: 47px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; appearance: none; background: #171b25; color: #d9dbe0; cursor: pointer; font-size: 11px; }
.filter-control { position: relative; }
.filter-control::after { position: absolute; top: 13px; right: 13px; color: #9ba0ad; content: "⌄"; pointer-events: none; }
.button-search { min-height: 47px; border: 0; background: var(--lime); color: #171b11; cursor: pointer; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.category-tabs { display: flex; align-items: center; gap: 7px; }
.category-tab { padding: 8px 12px; border: 1px solid transparent; border-radius: 7px; color: #989eaa; font-size: 10px; transition: color .16s ease, background .16s ease; }
.category-tab:hover { color: #eaede6; }
.category-tab.is-active { border-color: rgba(196, 241, 106, .17); background: rgba(196, 241, 106, .08); color: var(--lime); }
.results-count { color: #838a97; font-size: 10px; }
.repository-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; padding-top: 18px; }
.repository-card { min-width: 0; border: 1px solid rgba(255, 255, 255, .085); border-radius: 12px; background: #171b25; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.repository-card:hover { transform: translateY(-3px); border-color: rgba(196, 241, 106, .2); background: #1a1f2a; }
.repository-card-link { display: block; height: 100%; padding: 17px; }
.repository-card-heading { display: flex; min-width: 0; align-items: center; gap: 10px; }
.repository-avatar { width: 39px; height: 39px; flex: 0 0 39px; border-radius: 11px; object-fit: cover; }
.avatar-placeholder { display: grid; place-items: center; background: linear-gradient(140deg, #4f4978, #2c3d4c); color: #e0dcff; font-size: 16px; font-weight: 700; }
.repository-title { display: grid; min-width: 0; gap: 1px; }
.repository-title h3 { overflow: hidden; margin: 0; color: #f1f2ee; font-size: 14px; font-weight: 700; letter-spacing: -.2px; text-overflow: ellipsis; white-space: nowrap; }
.repository-title span { overflow: hidden; color: #858b98; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.card-arrow { margin-left: auto; align-self: flex-start; color: #7d8491; font-size: 13px; }
.repository-description { display: -webkit-box; min-height: 40px; margin: 15px 0 17px; overflow: hidden; color: #a2a7b2; font-size: 11px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.repository-meta { display: flex; align-items: center; gap: 11px; min-height: 19px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .065); }
.language-tag, .star-count, .release-tag { display: inline-flex; align-items: center; gap: 5px; color: #a2a7b2; font-size: 9px; }
.language-tag i { width: 6px; height: 6px; border-radius: 50%; background: #ab9aff; }
.star-count { margin-left: auto; color: #d8c88e; }
.release-tag { max-width: 80px; overflow: hidden; color: #8c929e; text-overflow: ellipsis; white-space: nowrap; }
.empty-state { display: grid; min-height: 250px; justify-items: center; align-content: center; padding: 35px 15px; text-align: center; }
.empty-icon { display: grid; width: 49px; height: 49px; place-items: center; margin-bottom: 12px; border: 1px solid rgba(196, 241, 106, .15); border-radius: 15px; background: rgba(196, 241, 106, .06); color: var(--lime); font-size: 26px; }
.empty-state h3 { margin: 0 0 5px; font-size: 16px; }
.empty-state p { max-width: 470px; margin: 0 0 16px; color: var(--muted); font-size: 11px; }
.repository-pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 22px; color: #969ba6; font-size: 10px; }
.repository-pagination > div { display: flex; gap: 8px; }
.repository-pagination .button { min-height: 36px; font-size: 10px; }

.project-page { min-height: 78vh; padding: 56px 0 90px; background: radial-gradient(ellipse at 76% 0%, rgba(123, 103, 197, .1), transparent 35%), var(--bg); }
.project-container { max-width: 900px; }
.back-link { display: inline-block; margin-bottom: 25px; color: #a5aab5; font-size: 11px; }
.back-link:hover { color: var(--lime); }
.project-panel { padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: #171b25; }
.project-heading { display: flex; align-items: center; gap: 14px; }
.project-avatar { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.project-panel h1 { margin: 5px 0 0; font-size: clamp(24px, 4vw, 36px); letter-spacing: -1.2px; overflow-wrap: anywhere; }
.project-description { margin: 18px 0; color: #b4b8c1; font-size: 13px; line-height: 1.9; }
.project-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 22px; }
.project-facts span { padding: 5px 11px; border: 1px solid var(--line); border-radius: 20px; color: #c8cbd1; font-size: 10px; }
.project-github-link { margin-top: 2px; }
.project-releases { margin-top: 45px; }
.project-releases .section-heading { margin-bottom: 20px; }
.project-releases .section-heading h2 { margin: 7px 0; color: var(--text); font-size: 27px; }
.project-releases .section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.release-list { display: grid; gap: 13px; }
.release-card { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: #171b25; }
.release-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.release-heading h3 { margin: 0; color: var(--lime); font-size: 15px; overflow-wrap: anywhere; }
.release-heading time { flex-shrink: 0; color: var(--muted); font-size: 10px; direction: ltr; }
.release-prerelease { margin-left: 6px; color: var(--violet); font-size: 9px; }
.release-assets { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.release-assets li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; }
.release-assets li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.release-assets a { color: #e8e9e5; font-size: 11px; overflow-wrap: anywhere; }
.release-assets a:hover { color: var(--lime); }
.release-assets a span { margin-left: 5px; color: var(--lime); }
.asset-meta { flex-shrink: 0; color: var(--muted); font-size: 9px; }
.repository-message { padding: 15px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 9px; background: rgba(255, 255, 255, .025); color: #aeb3be; font-size: 11px; line-height: 1.8; }
.project-releases-link { margin-top: 10px; }

.site-footer { border-top: 1px solid rgba(255, 255, 255, .07); background: #11141c; }
.footer-inner { display: flex; min-height: 90px; align-items: center; gap: 20px; }
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; font-size: 19px; }
.footer-inner p { margin: 0; color: #8d929e; font-size: 10px; }
.copyright { margin-left: auto; color: #777d89; font-size: 9px; }

@media (max-width: 900px) {
    .hero-content { gap: 28px; }
    .hero h1 { font-size: clamp(48px, 7vw, 65px); letter-spacing: -3px; }
    .hero-art { min-height: 350px; }
    .art-card { width: min(390px, 100%); }
    .art-float-top { right: -5px; }
    .art-float-bottom { left: -4px; }
    .repository-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .container { width: min(100% - 34px, 520px); }
    .nav-wrap { min-height: 68px; gap: 10px; }
    .brand { gap: 8px; font-size: 17px; }
    .brand-mark { width: 31px; height: 31px; border-radius: 9px; }
    .nav-links { gap: 15px; margin-left: auto; font-size: 10px; }
    .nav-wrap > .button { display: none; }
    .hero { min-height: unset; padding: 59px 0 40px; }
    .hero-content { grid-template-columns: 1fr; gap: 17px; }
    .hero-copy { padding: 0; }
    .hero h1 { margin-top: 18px; font-size: clamp(46px, 12vw, 63px); letter-spacing: -2.8px; }
    .hero-description { margin-bottom: 22px; font-size: 13px; }
    .hero-search { min-height: 55px; gap: 7px; }
    .hero-search button { min-height: 41px; padding: 0 12px; font-size: 10px; }
    .hero-search input { font-size: 10px; }
    .hero-note { margin-top: 14px; font-size: 9px; }
    .hero-art { min-height: 310px; margin: 0 -5px; }
    .art-ring { width: 340px; height: 245px; }
    .art-ring-two { width: 300px; height: 220px; }
    .art-card { width: min(385px, 94%); padding: 16px; }
    .art-featured { gap: 11px; margin-top: 22px; padding: 13px; }
    .art-app-icon { width: 47px; height: 47px; flex-basis: 47px; }
    .art-featured strong { font-size: 14px; }
    .art-float { padding: 9px 10px; font-size: 9px; }
    .art-float-top { top: 16px; right: 0; }
    .art-float-bottom { bottom: 13px; left: 0; }
    .apps-section { padding: 58px 0 65px; }
    .apps-heading { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 19px; }
    .apps-heading h2 { margin-top: 7px; font-size: 25px; }
    .catalog-controls { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
    .catalog-search { grid-column: 1 / -1; min-height: 45px; }
    .filter-control select, .button-search { min-height: 42px; height: 42px; }
    .button-search { font-size: 10px; }
    .catalog-toolbar { align-items: start; flex-direction: column; gap: 9px; }
    .category-tabs { width: 100%; gap: 2px; overflow-x: auto; }
    .category-tab { flex: 0 0 auto; padding: 7px 9px; font-size: 9px; }
    .results-count { align-self: flex-end; }
    .repository-grid { grid-template-columns: 1fr; gap: 9px; padding-top: 13px; }
    .repository-card-link { padding: 14px; }
    .repository-description { min-height: 0; margin: 12px 0; }
    .repository-pagination { align-items: stretch; flex-direction: column; }
    .repository-pagination > div { justify-content: space-between; }
    .project-page { padding-top: 32px; }
    .project-panel { padding: 19px; }
    .project-avatar { width: 46px; height: 46px; }
    .project-description { font-size: 12px; }
    .release-assets li { align-items: flex-start; flex-direction: column; gap: 4px; }
    .release-assets a { font-size: 10px; }
    .footer-inner { min-height: 105px; flex-wrap: wrap; gap: 7px 12px; padding: 17px 0; }
    .footer-inner p { flex: 1; }
    .copyright { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
