body {
    background-color: #000000;
    color: #00FF00; /* Hacker green */
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    margin: 0;
    padding: 0;
    overflow: hidden; /* No scrollbars for immersion on desktop */
}
.terminal {
    width: 100%;
    height: 100vh; /* Full viewport height */
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    overflow-y: auto; /* Scroll on mobile if content overflows */
    position: absolute;
    top: 0;
    left: 0;
}
.prompt {
    color: #46a429;
}
.output {
    margin-bottom: 10px;
}
a {
    color: #98ed98;
    text-decoration: none;
    cursor: pointer;
}
a:hover, a:focus {
    color: #FFFFFF; /* White on hover/focus */
}
.input-line {
    display: flex;
    align-items: center;
    white-space: pre; /* Preserve spaces */
}
#command-input {
    background: transparent;
    border: none;
    color: #00FF00;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex-grow: 1;
    caret-color: #00FF00; /* Native blinking cursor */
}
#message-output {
    margin-top: 10px;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Smaller font for mobile */
    }
    .terminal {
        padding: 10px; /* Less padding on small screens */
    }
}
/* ─────────────── GALLERY PAGE STYLES ─────────────── */
#tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px 20px 10px;
}

.tab {
  background: #000;
  color: #0f0;
  border: 1px solid #0f0;
  padding: 6px 12px;
  cursor: pointer;
  font-family: monospace;
}

.tab.active {
  background: #0f0;
  color: #000;
}

#gallery {
  display: grid;
  gap: 10px;
  padding: 10px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.item {
  text-align: center;
}

.item img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  border: 2px solid #0f0;
  cursor: pointer;
}

.item p {
  margin: 3px 0 0;
  font-size: 0.8rem;
  word-break: break-all;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal img {
  max-width: 94vw;
  max-height: 94vh;
  object-fit: contain;
}

