/* ── RESET & TOKENS ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080c10;
  --bg2: #0d1117;
  --bg3: #111820;
  --surface: #141c26;
  --surface2: #1a2436;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --accent: #00e5a0;
  --accent2: #00b87a;
  --accent-dim: rgba(0,229,160,0.1);
  --accent-dim2: rgba(0,229,160,0.05);
  --text: #e8edf5;
  --text2: #8a9ab5;
  --text3: #556070;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,160,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,160,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(8,12,16,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--bg) !important;
  background: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent2) !important; color: var(--bg) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-hamburger:hover span { background: var(--text); }

/* ── FLASH BAR ──────────────────────────────────────────────────────────── */
.flash-bar {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  z-index: 99;
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 2rem;
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text2);
  background: transparent;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border2);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,160,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,160,0.2);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 .line2 { display: block; color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── SECTIONS ───────────────────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text2);
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 300;
}
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── CATEGORIES ─────────────────────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.category-card {
  background: var(--bg2);
  padding: 1.75rem 1.5rem;
  transition: background 0.2s;
}
.category-card:hover { background: var(--surface); }
.cat-icon { font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.cat-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.cat-desc { font-size: 0.8rem; color: var(--text3); line-height: 1.5; }

/* ── TOOL CARDS ─────────────────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
}
.tool-card:hover { border-color: rgba(0,229,160,0.25); transform: translateY(-2px); }
.tools-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.tools-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  color: var(--text2);
  font-weight: 300;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}
.tool-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.tool-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.tool-badge {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.15);
  white-space: nowrap;
}
.tool-desc {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 1rem;
  font-weight: 300;
}
.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text3);
}
.tool-arrow { color: var(--accent); font-size: 0.9rem; }

/* ── CONTENT TYPES ──────────────────────────────────────────────────────── */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.content-type {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.content-type:first-child {
  grid-column: 1 / -1;
  background: var(--surface);
  border-color: rgba(0,229,160,0.12);
}
.ct-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.ct-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.ct-desc { font-size: 0.83rem; color: var(--text2); font-weight: 300; line-height: 1.5; }

/* ── ABOUT ──────────────────────────────────────────────────────────────── */
.about-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  font-size: 0.95rem;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-pillars { display: flex; flex-direction: column; gap: 1rem; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.pillar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.pillar-title { font-weight: 500; font-size: 0.9rem; color: var(--text); margin-bottom: 0.2rem; }
.pillar-desc { font-size: 0.8rem; color: var(--text3); font-weight: 300; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  max-width: 1200px;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text2); }
.footer-copy { font-size: 0.8rem; color: var(--text3); }

/* ── ARTICLE PAGE ───────────────────────────────────────────────────────── */
.article-wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
}
.article-header { margin-bottom: 2.5rem; }
.article-category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.article-date {
  font-size: 0.8rem;
  color: var(--text3);
  margin-left: 1rem;
}
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 1rem 0 0.75rem;
  animation: none;
}
.article-intro {
  font-size: 1.05rem;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.7;
}

/* Article body typography */
.article-body { font-size: 1rem; line-height: 1.8; color: var(--text); }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
  animation: none;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  color: var(--text);
}
.article-body p { margin-bottom: 1.25rem; color: var(--text2); font-weight: 300; }
.article-body strong { color: var(--text); font-weight: 500; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--accent2); }
.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--text2);
  font-weight: 300;
}
.article-body li { margin-bottom: 0.4rem; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.article-body th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border2);
}
.article-body td {
  padding: 0.65rem 1rem;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  font-weight: 300;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body code {
  background: var(--surface);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--accent);
}
.article-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.article-body pre code { background: none; padding: 0; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--text2);
  font-style: italic;
}
.article-body hr {
  border: none;
  border-top: 1px solid rgba(138, 154, 181, 0.35);
  margin: 2.5rem auto;
  position: relative;
  overflow: visible;
}
.article-body hr::after {
  content: "✳";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 0 0.75rem;
  color: var(--text2);
  font-size: 1.1rem;
  opacity: 0.7;
}

/* Affiliate disclosure */
.affiliate-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 3rem;
  font-size: 0.825rem;
  color: var(--text3);
  line-height: 1.5;
}
.affiliate-disclosure strong { color: var(--text2); }
.disclosure-icon {
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Related articles */
.related-articles { margin-top: 3rem; }
.related-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: none;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.2s;
}
.related-card:hover { border-color: rgba(0,229,160,0.25); }
.related-category { font-size: 0.7rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.related-heading { font-size: 0.875rem; color: var(--text); font-weight: 500; line-height: 1.4; }
.related-arrow { font-size: 0.8rem; color: var(--accent); margin-top: 0.25rem; }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.error-page {
  position: relative;
  z-index: 1;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: var(--surface2);
  line-height: 1;
}
.error-page h1 { font-size: 1.5rem; animation: none; }
.error-page p { color: var(--text2); font-weight: 300; }

/* ── ARTICLES LIST PAGE ─────────────────────────────────────────────────── */
.articles-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 5.5rem 2rem 6rem;
}
.articles-hero {
  margin-bottom: 3rem;
}
.articles-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.5rem 0 0.75rem;
  animation: none;
  color: var(--text);
}
.articles-page-sub {
  font-size: 1rem;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.7;
}
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.article-list-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}
.article-list-item:last-child { border-bottom: none; }
.article-list-item:hover { background: var(--surface); }
.ali-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
}
.ali-category {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ali-date { color: var(--text3); }
.ali-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.ali-desc {
  font-size: 0.875rem;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}
.ali-read {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.25rem;
}
.articles-empty {
  color: var(--text2);
  font-weight: 300;
  padding: 3rem 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 0 1rem;
}

.page-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.page-btn:hover {
  background: rgba(0, 229, 160, 0.07);
  border-color: var(--accent);
}

.page-btn--disabled {
  color: var(--text2);
  border-color: var(--border);
  cursor: default;
  opacity: 0.4;
}

.page-indicator {
  color: var(--text2);
  font-size: 0.875rem;
}

/* ── ADMIN LAYOUT ───────────────────────────────────────────────────────── */
.admin-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(8,12,16,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 1rem;
}
.admin-header .logo { font-size: 1.1rem; }
.admin-header-actions { display: flex; gap: 1.5rem; align-items: center; }
.admin-back {
  font-size: 0.875rem;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.admin-back:hover { color: var(--text); }
.admin-link {
  font-size: 0.875rem;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.admin-link:hover { color: var(--text); }
.admin-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}
.admin-page-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  animation: none;
}

/* Admin sections */
.admin-section { margin-bottom: 2.5rem; }
.admin-section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 0.75rem;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.pending-dot { background: #f59e0b; }
.published-dot { background: var(--accent); }
.pending-label { color: #f59e0b; }

/* Admin list */
.admin-list {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  gap: 1rem;
}
.admin-list-item:last-child { border-bottom: none; }
.admin-list-item.revision { background: rgba(245,158,11,0.04); border-left: 3px solid #f59e0b; }
.admin-list-item.published { background: var(--bg); }

.admin-item-info { flex: 1; min-width: 0; }
.admin-item-title {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text3);
}
.item-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text2);
}
.revision-badge { border-color: rgba(245,158,11,0.3); color: #f59e0b; background: rgba(245,158,11,0.08); }
.admin-notes { font-size: 0.8rem; color: #f59e0b; margin-top: 0.4rem; font-style: italic; }
.admin-item-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.admin-btn-review {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}
.admin-btn-review:hover { color: var(--accent2); }
.admin-btn-ghost {
  background: none;
  border: 1px solid var(--border2);
  color: var(--text3);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  font-family: var(--font-body);
}
.admin-btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

.admin-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text2);
  font-weight: 300;
}
.admin-empty-sub { font-size: 0.85rem; color: var(--text3); margin-top: 0.4rem; }

/* ── ADMIN LOGIN ────────────────────────────────────────────────────────── */
.admin-login-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.admin-login-sub {
  font-size: 0.85rem;
  color: var(--text3);
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-login-wrap form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 340px;
}
.admin-login-wrap input[type="password"] {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.admin-login-wrap input[type="password"]:focus { border-color: var(--accent); }
.admin-login-wrap button[type="submit"] {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.admin-login-wrap button[type="submit"]:hover { background: var(--accent2); }

/* ── REVIEW PAGE ────────────────────────────────────────────────────────── */
.review-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: calc(100vh - 57px);
}
.review-sidebar {
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  overflow-y: auto;
  position: sticky;
  top: 57px;
  max-height: calc(100vh - 57px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg2);
}
.review-sidebar-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  animation: none;
}
.field-group { display: flex; flex-direction: column; gap: 0.35rem; }
.field-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field-hint { font-weight: 300; text-transform: none; letter-spacing: 0; color: var(--text3); }
.field-group input[type="text"],
.field-group textarea,
.field-group select {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus { border-color: var(--accent); }
.field-group select { appearance: none; cursor: pointer; }
.slug-preview {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0 0.85rem;
  font-size: 0.8rem;
  color: var(--text3);
  transition: border-color 0.2s;
}
.slug-preview:focus-within { border-color: var(--accent); }
.slug-preview input {
  background: none;
  border: none;
  padding: 0.6rem 0 0.6rem 0.25rem;
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--font-body);
  width: 100%;
  outline: none;
}
.review-meta-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text3);
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.review-btn-approve {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.review-btn-approve:hover { background: var(--accent2); }
.review-notes-field {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  width: 100%;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
.review-notes-field:focus { border-color: var(--accent); }
.review-btn-changes {
  background: var(--surface);
  color: var(--text2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.2s, color 0.2s;
}
.review-btn-changes:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }
.review-btn-discard {
  background: none;
  border: none;
  color: var(--text3);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.review-btn-discard:hover { color: #ef4444; }
.review-preview {
  padding: 2rem 3rem;
  overflow-y: auto;
  position: sticky;
  top: 57px;
  max-height: calc(100vh - 57px);
}
.review-preview-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 1.5rem;
}
.review-article-body { max-width: 680px; }
.review-article-body h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1rem;
  animation: none;
  color: var(--text);
}

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 57px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  section { padding: 3rem 1.5rem; }
  .about-wrap { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .content-row { grid-template-columns: 1fr; }
  .content-type:first-child { grid-column: auto; }
  footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  /* Article */
  .article-wrap { padding: 5.5rem 1.25rem 3rem; }

  /* Admin review: stack on mobile */
  .review-layout { grid-template-columns: 1fr; }
  .review-sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .review-preview { padding: 1.5rem; }

  /* Admin dashboard */
  .admin-main { padding: 1.5rem 1rem; }
  .admin-list-item { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .admin-item-actions { width: 100%; justify-content: flex-start; }
  .admin-btn-review { padding: 0.5rem 1rem; background: var(--accent-dim); border: 1px solid rgba(0,229,160,0.2); border-radius: 6px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
  .tools-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
}

/* ── REVIEW: fact-check panel ───────────────────────────────────────────── */
.fact-check-panel {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 1.1rem 1.3rem;
  background: rgba(0, 229, 160, 0.05);
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: 14px;
}
.fact-check-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.6rem;
}
.fact-check-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.55;
}
.fact-check-list li { margin-bottom: 0.3rem; }
