:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-soft: #0b0a11;
  --panel: rgba(16, 14, 24, .78);
  --panel-solid: #100e18;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.13);
  --text: #f7f5fb;
  --muted: #928da0;
  --muted-2: #6f697c;
  --accent: #9b6cff;
  --accent-2: #6d28d9;
  --accent-soft: rgba(139, 92, 246, .13);
  --green: #6ee7b7;
  --shadow: 0 28px 90px rgba(0,0,0,.45);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.ambient { position: fixed; z-index: -2; width: 520px; height: 520px; border-radius: 50%; filter: blur(125px); opacity: .18; pointer-events: none; }
.ambient-a { top: 70px; left: 20%; background: #6d28d9; }
.ambient-b { top: 420px; right: -180px; background: #4c1d95; opacity: .13; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(7,7,11,.72); backdrop-filter: blur(20px); }
.nav-shell, .content-shell, .hero-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.nav-shell { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.02em; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: inherit; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(155,108,255,.38); border-radius: 9px; color: #fff; background: linear-gradient(145deg, rgba(155,108,255,.2), rgba(155,108,255,.04)); box-shadow: inset 0 0 24px rgba(155,108,255,.08); }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 13px; padding: 9px 13px; border-radius: 10px; transition: .18s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); background: rgba(255,255,255,.045); }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; padding: 10px 14px; border: 1px solid rgba(155,108,255,.24); border-radius: 12px; background: rgba(155,108,255,.1); color: #e9dcff; }
.hero { position: relative; min-height: 650px; display: grid; align-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(60% 70% at 28% 48%, rgba(109,40,217,.18), transparent 70%); }
.hero-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .75fr); gap: 70px; align-items: center; padding: 88px 0 92px; }
.announcement { width: fit-content; max-width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 34px; padding: 9px 12px; border: 1px solid rgba(155,108,255,.16); border-radius: 999px; background: rgba(73,39,112,.18); color: #bbb4c8; font-size: 12px; }
.announcement-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.announcement a { color: #c8aaff; margin-left: 2px; }
.eyebrow, .section-kicker { margin: 0 0 13px; font-size: 11px; line-height: 1; letter-spacing: .18em; font-weight: 800; color: var(--accent); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 760; }
.hero h1 span { color: #b38cff; text-shadow: 0 0 50px rgba(155,108,255,.18); }
.hero-text { max-width: 660px; margin: 27px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 13px; font-size: 13px; font-weight: 720; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.primary-action { background: linear-gradient(135deg, #7c3aed, #9b6cff); color: #fff; box-shadow: 0 14px 34px rgba(109,40,217,.22); }
.secondary-action { border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); color: #d9d5e2; }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.hero-stats { display: flex; gap: 32px; margin-top: 42px; }
.hero-stats div { display: grid; gap: 3px; }
.hero-stats strong { font-size: 18px; letter-spacing: -.03em; }
.hero-stats span { color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero-terminal { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: rgba(7,6,11,.75); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04); transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); }
.terminal-head { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.terminal-head > span { width: 8px; height: 8px; border-radius: 50%; background: #3d3947; }
.terminal-head > span:first-child { background: #9b6cff; }
.terminal-head small { margin-left: auto; color: #625c6d; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal-body { min-height: 300px; padding: 27px 26px; font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; color: #aaa4b4; }
.terminal-body p { margin: 0 0 10px; }
.terminal-line { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.055); }
.terminal-line b { color: #d3ccdd; font-weight: 500; }
.terminal-line .status-ok { color: var(--green); }
.terminal-rule { height: 1px; margin: 23px 0; background: var(--line); }
.terminal-body .muted { color: #5d5766; }
.terminal-body .accent { color: var(--accent); }
.terminal-cursor { color: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.category-section, .plugins-section, .ideas-callout { padding: 96px 0; }
.category-section { border-bottom: 1px solid var(--line); background: #08080d; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: clamp(32px, 4vw, 47px); line-height: 1; letter-spacing: -.045em; }
.section-head > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; text-align: right; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.category-card { min-height: 150px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.028), rgba(255,255,255,.009)); cursor: pointer; transition: .2s ease; }
.category-card:hover { border-color: rgba(155,108,255,.34); transform: translateY(-3px); background: rgba(155,108,255,.055); }
.category-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 11px; background: var(--accent-soft); color: #c4a7ff; font-size: 12px; font-weight: 800; }
.category-card strong { display: block; font-size: 15px; margin-bottom: 6px; }
.category-card span { color: var(--muted-2); font-size: 12px; }
.skeleton-card { min-height: 150px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(90deg, rgba(255,255,255,.018), rgba(255,255,255,.04), rgba(255,255,255,.018)); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.plugins-section { background: var(--bg); }
.plugins-head { margin-bottom: 24px; }
.catalog-count { color: var(--muted); font-size: 12px; }
.catalog-count span { color: #fff; font-weight: 700; }
.catalog-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
.search-field { flex: 1 1 340px; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.search-field:focus-within { border-color: rgba(155,108,255,.42); box-shadow: 0 0 0 4px rgba(155,108,255,.06); }
.search-field svg { width: 17px; height: 17px; fill: none; stroke: #777080; stroke-width: 1.8; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.search-field input::placeholder { color: #5e5868; }
.category-pills { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.category-pills::-webkit-scrollbar { display: none; }
.category-pills button { white-space: nowrap; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: #87808f; cursor: pointer; font-size: 12px; }
.category-pills button:hover, .category-pills button.is-active { color: #fff; border-color: rgba(155,108,255,.3); background: rgba(155,108,255,.09); }
.plugin-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.plugin-card { min-height: 270px; display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(155deg, rgba(255,255,255,.032), rgba(255,255,255,.011)); transition: .22s ease; }
.plugin-card::after { content: ""; position: absolute; inset: auto -80px -100px auto; width: 190px; height: 190px; border-radius: 50%; background: rgba(109,40,217,.11); filter: blur(36px); pointer-events: none; }
.plugin-card:hover { transform: translateY(-4px); border-color: rgba(155,108,255,.3); background: linear-gradient(155deg, rgba(155,108,255,.06), rgba(255,255,255,.012)); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.plugin-card.is-featured { border-color: rgba(155,108,255,.26); }
.plugin-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.plugin-symbol { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(155,108,255,.18); border-radius: 14px; background: rgba(155,108,255,.07); color: #c6aaff; font-weight: 850; font-size: 13px; }
.plugin-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.plugin-badge { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: #88818f; font-size: 10px; }
.plugin-badge.featured { color: #cbb4ff; border-color: rgba(155,108,255,.25); background: rgba(155,108,255,.07); }
.plugin-card h3 { margin: 25px 0 10px; font-size: 18px; line-height: 1.25; letter-spacing: -.025em; word-break: break-word; }
.plugin-description { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.plugin-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 25px; }
.plugin-category { color: #756f7d; font-size: 11px; }
.repo-button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; color: #d9d4df; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.025); }
.repo-button:hover { border-color: rgba(155,108,255,.4); background: rgba(155,108,255,.08); }
.catalog-message { padding: 50px 20px; border: 1px dashed var(--line-strong); border-radius: 18px; color: var(--muted); text-align: center; font-size: 13px; }
.catalog-message.is-error { color: #fca5a5; }
.is-hidden { display: none !important; }
.ideas-callout { padding-top: 40px; }
.ideas-card { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 48px; border: 1px solid rgba(155,108,255,.21); border-radius: 28px; background: radial-gradient(80% 150% at 0% 100%, rgba(109,40,217,.24), transparent 68%), #0d0b14; }
.ideas-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -190px; border-radius: 50%; background: rgba(139,92,246,.16); filter: blur(75px); }
.ideas-card h2 { margin: 0; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.03; letter-spacing: -.045em; }
.ideas-card p:not(.section-kicker) { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.ideas-card .primary-action { position: relative; z-index: 1; flex: 0 0 auto; }
.site-footer { padding: 30px 0 38px; border-top: 1px solid var(--line); color: #686271; font-size: 11px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-inner div { display: flex; gap: 20px; }
.footer-inner a:hover { color: #aaa3b3; }
@media (max-width: 980px) {
  .hero-shell { grid-template-columns: 1fr; gap: 48px; }
  .hero-terminal { max-width: 620px; transform: none; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .plugin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-shell, .content-shell, .hero-shell { width: min(100% - 28px, 1180px); }
  .main-nav { display: none; }
  .nav-cta { margin-left: auto; font-size: 0; width: 40px; height: 40px; padding: 0; justify-content: center; }
  .nav-cta span { font-size: 14px; }
  .hero { min-height: 0; }
  .hero-shell { padding: 64px 0 70px; }
  .announcement { align-items: flex-start; border-radius: 14px; line-height: 1.45; }
  .announcement a { display: none; }
  .hero h1 { font-size: clamp(42px, 13vw, 61px); }
  .hero-text { font-size: 15px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .category-section, .plugins-section, .ideas-callout { padding: 70px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head > p { text-align: left; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .category-pills { padding-bottom: 2px; }
  .plugin-grid { grid-template-columns: 1fr; }
  .ideas-card { align-items: flex-start; flex-direction: column; padding: 34px 26px; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 440px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 125px; }
  .hero-actions a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* SEO/detail pages */
.plugin-card h3 a { color: inherit; text-decoration: none; }
.plugin-card h3 a:hover { color: #cdb8ff; }
.plugin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.detail-button { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid rgba(155,108,255,.24); border-radius: 10px; color: #cdb8ff; font-size: 11px; font-weight: 700; background: rgba(155,108,255,.06); }
.detail-button:hover { border-color: rgba(155,108,255,.5); background: rgba(155,108,255,.12); }
.seo-section { padding: 24px 0 72px; background: var(--bg); }
.seo-panel { padding: 34px 38px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.015); }
.seo-panel h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.04em; }
.seo-panel p:not(.section-kicker) { max-width: 900px; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.seo-panel a { color: #bda1ff; text-decoration: underline; text-decoration-color: rgba(189,161,255,.28); text-underline-offset: 3px; }
.detail-shell { width: min(100% - 36px, 980px); min-height: calc(100vh - 160px); margin: 0 auto; padding: 72px 0 90px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; color: #6f6878; font-size: 12px; }
.breadcrumbs a:hover { color: #b9b1c2; }
.detail-card { position: relative; overflow: hidden; padding: clamp(28px, 6vw, 64px); border: 1px solid rgba(155,108,255,.22); border-radius: 28px; background: radial-gradient(80% 120% at 0% 0%, rgba(109,40,217,.16), transparent 65%), #0a0910; box-shadow: var(--shadow); }
.detail-card::after { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -220px; border-radius: 50%; background: rgba(139,92,246,.12); filter: blur(80px); pointer-events: none; }
.detail-badges { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 32px; }
.detail-card h1 { position: relative; z-index: 1; max-width: 820px; margin: 0; font-size: clamp(38px, 7vw, 68px); line-height: 1.02; letter-spacing: -.055em; word-break: break-word; }
.detail-lead { position: relative; z-index: 1; max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.75; }
.detail-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.detail-meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 46px; }
.detail-meta div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); }
.detail-meta span { display: block; margin-bottom: 7px; color: #6f6878; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.detail-meta strong { font-size: 13px; font-weight: 700; }
.seo-copy { position: relative; z-index: 1; margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line); }
.seo-copy h2 { margin: 0 0 16px; font-size: clamp(25px, 4vw, 36px); letter-spacing: -.035em; }
.seo-copy p { max-width: 780px; margin: 10px 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.seo-copy a { color: #c2a8ff; text-decoration: underline; text-decoration-color: rgba(194,168,255,.3); text-underline-offset: 3px; }
@media (max-width: 720px) {
  .seo-panel { padding: 28px 22px; }
  .detail-shell { width: min(100% - 28px, 980px); padding-top: 44px; }
  .detail-card { padding: 30px 22px; border-radius: 22px; }
  .detail-meta { grid-template-columns: 1fr; }
  .detail-actions a { width: 100%; }
  .plugin-footer { align-items: flex-start; flex-direction: column; }
  .plugin-actions { justify-content: flex-start; }
}
