/* ---------- INDEX ---------- */
body {
  margin: 0;
  background: #000;
  color: #f2f2f2; 
  font-family: "Courier New", Courier, monospace;
  text-align: center;
}

header {
  padding: 30px 20px 10px;
}

.logo {
  max-width: 560px;   
  width: 95%;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 12px;
  max-width: 720px;
  margin: 0 auto 12px;
  line-height: 1.6;
  color: #f2f2f2;
}

hr {
  width: 80%;
  border: 1px solid #f2f2f2;
  margin: 28px auto;
}

h2 {
  font-family: "Courier New", Courier, monospace;
  font-size: 36px;
  margin-bottom: 30px;
  color: #f2f2f2;
}

nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.nav-item {
  text-align: center;
}

.nav-box {
  width: 135px;   
  height: 135px; 
  border: 3px solid #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.nav-box img {
  max-width: 90%;  
  max-height: 90%;
}

.nav-item a {
  display: block;
  margin-top: 10px;
  color: #0047ff;
  text-decoration: none;
  font-size: 14px;
}

.nav-item a:hover {
  text-decoration: underline;
}

/* ---------- CATALOGUE PAGE ---------- */

.catalogue-title {
  font-size: 42px;
  margin-bottom: 6px;
}

.catalogue-quote {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #f2f2f2;
}

.catalogue {
  max-width: 420px;
  margin: 0 auto 60px;
}

.search-box {
  border: 1px solid #f2f2f2;
  padding: 10px;
  margin-bottom: 20px;
  text-align: left;
  font-size: 12px;
  color: #aaa;
  background: linear-gradient(#222, #111);
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entry {
  border: 1px solid #f2f2f2;
  padding: 14px 0;
  text-decoration: none;
  color: #f2f2f2;
  font-size: 16px;
  background: linear-gradient(#222, #111);
  transition: background 0.2s ease, letter-spacing 0.2s ease;
}

.entry:hover {
  background: #000;
  letter-spacing: 2px;
}

.search-box {
  width: 100%;
  box-sizing: border-box;
  outline: none;
  font-family: inherit;
}

.search-box::placeholder {
  color: #777;
}

.catalogue-note {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f2f2f2;
}

.inline-link,
.return-link a {
  color: #0047ff;
  text-decoration: none;
}

.inline-link:hover,
.return-link a:hover {
  text-decoration: underline;
}

.return-link {
  margin-top: 26px;
  font-size: 12px;
}

/* ---------- CATEGORIES PAGE ---------- */

.categories {
  max-width: 620px;
  margin: 0 auto 60px;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.categories h3 {
  text-align: center;
  font-size: 14px;
  margin: 24px 0 14px;
  letter-spacing: 2px;
}

.categories hr {
  width: 100%;
  margin: 30px 0;
}

.label {
  font-weight: bold;
}

.categories .return-link {
  text-align: center;
}

/* ---------- ENTRY PAGES (A-00X) ---------- */

.entry-page {
  max-width: 900px;
  margin: 40px auto 20px;
  display: flex;
  gap: 30px;
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
}

.entry-left {
  flex: 1.2;
}

.entry-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entry-right img {
  width: 100%;
  border: 1px solid #f2f2f2;
}

.entry-title {
  text-align: center;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.entry-subtitle {
  text-align: center;
  font-style: italic;
  margin-bottom: 16px;
}

.entry-meta {
  margin: 12px 0;
}

.entry-text {
  white-space: pre-line;
}

/* RETURN / ITS REALM */

.return-link {
  text-align: center;
  margin: 30px 0 50px;
  font-size: 12px;
}

.return-link a {
  color: #0047ff;
  text-decoration: none;
  margin: 0 8px;
}

.return-link a:hover {
  text-decoration: underline;
}
