:root {
  --green: #00ff22;
  --bg: #000000;
  --dim: #00aa17;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 12px;
  background: var(--bg);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 16px;
  max-width: 900px;
  margin-inline: auto;
}

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--dim);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.topbar a {
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

.topbar a::before { content: "[ "; }
.topbar a::after  { content: " ]"; }

.topbar a:hover {
  text-decoration: underline;
}

.logo {
  text-align: center;
  margin: 24px 0;
}

.logo img {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.logo-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.logo-buttons a img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
  border: 1px solid var(--dim);
  transition: transform 0.2s ease;
}

.logo-buttons a img:hover {
  transform: scale(1.05);
}

.section {
  border: 1px solid var(--dim);
  margin-bottom: 28px;
  padding: 12px;              
}

.section-title {
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.covers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  justify-items: center;
  align-items: center;
}

.covers a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.covers img {
  max-width: 260px;
  width: 100%;
  height: auto;
  border: 1px solid var(--dim);
  image-rendering: pixelated;
  background: #000;
  transform-origin: center center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.covers img:hover {
  transform: scale(1.08);
  z-index: 2;
}

.covers .more-item {
  display: none;
}

.more-btn {
  margin-top: 10px;
  cursor: pointer;
  color: var(--green);
  user-select: none;
}

.more-btn:hover {
  text-decoration: underline;
}

table {
  border-collapse: collapse;
  border: 1px solid var(--dim);
  width: 100%;
  margin-bottom: 16px;
}

table th, table td {
  border: 1px solid var(--dim);
  padding: 6px 8px;
  text-align: left;
}

table table {
  border-collapse: separate;
  margin: 8px 0;
  width: auto;
}

table table th, table table td {
  border: 1px solid var(--dim);
  padding: 4px 6px;
  font-size: 0.9em;
}

.footer {
  text-align: center;
  margin: 24px 0;
  font-size: 0.9em;
  color: var(--green);
  border-top: 1px solid var(--dim);
  padding-top: 8px;
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  .topbar {
    gap: 12px;
  }
  .covers {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .covers img {
    max-width: 180px;         
  }
  .logo-buttons a img {
    width: 88px;
    height: 31px;
  }
  table table th, table table td {
    font-size: 0.85em;
    padding: 3px 5px;
  }
}
