:root {
  --bg: #0e0f13;
  --panel: #141722;
  --text: #e7e7e7;
  --muted: #9aa0a6;
  --accent: #00ffaa;
  --accent-dark: #00c788;
  --danger: #ff0062;
  --border: #2a2f3c;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Press Start 2P', system-ui, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0e0f13 25%, #0b0c10 25%, #0b0c10 50%, #0e0f13 50%, #0e0f13 75%, #0b0c10 75%, #0b0c10 100%);
  background-size: 16px 16px;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header, .site-footer {
  border-bottom: 4px solid var(--border);
  background: var(--panel);
}

.site-footer { border-top: 4px solid var(--border); border-bottom: 0; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  border: 3px solid var(--border);
  background: #0b0c10;
}

.title {
  margin: 0;
  font-size: 18px;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.5);
}

.quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.btn {
  appearance: none;
  border: 0;
  padding: 10px 12px;
  background: var(--accent);
  color: #0b0c10;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  border-radius: 0;
  box-shadow: 0 0 0 4px #000 inset, 0 4px 0 0 var(--accent-dark);
  text-decoration: none;
  transition: transform 0.05s ease-in-out;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover { transform: translateY(1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 4px #000 inset, 0 2px 0 0 var(--accent-dark); }

.btn-link {
  background: #1f2230;
  color: var(--text);
  box-shadow: 0 0 0 4px #000 inset, 0 4px 0 0 #0b0c10;
}

/* Hamburger menu button hidden on desktop */
.menu-btn { display: none; }
/* Hamburger icon bars */
.menu-btn { position: relative; width: 40px; height: 32px; justify-content: center; align-items: center; gap: 4px; }
.menu-btn .bar { display: block; width: 22px; height: 3px; background: var(--text); box-shadow: 0 0 0 3px #000 inset; }

/* Mobile menu behavior */
@media (max-width: 768px) {
  .menu-btn { display: inline-flex; }
  .quick-links {
    display: none;
    position: absolute;
    right: 12px;
    top: 56px;
    background: var(--panel);
    border: 4px solid var(--border);
    box-shadow: 0 0 0 8px #000 inset;
    padding: 8px;
    gap: 8px;
    flex-direction: column;
    z-index: 20;
  }
  .quick-links.open { display: flex; }

  /* Align menu items uniformly */
  .quick-links .btn-link {
    width: 160px;
    text-align: left;
    justify-content: flex-start;
    display: inline-flex;
  }
}

/* Mobile adjustments for header buttons */
@media (max-width: 480px) {
  .site-header { padding: 10px 12px; }
  .logo { width: 28px; height: 28px; }
  .title { font-size: 14px; }
  .quick-links { gap: 6px; }
  .btn { padding: 8px 10px; font-size: 10px; box-shadow: 0 0 0 3px #000 inset, 0 3px 0 0 var(--accent-dark); }
  .btn-link { box-shadow: 0 0 0 3px #000 inset, 0 3px 0 0 #0b0c10; }
}

/* Extra-small devices: keep buttons in one line by hiding title */
@media (max-width: 360px) {
  .title { display: none; }
  .quick-links { gap: 6px; }
}

.container {
  max-width: 1100px;
  padding: 16px;
  margin: 0 auto;
}

.hero {
  margin-top: 16px;
  padding: 16px;
  background: var(--panel);
  border: 4px solid var(--border);
  box-shadow: 0 0 0 8px #000 inset;
}

.hero-title {
  margin: 0;
  font-size: 16px;
  color: var(--accent);
  text-align: center;
}

.panel {
  background: var(--panel);
  border: 4px solid var(--border);
  padding: 16px;
  margin-top: 16px;
  box-shadow: 0 0 0 8px #000 inset;
}

.panel-title {
  margin: 0 0 12px 0;
  font-size: 14px;
}

.sub-title { font-size: 12px; margin: 16px 0 8px 0; }
.kw { color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #0f121a;
  border: 4px solid var(--border);
  padding: 12px;
  box-shadow: 0 0 0 6px #000 inset;
}

.label { font-size: 10px; color: var(--muted); }
.value { font-size: 12px; margin-top: 6px; word-break: break-word; }
.break { word-break: break-all; }
.small { font-size: 10px; }
.muted { color: var(--muted); }

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.text { font-size: 11px; color: var(--text); }

.site-footer {
  padding: 16px;
  text-align: center;
  color: var(--muted);
  margin-top: auto;
}

/* Links styling */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }


