/* ============================================
   ABISMAL DISCOS — ESTILO TERMINAL RETRO PRETO
   Inspirado em layout estilo Neocities/oldweb
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=VT323&family=Courier+Prime&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: #0a0a0a;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  color: #c8c8c8;
  /* Grade de fundo sutil estilo papel quadriculado */
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Forçar cores de link para todo o documento */
a, a:visited, a:link {
  color: #b0b0b0;
  text-decoration: none;
}

/* ---- CONTAINER PRINCIPAL ---- */
.container {
  width: 520px;
  border: 3px solid #333333;
  background-color: #111111;
  box-shadow:
    0 0 0 6px #181818,
    0 0 0 9px #333333,
    0 0 40px rgba(0,0,0,0.9);
}

/* ---- HEADER (ATUALIZADO: CENTRALIZADO COM LOGO) ---- */
.header {
  display: flex;
  min-height: 120px;
  border-bottom: 3px solid #333333;
  align-items: center;
  justify-content: flex-start;
  background-color: #111111;
  padding: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.site-title {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 42px;
  font-weight: bold;
  color: #c0c0c0;
  text-decoration: none;
  text-transform: lowercase; /* Forçar caixa baixa */
  line-height: 1.1;
  display: block;
  transition: color 0.2s;
}

.site-title:hover {
  color: #ffffff;
}

/* ---- FAIXA ZEBRA ---- */
.zebra-stripe {
  height: 22px;
  background: repeating-linear-gradient(
    -45deg,
    #1a1a1a 0px,
    #1a1a1a 10px,
    #252525 10px,
    #252525 20px
  );
  border-top: 2px solid #333333;
  border-bottom: 2px solid #333333;
}

/* ---- PAINEL TERMINAL ---- */
.main-panel {
  padding: 22px 20px 32px 20px;
  min-height: 280px;
  background-color: #0d0d0d;
  /* Grade estilo papel quadriculado */
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 18px 18px;
}

.terminal-content {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.75;
}

.term-line {
  white-space: pre;
  display: block;
}

.term-indent1 {
  padding-left: 4px;
}

/* Cores dos elementos do terminal */
.bracket {
  color: #777777;
}

.highlight {
  color: #e0e0e0;
  font-weight: bold;
}

.dim {
  color: #4a4a4a;
}

.sym {
  color: #999999;
}

.tree-branch {
  color: #4a4a4a;
  margin-right: 2px;
}

/* ---- LINKS DO TERMINAL (EFEITO INVERTIDO) ---- */
.term-link,
.term-link:visited,
.term-link:link {
  color: #c0c0c0 !important;
  text-decoration: none !important;
  padding: 0 4px;
  margin: 0 -4px;
  display: inline-block;
  transition: background-color 0.1s, color 0.1s;
}

.term-link:hover {
  background-color: #c0c0c0 !important;
  color: #000000 !important;
  text-shadow: none !important;
}

/* ---- FOOTER ---- */
.footer {
  display: flex;
  height: 80px;
  border-top: 3px solid #333333;
  background-color: #111111;
}

.footer-link {
  flex: 1;
  width: 50%;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.1s, color 0.1s;
}

.footer-link:hover {
  background-color: #c0c0c0;
}

.footer-link:hover .footer-text,
.footer-link:hover .footer-icon {
  color: #000000 !important;
}

.footer-left,
.footer-right {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap removido */
  padding: 10px 16px;
}

.footer-divider {
  width: 3px;
  background-color: #333333;
  align-self: stretch;
}

/* .footer-icon removido */

.footer-text {
  font-family: 'Courier Prime', 'OCR-A', monospace;
  font-size: 18px;
  color: #777777;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-align: center;
  font-weight: bold;
}

/* ---- RESPONSIVIDADE BÁSICA ---- */
@media (max-width: 560px) {
  .container {
    width: 100vw;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
  .terminal-content {
    font-size: 13px;
  }
}
