/* ===== SkillForge — Neo-Brutalist Design System ===== */
/* Inspired by coffeehostweb: hard borders, offset shadows, pixel fonts, zero radius */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'VT323', 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #86471b; color: #fff; }
a { color: #86471b; text-decoration: none; transition: none; }
a:hover { color: #5a3112; }

/* ===== Layout ===== */
.container { width: min(1200px, 92%); margin-inline: auto; padding-inline: 16px; }
.container-sm { width: min(800px, 92%); margin-inline: auto; padding-inline: 16px; }

/* ===== Navigation ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 3px solid #000;
  padding: 0;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'VT323', monospace;
  font-weight: 700; font-size: 24px; color: #000;
  letter-spacing: 0.02em;
}
.nav-brand .brand-icon {
  width: 40px; height: 40px;
  border: 3px solid #000;
  background: #86471b;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 14px; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: 'Press Start 2P', monospace;
  color: #000; font-size: 10px; font-weight: 400;
  padding: 8px 14px;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: none;
}
.nav-links a:hover, .nav-links a.active {
  color: #86471b;
  text-decoration: none;
}
.nav-links .btn-nav {
  background: #86471b; color: #fff;
  border: 3px solid #000;
  padding: 8px 18px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.1em;
  box-shadow: 4px 4px 0px #000;
}
.nav-links .btn-nav:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}
.mobile-menu {
  display: none; background: none;
  border: 2px solid #000; color: #000;
  font-size: 24px; cursor: pointer; padding: 4px 8px;
}
.mobile-menu:hover { background: #000; color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  background: #fff;
  border-bottom: 3px solid #000;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.04;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 2px solid #000;
  padding: 6px 16px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px; color: #000;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 28px;
  box-shadow: 3px 3px 0px #000;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #86471b;
  animation: pixel-blink 1.5s steps(2) infinite;
}
@keyframes pixel-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero h1 {
  font-family: 'VT323', monospace;
  font-size: clamp(48px, 8vw, 96px); font-weight: 400;
  line-height: 0.95; letter-spacing: -0.01em;
  color: #000; margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 .gradient-text {
  color: #86471b;
  background: none;
  -webkit-text-fill-color: #86471b;
}
.hero p.subtitle {
  font-family: 'VT323', monospace;
  font-size: clamp(20px, 2.5vw, 28px);
  color: #000; opacity: 0.7;
  max-width: 640px; margin: 0 auto 36px;
  line-height: 1.4;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Stats Bar ===== */
.stats-bar {
  display: flex; gap: 48px; justify-content: center;
  padding: 48px 0 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'VT323', monospace;
  font-size: 48px; font-weight: 400; color: #86471b;
  line-height: 1.1;
}
.stat-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px; color: #000; opacity: 0.5;
  margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Press Start 2P', monospace;
  font-weight: 400; font-size: 11px;
  border: 3px solid #000;
  padding: 14px 24px; cursor: pointer;
  transition: none;
  text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: #86471b; color: #fff;
  box-shadow: 6px 6px 0px #000;
}
.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0px #000;
  color: #fff;
}
.btn-primary:active {
  transform: translate(6px, 6px);
  box-shadow: none;
}
.btn-secondary {
  background: #fff; color: #000;
  box-shadow: 6px 6px 0px #000;
}
.btn-secondary:hover {
  background: #000; color: #fff;
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0px #000;
}
.btn-danger {
  background: #991b1b; color: #fff;
  border-color: #000;
  box-shadow: 6px 6px 0px #000;
}
.btn-danger:hover {
  background: #b91c1c;
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0px #000;
  color: #fff;
}
.btn-sm {
  padding: 8px 16px; font-size: 9px;
}
.btn-ghost {
  background: transparent; color: #000;
  border: 3px solid transparent;
  box-shadow: none;
  padding: 8px 12px;
}
.btn-ghost:hover { background: #000; color: #fff; border-color: #000; }

/* ===== Sections ===== */
.section { padding: 80px 0; border-bottom: 3px solid #000; }
.section:nth-child(even) { background: #000; color: #fff; }
.section:nth-child(even) .section-header h2 { color: #fff; }
.section:nth-child(even) .section-header p { color: rgba(255,255,255,.6); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: 'VT323', monospace;
  font-size: clamp(36px, 5vw, 56px); font-weight: 400;
  color: #000;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-header p {
  font-family: 'VT323', monospace;
  color: rgba(0,0,0,.6); font-size: 22px;
  max-width: 560px; margin-inline: auto;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 3px solid #000;
  padding: 28px;
  box-shadow: 6px 6px 0px #000;
  transition: none;
}
.feature-card:hover {
  transform: translate(-2px, -4px);
  box-shadow: 8px 10px 0px #000;
}
.section:nth-child(even) .feature-card {
  background: #000;
  border-color: rgba(255,255,255,.2);
  box-shadow: 6px 6px 0px rgba(255,255,255,.1);
  color: #fff;
}
.feature-icon {
  width: 48px; height: 48px;
  border: 3px solid #000;
  background: #86471b;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
  box-shadow: 4px 4px 0px #000;
  color: #fff;
}
.feature-icon.purple, .feature-icon.blue, .feature-icon.green,
.feature-icon.amber, .feature-icon.rose, .feature-icon.cyan {
  background: #86471b; color: #fff;
}
.section:nth-child(even) .feature-icon {
  border-color: rgba(255,255,255,.3);
  box-shadow: 4px 4px 0px rgba(255,255,255,.1);
}
.feature-card h3 {
  font-family: 'VT323', monospace;
  font-size: 24px; font-weight: 400; color: #000;
  margin-bottom: 8px; text-transform: uppercase;
}
.section:nth-child(even) .feature-card h3 { color: #fff; }
.feature-card p {
  font-family: 'VT323', monospace;
  font-size: 18px; color: rgba(0,0,0,.7); line-height: 1.4;
}
.section:nth-child(even) .feature-card p { color: rgba(255,255,255,.6); }

/* ===== Categories ===== */
.categories-flex { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.category-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 2px solid #000;
  padding: 8px 18px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px; color: #000;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: none; cursor: pointer;
  box-shadow: 3px 3px 0px #000;
}
.category-chip:hover, .category-chip.active {
  background: #86471b; color: #fff;
  border-color: #000;
  text-decoration: none;
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px #000;
}
.category-chip .count {
  background: rgba(0,0,0,.1);
  padding: 2px 8px; font-size: 9px; color: rgba(0,0,0,.6);
}
.category-chip:hover .count, .category-chip.active .count {
  background: rgba(255,255,255,.2); color: rgba(255,255,255,.8);
}

/* ===== Skill Cards (Marketplace) ===== */
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}
.skill-card {
  background: #fff;
  border: 3px solid #000;
  padding: 24px;
  display: flex; flex-direction: column;
  box-shadow: 6px 6px 0px #000;
  transition: none;
}
.skill-card:hover {
  transform: translate(-2px, -4px);
  box-shadow: 8px 10px 0px #000;
}
.skill-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 12px;
}
.skill-card h3 {
  font-family: 'VT323', monospace;
  font-size: 24px; font-weight: 400; color: #000; margin: 0;
}
.skill-card h3 a { color: #000; }
.skill-card h3 a:hover { color: #86471b; }
.skill-card .category-tag {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; color: #86471b;
  background: rgba(134,71,27,.08);
  border: 2px solid #86471b;
  padding: 4px 10px;
  text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
}
.skill-card .description {
  font-family: 'VT323', monospace;
  font-size: 18px; color: rgba(0,0,0,.7); line-height: 1.4;
  flex: 1; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.skill-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 3px solid #000;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; color: rgba(0,0,0,.5);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.skill-card-footer .author { display: flex; align-items: center; gap: 6px; }
.author-avatar {
  width: 24px; height: 24px;
  background: #86471b;
  border: 2px solid #000;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px; color: #fff; font-weight: 400;
}

/* ===== Search & Filters ===== */
.search-bar { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.search-input-wrap { flex: 1; min-width: 260px; position: relative; }
.search-input-wrap .search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: rgba(0,0,0,.4); font-size: 16px; pointer-events: none;
}
.search-input {
  width: 100%; padding: 12px 14px 12px 42px;
  background: #fff;
  border: 3px solid #000;
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 20px; outline: none;
  transition: none;
}
.search-input:focus { border-color: #86471b; box-shadow: 4px 4px 0px #86471b; }
.search-input::placeholder { color: rgba(0,0,0,.3); }
.filter-select {
  padding: 12px 16px;
  background: #fff;
  border: 3px solid #000;
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 20px; cursor: pointer; outline: none;
  min-width: 160px;
}
.filter-select:focus { border-color: #86471b; }
.filter-select option { background: #fff; color: #000; }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 60px 20px; color: rgba(0,0,0,.5); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .6; }
.empty-state h3 {
  font-family: 'VT323', monospace;
  font-size: 28px; color: #000; margin-bottom: 8px; font-weight: 400;
}
.empty-state p { font-family: 'VT323', monospace; font-size: 20px; margin-bottom: 20px; }

/* ===== Skill Detail ===== */
.skill-detail-header {
  padding: 48px 0 32px;
  border-bottom: 3px solid #000;
  margin-bottom: 32px;
}
.skill-detail-header h1 {
  font-family: 'VT323', monospace;
  font-size: clamp(36px, 5vw, 56px); font-weight: 400; color: #000;
  margin-bottom: 12px; text-transform: uppercase;
}
.skill-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-family: 'VT323', monospace;
  font-size: 20px; color: rgba(0,0,0,.6);
}
.skill-meta .meta-item { display: flex; align-items: center; gap: 6px; }
.code-block {
  background: #000; color: #86471b;
  border: 3px solid #000;
  padding: 24px;
  font-family: 'VT323', monospace;
  font-size: 18px; line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
}

/* ===== Forms ===== */
.form-section {
  background: #fff;
  border: 3px solid #000;
  padding: 32px;
  box-shadow: 6px 6px 0px #000;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px; font-weight: 400;
  color: #000; margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  background: #fff;
  border: 3px solid #000;
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 20px;
  outline: none; transition: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: #86471b;
  box-shadow: 4px 4px 0px #86471b;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(0,0,0,.3); }
.form-textarea { resize: vertical; line-height: 1.5; }
.form-hint {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; color: rgba(0,0,0,.4); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.form-error {
  background: #fff;
  border: 3px solid #991b1b;
  padding: 12px 16px;
  color: #991b1b;
  font-family: 'VT323', monospace;
  font-size: 20px; margin-bottom: 16px;
  box-shadow: 4px 4px 0px #991b1b;
}

/* ===== Result Page ===== */
.result-card {
  text-align: center; padding: 48px 32px;
  background: #fff;
  border: 3px solid #000;
  max-width: 520px; margin: 48px auto;
  box-shadow: 6px 6px 0px #000;
}
.result-icon { font-size: 56px; margin-bottom: 20px; }
.result-card h2 {
  font-family: 'VT323', monospace;
  font-size: 36px; font-weight: 400; color: #000; margin-bottom: 12px;
  text-transform: uppercase;
}
.result-card p {
  font-family: 'VT323', monospace;
  font-size: 20px; color: rgba(0,0,0,.7); margin-bottom: 24px; line-height: 1.4;
}

/* ===== Badges ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border: 2px solid #000;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; font-weight: 400; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.badge.published { background: #86471b; color: #fff; border-color: #86471b; }
.badge.pending { background: #fff; color: #000; }
.badge.flagged { background: #f59e0b; color: #000; border-color: #f59e0b; }
.badge.rejected { background: #991b1b; color: #fff; border-color: #991b1b; }
.badge.approved { background: #86471b; color: #fff; border-color: #86471b; }

/* ===== Admin Panel ===== */
.admin-layout { padding: 32px 0; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 3px solid #000;
}
.admin-header h1 {
  font-family: 'VT323', monospace;
  font-size: clamp(36px, 5vw, 48px); font-weight: 400; color: #000;
  text-transform: uppercase;
}

.admin-card {
  background: #fff;
  border: 3px solid #000;
  padding: 24px; margin-bottom: 18px;
  box-shadow: 6px 6px 0px #000;
}
.admin-card h3 {
  font-family: 'VT323', monospace;
  font-size: 28px; font-weight: 400; color: #000;
  margin-bottom: 12px; text-transform: uppercase;
}
.admin-card .subtitle {
  font-family: 'VT323', monospace;
  font-size: 18px; color: rgba(0,0,0,.5); margin-bottom: 16px;
}

.review-item {
  background: #fff;
  border: 3px solid #000;
  padding: 24px; margin-bottom: 14px;
  box-shadow: 4px 4px 0px #000;
  transition: none;
}
.review-item:hover {
  transform: translate(-1px, -2px);
  box-shadow: 5px 6px 0px #000;
}
.review-item-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.review-item h3 {
  font-family: 'VT323', monospace;
  font-size: 24px; font-weight: 400; color: #000; margin: 0;
}
.review-item .item-meta {
  font-family: 'VT323', monospace;
  font-size: 18px; color: rgba(0,0,0,.5); margin-bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.risk-meter {
  width: 100%; height: 8px; background: rgba(0,0,0,.1);
  border: 2px solid #000;
  margin: 8px 0; overflow: hidden;
}
.risk-meter-fill { height: 100%; transition: width .3s; }
.risk-low { background: #27ae60; }
.risk-medium { background: #f39c12; }
.risk-high { background: #e74c3c; }

.review-actions {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding-top: 16px; border-top: 3px solid #000;
  margin-top: 16px;
}

/* Audit log */
.audit-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 2px solid rgba(0,0,0,.1);
}
.audit-item:last-child { border-bottom: none; }
.audit-dot {
  width: 10px; height: 10px;
  border: 2px solid #000;
  margin-top: 6px; flex-shrink: 0;
}
.audit-dot.update { background: #86471b; }
.audit-dot.rollback { background: #f39c12; }
.audit-dot.bootstrap { background: #808080; }
.audit-item-content { flex: 1; min-width: 0; }
.audit-item-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.audit-id {
  font-family: 'Press Start 2P', monospace;
  font-weight: 400; color: #000; font-size: 9px;
}
.audit-action {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; font-weight: 400; text-transform: uppercase;
  padding: 3px 8px; border: 2px solid #000;
}
.audit-action.update { background: #86471b; color: #fff; }
.audit-action.rollback { background: #f39c12; color: #000; }
.audit-action.bootstrap { background: rgba(0,0,0,.1); color: #000; }
.audit-actor {
  font-family: 'VT323', monospace;
  font-size: 18px; color: rgba(0,0,0,.6);
}
.audit-summary {
  font-family: 'VT323', monospace;
  font-size: 18px; color: rgba(0,0,0,.5); margin-top: 4px;
}
.audit-time {
  font-family: 'VT323', monospace;
  font-size: 16px; color: rgba(0,0,0,.4);
}
.audit-links { display: flex; gap: 12px; margin-top: 6px; }
.audit-links a {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; color: #86471b;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* Policy editor */
.policy-editor {
  width: 100%; min-height: 360px; padding: 16px;
  background: #000; color: #86471b;
  border: 3px solid #000;
  font-family: 'VT323', monospace;
  font-size: 18px; line-height: 1.5;
  resize: vertical; outline: none; tab-size: 2;
}
.policy-editor:focus { border-color: #86471b; box-shadow: 4px 4px 0px #86471b; }

/* Diff display */
.diff-pre {
  background: #000; color: #86471b;
  border: 3px solid #000;
  padding: 16px;
  font-family: 'VT323', monospace;
  font-size: 16px; line-height: 1.5;
  overflow-x: auto; white-space: pre-wrap;
}
.diff-section-block {
  margin: 16px 0; padding: 16px;
  background: rgba(0,0,0,.03);
  border: 2px solid #000;
}
.diff-columns {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 12px;
}
.diff-col { min-width: 0; }
.diff-col h5 {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; font-weight: 400; color: rgba(0,0,0,.5);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px;
}

.rollback-preview-card {
  background: rgba(243,156,18,.06);
  border: 3px solid #f39c12;
  padding: 24px; margin-top: 20px;
  box-shadow: 4px 4px 0px #f39c12;
}
.rollback-preview-card h4 {
  font-family: 'VT323', monospace;
  font-size: 24px; font-weight: 400; color: #f39c12; margin-bottom: 12px;
}

/* ===== Audit Detail ===== */
.audit-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px; margin: 16px 0;
}
.audit-detail-item {
  background: rgba(0,0,0,.03);
  border: 2px solid #000;
  padding: 14px;
}
.audit-detail-item .label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; color: rgba(0,0,0,.4); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.audit-detail-item .value {
  font-family: 'VT323', monospace;
  font-size: 22px; color: #000; font-weight: 400;
}

/* ===== Toast / Alerts ===== */
.alert {
  padding: 14px 18px;
  border: 3px solid #000;
  font-family: 'VT323', monospace;
  font-size: 20px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #fff; border-color: #27ae60; color: #27ae60; box-shadow: 4px 4px 0px #27ae60; }
.alert-info { background: #fff; border-color: #86471b; color: #86471b; box-shadow: 4px 4px 0px #86471b; }
.alert-warning { background: #fff; border-color: #f39c12; color: #f39c12; box-shadow: 4px 4px 0px #f39c12; }
.alert-error { background: #fff; border-color: #e74c3c; color: #e74c3c; box-shadow: 4px 4px 0px #e74c3c; }

/* ===== Footer ===== */
.site-footer {
  background: #000; color: #fff;
  border-top: 3px solid #000;
  padding: 48px 0 32px; margin-top: 0;
}
.site-footer .nav-brand { color: #fff; }
.site-footer .brand-icon { border-color: rgba(255,255,255,.3); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand p {
  font-family: 'VT323', monospace;
  color: rgba(255,255,255,.5); font-size: 18px; margin-top: 12px; line-height: 1.4;
}
.footer-col h4 {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px; font-weight: 400; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-family: 'VT323', monospace;
  color: rgba(255,255,255,.4); font-size: 18px;
  padding: 4px 0; transition: none;
}
.footer-col a:hover { color: #86471b; text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 2px solid rgba(255,255,255,.1);
  font-family: 'Press Start 2P', monospace;
  font-size: 8px; color: rgba(255,255,255,.3);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center; padding: 80px 0;
  position: relative;
  background: #86471b;
  border-bottom: 3px solid #000;
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'VT323', monospace;
  font-size: clamp(36px, 5vw, 56px); font-weight: 400; color: #fff;
  margin-bottom: 12px; text-transform: uppercase;
}
.cta-section p {
  font-family: 'VT323', monospace;
  color: rgba(255,255,255,.7); font-size: 22px; margin-bottom: 28px;
}
.cta-section .btn-primary {
  background: #fff; color: #86471b; border-color: #000;
}
.cta-section .btn-primary:hover {
  background: #000; color: #fff;
}

/* ===== How It Works ===== */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; position: relative;
}
.step-card {
  text-align: center; padding: 32px 20px; position: relative;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 6px 6px 0px #000;
}
.step-number {
  width: 56px; height: 56px;
  background: #86471b; color: #fff;
  border: 3px solid #000;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 16px; font-weight: 400;
  margin: 0 auto 16px;
  box-shadow: 4px 4px 0px #000;
}
.step-card h3 {
  font-family: 'VT323', monospace;
  font-size: 24px; font-weight: 400; color: #000;
  margin-bottom: 8px; text-transform: uppercase;
}
.step-card p {
  font-family: 'VT323', monospace;
  font-size: 18px; color: rgba(0,0,0,.6);
}

/* ===== Page Title ===== */
.page-title-section {
  padding: 48px 0 24px;
  border-bottom: 3px solid #000;
  margin-bottom: 32px;
}
.page-title-section h1 {
  font-family: 'VT323', monospace;
  font-size: clamp(36px, 5vw, 56px); font-weight: 400; color: #000;
  margin-bottom: 8px; text-transform: uppercase;
}
.page-title-section p {
  font-family: 'VT323', monospace;
  color: rgba(0,0,0,.6); font-size: 22px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px; color: rgba(0,0,0,.5);
  margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.breadcrumb a { color: rgba(0,0,0,.5); }
.breadcrumb a:hover { color: #86471b; }
.breadcrumb .sep { color: rgba(0,0,0,.2); }

/* ===== Details/Summary ===== */
details { margin-bottom: 12px; }
details summary {
  cursor: pointer;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px; font-weight: 400;
  color: #000; padding: 10px 0;
  list-style: none;
  display: flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: none;
}
details summary:hover { color: #86471b; }
details summary::before { content: '\25B6'; font-size: 10px; transition: transform .15s; }
details[open] summary::before { transform: rotate(90deg); }
details summary::-webkit-details-marker { display: none; }

/* ===== Loading ===== */
.loading { text-align: center; padding: 60px 20px; color: rgba(0,0,0,.5); }
.spinner {
  width: 40px; height: 40px;
  border: 4px solid rgba(0,0,0,.1);
  border-top-color: #86471b;
  animation: spin .8s steps(8) infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 64px 0 48px; }
  .stats-bar { gap: 24px; flex-wrap: wrap; }
  .stat-number { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .diff-columns { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.show {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; padding: 16px;
    border-bottom: 3px solid #000;
    box-shadow: 0 6px 0px #000;
  }
  .mobile-menu { display: block; }
  .admin-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .review-item-header { flex-direction: column; }
}
