@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --bg: #0a0500;
  --accent: #ff8c00;
  --accent-soft: rgba(255, 140, 0, 0.25);
  --text-main: #ffe9c7;
  --text-dim: #b07a3f;
  --scan-line: rgba(255, 255, 255, 0.04);
  --noise: rgba(255, 255, 255, 0.03);

  --font-pixel: "Press Start 2P", monospace;
  --font-mono: "JetBrains Mono", monospace;
}

/* --------------------------------------------------
   BASE
-------------------------------------------------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(circle at top, #1a0d00 0, #0a0500 55%, #000 100%);
  color: var(--text-main);
  font-family: var(--font-mono);
  image-rendering: pixelated;
  overflow-x: hidden;
}

/* --------------------------------------------------
   CRT EFFECTS
-------------------------------------------------- */
.scan-lines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    var(--scan-line) 3px
  );
  background-size: 100% 3px;
  opacity: 0.4;
  z-index: 5;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: repeating-radial-gradient(
    circle at 0 0,
    var(--noise),
    var(--noise) 1px,
    transparent 1px,
    transparent 2px
  );
  opacity: 0.25;
  animation: noiseMove 1.5s steps(4) infinite;
  z-index: 4;
}

@keyframes noiseMove {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-10px, 5px); }
  50% { transform: translate(5px, -10px); }
  75% { transform: translate(-5px, 10px); }
  100% { transform: translate(0, 0); }
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.header {
  padding: 14px;
  border-bottom: 2px solid var(--accent-soft);
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
}

.logo {
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

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

/* --------------------------------------------------
   MAIN CONTENT
-------------------------------------------------- */
.main {
  padding: 30px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.title {
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 20px;
}

/* --------------------------------------------------
   CATEGORY BLOCKS (ADDON CSS)
-------------------------------------------------- */
.category {
  margin-bottom: 40px;
}

.category-title {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.15em;
  text-align: left;
}

/* --------------------------------------------------
   LINKS BOX + ITEMS
-------------------------------------------------- */
.links-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 2px solid var(--accent-soft);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.2);
}

.link-item {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--accent);
  text-decoration: none;
  padding: 10px;
  border: 2px solid var(--accent);
  transition: 0.1s;
  text-shadow: 0 0 6px var(--accent);
}

.link-item:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 10px var(--accent);
  transform: scale(1.03);
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer {
  text-align: center;
  padding: 10px;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--text-dim);
  border-top: 2px solid var(--accent-soft);
  background: rgba(0, 0, 0, 0.5);
}
