/* solojulian — styling is for people who care about appearances */

body {
  background-color: #000000;
  color: #dedede;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
header {
  background-color: #141414;
  color: #ffffff;
  padding: 10px 0;
  margin-bottom: 20px;
}

header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-title {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #ffea00;
  text-decoration: none;
}

.site-title:hover {
  color: #9ea9ff;
  text-decoration: none;
}

.site-title:visited {
  color: #ffea00;
}

nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

nav a {
  color: #fff824;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  text-decoration: none;
  padding: 2px 6px;
}

nav a:hover {
  color: #ffddad;
  text-decoration: underline;
}

nav a:visited {
  color: #fff824;
}

nav a.active {
  color: #ffddad;
  font-weight: bold;
  text-decoration: underline;
}

nav a + a::before {
  content: '| ';
  color: #1a1a1a;
}

/* --- Typography --- */
h1 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 22px;
  color: #fff824;
  margin: 0 0 10px 0;
  border-bottom: 2px solid #404040;
  padding-bottom: 4px;
}

h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 17px;
  color: #ebd700;
  margin: 20px 0 8px 0;
}

h3 {
  font-size: 15px;
  color: #dbb700;
  margin: 15px 0 6px 0;
}

p {
  margin: 0 0 10px 0;
}

a {
  color: #3d5dff;
}

a:visited {
  color: #925d89;
}

a:hover {
  color: #9ea9ff;
}

strong {
  color: #ffffff;
}

em {
  font-style: italic;
}

ul, ol {
  margin: 0 0 10px 25px;
}

li {
  margin-bottom: 4px;
}

hr {
  border: none;
  border-top: 1px solid #1a1a1a;
  margin: 20px 0;
}

/* --- Main content --- */
main {
  padding-bottom: 20px;
  min-height: 50vh;
}

/* --- Home sections --- */
.home-section {
  margin-bottom: 20px;
}

.tagline {
  font-style: italic;
  color: #a3a3a3;
  margin-bottom: 15px;
}

.status-line {
  margin-bottom: 4px;
}

.status-line::before {
  content: '\2022  ';
  color: #fff824;
}

/* --- ASCII header (keep it, but restyle) --- */
.ascii-header {
  color: #fff824;
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  line-height: 1.15;
  white-space: pre;
  overflow-x: auto;
  margin-bottom: 10px;
  background: #212121;
  border: 1px solid #404040;
  padding: 8px;
}

/* --- Cursor (simplified) --- */
.cursor {
  display: inline;
}

/* --- Project list --- */
.project-list {
  list-style: disc;
  margin-left: 25px;
}

.project-list li {
  margin-bottom: 12px;
}

.project-list li::before {
  content: none;
}

.project-list .project-title {
  font-weight: bold;
  font-size: 14px;
  color: #3d5dff;
}

.project-list .project-title:hover {
  color: #9ea9ff;
}

.project-list .project-desc {
  color: #333333;
  font-size: 13px;
}

.project-tags {
  margin-top: 3px;
}

.tag {
  font-size: 11px;
  color: #666666;
  background: #292929;
  border: 1px solid #1a1a1a;
  padding: 1px 5px;
  margin-right: 3px;
  display: inline-block;
  font-family: Verdana, Geneva, sans-serif;
}

/* --- Blog listing --- */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dotted #1a1a1a;
}

.post-list li:last-child {
  border-bottom: none;
}

.post-date {
  font-size: 12px;
  color: #a3a3a3;
  font-family: Verdana, Geneva, sans-serif;
}

.post-title-link {
  font-weight: bold;
  font-size: 14px;
  display: block;
  margin: 3px 0;
}

.post-excerpt {
  font-size: 13px;
  color: #a3a3a3;
}

/* --- Blog post --- */
.post-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #cccccc;
}

.post-meta {
  font-size: 12px;
  color: #a3a3a3;
  margin-top: 4px;
}

.post-content h2 { margin-top: 20px; }
.post-content h3 { margin-top: 15px; }

.post-content ul, .post-content ol {
  margin-left: 25px;
  margin-bottom: 10px;
}

.post-content blockquote {
  border-left: 3px solid #1a1a1a;
  padding-left: 12px;
  color: #555555;
  margin: 0 0 10px 10px;
  font-style: italic;
}

/* --- Code --- */
code {
  font-family: 'Courier New', Courier, monospace;
  background: #212121;
  padding: 1px 4px;
  border: 1px solid #404040;
  font-size: 13px;
  color: #dedede;
}

pre {
  background: #212121;
  border: 1px solid #404040;
  padding: 10px;
  overflow-x: auto;
  margin-bottom: 15px;
  line-height: 1.4;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
}

pre code {
  background: none;
  border: none;
  padding: 0;
}

/* --- About page --- */
.stats-table {
  width: auto;
  border-collapse: collapse;
  margin-bottom: 15px;
  font-size: 13px;
}

.stats-table td {
  padding: 3px 12px 3px 0;
  border-bottom: 1px dotted #1a1a1a;
  vertical-align: top;
}

.stats-table td:first-child {
  font-weight: bold;
  color: #fff824;
  white-space: nowrap;
  padding-right: 20px;
}

/* --- Guestbook --- */
.guestbook-placeholder {
  text-align: center;
  padding: 20px;
  border: 1px dashed #1a1a1a;
  background: #fafafa;
  margin: 15px 0;
}

/* --- 404 --- */
.four-oh-four {
  text-align: center;
  padding: 30px 0;
}

.four-oh-four .big-404 {
  font-size: 48px;
  font-weight: bold;
  color: #cc0000;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-bottom: 10px;
}

/* --- Footer --- */
footer {
  background-color: #141414;
  border-top: 2px solid #404040;
  padding: 10px 0;
  margin-top: 20px;
}

.footer-content {
  text-align: center;
  font-size: 11px;
  color: #a3a3a3;
  font-family: Verdana, Geneva, sans-serif;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  border: 1px solid #1a1a1a;
  background: #292929;
  padding: 1px 6px;
  font-size: 10px;
  font-family: Verdana, Geneva, sans-serif;
  color: #333333;
}

.footer-joke {
  margin-top: 4px;
  font-size: 10px;
  color: #999999;
}

/* --- Selection --- */
::selection {
  background: #666666;
  color: #ffffff;
}

/* --- Responsive (barely) --- */
@media (max-width: 600px) {
  .ascii-header {
    font-size: 7px;
  }
  header .wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}
