/* Category guide pages (verity-horror/<slug>/index.html), built by server/build-verity-pages.py */
:root { --bg: #070707; --panel: #121212; --edge: #262626; --amber: #ffb000; --red: #ff2a2a; --text: #e9e9e9; --muted: #9a9a9a; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
a { color: var(--amber); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.top { position: sticky; top: 0; z-index: 10; background: rgba(7,7,7,.92); border-bottom: 1px solid var(--edge); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 15px/1.1 "Share Tech Mono", ui-monospace, monospace; letter-spacing: 2px; text-transform: uppercase; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 22px 0 6px; }
.crumbs a { color: var(--muted); }
h1 { font: 800 clamp(28px, 4.4vw, 46px)/1.12 Inter, sans-serif; color: #fff; margin: 6px 0 14px; letter-spacing: -.5px; }
h2 { font: 800 clamp(22px, 3vw, 30px)/1.2 Inter, sans-serif; color: #fff; margin: 48px 0 14px; }
h3 { font: 700 17px/1.3 Inter, sans-serif; color: #fff; margin: 0; }
.intro { font-size: 17px; color: #cfcfcf; max-width: 760px; }
.updated { font-size: 13px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #d81b1b; color: #fff; text-decoration: none; padding: 10px 18px 10px 14px; border-radius: 10px; font-weight: 800; font-size: 17px; line-height: 1.05; box-shadow: 0 10px 30px rgba(255,42,42,.35); }
.store small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
.store svg { width: 24px; height: 26px; flex: none; }
.store.play svg { background: #fff; border-radius: 7px; padding: 4px 3px 4px 5px; width: 30px; height: 30px; box-sizing: border-box; }
.store[hidden] { display: none; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); counter-reset: n; }
.item { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 80px; }
.item .pic { position: relative; aspect-ratio: 16 / 9; background: #000; }
.item .pic img { width: 100%; height: 100%; object-fit: cover; }
.item .rank { position: absolute; top: 10px; left: 10px; background: var(--amber); color: #000; font: 800 13px/1 Inter, sans-serif; padding: 5px 8px; border-radius: 6px; }
.item .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item .meta { font-size: 13px; color: var(--muted); }
.item .meta b { color: #fff; font-weight: 700; }
.item .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 2px 7px; border-radius: 5px; margin-right: 6px; }
.tag.free { background: #12391f; color: #5be38a; } .tag.prem { background: #3a2a00; color: var(--amber); }
.item p.desc { margin: 0; font-size: 14px; color: #c9c9c9; }
.groups { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.group { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; padding: 16px 18px; }
.group h3 { margin-bottom: 8px; }
.group ul { margin: 0; padding-left: 18px; }
.group li { margin: 3px 0; }
.steps { margin: 0; padding-left: 22px; } .steps li { margin: 6px 0; }
.facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.facts div { background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px; }
.facts b { display: block; font-size: 22px; color: #fff; }
details { background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; color: #fff; }
.more { display: flex; flex-wrap: wrap; gap: 10px; }
.more a { background: var(--panel); border: 1px solid var(--edge); border-radius: 999px; padding: 9px 16px; text-decoration: none; color: #fff; font-weight: 600; }
.more a:hover { border-color: var(--amber); color: var(--amber); }
footer { border-top: 1px solid var(--edge); margin-top: 56px; padding: 22px 0 40px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .top .brand span { display: none; } h2 { margin-top: 38px; } }
/* cards: whole card is a link to the store; hover lift; text lined up (2-line title, 3-line description, button at the bottom) */
.item .card { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.item { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.item:hover { transform: translateY(-4px); border-color: rgba(255,176,0,.6); box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 24px rgba(255,176,0,.15); }
.item:hover .pic img { transform: scale(1.04); }
.item .pic { overflow: hidden; } .item .pic img { transition: transform .35s ease; }
.item h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.item p.desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.8em; }
.item .get { margin-top: auto; display: block; text-align: center; background: #d81b1b; color: #fff; font: 800 14px/1 Inter, sans-serif; letter-spacing: .3px; padding: 12px; border-radius: 9px; }
.item:hover .get { background: #c01414; }
.item.off { display: none; }
.more-row { text-align: center; margin: 22px 0 0; }
.see-more, .see-all { display: inline-block; font: 800 15px/1 Inter, sans-serif; padding: 14px 26px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.see-more { background: var(--panel); color: #fff; border: 1px solid #3a3a3a; }
.see-more:hover { border-color: var(--amber); color: var(--amber); }
.see-all { background: #d81b1b; color: #fff; border: 0; box-shadow: 0 10px 30px rgba(255,42,42,.35); }
.see-more[hidden], .see-all[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .item, .item .pic img { transition: none; } .item:hover { transform: none; } }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
