/* base */

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top, #111 0, #050508 40%, #000 100%);
  color: #f5f5ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* layout */

#page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* header */

#site-header {
  text-align: center;
  margin-bottom: 2rem;
}

#site-header h1 {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #7df9ff;
  text-shadow: 0 0 8px #00f0ff, 0 0 18px #00a0ff;
}

#site-header h1 a {
  color: inherit;
  text-decoration: none;
}

.tagline {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #ffb3ff;
  text-shadow: 0 0 6px #ff4dff;
}

/* nav */

#main-nav {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-link {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #222;
  background: linear-gradient(135deg, #050510, #111122);
  color: #c8f5ff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.2);
}

.nav-link:hover {
  transform: translateY(-1px);
  border-color: #7df9ff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-link.current {
  border-color: #ff66ff;
  box-shadow: 0 0 12px rgba(255, 102, 255, 0.7);
}

/* content */

#content {
  background: radial-gradient(circle at top left, #151525, #05050b 60%);
  border-radius: 18px;
  padding: 1.5rem 1.25rem 2rem;
  box-shadow:
    0 0 0 1px rgba(120, 255, 255, 0.08),
    0 0 30px rgba(0, 0, 0, 0.9);
}

/* intro */

.intro p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
  color: #e6e6ff;
}

/* headings */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #fdfdff;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
}

h2 {
  font-size: 1.4rem;
  margin-top: 1.8rem;
  border-bottom: 1px solid rgba(125, 249, 255, 0.25);
  padding-bottom: 0.3rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.4rem;
}

/* links */

a {
  color: #7df9ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-shadow: 0 0 6px #00f0ff;
}

a:visited {
  color: #ffb3ff;
}

/* post list */

.post-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.post-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(125, 249, 255, 0.2);
}

.post-date {
  font-size: 0.8rem;
  color: #9adfff;
  min-width: 6rem;
}

.post-link {
  color: #ffb3ff;
  text-shadow: 0 0 6px rgba(255, 102, 255, 0.7);
}

.post-link:hover {
  color: #ffffff;
}

/* zonelets info */

.zonelets-info details {
  margin-top: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(10, 10, 30, 0.9);
  border: 1px solid rgba(125, 249, 255, 0.3);
}

.zonelets-info summary {
  cursor: pointer;
  color: #7df9ff;
}

/* post page */

.post .post-header h1 {
  margin-top: 0;
  font-size: 1.8rem;
  text-shadow:
    0 0 10px rgba(0, 255, 255, 0.5),
    0 0 18px rgba(255, 102, 255, 0.4);
}

.post-meta {
  font-size: 0.8rem;
  color: #9adfff;
}

.post-body p {
  margin: 0.8rem 0;
}

.post-body blockquote {
  margin: 1rem 0;
  padding: 0.6rem 0.9rem;
  border-left: 3px solid #ff66ff;
  background: rgba(20, 10, 30, 0.9);
  color: #ffe6ff;
  font-style: italic;
}

.post-footer {
  margin-top: 1.5rem;
}

.post-nav-link {
  font-size: 0.85rem;
}

/* footer */

#site-footer {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: #8888aa;
}

.footer-title {
  color: #7df9ff;
}

/* small screens */

@media (max-width: 600px) {
  #page {
    padding: 1rem 0.75rem 2.5rem;
  }

  #content {
    padding: 1.2rem 0.9rem 1.6rem;
  }

  .post-list li {
    flex-direction: column;
  }

  .post-date {
    min-width: 0;
  }
}