/* BATorrent blog — shared with the landing's gothic-cinema identity */
:root {
  --bg: #0a0a0c; --bg2: #0e0e10; --panel: #141416;
  --hair: rgba(255,255,255,.08);
  --t1: #f3f3f4; --t2: #b4b5ba; --t3: #818288;
  --red: #e5332b; --red-t: #ec6a64;
  --sans: "Archivo", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --display: "New Rocker", cursive;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--t1);
  font-family: var(--sans); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: #fff; }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--red-t); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 28px; }

/* nav */
nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,12,.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; max-width: 720px; margin: 0 auto; padding: 0 28px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { width: 24px; height: 24px; }
.wordmark { font-family: var(--display); font-size: 20px; letter-spacing: .5px; }
.wordmark b { color: var(--red); font-weight: 400; } .wordmark span { color: var(--t1); }
.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--t2); } .nav-links a:hover { color: var(--t1); text-decoration: none; }

/* blood-moon header glow */
header.blog-hero { position: relative; padding: 70px 0 30px; text-align: center; overflow: hidden; }
header.blog-hero::before { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,51,43,.16), transparent 68%); pointer-events: none; }
.blog-hero .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red-t); }
.blog-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 52px); line-height: 1.06; letter-spacing: 1px; margin-top: 16px; }
.blog-hero h1 .accent { color: var(--red); }
.blog-hero .lede { color: var(--t2); margin-top: 16px; font-size: 18px; }

/* index list */
.posts { margin: 40px 0 80px; }
.post-card { display: block; border: 1px solid var(--hair); border-radius: 14px; background: var(--bg2);
  padding: 26px 28px; margin-bottom: 16px; transition: border-color .2s, transform .15s ease-out; }
.post-card:hover { border-color: rgba(229,51,43,.4); transform: translateY(-2px); text-decoration: none; }
.post-card .date { font-family: var(--mono); font-size: 12px; color: var(--t3); }
.post-card h2 { font-size: 23px; font-weight: 800; letter-spacing: -.4px; margin: 8px 0 6px; color: var(--t1); }
.post-card p { color: var(--t2); font-size: 15.5px; }

/* article */
article { padding: 30px 0 70px; }
article .date { font-family: var(--mono); font-size: 13px; color: var(--t3); }
article h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5.5vw, 48px);
  line-height: 1.08; letter-spacing: 1px; margin: 14px 0 8px; }
article h1 .accent { color: var(--red); }
article .lede { color: var(--t2); font-size: 19px; margin-bottom: 30px; }
article h2 { font-size: 26px; font-weight: 800; letter-spacing: -.4px; margin: 44px 0 14px; }
article h3 { font-size: 19px; font-weight: 700; margin: 30px 0 10px; color: var(--t1); }
article p { color: var(--t2); margin: 0 0 18px; }
article strong { color: var(--t1); font-weight: 600; }
article ul { color: var(--t2); margin: 0 0 18px; padding-left: 22px; }
article li { margin-bottom: 8px; }
article img { width: 100%; border-radius: 12px; border: 1px solid var(--hair); margin: 24px 0;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); }
article .kbd { font-family: var(--mono); font-size: .85em; background: var(--panel); border: 1px solid var(--hair);
  border-bottom-width: 2px; border-radius: 6px; padding: 2px 8px; color: var(--t1); white-space: nowrap; }
article hr { border: 0; height: 1px; background: var(--hair); margin: 40px 0; }
.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff;
  padding: 13px 26px; border-radius: 10px; font-weight: 600; margin-top: 8px;
  box-shadow: 0 8px 28px rgba(229,51,43,.26); transition: transform .12s, background .15s; }
.cta:hover { background: #c01f18; text-decoration: none; } .cta:active { transform: scale(.97); }
.backlink { display: inline-block; margin-top: 40px; color: var(--t3); font-size: 14px; }

footer { border-top: 1px solid var(--hair); padding: 36px 0 50px; color: var(--t3); font-size: 14px; }
.foot-inner { display: flex; gap: 20px; flex-wrap: wrap; max-width: 720px; margin: 0 auto; padding: 0 28px; }
.foot-inner a { color: var(--t3); } .foot-inner a:hover { color: var(--t1); }
.foot-inner .sep { margin-left: auto; }

@media (max-width: 600px) { .nav-links a:not(.home) { display: none; } }
