:root{
  --bg: #000000;
  --text: #E3D3CA;
  --text-dim: #6b6259;
  --line: #2a2620;
  --accent: #ffffff;
}
* { box-sizing: border-box; }
html, body {
  margin:0; padding:0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Lucida Console', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.7;
}
a {
  color: var(--text);
  text-decoration: underline;
  transition: none;
}
a:hover { color: var(--accent); }

/* ============ GATE ============ */
#gate {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg);
  z-index: 10;
  text-align: center;
  padding: 20px;
}

/* ============ MAIN SITE ============ */
#site { display: none; }
#site.visible { display: block; }

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 70px 20px 100px;
}

/* ----- dithered image frame (used on the gate) ----- */
.image-frame {
  display: flex;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: #000;
  text-decoration: none;
}
.image-frame canvas {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
}

ul.linklist {
  list-style: none;
  margin: 0; padding: 0;
}
ul.linklist li {
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
ul.linklist li:last-child { border-bottom: none; }
ul.linklist .tag {
  color: var(--text-dim);
  font-size: 11px;
}

.hidden-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--line);
  text-decoration: none;
}
.hidden-link:hover { color: var(--text-dim); }

/* ============ SECRET PAGE ============ */
.secret-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.secret-line {
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0;
  animation: fadein-slow 3s ease forwards;
  margin-bottom: 30px;
}
@keyframes fadein-slow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
