/* ============================================================
   Reset & Base  
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   Design Tokens (Siccsegv Theme)
   ============================================================ */

:root {
  --bg:       #13140f;
  --fg:       #fefefe;
  --accent:   #14C38E;
  --accent2:  #d4ff00;
  --orange:   #f79f99;
  --blue:     #89b4fa;
  --green:    #a6e3a1;
  --muted:    #cacaca;
  --card-bg:  #1c1d17;
  --border:   rgba(255, 255, 255, 0.12);
  --header-bg: rgba(19, 20, 15, 0.95);
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Inter', sans-serif;
  --section-padding: clamp(3rem, 6vw, 6rem);
}

/* ============================================================
   Global Styles
   ============================================================ */

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent2);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

/* ============================================================
   Header
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
}

.logo i {
  color: var(--accent);
  font-size: 1.5rem;
}

.blog-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}

.nav a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent) !important;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

.nav-label {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0;
}

.nav-label:hover { color: var(--accent); }

.nav-mobile {
  display: none;
}

/* ============================================================
   Layout
   ============================================================ */

main {
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding) 0;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(20, 195, 142, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 900px;
}

.terminal-prompt {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.prompt-symbol {
  color: var(--accent);
  margin-right: 0.5rem;
}

.prompt-text {
  color: var(--fg);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  color: var(--accent);
}

/* Blinking Cursor */
.cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
  font-weight: 400;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 800px;
}

/* ============================================================
   Section Badge
   ============================================================ */

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(20, 195, 142, 0.15);
  border: 1px solid rgba(20, 195, 142, 0.4);
  border-radius: 6px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
}

.badge-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================================
   Featured Post
   ============================================================ */

.featured-section {
  padding: 4rem 0;
}

.featured-post {
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 3rem;
  transition: all 0.3s;
}

.featured-post:hover {
  box-shadow: 0 12px 40px rgba(20, 195, 142, 0.2);
  transform: translateY(-4px);
}

.post-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

.post-meta i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.post-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.post-title a {
  color: var(--fg);
}

.post-title a:hover {
  color: var(--accent);
}

.post-excerpt {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(254, 254, 254, 0.85);
  margin-bottom: 2rem;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.post-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  background: rgba(20, 195, 142, 0.1);
  border: 1px solid rgba(20, 195, 142, 0.3);
  border-radius: 50px;
  color: var(--accent);
  transition: all 0.3s;
}

.tag:hover {
  background: var(--accent);
  color: var(--bg);
}

.read-more {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.read-more:hover {
  gap: 0.75rem;
}

/* ==============================
   Posts Section
   ============================== */

.posts-section {
  padding: 3rem 0 4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.section-title {
  font-size: 2rem;
}

.filter-tabs {
  display: flex;
  gap: 1rem;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-tab.active {
  background: rgba(20, 195, 142, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.post-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: rgba(20, 195, 142, 0.15);
  color: var(--accent);
  border: 1px solid rgba(20, 195, 142, 0.3);
}

.status-badge.new {
  animation: pulse 2s infinite;
}

.status-badge.archive {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border-color: var(--border);
  animation: none;
}

.post-date-small {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.post-card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.post-card-title a {
  color: var(--fg);
}

.post-card-title a:hover {
  color: var(--accent);
}

.post-card-excerpt {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.post-tags-small {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.tag-small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  transition: all 0.3s;
}

.tag-small:hover {
  background: rgba(20, 195, 142, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.read-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.read-time i {
  color: var(--accent);
  margin-right: 0.25rem;
}

/* Load More */
.load-more-section {
  text-align: center;
  margin-top: 4rem;
}

.btn-load-more {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-load-more:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Terminal Section */
.ascii-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(20, 195, 142, 0.02) 0%, transparent 50%, rgba(212, 255, 0, 0.02) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ascii-container {
  max-width: 1000px;
  margin: 0 auto;
}

.ascii-art {
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--accent);
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 2rem;
  overflow-x: auto;
  white-space: pre;
  margin: 0 auto 3rem;
  max-width: fit-content;
  position: relative;
  transition: all 0.3s ease;
  text-align: left;
  letter-spacing: 0;
  tab-size: 4;
}

/* Hover Effects for Main ASCII Art */
.ascii-art:hover {
  box-shadow: 
    0 0 20px rgba(20, 195, 142, 0.3),
    inset 0 0 20px rgba(20, 195, 142, 0.1);
  border-color: var(--accent2);
  transform: scale(1.02);
}

/* Terminal Flicker Effect (Subtle) */
.ascii-art {
  animation: terminal-flicker 8s ease-in-out infinite;
}

@keyframes terminal-flicker {
  0%, 100% { opacity: 1; }
  94% { opacity: 1; }
  95% { opacity: 0.92; }
  95.5% { opacity: 1; }
  96% { opacity: 0.95; }
  96.5% { opacity: 1; }
}

/* Typing Cursor at End of ASCII - DISABLED to fix alignment
.ascii-art::after {
  content: '_';
  color: var(--accent);
  animation: cursor-blink 1s step-end infinite;
  margin-left: 0.5rem;
}
*/

@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.philosophy-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

/* Interactive Hover Effects for Philosophy Cards */
.philosophy-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--accent),
    var(--accent2),
    var(--accent),
    var(--accent2)
  );
  background-size: 300% 300%;
  border-radius: 8px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
  animation: borderFlow 3s linear infinite;
}

.philosophy-card:hover::before {
  opacity: 1;
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.philosophy-card:hover {
  border-color: transparent;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 
    0 12px 30px rgba(20, 195, 142, 0.2),
    inset 0 0 30px rgba(20, 195, 142, 0.05);
}

/* Glowing ASCII boxes on hover */
.philosophy-card:hover .philosophy-ascii {
  text-shadow: 
    0 0 10px var(--accent),
    0 0 20px var(--accent),
    0 0 30px var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    text-shadow: 
      0 0 10px var(--accent),
      0 0 20px var(--accent);
  }
  50% { 
    text-shadow: 
      0 0 15px var(--accent),
      0 0 30px var(--accent),
      0 0 45px var(--accent);
  }
}

/* Typing effect on card titles on hover */
.philosophy-card h4 {
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.5s;
}

.philosophy-card:hover h4 {
  animation: typing 1s steps(20);
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

.philosophy-ascii {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.philosophy-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.philosophy-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  transition: color 0.3s;
}

.philosophy-card:hover p {
  color: var(--fg);
}

.ascii-quote {
  margin: 3rem 0;
  position: relative;
}

.quote-art {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--fg);
  background: rgba(20, 195, 142, 0.05);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  overflow-x: auto;
  transition: all 0.3s;
  position: relative;
}

/* Quote Art Hover Effects */
.quote-art:hover {
  background: rgba(20, 195, 142, 0.1);
  border-left-color: var(--accent2);
  border-left-width: 6px;
  padding-left: 2.5rem;
  box-shadow: 0 0 30px rgba(20, 195, 142, 0.2);
}

/* Matrix rain effect on hover */
.quote-art::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(transparent 0%, var(--accent) 50%, transparent 100%);
  background-size: 100% 4px;
  opacity: 0;
  pointer-events: none;
  animation: matrix-rain 2s linear infinite;
}

.quote-art:hover::after {
  opacity: 0.1;
}

@keyframes matrix-rain {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.ascii-footer {
  margin-top: 3rem;
}

.footer-art {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--accent2);
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  overflow-x: auto;
  transition: all 0.3s;
  position: relative;
}

/* Footer Art Interactive Effects */
.footer-art:hover {
  border-color: var(--accent2);
  background: linear-gradient(
    135deg,
    rgba(20, 195, 142, 0.05) 0%,
    rgba(212, 255, 0, 0.05) 100%
  );
  box-shadow: 
    0 0 20px rgba(212, 255, 0, 0.3),
    inset 0 0 20px rgba(212, 255, 0, 0.1);
  transform: scale(1.02);
}

/* Terminal boot sequence effect */
.footer-art:hover {
  animation: boot-sequence 0.5s ease-in-out;
}

@keyframes boot-sequence {
  0% { opacity: 0; transform: scaleY(0); }
  50% { opacity: 0.5; transform: scaleY(0.5); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* Glowing text on hover */
.footer-art:hover {
  text-shadow: 
    0 0 5px var(--accent2),
    0 0 10px var(--accent2),
    0 0 15px var(--accent2);
}

/* Terminal Section */
.terminal-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(20, 195, 142, 0.03) 0%, transparent 100%);
}

.terminal-box {
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: rgba(20, 195, 142, 0.1);
  border-bottom: 1px solid var(--accent);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-close, .btn-minimize, .btn-maximize {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
}

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

.terminal-body {
  padding: 2rem 1.5rem;
  font-family: var(--font-mono);
  line-height: 1.8;
}

.terminal-line {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.prompt {
  color: var(--accent);
  font-weight: 700;
}

.command {
  color: var(--fg);
}

.terminal-output {
  color: var(--muted);
  margin: 1rem 0 1.5rem 2rem;
  line-height: 1.7;
}

.terminal-link {
  color: var(--accent);
  text-decoration: underline;
}

.terminal-link:hover {
  color: var(--accent2);
}

.terminal-text {
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 1rem 2rem;
}

.terminal-input {
  flex: 1;
  font-family: var(--font-mono);
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  font-size: 0.9rem;
}

.terminal-input:focus {
  outline: none;
  border-color: var(--accent);
}

.terminal-submit {
  font-family: var(--font-mono);
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  color: var(--bg);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.terminal-submit:hover {
  background: var(--accent2);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col p {
  color: var(--muted);
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 195, 142, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .blog-tagline {
    display: none;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    flex-wrap: wrap;
  }

  .newsletter-form {
    flex-direction: column;
    margin-left: 0;
  }

  .terminal-output {
    margin-left: 0;
  }

  .ascii-art {
    font-size: 0.5rem;
    padding: 1rem;
  }

  .quote-art {
    font-size: 0.65rem;
    padding: 1rem;
  }

  .footer-art {
    font-size: 0.7rem;
    padding: 1rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Menu */
  .nav { display: none; }
  .nav-label { display: block; }

  .nav-mobile.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 1rem;
    width: 200px;
    background: var(--header-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 0;
    z-index: 999;
  }

  .nav-mobile a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
  }

  .nav-mobile a:last-child {
    border-bottom: none;
  }

  .nav-mobile a:hover {
    color: var(--accent);
    background: rgba(20, 195, 142, 0.05);
  }

  .nav-mobile .nav-cta {
    padding: 0.65rem 1.25rem;
    color: var(--accent) !important;
    border: none;
    border-radius: 0;
  }

  .nav-mobile .nav-cta:hover {
    background: var(--accent);
    color: var(--bg) !important;
  }

  .ascii-art { 
    font-size: 0.7rem;
  } 
}

/* ============================================================
   Footer ASCII Logo
   ============================================================ */

.footer-ascii {
  font-family: 'Courier New', Courier, 'Lucida Console', Monaco, monospace;
  font-size: 0.55rem;
  line-height: 1.2;
  color: var(--accent);
  white-space: pre;
  margin: 0 auto 2rem;
  max-width: fit-content;
  display: block;
  opacity: 0.8;
  transition: all 0.3s ease;
  text-align: left;
  letter-spacing: 0;
}

.footer-ascii:hover {
  opacity: 1;
  color: var(--accent2);
}

@media (max-width: 768px) {
  .footer-ascii {
    font-size: 0.4rem;
  }
}

/* ============================================================
   Category ASCII Badges
   ============================================================ */

.category-badge {
  display: inline-block;
  margin-bottom: 1rem;
}

.category-ascii {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--card-bg);
  text-align: center;
  margin: 0;
}

/* Category-specific colors */
.category-badge.cybersecurity .category-ascii {
  color: var(--accent);
  border-color: var(--accent);
}

.category-badge.linux .category-ascii {
  color: var(--green);
  border-color: var(--green);
}

.category-badge.unix-philosophy .category-ascii {
  color: var(--blue);
  border-color: var(--blue);
}

.category-badge.programming .category-ascii {
  color: var(--accent2);
  border-color: var(--accent2);
}

.category-badge.smol-web .category-ascii {
  color: var(--orange);
  border-color: var(--orange);
}

.category-badge:hover .category-ascii {
  transform: scale(1.05);
  box-shadow: 0 0 10px currentColor;
  transition: all 0.2s ease;
}

/* ============================================================
   Archive Timeline
   ============================================================ */

.archive-timeline-section {
  padding: var(--section-padding) 0;
}

.archive-timeline {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--fg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  overflow-x: auto;
  white-space: pre;
}

.timeline-year {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.timeline-month {
  color: var(--accent2);
  font-weight: 600;
}

.timeline-count {
  color: var(--muted);
  font-size: 0.85rem;
}

.archive-timeline a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive-timeline a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .archive-timeline {
    font-size: 0.8rem;
    padding: 1rem;
  }
}
