
/* BASE STYLES */
body {
  background-color: #0b0b0f;
  color: #e0e0e0;
  font-family: 'Fira Code', monospace;
}

h1, h2, h3 {
  color: #ffffff;
  text-shadow: 0 0 3px #9900ff;
  margin-bottom: 1rem;
}

a {
  color: #00ccff;
  text-decoration: none;
}

a:hover {
  color: #ff00aa;
  text-shadow: 0 0 2px #ff00aa;
}

hr {
  border: 1px solid #222;
  margin: 2rem 0;
}

/* GLOBAL SECTIONS */
section {
  background-color: #101015;
  border: 1px solid #1a1a1f;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px #19002e44;
}

/* CODE STYLING */
code, pre {
  background-color: #1a1a1f;
  color: #00ff99;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.95em;
}

/* TERMINAL BLOCK */
.terminal {
  background: #1e1e1e !important;
  color: #f36 !important;
  font-family: "Courier New", monospace;
  padding: 1em !important;
  border-radius: 8px !important;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
  text-shadow: 0 0 5px #0f0;
  border-left: 4px solid #0f0;
}

.terminal-prompt {
  color: #0f0 !important;
  font-weight: bold !important;
}

.terminal-prompt::after {
  content: "_";
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 0; }
  50% { opacity: 1; }
}

.jade-terminal {
  background: #111;
  padding: 1rem;
  border-left: 4px solid #0f0;
  box-shadow: 0 0 10px #0f0;
  color: #0f0;
  font-family: "Courier New", monospace;
}

/* AVATAR STYLING */
.avatar-container {
  width: 260px;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  border-radius: 50% / 60%;
  background: transparent; /* remove background color */
  box-shadow:
    0 0 8px #00ffe0,
    inset 0 0 10px #00ffe0;
}


#jade-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% / 60%;
  transition: opacity 0.4s ease-in-out;
  display: block;
}



#jade-avatar.fading {
  opacity: 0;
}


.jade-avatar-rotating {
  animation: pulseGlow 6s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 255, 224, 0.2);
  }
  50% {
    box-shadow: 0 0 14px rgba(0, 255, 224, 0.4);
  }
}



/* AUTHOR BIO */
.author-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .author-bio {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
}

#about-author:hover::after {
  content: "She speaks in tactics, dreams in code, and flirts with fate.";
  position: absolute;
  background: #111;
  color: #0ff;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 8px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 0 5px #0ff;
}

.bio-text {
  max-width: 500px;
}

/* HOMEPAGE HEADER */
.homepage-header {
  padding-left: 1rem;
  max-width: 700px;
  margin-bottom: 2rem;
}

/* RECENT CODEX SECTION */
.recent-codex h2 {
  margin-bottom: 1rem;
}

.recent-codex ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

/* LAST POST MARGIN BUFFER */
.post-entry:last-of-type {
  margin-bottom: 2rem;
}

/* TACTICAL GRID */
.tactical-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.grid-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.grid-tile {
  background: #111;
  color: #0ff;
}

.inline-strategy-image img {
  max-width: 500px;
  width: 90%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
}

.inline-strategy-image figcaption {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.image-row img {
  max-width: 100%;
  width: 38%;
  border-radius: 8px;
}


@media (max-width: 768px) {
  .image-row img {
    width: 100%;
  }
}


.badge {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 0.4rem;
  text-transform: uppercase;
  background-color: #444;
  color: #fff;
}

.badge-firelog { background-color: #c0392b; }         /* Red - Tactical journal */
.badge-codex-flicker { background-color: #8e44ad; }   /* Purple
 - Living philosophy */
.badge-tool-dispatch { background-color: #2980b9; }   /* Blue - Dev/Project update */
.badge-encrypted-drop { background-color: #111; }     /* Black - Hidden signal */



