/* ========================================
   HDC Trades — Three-Theme Terminal Design
   Green (default) | Amber | Modern
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Fira+Code:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ========================================
   THEME: GREEN (default — matches original site)
   ======================================== */
[data-theme="green"] {
  --bg: #0a0a0a;
  --bg-surface: #111111;
  --bg-elevated: #1a1a1a;
  --primary: #00ff41;
  --primary-dim: #00cc33;
  --primary-dark: #008f11;
  --accent: #ffb000;
  --highlight: #00ffff;
  --danger: #ff3333;
  --text: #00ff41;
  --text-dim: #00cc33;
  --text-muted: #008f11;
  --border: #00cc33;
  --border-dim: rgba(0, 255, 65, 0.15);
  --glow: 0 0 10px rgba(0, 255, 65, 0.3);
  --glow-strong: 0 0 10px rgba(0, 255, 65, 0.5), 0 0 20px rgba(0, 255, 65, 0.3);
  --glow-accent: 0 0 10px rgba(255, 176, 0, 0.5);
  --grid-color: rgba(0, 255, 65, 0.03);
  --scanline-opacity: 0.3;
  --font-body: 'Fira Code', monospace;
  --font-display: 'VT323', monospace;
  --font-size: 14px;
  --content-width: 1000px;
  --radius: 4px;
}

/* ========================================
   THEME: AMBER
   ======================================== */
[data-theme="amber"] {
  --bg: #1a1400;
  --bg-surface: #221c00;
  --bg-elevated: #2a2200;
  --primary: #ffb000;
  --primary-dim: #cc8800;
  --primary-dark: #665500;
  --accent: #ff6600;
  --highlight: #ffd966;
  --danger: #ff4444;
  --text: #e6a800;
  --text-dim: #cc8800;
  --text-muted: #997000;
  --border: #665500;
  --border-dim: rgba(255, 176, 0, 0.15);
  --glow: 0 0 10px rgba(255, 176, 0, 0.3);
  --glow-strong: 0 0 10px rgba(255, 176, 0, 0.5), 0 0 20px rgba(255, 176, 0, 0.3);
  --glow-accent: 0 0 10px rgba(255, 102, 0, 0.5);
  --grid-color: rgba(255, 176, 0, 0.03);
  --scanline-opacity: 0.2;
  --font-body: 'Fira Code', monospace;
  --font-display: 'VT323', monospace;
  --font-size: 14px;
  --content-width: 1000px;
  --radius: 4px;
}

/* ========================================
   THEME: MODERN
   ======================================== */
[data-theme="modern"] {
  --bg: #0f1117;
  --bg-surface: #161922;
  --bg-elevated: #1e2230;
  --primary: #6ee7b7;
  --primary-dim: #4ade80;
  --primary-dark: #22543d;
  --accent: #818cf8;
  --highlight: #e2e8f0;
  --danger: #f87171;
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --border: #2d3548;
  --border-dim: #1e2230;
  --glow: none;
  --glow-strong: none;
  --glow-accent: none;
  --grid-color: transparent;
  --scanline-opacity: 0;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-display: 'Inter', sans-serif;
  --font-size: 16px;
  --content-width: 680px;
  --radius: 8px;
}

/* ========================================
   RESET & BASE
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--font-size);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  position: relative;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  transition: background-color 0.3s, color 0.3s;
}

/* CRT Scanlines */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.25) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--scanline-opacity);
}

/* Screen glow */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: radial-gradient(ellipse at center, rgba(0,255,65,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  opacity: var(--scanline-opacity);
}
[data-theme="amber"] body::after {
  background: radial-gradient(ellipse at center, rgba(255,176,0,0.03) 0%, transparent 70%);
}
[data-theme="modern"] body::after { display: none; }

/* Links */
a {
  color: var(--highlight);
  text-decoration: none;
  border-bottom: 1px solid var(--highlight);
  transition: all 0.3s ease;
}
a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-shadow: var(--glow);
}

::selection { background: var(--primary); color: var(--bg); }

/* ========================================
   THEME SWITCHER
   ======================================== */
.theme-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
  z-index: 10000;
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  padding: 0.35rem;
  border-radius: var(--radius);
}
.theme-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0;
  line-height: 0;
}
.theme-btn:hover { transform: scale(1.2); }
.theme-btn[data-set="green"] { background: #00ff41; }
.theme-btn[data-set="amber"] { background: #ffb000; }
.theme-btn[data-set="modern"] { background: linear-gradient(135deg, #6ee7b7, #818cf8); }
.theme-btn.active { border-color: #fff; box-shadow: 0 0 6px rgba(255,255,255,0.4); }

/* ========================================
   HEADER — Terminal Window Chrome
   ======================================== */
header {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-radius: 8px 8px 0 0;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0 30px rgba(0,255,65,0.1);
}
[data-theme="amber"] header {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(255,176,0,0.1);
}
[data-theme="modern"] header {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  padding: 1rem 0;
  background: transparent;
}

/* Window dots */
header::before {
  content: "● ● ●";
  position: absolute;
  top: 8px; left: 12px;
  font-size: 0.7rem;
  color: var(--danger);
  letter-spacing: 4px;
}
[data-theme="modern"] header::before { display: none; }

header::after {
  content: "trades.hamiltondevco.com — bash — 80×24";
  position: absolute;
  top: 8px; right: 12px;
  font-size: 0.7rem;
  color: var(--text-dim);
}
[data-theme="modern"] header::after { display: none; }

header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  text-shadow: var(--glow-strong);
  letter-spacing: 2px;
  color: var(--primary);
}
[data-theme="modern"] header h1 {
  font-size: 1.3rem;
  letter-spacing: 0;
  text-shadow: none;
  color: var(--highlight);
}

/* $ prompt — terminal themes */
[data-theme="green"] header h1::before,
[data-theme="amber"] header h1::before {
  content: "$ ";
  color: var(--accent);
}

header p, header .subtitle {
  font-size: 1rem;
  color: var(--text-dim);
  opacity: 0.8;
}
[data-theme="modern"] header p,
[data-theme="modern"] header .subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========================================
   NAV — Terminal Menu
   ======================================== */
nav {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-top: none;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
[data-theme="amber"] nav { border-color: var(--primary); }
[data-theme="modern"] nav {
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  box-shadow: none;
  padding: 0.6rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
[data-theme="modern"] nav ul { justify-content: flex-start; }

nav li a {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius);
  transition: all 0.3s;
  display: inline-block;
}
[data-theme="modern"] nav li a {
  border: none;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: none;
}

/* > prompt — terminal themes */
[data-theme="green"] nav li a::before,
[data-theme="amber"] nav li a::before {
  content: "> ";
  color: var(--accent);
}

nav li a:hover {
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
  box-shadow: var(--glow);
  border-bottom-color: transparent;
}
[data-theme="modern"] nav li a:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
}

/* ========================================
   DISCLAIMER BANNER
   ======================================== */
.disclaimer-banner {
  background: var(--bg-surface);
  border: 2px solid var(--danger);
  color: var(--danger);
  text-align: center;
  padding: 1rem;
  font-weight: bold;
  margin: 1rem 0;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.1rem;
  animation: blink 1.5s infinite;
}
[data-theme="green"] .disclaimer-banner::before,
[data-theme="amber"] .disclaimer-banner::before {
  content: "[!] ";
  color: var(--accent);
}
[data-theme="modern"] .disclaimer-banner {
  animation: none;
  border: 1px solid var(--danger);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

@keyframes blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.5; }
}

/* ========================================
   MAIN CONTENT
   ======================================== */
main {
  padding: 2rem 0;
}

/* ========================================
   POSTS LIST (index page)
   ======================================== */
.posts-list article {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
[data-theme="modern"] .posts-list article {
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: none;
}

[data-theme="green"] .posts-list article::before,
[data-theme="amber"] .posts-list article::before {
  content: "┌─ " attr(data-filename) " ─";
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--primary-dark);
  padding-bottom: 0.5rem;
}

.posts-list article:hover {
  border-color: var(--highlight);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}
[data-theme="modern"] .posts-list article:hover {
  border-color: var(--primary);
  box-shadow: none;
}

.post-meta {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}
[data-theme="green"] .post-meta::before,
[data-theme="amber"] .post-meta::before {
  content: "~$ ls -la ";
  color: var(--text-dim);
}
[data-theme="modern"] .post-meta {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.post-title a { border-bottom: none; }

.post-excerpt {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.read-more {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s;
}
[data-theme="green"] .read-more::before,
[data-theme="amber"] .read-more::before {
  content: "> ";
  color: var(--accent);
}
.read-more:hover {
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
  box-shadow: var(--glow);
  border-bottom-color: var(--primary);
}

/* ========================================
   SINGLE POST (article pages)
   ======================================== */
.single-post article {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
[data-theme="amber"] .single-post article { border-color: var(--primary-dim); }
[data-theme="modern"] .single-post article {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* ┌─ filename ─ chrome */
[data-theme="green"] .single-post article::before,
[data-theme="amber"] .single-post article::before {
  content: "┌─ " attr(data-filename) " ─";
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--primary-dark);
  padding-bottom: 0.5rem;
}

.single-post h1 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-shadow: var(--glow-strong);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 1rem;
  line-height: 1.3;
}
[data-theme="modern"] .single-post h1 {
  color: var(--highlight);
  font-size: 2rem;
  text-shadow: none;
  border-bottom: none;
  padding-bottom: 0;
  letter-spacing: -0.02em;
}

.single-post h2 {
  color: var(--highlight);
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
}
[data-theme="green"] .single-post h2::before,
[data-theme="amber"] .single-post h2::before {
  content: "## ";
  color: var(--accent);
}
[data-theme="modern"] .single-post h2 {
  color: var(--primary);
  font-weight: 600;
}

.single-post .post-content {
  font-size: 1.05rem;
  line-height: 1.85;
}
.single-post p {
  margin-bottom: 1.5rem;
}
[data-theme="modern"] .single-post .post-content p {
  color: var(--text-dim);
}

.single-post ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}
.single-post li {
  margin-bottom: 0.5rem;
}
.single-post li::marker {
  color: var(--accent);
}

.single-post strong {
  color: var(--highlight);
  font-weight: 600;
}
[data-theme="green"] .single-post strong,
[data-theme="amber"] .single-post strong {
  color: var(--accent);
}

.single-post code {
  background: var(--bg);
  border: 1px solid var(--primary-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-family: 'Fira Code', monospace;
  color: var(--accent);
}

.single-post blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--text-dim);
  font-style: italic;
}

/* ========================================
   IN-ARTICLE LEGAL DISCLAIMER
   ======================================== */
.legal-disclaimer {
  background: var(--bg);
  border: 1px solid var(--danger);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.legal-disclaimer strong { color: var(--danger); }
[data-theme="modern"] .legal-disclaimer {
  border-left: 3px solid var(--danger);
  border-top: none;
  border-right: none;
  border-bottom: none;
  background: var(--bg-surface);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   SUMMARY TABLE
   ======================================== */
.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.85rem;
}
.summary-table th {
  text-align: left;
  color: var(--accent);
  padding: 0.6rem 0.8rem;
  border-bottom: 2px solid var(--primary-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.summary-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border-dim);
  color: var(--text);
}
.summary-table tr:hover td {
  background: rgba(255,255,255,0.02);
}
[data-theme="modern"] .summary-table th { color: var(--accent); }
[data-theme="modern"] .summary-table td { color: var(--text-dim); }

/* ========================================
   TIP JAR
   ======================================== */
.tip-jar {
  background: var(--bg-surface);
  border: 2px solid var(--highlight);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0 30px rgba(0,255,255,0.1);
}
[data-theme="green"] .tip-jar::before,
[data-theme="amber"] .tip-jar::before {
  content: "┌─ tip_jar.exe ─";
  display: block;
  text-align: left;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--highlight);
  padding-bottom: 0.5rem;
}
[data-theme="modern"] .tip-jar {
  border: 1px solid var(--border);
  box-shadow: none;
  border-radius: var(--radius);
}

.tip-jar h3 {
  color: var(--highlight);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0,255,255,0.5);
}
[data-theme="modern"] .tip-jar h3 {
  text-shadow: none;
}

.tip-jar > p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.tip-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px dashed var(--primary-dark);
  border-radius: var(--radius);
}
.tip-separator {
  color: var(--text-muted);
  font-family: var(--font-display);
}
.tip-crypto {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--primary);
  background: var(--bg);
  border: 1px solid var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.bmac-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.bmac-button:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--glow-accent);
  text-decoration: none;
  border-bottom-color: var(--accent);
}

/* Venmo */
.venmo-options {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px dashed var(--primary-dark);
  border-radius: var(--radius);
}
.venmo-options h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}
.venmo-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.venmo-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--highlight);
  color: var(--highlight);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
  text-decoration: none;
}
.venmo-button:hover {
  background: var(--highlight);
  color: var(--bg);
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0,255,255,0.5);
  border-bottom-color: var(--highlight);
}
.venmo-button.business {
  border-color: var(--primary);
  color: var(--primary);
}
.venmo-button.business:hover {
  background: var(--primary);
  box-shadow: var(--glow);
}
.venmo-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Crypto Addresses */
.crypto-addresses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}
.crypto-option {
  background: var(--bg);
  border: 1px solid var(--primary-dark);
  border-radius: 6px;
  padding: 1.5rem;
  min-width: 250px;
  transition: all 0.3s;
  text-align: center;
}
.crypto-option:hover {
  border-color: var(--highlight);
  box-shadow: 0 0 20px rgba(0,255,65,0.2);
}
.crypto-option h4 {
  color: var(--highlight);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.crypto-option .address {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--primary);
  background: var(--bg-surface);
  padding: 0.75rem;
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius);
  word-break: break-all;
  cursor: pointer;
  user-select: all;
  display: block;
  transition: all 0.2s;
}
.crypto-option .address:hover {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--glow);
  border-bottom-color: transparent;
}
.crypto-option .qr-code {
  margin-top: 1rem;
  width: 100px;
  height: 100px;
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius);
  filter: sepia(100%) hue-rotate(80deg) saturate(300%);
}
[data-theme="amber"] .crypto-option .qr-code {
  filter: sepia(100%) hue-rotate(20deg) saturate(200%);
}
[data-theme="modern"] .crypto-option .qr-code {
  filter: none;
}
.tip-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ========================================
   FAQ / REFERENCE SECTION
   ======================================== */
.reference {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dim);
}
.reference h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
[data-theme="green"] .reference h2::before,
[data-theme="amber"] .reference h2::before {
  content: "## ";
  color: var(--accent);
}

.faq-item { margin-bottom: 1.2rem; }
.faq-q {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.faq-a {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  padding-left: 0.8rem;
  border-left: 2px solid var(--border-dim);
}
[data-theme="modern"] .faq-q { color: var(--highlight); font-weight: 600; }
[data-theme="modern"] .faq-a { color: var(--text-muted); }

/* ========================================
   FOOTER — └─ EOF ─
   ======================================== */
footer {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-top: 4px solid var(--primary);
  color: var(--text);
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  position: relative;
}
[data-theme="green"] footer::before,
[data-theme="amber"] footer::before {
  content: "└─ EOF ─";
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
[data-theme="modern"] footer {
  border: none;
  border-top: 1px solid var(--border);
  background: transparent;
  text-align: left;
  padding: 1.5rem 0;
}

.disclaimer, .footer-disclaimer {
  background: var(--bg);
  border: 1px solid var(--danger);
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.disclaimer strong, .footer-disclaimer strong { color: var(--danger); }
[data-theme="modern"] .disclaimer,
[data-theme="modern"] .footer-disclaimer {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

footer .copyright {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 1rem;
}

/* RSS link */
.rss-link {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: all 0.3s;
}
[data-theme="green"] .rss-link::before,
[data-theme="amber"] .rss-link::before {
  content: "◎ ";
}
.rss-link:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--glow-accent);
  border-bottom-color: var(--accent);
}

/* ========================================
   CURSOR BLINK
   ======================================== */
.cursor::after {
  content: "█";
  animation: cursor-blink 1s infinite;
  color: var(--primary);
  margin-left: 2px;
}
@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Header flicker — terminal themes only */
[data-theme="green"] h1, [data-theme="green"] h2, [data-theme="green"] h3,
[data-theme="amber"] h1, [data-theme="amber"] h2, [data-theme="amber"] h3 {
  animation: flicker 4s infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.8; }
  94% { opacity: 1; }
  96% { opacity: 0.9; }
  97% { opacity: 1; }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 12px; background: var(--bg); }
::-webkit-scrollbar-track { background: var(--bg-surface); border: 1px solid var(--primary-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  body { padding: 10px; }
  header h1 { font-size: 1.5rem; }
  header::before, header::after { display: none; }
  nav ul { flex-direction: column; gap: 0.5rem; }
  .posts-list article { padding: 1rem; }
  .single-post article { padding: 1rem; }
  .venmo-buttons { flex-direction: column; }
  .theme-switcher { top: 0.5rem; right: 0.5rem; }
  .summary-table { font-size: 0.75rem; }
  .summary-table th, .summary-table td { padding: 0.4rem; }
}
