@import url('https://fonts.googleapis.com/css2?family=VT323&family=Silkscreen:wght@400;700&display=swap');

:root {
  --bg: #0a0a14; /*this is such tuff color WHATHJTTYWOW */
  --bg2: #0f0f1e;
  --panel: #0d0d22;
  --border: #2a2a5a;
  --accent1: #ff79c6;
  --accent2: #bd93f9;
  --accent3: #50fa7b;
  --accent4: #ffb86c;
  --accent5: #8be9fd;
  --text: #f8f8f2;
  --text-dim: #a0a0c0;
  --text-muted: #6060a0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'VT323', monospace;
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
}

.page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* headeintentionally */
.site-header {
  text-align: center;
  padding: 30px 10px 10px;
}

h1 {
  font-family: 'VT323', monospace;
  font-size: clamp(22px, 5vw, 38px);
  color: var(--accent1);
  letter-spacing: 2px;
  animation: flicker 8s ease-in-out infinite;
  margin-bottom: 4px;
}

h1.subtitle {
  font-size: clamp(14px, 3vw, 20px);
  color: var(--text-muted);
  animation-delay: 3s;
}

@keyframes flicker {
  0%, 95%, 100% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
  98% { opacity: 0.7; }
  99% { opacity: 1; }
}

/* why are people looking here anyways */
h2.notice {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--accent4);
  text-align: center;
  margin: 10px auto;
  max-width: 680px;
  padding: 4px 10px;
  border-left: 2px solid var(--accent4);
}

/* nav just links, no labels, no chrome */
.nav {
  text-align: center;
  margin: 28px 0 20px;
}

.nav a {
  font-family: 'Silkscreen', monospace;
  font-size: 10px;
  color: var(--accent5);
  text-decoration: none;
  margin: 0 6px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.1s, color 0.1s;
}

.nav a:hover {
  color: var(--accent1);
  border-bottom-color: var(--accent1);
}

/* divider between nav and content */
.nav-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0 30px;
}


h2:not(.notice) {
  font-family: 'Silkscreen', monospace;
  font-size: 11px;
  color: var(--accent3);
  margin-top: 38px;
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
  opacity: 0.5;
}


.button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  align-content: flex-start; 
}

.button-grid a {
  display: block; 
  line-height: 0;  
  border: 1px solid var(--border);
  transition: border-color 0.1s;
  padding: 1px;
  background: var(--panel);
  height: 35px;   
}

.button-grid img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
  display: block;
  background: #222; /*placeholder*/
}

a {
  color: var(--accent5);
  text-decoration: none;
}

a:hover {
  color: var(--accent1);
}

/* footer — bare */
.disclaimer {
  margin-top: 60px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

.disclaimer p {
  margin: 4px 0;
}

.disclaimer a {
  display: inline-block;
  margin-top: 10px;
}

.disclaimer img {
  display: block;
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}

::-webkit-scrollbar {
  width: 8px;
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
}

::selection {
  background: var(--accent2);
  color: var(--bg);
}

.button-grid img {
  background: #222; /* darkie placeholder while loading */
  display: inline-block;
  min-width: 88px;
  min-height: 31px;
  margin: 2px;
}

@media (max-width: 480px) {
  h1 { font-size: 20px; }
  h1.subtitle { font-size: 13px; }
  h2:not(.notice) { font-size: 9px; }
  .nav a { font-size: 9px; }
}
