/* aurum flare - personal site */

:root {
  --bg: #0d0d0d;
  --bg-box: #141414;
  --text: #d4d4d4;
  --text-dim: #666666;
  --accent: #d79921;
  --link: #83a598;
  --border: #2a2a2a;
  --border-bright: #404040;
  --glow: rgba(215, 153, 33, 0.4);
}

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

body {
  font-family: 'Handjet', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  padding: 20px 40px;
  min-width: 1280px;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* Headers use VT323 for that retro terminal look */
h1,
h2,
h3,
nav a {
  font-family: 'VT323', monospace;
}

.page {
  width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Page layout with left sidebar nav */
.page-layout {
  display: flex;
  gap: 15px;
}

.page-content {
  flex: 1;
  min-width: 0;
}

/* Header with ASCII art */
header {
  margin-bottom: 15px;
  border: none;
  position: relative;
  z-index: 1;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.header-goober {
  flex-shrink: 0;
  color: var(--accent);
  text-shadow: 0 0 25px var(--glow);
}

.header-goober pre {
  font-family: 'SF Mono', 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 2.95px;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0;
  border: none;
  background: transparent;
  padding: 0;
  color: var(--accent);
}

.ascii-art {
  color: var(--accent);
  margin-bottom: 8px;
  text-shadow: 0 0 25px var(--glow);
  border: none;
}

.ascii-art pre {
  font-family: 'SF Mono', 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  border: none;
  background: transparent;
  padding: 0;
}

.meta {
  color: var(--text-dim);
  font-size: 16px;
}

/* Navigation - Vertical Left Sidebar */
nav {
  width: 140px;
  flex-shrink: 0;
  align-self: flex-start;
  padding: 15px 10px;
  border: 1px solid var(--border);
  background: var(--bg-box);
  position: relative;
  z-index: 1;
}

nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 4px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 18px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

nav a:hover {
  color: var(--text);
  background: rgba(215, 153, 33, 0.1);
  text-decoration: none;
}

nav a.current {
  color: var(--accent);
  background: rgba(215, 153, 33, 0.15);
  border-left: 2px solid var(--accent);
  margin-left: -10px;
  padding-left: 8px;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Main content */
main {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Dashboard layout - two column: main content + sidebar */
.layout {
  display: flex;
  gap: 15px;
}

.main-dashboard {
  flex: 1;
  min-width: 0;
}

.sidebar-right {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.box-full {
  width: 100%;
}

/* Two column layout */
.two-col {
  display: flex;
  gap: 15px;
}

.two-col .box {
  flex: 1;
  margin-bottom: 15px;
}

/* Two column neighbours layout (75/25 split) */
.two-col-neighbours {
  display: flex;
  gap: 15px;
}

.two-col-neighbours .box {
  margin-bottom: 15px;
  min-width: 0;
}

.two-col-neighbours .box:first-child {
  flex: 3;
}

.two-col-neighbours .box:last-child {
  flex: 1;
}

/* Center ASCII art in deco box */
.two-col-neighbours .box:last-child {
  text-align: center;
}

/* Sidebar widgets */
.widget {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid var(--border);
  background: var(--bg-box);
}

.widget h3 {
  font-size: 22px;
  font-weight: normal;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
  text-shadow: 0 0 15px var(--glow);
}

.widget-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
  stroke: var(--accent);
}

.section-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 10px;
  stroke: var(--accent);
}

/* Clock widget */
.clock {
  text-align: center;
}

.time-display {
  font-size: 22px;
  color: var(--text);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.timezone {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.date-display {
  font-size: 12px;
  color: var(--text-dim);
}

/* Calendar widget */
.calendar {
  font-size: 15px;
}

.cal-header {
  text-align: center;
  color: var(--accent);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  text-shadow: 0 0 12px var(--glow);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.cal-grid span {
  padding: 3px 0;
  color: var(--text-dim);
}

.cal-grid span:nth-child(-n + 7) {
  color: var(--accent);
  font-size: 13px;
}

.cal-grid .today {
  background: var(--accent);
  color: var(--bg);
}

/* Quick Notes widget */
.notes-widget .notes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-item {
  padding: 8px 10px;
  background: var(--bg);
  border-left: 2px solid var(--accent);
  font-size: 15px;
  line-height: 1.4;
}

.note-item:hover {
  background: rgba(215, 153, 33, 0.05);
}

.note-date {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  margin-bottom: 2px;
  font-family: 'VT323', monospace;
}

.note-text {
  color: var(--text);
}

/* Calendar events */
.cal-grid span.has-event {
  position: relative;
  cursor: help;
}

.cal-grid span.has-event::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #fb4934;
  border-radius: 50%;
}

.cal-grid span.has-event:hover::after {
  background: #fb4934;
  box-shadow: 0 0 4px #fb4934;
}

.event-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-box);
  border: 1px solid var(--border);
  padding: 6px 10px;
  font-size: 13px;
  white-space: nowrap;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  pointer-events: none;
  margin-bottom: 4px;
}

.event-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--border);
}

.cal-grid span.has-event:hover .event-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Status widget */
.status-widget {
  font-size: 12px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.online {
  background: #b8bb26;
  box-shadow: 0 0 4px #b8bb26;
}

.status-meta {
  font-size: 15px;
}

.status-meta div {
  margin-bottom: 2px;
}

/* Decorative widget */
.deco-widget {
  padding: 15px;
  text-align: center;
}

.ascii-deco {
  font-family: 'SF Mono', 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--accent);
  margin: 0;
}

/* Hit counter */
.hit-counter {
  text-align: center;
  font-size: 15px;
}

/* Chat widget */
.chat-widget {
  padding: 12px;
}

.chat-widget h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.chat-widget h3 .marker {
  color: var(--accent);
}

.chat-widget iframe {
  display: block;
  border: 1px solid var(--border);
  background: var(--bg);
}

/* Box sections */
.box {
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid var(--border);
  background: var(--bg-box);
}

.box h2 {
  font-size: 36px;
  font-weight: normal;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
  text-shadow: 0 0 20px var(--glow);
}

.box h2 .icon {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 8px;
  stroke: var(--accent);
}

.marker {
  color: var(--text-dim);
  margin-right: 8px;
}

/* Now list - simple project links */
.now-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.now-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  font-size: 18px;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.now-item:hover {
  border-color: var(--accent);
  background: rgba(215, 153, 33, 0.05);
}

.now-item:hover .now-name {
  color: var(--accent);
}

.now-name {
  color: var(--text);
  font-family: 'Handjet', monospace;
}

/* Project entries - for full project pages */
.project-entry {
  margin-bottom: 20px;
  padding: 15px;
  padding-bottom: 25px;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
}

.project-entry:last-child {
  margin-bottom: 0;
}

/* Divider between project entries */
.project-entry:not(:last-child)::after {
  content: '┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈';
  display: block;
  text-align: center;
  color: var(--border);
  font-size: 12px;
  margin-top: 20px;
  letter-spacing: 2px;
}

.project-entry h3 {
  font-size: 24px;
  font-weight: normal;
  color: var(--accent);
  margin-bottom: 12px;
  margin-top: 0;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

/* ASCII corner decorations */
.project-entry::before {
  content: '┌';
  position: absolute;
  top: -1px;
  left: -1px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
}

.project-entry::after {
  content: '┐';
  position: absolute;
  top: -1px;
  right: -1px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
}

/* ASCII footer decoration */
.project-entry .ascii-footer {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.project-entry .ascii-footer::before {
  content: '└';
}

.project-entry .ascii-footer::after {
  content: '┘';
}

.project-details {
  list-style: none;
  font-size: 18px;
}

.project-details li {
  margin-bottom: 6px;
  padding: 6px 10px;
  background: var(--bg-box);
  border-left: 2px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.project-details li:hover {
  border-left-color: var(--accent);
  background: rgba(215, 153, 33, 0.05);
}

.detail-label {
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 100px;
  flex-shrink: 0;
  font-family: 'Handjet', monospace;
}

.field-icon {
  width: 16px;
  height: 16px;
  stroke: var(--text-dim);
  vertical-align: middle;
}

/* Status bar styling */
.status-bar {
  display: inline-block;
  width: 80px;
  height: 10px;
  background: var(--border);
  border: 1px solid var(--border-bright);
  margin-left: 8px;
  position: relative;
}

.status-bar-fill {
  height: 100%;
  background: var(--accent);
}

.status-bar-fill.wip {
  width: 30%;
}
.status-bar-fill.progress {
  width: 45%;
}
.status-bar-fill.reading {
  width: 72%;
}
.status-bar-fill.playing {
  width: 80%;
}

/* Status indicators - simple text */
.status-wip {
  color: #d79921;
  font-family: 'Handjet', monospace;
}

.status-progress {
  color: #83a598;
  font-family: 'Handjet', monospace;
}

.status-reading {
  color: #b8bb26;
  font-family: 'Handjet', monospace;
}

.status-playing {
  color: #fb4934;
  font-family: 'Handjet', monospace;
}

/* Status indicators with visual bars */
.status-wip.has-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-wip.has-bar::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 6px;
  background: linear-gradient(90deg, #d79921 30%, var(--border) 30%);
  border: 1px solid var(--border);
}

.status-progress.has-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-progress.has-bar::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 6px;
  background: linear-gradient(90deg, #83a598 45%, var(--border) 45%);
  border: 1px solid var(--border);
}

.status-reading.has-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-reading.has-bar::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 6px;
  background: linear-gradient(90deg, #b8bb26 72%, var(--border) 72%);
  border: 1px solid var(--border);
}

.status-playing.has-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-playing.has-bar::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 6px;
  background: linear-gradient(90deg, #fb4934 80%, var(--border) 80%);
  border: 1px solid var(--border);
}

/* Update list */
.update-list {
  list-style: none;
}

.update-list li {
  margin-bottom: 6px;
  display: flex;
  gap: 15px;
}

.date {
  color: var(--text-dim);
  font-family: inherit;
  min-width: 90px;
}

/* Terminal box */
.terminal-box {
  border-color: var(--border-bright);
  background: #0a0a0a;
}

.guestbook {
  margin-bottom: 10px;
  font-size: 14px;
}

.entry {
  margin-bottom: 4px;
}

.time {
  color: var(--text-dim);
  margin-right: 10px;
}

.name {
  color: var(--accent);
  margin-right: 8px;
}

.input-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

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

.input-line input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  flex: 1;
  padding: 4px 0;
  outline: none;
}

.input-line input:focus {
  border-color: var(--accent);
}

.input-line input::placeholder {
  color: var(--text-dim);
}

/* Guestbook link */
.guestbook-link {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: right;
}

.guestbook-link a {
  color: var(--accent);
  text-decoration: none;
}

.guestbook-link a:hover {
  text-decoration: underline;
}

/* Guestbook iframe */
.guestbook-frame {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.guestbook-frame-large {
  width: 100%;
  height: 600px;
  border: 1px solid var(--border);
  background: var(--bg);
}

/* Link list */
.link-list {
  list-style: none;
}

.link-list li {
  margin-bottom: 6px;
  padding-left: 15px;
  position: relative;
}

.link-list li::before {
  content: '~';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

/* Gear list - ASCII spreadsheet */
.gear-list {
  list-style: none;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
}

.gear-list li {
  margin-bottom: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.gear-list li::before {
  content: '│';
  color: var(--accent);
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
}

.gear-list .label {
  color: var(--accent);
  min-width: 100px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.gear-list li:hover {
  border-color: var(--accent);
  background: var(--bg-box);
}

.gear-list li:hover::before {
  content: '▶';
}

/* ASCII-styled HTML Table */
.gear-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Handjet', monospace;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 1px;
  margin: 10px 0;
}

.gear-table td {
  padding: 8px 12px;
  border: 1px solid var(--border);
}

.gear-table td.cat {
  color: var(--accent);
  text-transform: uppercase;
  width: 120px;
  border-right: 1px solid var(--border);
}

.gear-table td.item {
  color: var(--text);
}

.gear-table tr:first-child td {
  border-top: 2px solid var(--text-dim);
}

.gear-table tr:last-child td {
  border-bottom: 2px solid var(--text-dim);
}

.gear-table tr td:first-child {
  border-left: 2px solid var(--text-dim);
}

.gear-table tr td:last-child {
  border-right: 2px solid var(--text-dim);
}

.gear-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}

.gear-table tr:hover td {
  background: var(--bg-box);
}

.gear-table tr:hover td.cat {
  color: var(--text);
}

/* Links */
a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--glow);
}

/* Quote */
blockquote {
  margin: 20px 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg-box);
  color: var(--text-dim);
  font-style: italic;
}

cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--text-dim);
}

cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--text-dim);
}

/* Post list for writing page */
.post-list {
  list-style: none;
}

.post-list li {
  margin-bottom: 8px;
  display: flex;
  gap: 15px;
  align-items: baseline;
}

.post-list .date {
  color: var(--text-dim);
  min-width: 100px;
  font-family: 'Handjet', monospace;
}

.post-list .read-time {
  color: var(--text-dim);
  margin-left: auto;
  font-size: 16px;
}

.post-list a {
  color: var(--text);
  text-decoration: none;
}

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

/* Project list - same style as post list */
.project-list {
  list-style: none;
}

.project-list li {
  margin-bottom: 8px;
  display: flex;
  gap: 15px;
  align-items: baseline;
}

.project-list .project-status {
  font-family: 'VT323', monospace;
  font-size: 14px;
  padding: 2px 8px;
  min-width: 60px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--border);
}

.project-list .project-status.active {
  color: #b8bb26;
  border-color: #b8bb26;
  background: rgba(184, 187, 38, 0.1);
}

.project-list .project-status.wip {
  color: #d79921;
  border-color: #d79921;
  background: rgba(215, 153, 33, 0.1);
}

.project-list a {
  color: var(--text);
  text-decoration: none;
}

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

.project-list .project-meta {
  color: var(--text-dim);
  margin-left: auto;
  font-size: 16px;
  font-family: 'Handjet', monospace;
}

/* Footer */
footer {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.footer-content {
  margin-bottom: 15px;
}

footer p {
  margin-bottom: 5px;
}

.webring {
  margin-top: 10px;
}

.webring a {
  color: var(--text-dim);
  text-decoration: none;
  margin: 0 5px;
}

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

.deco-line {
  text-align: center;
  color: var(--border-bright);
  letter-spacing: 4px;
  margin-top: 8px;
}

/* Selection */
::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ASCII Kitty - Fixed bottom right corner */
.ascii-kitty {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 10000;
  background: transparent;
  cursor: default;
  user-select: none;
}

.ascii-kitty pre {
  font-family: 'SF Mono', 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 7px;
  line-height: 1.1;
  color: var(--accent);
  margin: 0;
  text-shadow: 0 0 8px rgba(215, 153, 33, 0.4);
  opacity: 0.9;
  background: transparent;
  border: none;
  padding: 0;
}

/* Goober - smaller size */
.ascii-kitty pre.goober {
  font-size: 3px;
}

/* Malfunctioning neon lamp effect for guestbook nav */
@keyframes neon-flicker {
  0%,
  85%,
  92%,
  100% {
    color: var(--text-dim);
    text-shadow: none;
  }
  86%,
  90%,
  93%,
  96%,
  98% {
    color: var(--accent);
    text-shadow:
      0 0 10px var(--glow),
      0 0 20px var(--glow),
      0 0 30px var(--glow);
  }
}

nav a.blink {
  animation: neon-flicker 6s infinite;
  position: relative;
}

nav a.blink::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  box-shadow:
    0 0 5px var(--accent),
    0 0 10px var(--accent);
  opacity: 0;
  animation: neon-flicker 6s infinite;
}

/* Article Layout & Structure */

/* Section headers */
article h3 {
  font-size: 26px;
  font-weight: normal;
  color: var(--text);
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

/* Asides - highlighted notes */
.aside-box {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid var(--border);
  background: var(--bg-box);
}

.aside-box .aside-label {
  display: block;
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 10px;
}

.aside-box p {
  margin: 0;
}

/* Callout boxes */
.callout {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.callout-title {
  display: block;
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 8px;
}

.callout p {
  margin: 0;
}

/* Key points inline */
.key-point {
  background: rgba(215, 153, 33, 0.1);
  padding: 2px 5px;
}

/* Inline code */
code {
  background: var(--bg);
  padding: 2px 5px;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 16px;
  border: 1px solid var(--border);
}

/* Code blocks */
pre {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid var(--border);
  background: var(--bg);
  overflow-x: auto;
}

pre code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Article navigation */
.article-nav {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
}

.article-nav a {
  color: var(--text);
}

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

/* Tag list */
.tag-list {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.tag-list a {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
}

.tag-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Article paragraphs */
article p {
  margin-bottom: 16px;
}

/* Pull quote */
.pull-quote {
  margin: 20px 25px;
  padding: 15px 20px;
  border-left: 2px solid var(--accent);
  background: var(--bg-box);
  font-size: 20px;
  line-height: 1.5;
}

/* Gear layout - 2 columns */
.gear-layout {
  display: flex;
  gap: 15px;
}

.gear-box {
  flex: 1;
  margin-bottom: 0;
}

.gear-box h2 {
  font-size: 26px;
}

/* 88x31 Button Carousel */
.button-carousel {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  /* Fade edges for smooth appearance */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 20px,
    black calc(100% - 20px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 20px,
    black calc(100% - 20px),
    transparent 100%
  );
}

.button-track {
  display: flex;
  gap: 6px;
  padding: 10px;
  will-change: transform;
  /* Will be positioned by JS for infinite scroll */
}

/* Static mode when all buttons fit */
.button-carousel.is-static .button-track {
  justify-content: center;
  flex-wrap: wrap;
}

/* Scrolling mode */
.button-carousel.is-scrolling .button-track {
  flex-wrap: nowrap;
}

.button-track a {
  display: block;
  width: 88px;
  height: 31px;
  flex-shrink: 0;
  opacity: 0.7;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.button-track a:hover {
  opacity: 1;
  transform: scale(1.05);
}

.button-track img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .button-carousel.is-scrolling .button-track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Button panel for intro section */
.button-panel {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed var(--border);
}

.button-panel .button-track {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: auto !important;
  padding: 0 !important;
  animation: none !important;
}

.button-panel .button-track a {
  display: block;
  width: 88px;
  height: 31px;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.button-panel .button-track a:hover {
  opacity: 1;
}

.button-panel .button-track img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}

/* Carousel alternative link */
.carousel-alt-link {
  margin-top: 10px;
  text-align: right;
  font-size: 16px;
}

.carousel-alt-link a {
  color: var(--text-dim);
  text-decoration: none;
}

.carousel-alt-link a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Neighbours page grid */
.section-intro {
  margin-bottom: 20px;
  color: var(--text-dim);
}

.section-intro a {
  color: var(--link);
  text-decoration: underline;
}

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

.neighbours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.neighbour-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  transition: all 0.2s ease;
}

.neighbour-button:hover {
  border-color: var(--accent);
  background: rgba(215, 153, 33, 0.05);
  transform: translateY(-2px);
}

.neighbour-button img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}

.neighbour-url {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neighbour-button:hover .neighbour-url {
  color: var(--text);
}

/* Gallery Styles */
.gallery-intro {
  margin-bottom: 25px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-item {
  border: 1px solid var(--border);
  background: var(--bg-box);
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
}

.gallery-item:hover {
  border-color: var(--accent);
  transform: rotate(-1deg);
}

/* Silly cat ears decoration */
.gallery-item::before {
  content: '🐾';
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 20px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 10;
}

.gallery-item:nth-child(even)::before {
  content: '✨';
}

.gallery-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  font-size: 16px;
  border-top: 1px solid var(--border);
}

.caption-text {
  color: var(--text);
  position: relative;
}

.caption-text::before {
  content: '~ ';
  color: var(--accent);
}

.caption-date {
  color: var(--text-dim);
  font-size: 14px;
  font-family: 'VT323', monospace;
}

.caption-date::after {
  content: ' 🐱';
}

/* Error states */
.error {
  color: #fb4934;
  font-style: italic;
}

/* Photo Gallery (Photography Portfolio) */

#photo-gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.photo-item {
  display: flex;
  gap: 25px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--bg-box);
}

.photo-image {
  flex: 0 0 55%;
  max-width: 600px;
}

.photo-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
}

.photo-link {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.photo-link:hover img {
  border-color: var(--accent);
}

.photo-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.photo-zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--bg-box);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.photo-link:hover .photo-zoom {
  opacity: 1;
  color: var(--accent);
  border-color: var(--accent);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 20000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.hidden {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 1px solid var(--text-dim);
  color: var(--text);
  font-size: 32px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-caption {
  color: var(--text);
  font-family: 'VT323', monospace;
  font-size: 24px;
  margin-top: 20px;
  text-align: center;
}

.photo-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.photo-info h3 {
  font-family: 'VT323', monospace;
  font-size: 28px;
  font-weight: normal;
  color: var(--text);
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}

.photo-meta {
  margin-bottom: 20px;
}

.meta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 18px;
}

.meta-label {
  color: var(--text-muted);
  min-width: 80px;
}

.meta-value {
  color: var(--text);
}

.meta-value.film-sim {
  color: var(--accent);
}

.photo-description {
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed var(--border);
}

/* About Page Sections */

.about-section,
.media-section,
.gear-section,
.contact-section {
  margin-bottom: 20px;
}

.contact-section {
  margin-bottom: 0;
}

/* Media Section Layout */
.media-layout {
  display: flex;
  gap: 20px;
}

.media-box {
  flex: 1;
}

.media-box h3 {
  font-family: 'VT323', monospace;
  font-size: 24px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-status {
  color: var(--text-muted);
  font-size: 18px;
  font-style: italic;
  margin: 0 0 15px 0;
}

/* Gear Section Layout */
.gear-layout {
  display: flex;
  gap: 20px;
}

.gear-box {
  flex: 1;
}

.gear-box h3 {
  font-family: 'VT323', monospace;
  font-size: 24px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gear-desc {
  color: var(--text-muted);
  font-size: 18px;
  font-style: italic;
  margin: 0 0 15px 0;
}

.icon-small {
  stroke: currentColor;
}

/* Media Tables */
.media-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 17px;
}

.media-table td {
  padding: 8px 0;
  vertical-align: top;
}

.media-table tr:not(:last-child) td {
  border-bottom: 1px dashed var(--border);
}

.media-name {
  color: var(--text);
  width: 60%;
}

.media-note {
  color: var(--text-muted);
  width: 40%;
  font-style: italic;
}

/* Enhanced Project Styles */

.project-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.project-icon {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.project-title-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.project-title-area h3 {
  margin: 0;
  padding: 0;
  border: none;
}

.project-status {
  font-family: 'VT323', monospace;
  font-size: 14px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-status.active {
  color: #b8bb26;
  border-color: #b8bb26;
  background: rgba(184, 187, 38, 0.1);
}

.project-status.wip {
  color: #d79921;
  border-color: #d79921;
  background: rgba(215, 153, 33, 0.1);
}

.project-status.archived {
  color: var(--text-muted);
  border-color: var(--text-muted);
  background: rgba(102, 102, 102, 0.1);
}

.project-description {
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 20px 0;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
  padding: 4px 12px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.project-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(215, 153, 33, 0.05);
}

.project-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Project entry hover effect */
.project-entry {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.project-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Links page styles */
.links-controls {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.links-search {
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 10px 15px;
  width: 100%;
  max-width: 400px;
}

.links-search::placeholder {
  color: var(--text-dim);
}

.links-search:focus {
  outline: none;
  border-color: var(--accent);
}

.links-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pill {
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.category-pill:hover {
  border-color: var(--border-bright);
}

.category-pill.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(215, 153, 33, 0.1);
}

.links-content {
  margin-top: 10px;
}

.links-group {
  margin-bottom: 30px;
}

.links-group:last-child {
  margin-bottom: 0;
}

.links-group-title {
  font-family: 'VT323', monospace;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.link-item:last-child {
  border-bottom: none;
}

.link-name {
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: var(--link);
  text-decoration: none;
}

.link-name:hover {
  color: var(--accent);
}

.link-separator {
  color: var(--text-dim);
}

.link-description {
  color: var(--text);
  font-size: 18px;
}

.link-tags {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.link-tag {
  font-family: 'Handjet', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--text-dim);
  padding: 2px 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.links-empty {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--border);
}

.empty-message {
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.links-format-help {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.links-format-help p {
  margin-bottom: 10px;
  color: var(--text-dim);
}

.links-format-help pre {
  font-size: 14px;
  padding: 15px;
  overflow-x: auto;
}

/* ============================================
   CONSTELLATION BACKGROUND THEME
   ============================================ */

/* Static scanlines */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 9996;
}

/* Hide scanlines on gallery page */
body.gallery-page::after {
  display: none;
}

/* Constellation SVG layer */
.constellation-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.constellation-line {
  stroke: #f0b035;
  stroke-width: 1.5;
  stroke-linecap: butt;
  opacity: 0;
  animation: constellation-pulse 8s ease-in-out infinite;
}

@keyframes constellation-pulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.15;
  }
}

.constellation-line:nth-child(4n + 1) {
  animation-delay: 0s;
}
.constellation-line:nth-child(4n + 2) {
  animation-delay: 2s;
}
.constellation-line:nth-child(4n + 3) {
  animation-delay: 4s;
}
.constellation-line:nth-child(4n) {
  animation-delay: 6s;
}

/* Particle field */
.particle-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow:
    0 0 4px var(--accent),
    0 0 8px var(--glow);
}

.particle.node {
  width: 3px;
  height: 3px;
}

.particle.extra {
  width: 1px;
  height: 1px;
}

/* Drift animations */
@keyframes drift-fade-1 {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-25px) translateX(8px);
    opacity: 0;
  }
}

@keyframes drift-fade-2 {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-35px) translateX(-12px);
    opacity: 0;
  }
}

@keyframes drift-fade-3 {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-20px) translateX(15px);
    opacity: 0;
  }
}

/* Node positions and animations */
.particle.node-1 {
  top: 20%;
  left: 15%;
  animation: drift-fade-1 12s ease-in-out infinite;
}
.particle.node-2 {
  top: 15%;
  left: 35%;
  animation: drift-fade-2 15s ease-in-out infinite;
  animation-delay: 1s;
}
.particle.node-3 {
  top: 25%;
  left: 55%;
  animation: drift-fade-3 10s ease-in-out infinite;
  animation-delay: 2s;
}
.particle.node-4 {
  top: 18%;
  left: 75%;
  animation: drift-fade-1 13s ease-in-out infinite;
  animation-delay: 0.5s;
}
.particle.node-5 {
  top: 22%;
  left: 90%;
  animation: drift-fade-2 11s ease-in-out infinite;
  animation-delay: 3s;
}
.particle.node-6 {
  top: 40%;
  left: 8%;
  animation: drift-fade-3 14s ease-in-out infinite;
  animation-delay: 1.5s;
}
.particle.node-7 {
  top: 35%;
  left: 28%;
  animation: drift-fade-1 12s ease-in-out infinite;
  animation-delay: 2.5s;
}
.particle.node-8 {
  top: 45%;
  left: 48%;
  animation: drift-fade-2 16s ease-in-out infinite;
  animation-delay: 0s;
}
.particle.node-9 {
  top: 38%;
  left: 68%;
  animation: drift-fade-3 10s ease-in-out infinite;
  animation-delay: 4s;
}
.particle.node-10 {
  top: 42%;
  left: 88%;
  animation: drift-fade-1 13s ease-in-out infinite;
  animation-delay: 2s;
}
.particle.node-11 {
  top: 60%;
  left: 20%;
  animation: drift-fade-2 15s ease-in-out infinite;
  animation-delay: 1s;
}
.particle.node-12 {
  top: 55%;
  left: 40%;
  animation: drift-fade-3 11s ease-in-out infinite;
  animation-delay: 3s;
}
.particle.node-13 {
  top: 65%;
  left: 60%;
  animation: drift-fade-1 12s ease-in-out infinite;
  animation-delay: 0s;
}
.particle.node-14 {
  top: 58%;
  left: 80%;
  animation: drift-fade-2 14s ease-in-out infinite;
  animation-delay: 2.5s;
}
.particle.node-15 {
  top: 80%;
  left: 12%;
  animation: drift-fade-3 10s ease-in-out infinite;
  animation-delay: 1.5s;
}
.particle.node-16 {
  top: 75%;
  left: 32%;
  animation: drift-fade-1 13s ease-in-out infinite;
  animation-delay: 3.5s;
}
.particle.node-17 {
  top: 85%;
  left: 52%;
  animation: drift-fade-2 11s ease-in-out infinite;
  animation-delay: 0.5s;
}
.particle.node-18 {
  top: 78%;
  left: 72%;
  animation: drift-fade-3 15s ease-in-out infinite;
  animation-delay: 4s;
}
.particle.node-19 {
  top: 82%;
  left: 92%;
  animation: drift-fade-1 12s ease-in-out infinite;
  animation-delay: 2s;
}

/* Extra scattered particles */
.particle.extra-1 {
  top: 10%;
  left: 5%;
  animation: drift-fade-2 14s ease-in-out infinite;
  animation-delay: 0.3s;
}
.particle.extra-2 {
  top: 30%;
  left: 95%;
  animation: drift-fade-1 11s ease-in-out infinite;
  animation-delay: 1.8s;
}
.particle.extra-3 {
  top: 50%;
  left: 3%;
  animation: drift-fade-3 13s ease-in-out infinite;
  animation-delay: 2.8s;
}
.particle.extra-4 {
  top: 70%;
  left: 97%;
  animation: drift-fade-2 10s ease-in-out infinite;
  animation-delay: 0.8s;
}
.particle.extra-5 {
  top: 90%;
  left: 5%;
  animation: drift-fade-1 15s ease-in-out infinite;
  animation-delay: 3.2s;
}
.particle.extra-6 {
  top: 95%;
  left: 45%;
  animation: drift-fade-3 12s ease-in-out infinite;
  animation-delay: 1.2s;
}

/* Node flashes */
.node-flash {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow:
    0 0 15px var(--accent),
    0 0 30px var(--glow),
    0 0 45px var(--glow);
  opacity: 0;
}

@keyframes flash {
  0%,
  90%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1;
    transform: scale(2);
  }
  10% {
    opacity: 0.8;
    transform: scale(1.5);
  }
}

.node-flash:nth-child(1) {
  top: 20%;
  left: 15%;
  animation: flash 6s ease-out infinite;
  animation-delay: 0s;
}
.node-flash:nth-child(2) {
  top: 35%;
  left: 28%;
  animation: flash 8s ease-out infinite;
  animation-delay: 3s;
}
.node-flash:nth-child(3) {
  top: 55%;
  left: 40%;
  animation: flash 7s ease-out infinite;
  animation-delay: 6s;
}
.node-flash:nth-child(4) {
  top: 65%;
  left: 60%;
  animation: flash 9s ease-out infinite;
  animation-delay: 2s;
}
.node-flash:nth-child(5) {
  top: 80%;
  left: 72%;
  animation: flash 5s ease-out infinite;
  animation-delay: 5s;
}

/* =============================================
   SITEMAP STYLES
   ============================================= */

#sitemap-content {
  display: flex;
  justify-content: center;
  padding: 20px;
}

#sitemap-content .box {
  width: 100%;
  max-width: 700px;
}

.sitemap-ascii {
  font-family: 'SF Mono', 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  background: transparent;
  border: none;
  padding: 0;
}

.sitemap-ascii a {
  color: var(--link);
  text-decoration: none;
  transition: all 0.2s ease;
}

.sitemap-ascii a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--glow);
}

.sitemap-ascii a.current {
  color: var(--accent);
  font-weight: bold;
}

.sitemap-post {
  color: var(--text-dim);
}

.sitemap-post:hover {
  color: var(--link);
}

/* Footer sitemap link */
.footer-sitemap {
  margin-top: 10px;
  font-size: 16px;
}

.footer-sitemap a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

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