/*
Theme Name: NZB Grab
Theme URI: https://nzbgrab.com
Author: [NiNjA]UK
Author URI: https://nzbgrab.com
Description: A bold, fun WordPress theme for NZB Grab, the friendly Usenet NZB downloader with built-in PAR repair, auto unpacking, feeds and folder watching.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nzb-grab
Tags: custom-logo, custom-menu, featured-images, landing-page, software
*/

:root {
  --ink: #160b0b;
  --ink-2: #0e0606;
  --paper: #fff6f4;
  --card: #ffffff;
  --red: #ff3344;
  --red-deep: #c81e2e;
  --amber: #ff8f6b;
  --text: #241410;
  --text-soft: #6b5350;
  --white: #fff2f2;
  --muted: #c99a9a;
  --line: rgba(20, 10, 10, 0.10);
  --line-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(120, 20, 30, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1160px;
  --display: "Baloo 2", "Fredoka", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0 0 12px; }

.nzb-wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.nzb-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 11, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.admin-bar .nzb-site-header { top: 32px; }
.nzb-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.nzb-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--display); font-weight: 800; font-size: 20px; }
.nzb-logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff;
  box-shadow: 0 8px 20px rgba(255, 51, 68, 0.45);
}
.nzb-menu-wrap { margin-left: auto; }
ul.nzb-menu { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
ul.nzb-menu a { color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
ul.nzb-menu a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nzb-header-cta {
  color: #fff; font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 10px 24px rgba(255, 51, 68, 0.4);
}
.nzb-header-cta:hover { filter: brightness(1.05); }

/* Reusable affiliate banner block */
.nzb-aff { line-height: 0; }
.nzb-aff .nzbgl-affiliate { margin: 0; }
.nzb-aff img { max-width: 100%; height: auto; border-radius: 12px; }
.nzb-aff-centre { text-align: center; margin: 0 auto 26px; }
.nzb-aff-centre img { display: inline-block; }

/* Why you need a Usenet account, full width dark band with the banner */
.nzb-usenet {
  background: radial-gradient(1000px 420px at 20% -20%, #3a1420 0%, var(--ink) 60%);
  color: var(--white);
  padding: 66px 0;
  border-top: 1px solid var(--line-dark);
}
.nzb-usenet-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
.nzb-usenet-copy .nzb-section-title { color: #fff; }
.nzb-usenet-copy p { color: #e9cccc; font-size: 17px; }
.nzb-usenet-aff { text-align: center; }
.nzb-usenet-label { display: block; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
@media (max-width: 900px) { .nzb-usenet-grid { grid-template-columns: 1fr; } }

/* Buttons */
.nzb-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 13px 24px; border-radius: 999px; transition: transform .12s, filter .15s, background .15s; cursor: pointer; border: none; }
.nzb-btn:hover { transform: translateY(-1px); }
.nzb-btn-primary { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; box-shadow: 0 14px 30px rgba(255, 51, 68, 0.4); }
.nzb-btn-primary:hover { filter: brightness(1.06); }
.nzb-btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.nzb-section-dark .nzb-btn-ghost, .nzb-hero .nzb-btn-ghost { color: var(--white); border-color: var(--line-dark); }
.nzb-btn-ghost:hover { border-color: var(--red); color: var(--red); }
.nzb-btn-light { background: #fff; color: var(--red-deep); box-shadow: 0 12px 26px rgba(0,0,0,.18); }

/* Hero */
.nzb-hero { background: radial-gradient(1200px 500px at 80% -10%, #3a1420 0%, var(--ink) 60%); color: var(--white); padding: 68px 0 76px; overflow: hidden; }
.nzb-hero-slim { padding: 60px 0 40px; }
.nzb-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.nzb-hero-copy h1 { font-size: clamp(38px, 6vw, 60px); color: #fff; }
.nzb-highlight { color: var(--red); }
.nzb-lede { color: #f0d9d9; font-size: 19px; max-width: 46ch; }
.nzb-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 51, 68, 0.14); color: #ffd7db; border: 1px solid rgba(255, 51, 68, 0.4); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.nzb-kicker-red { background: rgba(255, 51, 68, 0.12); color: var(--red-deep); border-color: rgba(255, 51, 68, 0.35); }
.nzb-bolt { color: var(--red); }
.nzb-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 20px; }
.nzb-actions-center { justify-content: center; }
.nzb-trust-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nzb-pill { background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); color: #f0d9d9; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* Browser style window frame around screenshots */
.nzb-window { background: #1c1012; border: 1px solid var(--line-dark); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.nzb-window-bar { display: flex; gap: 7px; padding: 12px 14px; background: #251618; }
.nzb-window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #4a2e30; }
.nzb-window-bar span:first-child { background: var(--red); }
.nzb-window img { width: 100%; display: block; }
.nzb-video-window { max-width: 900px; margin: 0 auto; }
.nzb-video-holder { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.nzb-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; background: #000; }
.nzb-video-section { padding-top: 0; }
.nzb-about-video { margin: 36px auto 0; width: 100%; }
.nzb-video-embed {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 22px 55px rgba(0,0,0,.28);
  background: #000;
}
.nzb-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.nzb-window-tilt { transform: rotate(-1.2deg); }
.nzb-hero-shot { perspective: 1200px; }

/* Free band */
.nzb-freeband { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; }
.nzb-freeband-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 0; flex-wrap: wrap; }
.nzb-freeband h2 { color: #fff; font-size: 27px; margin-bottom: 6px; }
.nzb-freeband p { color: #ffe4e4; margin: 0; max-width: 62ch; }

/* Sections */
.nzb-section { padding: 74px 0; }
.nzb-section-alt { background: #fff; }
.nzb-section-dark { background: var(--ink); color: var(--white); }
.nzb-section-dark .nzb-section-title, .nzb-section-dark h3 { color: #fff; }
.nzb-section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.nzb-section-title { font-size: clamp(28px, 4vw, 40px); }
.nzb-section-head p { color: var(--text-soft); font-size: 18px; margin: 0; }
.nzb-muted { color: var(--muted) !important; }
.nzb-centre { text-align: center; margin: 0 auto; }
.nzb-large-copy { font-size: 19px; color: var(--text-soft); }
.nzb-section-dark .nzb-large-copy { color: #e9cccc; }

/* Feature cards */
.nzb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nzb-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 30px rgba(120, 20, 30, 0.06); transition: transform .15s, box-shadow .15s; }
.nzb-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(120, 20, 30, 0.12); }
.nzb-card h3 { font-size: 20px; }
.nzb-card p { color: var(--text-soft); margin: 0; font-size: 15.5px; }
.nzb-ic { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px; }
.ic-1 { background: #ffe3e6; } .ic-2 { background: #ffe8dd; } .ic-3 { background: #e7f0ff; }
.ic-4 { background: #fff2cf; } .ic-5 { background: #f0e4ff; } .ic-6 { background: #dbf5e6; }

/* Screenshot showcase */
.nzb-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nzb-shot { margin: 0; background: #1c1012; border: 1px solid var(--line-dark); border-radius: 16px; overflow: hidden; }
.nzb-shot img { width: 100%; }
.nzb-shot figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* Two column */
.nzb-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.nzb-flip .nzb-window { order: 0; }

/* Comparison */
.nzb-compare { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.nzb-compare-row { display: grid; grid-template-columns: 1fr 120px 140px; align-items: center; }
.nzb-compare-row + .nzb-compare-row { border-top: 1px solid var(--line); }
.nzb-compare-feature { padding: 15px 20px; font-weight: 600; font-size: 15.5px; }
.nzb-compare-col { padding: 15px 10px; text-align: center; font-size: 18px; }
.nzb-compare-pro { background: rgba(255, 51, 68, 0.06); }
.nzb-compare-head { background: var(--ink); color: #fff; }
.nzb-compare-head .nzb-compare-feature, .nzb-compare-head .nzb-compare-col { color: #fff; font-family: var(--display); font-weight: 800; font-size: 16px; }
.nzb-compare-head .nzb-compare-pro { background: var(--red); }
.nzb-yes { color: #1faa5a; font-weight: 900; }
.nzb-no { color: #c9b3b0; font-weight: 900; }
.nzb-compare-cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* Steps */
.nzb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nzb-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.nzb-section-alt .nzb-step { background: var(--paper); }
.nzb-step-n { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 12px; }
.nzb-step h3 { font-size: 19px; }
.nzb-step p { color: var(--text-soft); margin: 0; font-size: 15.5px; }

/* CTA */
.nzb-cta { text-align: center; max-width: 760px; margin: 0 auto; background: linear-gradient(135deg, #241012, #160b0b); color: #fff; border: 1px solid var(--line-dark); border-radius: 28px; padding: 54px 40px; box-shadow: var(--shadow); }
.nzb-cta .nzb-section-title { color: #fff; }
.nzb-cta p { color: #e9cccc; font-size: 18px; }
.nzb-cta .nzb-btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.nzb-cta .nzb-btn-ghost:hover { color: #fff; border-color: var(--red); background: rgba(255,51,68,.18); }

/* Full-width call to action band */
.nzb-cta-band {
  background: radial-gradient(1000px 420px at 70% -20%, #3a1420 0%, var(--ink) 60%);
  color: #fff;
  padding: 72px 0;
  border-top: 1px solid var(--line-dark);
}
.nzb-cta-band-inner { text-align: center; max-width: 760px; }
.nzb-cta-band .nzb-section-title { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.nzb-cta-band p { color: #e9cccc; font-size: 18px; margin-bottom: 8px; }
.nzb-cta-band .nzb-btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.nzb-cta-band .nzb-btn-ghost:hover { color: #fff; border-color: var(--red); background: rgba(255,51,68,.18); }

/* Supporters (from the plugin shortcode). Dark chips so names show on any background. */
.nzbgl-supporters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nzbgl-supporters .nzbgl-supporter {
  display: inline-flex; align-items: center; gap: 8px;
  background: #160b0b; color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.nzbgl-supporters .nzbgl-supporter span { color: #fff; }
.nzbgl-supporters .nzbgl-supporter img { height: 26px; width: auto; border-radius: 5px; }

/* Generic page content (buy, account, changelog) */
.nzb-page { padding: 56px 0 74px; }
.nzb-page .nzb-wrap { max-width: 900px; }
.nzb-page h1 { font-size: 40px; }
.nzb-page-narrow { max-width: 760px; }

/* Footer */
.nzb-site-footer { background: var(--ink-2); color: var(--muted); padding: 54px 0 30px; border-top: 1px solid var(--line-dark); }
.nzb-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.nzb-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.nzb-footer-banner { align-self: center; }
/* A banner widget dropped in the right area scales to fill the two-column width. */
.nzb-footer-banner .nzb-footer-banneritem img { display: block; width: 100%; height: auto; border-radius: 12px; }
.nzb-footer-banneritem { line-height: 0; }
/* The built-in affiliate banner keeps its own size, centred. */
.nzb-footer-banner .nzb-aff { text-align: center; }
.nzb-footer-banner .nzb-aff img { max-width: 100%; height: auto; border-radius: 12px; display: inline-block; }
.nzb-site-footer h3 { color: #fff; font-size: 16px; }
.nzb-site-footer .nzb-brand { color: #fff; margin-bottom: 10px; }
.nzb-footer-links { list-style: none; padding: 0; margin: 0; }
.nzb-footer-links li { margin-bottom: 8px; }
.nzb-footer-links a:hover { color: var(--red); }

/* Responsive */
@media (max-width: 900px) {
  .nzb-hero-grid, .nzb-two-col { grid-template-columns: 1fr; }
  .nzb-grid-3, .nzb-shots, .nzb-steps { grid-template-columns: 1fr; }
  .nzb-footer-grid { grid-template-columns: 1fr; }
  .nzb-menu-wrap { display: none; }
  .nzb-window-tilt { transform: none; }
  .nzb-compare-row { grid-template-columns: 1fr 72px 84px; }
}
@media (max-width: 560px) { .nzb-footer-cols { grid-template-columns: 1fr; } }
.nzb-hero-narrow { max-width: 760px; }
.nzb-hero-narrow h1 { font-size: clamp(32px, 5vw, 48px); color: #fff; }

/* Standard content pages (buy, account, changelog, blog posts) */
.nzb-content { padding: 56px 0 74px; }
.nzb-post-card { max-width: 860px; margin: 0 auto; }
.nzb-post-card .entry-title { font-size: clamp(30px, 5vw, 42px); margin-bottom: 18px; }
.nzb-content h2 { font-size: 26px; margin-top: 30px; }
.nzb-content h3 { font-size: 20px; margin-top: 22px; }
.nzb-content p, .nzb-content li { color: var(--text-soft); }
.nzb-content a { color: var(--red-deep); font-weight: 600; }
.nzb-content a:hover { color: var(--red); }
.nzb-buy-wrap, .nzb-account-wrap { margin-top: 26px; }
.nzb-content hr { border: none; border-top: 1px solid var(--line); margin: 22px 0; }

/* Footer widget columns + copyright */
.nzb-footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.nzb-footer-col p { color: var(--muted); font-size: 15px; }
.nzb-footer-col .nzb-brand { color: #fff; margin-bottom: 10px; }
.nzb-footer-col ul { list-style: none; padding: 0; margin: 0; }
.nzb-footer-col li { margin-bottom: 8px; }
.nzb-footer-col a:hover { color: var(--red); }
.nzb-copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: 13.5px; text-align: center; }
.nzb-copyright a { color: var(--red); font-weight: 600; }

/* Account control panel */
.nzb-panel { max-width: 860px; margin: 0 auto; }
.nzb-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.nzb-panel-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 30px rgba(120,20,30,.06); }
.nzb-panel-card h3 { font-size: 20px; margin-bottom: 12px; }
.nzb-key { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 17px; background: #160b0b; color: #fff; padding: 12px 14px; border-radius: 10px; letter-spacing: 1px; word-break: break-all; }
.nzb-panel-meta { list-style: none; padding: 0; margin: 14px 0 0; }
.nzb-panel-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.nzb-panel-meta li span:first-child { color: var(--text-soft); }
.nzb-panel-meta b { color: var(--text); }
.nzb-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #dbf5e6; color: #1a7f46; font-weight: 700; font-size: 13px; }
.nzb-badge.nzb-badge-off { background: #ffe3e6; color: var(--red-deep); }
.nzb-field { margin-bottom: 14px; }
.nzb-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.nzb-field input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: var(--body); }
.nzb-field input:focus { outline: none; border-color: var(--red); }
.nzb-panel .nzb-btn { margin-top: 4px; }
.nzb-notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.nzb-notice-ok { background: #dbf5e6; color: #1a7f46; }
.nzb-notice-err { background: #ffe3e6; color: var(--red-deep); }
@media (max-width: 720px) { .nzb-panel-grid { grid-template-columns: 1fr; } }

/* Download page: a bold download event */
.nzb-dlpage { padding: 0; }
.nzb-dl-hero {
  position: relative;
  background: radial-gradient(1100px 520px at 50% -12%, #3a1420 0%, var(--ink) 55%);
  color: #fff;
  padding: 76px 0 88px;
  text-align: center;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.nzb-dl-inner { max-width: 780px; position: relative; z-index: 1; }
.nzb-dl-mark {
  width: 92px; height: 92px; margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 20px 50px rgba(255,51,68,.5), inset 0 0 0 1px rgba(255,255,255,.10);
  animation: nzb-float 4s ease-in-out infinite;
}
@keyframes nzb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.nzb-dl-title { color: #fff; font-size: clamp(38px, 6vw, 60px); margin: 0 0 12px; }
.nzb-dl-intro { color: #e9cccc; font-size: 18px; margin: 0 auto 8px; max-width: 60ch; }

.nzb-dl-cta { margin: 30px 0 6px; }
.nzb-dl-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 20px 42px; border-radius: 18px;
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #ff5a67, var(--red) 55%, var(--red-deep));
  box-shadow: 0 22px 60px rgba(255,51,68,.55);
  overflow: hidden; isolation: isolate;
  transition: transform .16s ease, box-shadow .2s ease, filter .2s ease;
  animation: nzb-dl-pulse 2.4s ease-in-out infinite;
}
@keyframes nzb-dl-pulse {
  0%, 100% { box-shadow: 0 22px 58px rgba(255,51,68,.5); }
  50% { box-shadow: 0 24px 78px rgba(255,51,68,.85); }
}
.nzb-dl-btn:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.05); color: #fff; box-shadow: 0 28px 84px rgba(255,51,68,.9); }
.nzb-dl-btn:active { transform: translateY(-1px) scale(.99); }
.nzb-dl-btn::before {
  content: ""; position: absolute; top: 0; left: -125%; width: 55%; height: 100%; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  animation: nzb-dl-shine 3.4s ease-in-out infinite;
}
@keyframes nzb-dl-shine { 0% { left: -125%; } 24% { left: 135%; } 100% { left: 135%; } }
.nzb-dl-btn.is-going { animation: none; }
.nzb-dl-btn-ico {
  width: 46px; height: 46px; flex: 0 0 auto; position: relative; z-index: 3;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.28); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.nzb-dl-btn.is-going .nzb-dl-btn-ico svg { animation: nzb-dl-bounce .7s ease infinite; }
@keyframes nzb-dl-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.nzb-dl-btn-text { text-align: left; line-height: 1.12; position: relative; z-index: 3; }
.nzb-dl-btn-main { display: block; font-family: var(--display); font-weight: 800; font-size: 23px; color: #fff; text-shadow: 0 1px 2px rgba(90,0,10,.45); }
.nzb-dl-btn-sub { display: block; font-size: 13px; color: #fff; opacity: .96; margin-top: 3px; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(90,0,10,.4); }
.nzb-dl-note { color: var(--muted); font-size: 14px; margin-top: 16px; }

.nzb-dl-badges {
  list-style: none; margin: 28px auto 0; padding: 0; max-width: 680px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.nzb-dl-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: #fff; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.nzb-dl-badges li::before { content: "\2713"; color: #57e08a; font-weight: 800; }
.nzb-dl-badges li.nzb-dl-badge-hot {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-color: transparent; color: #fff; font-weight: 800;
  box-shadow: 0 10px 26px rgba(255,51,68,.45);
}
.nzb-dl-badges li.nzb-dl-badge-hot::before { content: "\2726"; color: #fff; }

/* Download counter */
.nzb-dl-count { margin-top: 26px; text-align: center; }
.nzb-dl-count-num {
  display: inline-block;
  font-family: var(--display); font-weight: 800;
  font-size: 40px; letter-spacing: .14em;
  color: #fff;
  padding: 8px 16px; border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  text-shadow: 0 0 18px rgba(255,51,68,.55);
}
.nzb-dl-count-label {
  display: block; margin-top: 8px;
  color: var(--muted); font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
}
.nzb-dl-soon { color: var(--muted); }
@media (max-width: 560px) {
  .nzb-dl-btn { padding: 16px 26px; gap: 12px; }
  .nzb-dl-btn-main { font-size: 20px; }
  .nzb-dl-btn-ico { width: 40px; height: 40px; }
}

/* Setup in 3 steps */
.nzb-setup { max-width: 860px; padding: 44px 0 60px; }
.nzb-setup-head { text-align: center; margin-bottom: 36px; }
.nzb-setup-head h1 { font-size: clamp(32px, 5vw, 46px); }
.nzb-setup-head p { color: var(--text-soft); font-size: 18px; max-width: 60ch; margin: 0 auto; }
.nzb-setup-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(120,20,30,.06);
}
.nzb-setup-num {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.nzb-setup-body { flex: 1; }
.nzb-setup-body h2 { font-size: 23px; margin-bottom: 10px; }
.nzb-setup-body p, .nzb-setup-body li { color: var(--text-soft); font-size: 16px; }
.nzb-setup-body b { color: var(--text); }
.nzb-setup-body ul, .nzb-setup-body ol { margin: 10px 0 14px; padding-left: 22px; }
.nzb-setup-body li { margin-bottom: 7px; }
.nzb-setup-body a { color: var(--red-deep); font-weight: 600; }
.nzb-setup-body .nzb-btn { color: #fff; margin-top: 4px; }
.nzb-setup-body .nzb-btn-ghost { color: var(--text); }
@media (max-width: 720px) { .nzb-setup-step { flex-direction: column; } }

/* FAQ page */
.nzb-faq { max-width: 860px; padding: 44px 0 64px; }
.nzb-faq-head { text-align: center; margin-bottom: 30px; }
.nzb-faq-head h1 { font-size: clamp(32px, 5vw, 46px); }
.nzb-faq-head p { color: var(--text-soft); font-size: 18px; max-width: 60ch; margin: 8px auto 0; }
.nzb-faq-intro { color: var(--text-soft); margin-bottom: 20px; }
.nzb-faq-section { margin-bottom: 30px; }
.nzb-faq-h {
  font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-deep); font-weight: 800;
  border-bottom: 2px solid var(--line); padding-bottom: 8px; margin-bottom: 12px;
}
.nzb-faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 4px 18px; margin-bottom: 10px;
}
.nzb-faq-item summary {
  cursor: pointer; list-style: none; padding: 14px 28px 14px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--text);
}
.nzb-faq-item summary::-webkit-details-marker { display: none; }
.nzb-faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--red); font-weight: 700; line-height: 1;
}
.nzb-faq-item[open] summary::after { content: "\2212"; }
.nzb-faq-a { color: var(--text-soft); padding: 0 0 14px; font-size: 16px; line-height: 1.6; }
.nzb-faq-a a { color: var(--red-deep); font-weight: 600; }
.nzb-faq-cta { text-align: center; margin-top: 40px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.nzb-faq-cta h2 { font-size: 24px; margin-bottom: 6px; }
.nzb-faq-cta p { color: var(--text-soft); margin-bottom: 16px; }
.nzb-faq-cta .nzb-btn { color: #fff; }

/* Contact page */
.nzb-contact { max-width: 720px; padding: 44px 0 64px; }
.nzb-contact-head { text-align: center; margin-bottom: 24px; }
.nzb-contact-head h1 { font-size: clamp(32px, 5vw, 46px); }
.nzb-contact-head p { color: var(--text-soft); font-size: 18px; max-width: 56ch; margin: 8px auto 0; }
.nzb-contact-intro { color: var(--text-soft); margin-bottom: 18px; }
.nzb-contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.nzb-contact-form label { display: block; margin-bottom: 16px; font-weight: 600; color: var(--text); }
.nzb-contact-form label span { display: block; margin-bottom: 6px; font-size: 14px; }
.nzb-contact-form input[type="text"],
.nzb-contact-form input[type="email"],
.nzb-contact-form textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; color: var(--text);
}
.nzb-contact-form input:focus, .nzb-contact-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,51,68,.15); }
.nzb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nzb-field-row label { margin-bottom: 16px; }
.nzb-contact-form .nzb-btn { color: #fff; border: 0; cursor: pointer; }
.nzb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nzb-note { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.nzb-note-ok { background: #e8f7ec; color: #1c7a37; border: 1px solid #b6e4c2; }
.nzb-note-bad { background: #fdeaea; color: #b3261e; border: 1px solid #f2b9b6; }
@media (max-width: 560px) { .nzb-field-row { grid-template-columns: 1fr; } }
