@font-face {
  font-family: "gohu";
  src: url("/files/font/gohu.woff2") format("woff2"),
    url("/files/font/gohu.woff") format("woff"),
    url("/files/font/gohu.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

:root {
  --bg-color: #000000;
  --text-color: #fff;
  --accent-red: #ff0000;
  --accent-yellow: #ffff00;
  --accent-blue: #0000ff;
  --accent-orange: #ffa500;
  --border-color: #333333;
  --paper-bg: #0a0a0a;
}

body {
  background-color: #000;
  color: var(--text-color);
  font-family: "gohu", monospace;
  font-size: 16px;
  line-height: 1.5;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
  position: relative;
}

@media (min-width: 769px) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url("/images/bg/wall1.jpg") center/cover no-repeat;
    z-index: -2;
  }
}

@media (max-width: 768px) {
  body {
    position: relative;
  }
  
  body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/images/bg/wall1.jpg") center/cover no-repeat;
    z-index: -2;
  }
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
  pointer-events: none;
}

h1,
h2,
h3 {
  color: var(--accent-red);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  padding-bottom: 5px;
  margin-top: 30px;
}

a {
  color: #51ff00;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff;
  text-decoration: underline;
  animation: blink 0.5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes asciiSlide {
  0% {
    transform: translateX(-15px);
    opacity: 0.8;
  }
  50% {
    transform: translateX(15px);
    opacity: 1;
  }
  100% {
    transform: translateX(-15px);
    opacity: 0.8;
  }
}

.ascii {
  text-align: center;
  margin: 10px 0;
  overflow-x: auto;
  position: relative;
}

.bannerAscii {
  font-family: monospace;
  line-height: 19px;
  white-space: pre;
  color: #ffffff;
  margin: 0 auto;
  display: inline-block;
  position: relative;
}

.bannerAscii p {
  color: #51ff006c;
  font-size: 25px;
}





.sectionMenu {
  background-color: #000000;
  padding: 15px;
  margin-bottom: 30px;
  border: #3a5f29 1px solid;
}


@media (max-width: 768px) {
  .ascii {
    font-size: 23px;
  }

  .bannerAscii {
    line-height: 10px;
  }
}

.sectionMenu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.sectionMenu li {
  padding: 5px 10px;
  border: 1px dotted var(--border-color);
}

.sectionMenu li:hover {
  background-color: rgba(15, 15, 15, 0.1);
  border-color: #3a5f29;
}


.about-section {
  background-color: #000;
  padding: 20px;
  margin-bottom: 30px;
  border: 2px solid #3a5f29;
  position: relative;
  font-family: "gohu", monospace;
  
  background-image: url('/images/bg/wall1.jpg'); 
  background-repeat: repeat;
  background-attachment: fixed;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #000, #3a5f29, #000, #51ff00, #000);
  background-size: 400% 400%;
  z-index: -1;
  animation: borderGlow 8s ease infinite;
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.about-container {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 20px;
}

.about-simples {
  color: #ccc;
  line-height: 1.6;
  text-align: center;
  font-size: 18px;
  text-shadow: 1px 1px 1px #000;
}

.about-simples p {
  margin-bottom: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 3px;
}

.about-simples strong {
  color: #51ff00;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(81, 255, 0, 0.5);
}

.about-simples b {
  color: #ffff00;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border: 1px dotted #ffff00;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.about-simples code {
  background-color: #111;
  padding: 8px 15px;
  border: 1px solid #666;
  color: #0f0;
  font-size: 16px;
  font-family: monospace;
  display: inline-block;
  margin-top: 10px;
  border-radius: 0;
  box-shadow: 3px 3px 0px #333;
  position: relative;
}

.about-simples code::after {
  content: "█";
  animation: cursor 1s infinite;
  margin-left: 5px;
  color: #0f0;
}

@keyframes cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.about-divider {
  color: #3a5f29;
  margin: 20px auto;
  letter-spacing: 2px;
  width: 80%;
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #3a5f29, transparent);
}

.about-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    transparent 50%,
    rgba(0, 255, 0, 0.03) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
}

.about-section::after {
  content: "under construction";
  position: absolute;
  bottom: 5px;
  right: 10px;
  color: #666;
  font-size: 10px;
  font-style: italic;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .about-simples {
    font-size: 16px;
  }
  
  .about-simples strong {
    font-size: 18px;
  }
  
  .about-simples code {
    font-size: 14px;
    padding: 6px 10px;
  }
}


.articles {
  margin-bottom: 30px;
}

.paper-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 20px;
  align-items: start;
}

.paper-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  background-color: var(--paper-bg);
  backdrop-filter: blur(6px);
  height: auto;
  min-height: 0;
}

.paper-item:hover {
  cursor: pointer;
  border-color: #666;
  box-shadow: 0 0 10px rgba(49, 49, 49, 0.3);
}

.paper-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border: 1px solid #444;
  background-color: #111;
  margin-bottom: 8px;
}

.paper-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.paper-content {
  width: 100%;
}

.paper-item:has(.paper-image)::before {
  display: none;
}

.paper-item:has(.paper-image) .paper-title {
  margin-top: 0;
  color: #fff;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.paper-item:has(.paper-image) .paper-description {
  color: #888;
  font-size: 0.85em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.paper-item:has(.paper-image) .paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.paper-item:has(.paper-image) .paper-meta {
  font-size: 0.85em;
  color: #888;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.paper-item:has(.paper-image) .paper-status {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75em;
  margin-top: 8px;
}

.paper-title {
  color: #fff;
  font-weight: bold;
  margin-bottom: 8px;
}

.paper-meta {
  font-size: 0.85em;
  color: #888;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.paper-description {
  color: #888;
  font-size: 0.85em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.paper-item-disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  filter: grayscale(0.7);
  background-color: rgba(10, 10, 10, 0.8);
  border-color: #555 !important;
  position: relative;
}

.paper-item-disabled:hover {
  background-color: rgba(10, 10, 10, 0.8) !important;
  border-color: #555 !important;
  transform: none !important;
  box-shadow: none !important;
  z-index: 1000;
}

.paper-item-disabled {
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(50, 50, 50, 0.1) 100%
    ),
    rgba(10, 10, 10, 0.8);
}

.paper-item-disabled .paper-title {
  color: #999 !important;
  text-decoration: line-through;
}

.paper-item-disabled .paper-description {
  color: #666 !important;
}

.paper-item-disabled .tag {
  background-color: rgba(50, 50, 50, 0.3) !important;
  color: #777 !important;
  border-color: #555 !important;
}

.paper-item-disabled .paper-meta {
  color: #666 !important;
}

.paper-item-disabled .paper-status {
  background-color: rgba(100, 100, 100, 0.3) !important;
  color: #888 !important;
  border-color: #666 !important;
  position: relative;
}

.paper-item-disabled .paper-status::before {
  content: "🔒 ";
  font-size: 0.7em;
}

.paper-item-disabled .paper-image {
  filter: grayscale(1) brightness(0.7);
  border-color: #555 !important;
}

.paper-item-disabled .paper-image:hover {
  filter: grayscale(1) brightness(0.7) !important;
}

.paper-item-disabled * {
  pointer-events: none !important;
}

.paper-item-disabled::before {
  content: "Em desenvolvimento";
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #ccc;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 0.8em;
  white-space: nowrap;
  z-index: 1000;
  border: 1px solid #666;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;

  display: block !important;
  visibility: visible !important;
}

.paper-item-disabled::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #222;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;

  display: block !important;
  visibility: visible !important;
}

.paper-item-disabled:hover::before,
.paper-item-disabled:hover::after {
  opacity: 1;
}

.paper-list {
  position: relative;
  z-index: 1;
  gap: 37px 10px;
}

.paper-item {
  position: relative;
  z-index: 2;
}

.tag {
  background-color: rgba(75, 75, 75, 0.1);
  color: var(--text-color);
  padding: 2px 8px;
  font-size: 0.75em;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  text-transform: lowercase;
}

.tag:hover {
  background-color: rgba(155, 155, 155, 0.2);
  border-color: #666;
  cursor: default;
}

.paper-status {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75em;
}

.status-red {
  background-color: rgba(255, 0, 0, 0.2);
  color: #fff;
}

.status-green {
  background-color: rgba(0, 255, 0, 0.2);
  color: var(--text-color);
}

.status-orange {
  background-color: rgba(255, 94, 0, 0.425);
  color: var(--text-color);
}

.status-purple {
  background-color: rgba(162, 0, 255, 0.281);
  color: var(--text-color);
}

.gif-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  padding: 10px;
}

.gif-list img {
  max-height: 80px;
  max-width: 150px;
  width: auto;
  height: auto;
  display: block;
  padding: 2px;
  margin-bottom: 0;
}

.gif-item {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 80px;
  width: auto;
  padding: 2px;
}

.gif-item img {
  max-height: 80px;
  max-width: 150px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.gif-item img {
  max-height: 80px;
  max-width: 120px;
  width: auto;
  height: auto;
}

footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.8em;
  color: #666;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 14px;
  }

  .sectionMenu ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .paper-list {
    grid-template-columns: 1fr;
  }

  .bannerAscii {
    line-height: 14px;
    font-size: 12px;
  }

  .bannerAscii p {
    line-height: 14px;
    font-size: 20px;
  }

  .gif-list {
    flex-wrap: wrap;
    justify-content: center;
  }

}

@media (max-width: 480px) {
  .bannerAscii {
    font-size: 0.5em;
  }
}
