html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
  font-family: 'Roboto Mono', monospace;
  font-size: 16px;
}

main {
  width: 960px;
  min-width: 960px;
  height: 480px;
  background-color: #eee;
}

#loading:not(.hidden),
#titlescreen:not(.hidden),
#epilogue:not(.hidden) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.hidden {
  display: none;
}

/******* START LOADING SCREEN STYLING *******/

#loading {
  background-color: #242424;
}

.loading-dots {
  margin-right: -90px;
  margin-top: 28px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: transparent;
  box-shadow: -72px 0 0 0 #FFF, -48px 0 0 0 #FFF, -24px 0 0 0 #FFF;
  animation: bounce 1.5s infinite linear;
}

@keyframes bounce {
  0% {
    box-shadow: -72px 0 0 0 #FFF, -48px 0 0 0 #FFF, -24px 0 0 0 #FFF;
  }
  16.667% {
    box-shadow: -72px -10px 0 0 #FFF, -48px 0 0 0 #FFF, -24px 0 0 0 #FFF;
  }
  33.333% {
    box-shadow: -72px 0 0 0 #FFF, -48px 0 0 0 #FFF, -24px 0 0 0 #FFF;
  }
  50% {
    box-shadow: -72px 0 0 0 #FFF, -48px -10px 0 0 #FFF, -24px 0 0 0 #FFF;
  }
  66.667% {
    box-shadow: -72px 0 0 0 #FFF, -48px 0 0 0 #FFF, -24px 0 0 0 #FFF;
  }
  83.333% {
    box-shadow: -72px 0 0 0 #FFF, -48px 0 0 0 #FFF, -24px -10px 0 0 #FFF;
  }
  100% {
    box-shadow: -72px 0 0 0 #FFF, -48px 0 0 0 #FFF, -24px 0 0 0 #FFF;
  }
}

/******* END LOADING SCREEN STYLING *******/

/******* START TITLE SCREEN STYLING *******/

#titlescreen h1 {
  margin: 0;
}

#titlescreen button {
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  margin: 60px 20px 20px 20px;
  padding: 8px 20px;
  font: inherit;
  cursor: pointer;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  border-radius: 4px;
  transition: all 0.1s;
}

#titlescreen button:hover,
#titlescreen button:focus {
  box-shadow: 2px 2px #333;
  transform: translate(2px, 2px);
}

#titlescreen .wrapper {
  width: 90%;
  height: 90%;
  background-color: white;
  margin: 16px;
  position: relative;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#titlescreen .wrapper p {
  text-align: center;
  max-width: 80%;
  margin: 20px auto 0 auto;
}

#titlescreen a {
  color: inherit;
}

#titlescreen .wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-radius: 9px 9px 0 0;
  border-bottom: 2px solid #333;
  box-sizing: border-box;
  height: 30px;
}

#titlescreen .wrapper::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  left: 10px;
  top: 6px;
  border: 2px solid #333;
  border-radius: 100%;
}

/******* END TITLE SCREEN STYLING *******/

/******* START DIALOGUE SCREEN STYLING *******/

#dialogue-container:not(.hidden) {
  display: flex;
  position: relative;
  height: 100%;
  width: 100%;
  justify-content: space-between;
  padding: 16px;
  box-sizing: border-box;
}

#game-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-wrapper {
  width: 95%;
  height: 60px;
  background-color: white;
  margin: 8px auto;
  position: relative;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-radius: 9px 9px 0 0;
  border-bottom: 2px solid #333;
  box-sizing: border-box;
  height: 40px;
}

.header-wrapper::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  left: 10px;
  top: 15px;
  border: 2px solid #333;
  border-radius: 100%;
}

.header-content {
  padding: 8px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  z-index: 1;
}

.header-content h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.header-content p {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-buttons {
  display: flex;
  gap: 8px;
}

.social-button {
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  padding: 4px 8px;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
  border: 2px solid #333;
  box-shadow: 2px 2px #333;
  border-radius: 4px;
  transition: all 0.1s;
}

.social-button:hover,
.social-button:focus {
  box-shadow: 1px 1px #333;
  transform: translate(1px, 1px);
}

/******* START FOOTER STYLING *******/

#footer-section {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.footer-wrapper {
  width: 100%;
  height: 80px;
  background-color: white;
  margin: 8px auto;
  position: relative;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-radius: 9px 9px 0 0;
  border-bottom: 2px solid #333;
  box-sizing: border-box;
  height: 30px;
}

.footer-wrapper::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  left: 10px;
  top: 6px;
  border: 2px solid #333;
  border-radius: 100%;
}

.footer-content {
  padding: 20px 60px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  z-index: 5;
  position: relative;
}

.footer-content h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.footer-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 6;
}

.footer-buttons {
  display: flex;
  gap: 12px;
}

.footer-buttons .social-button {
  padding: 8px 16px;
  font-size: 14px;
}

/******* END FOOTER STYLING *******/

#character-portrait {
  position: absolute;
  height: 300px;
  width: 300px;
  bottom: 220px;
  left: calc(50% - 150px);
  background-repeat: no-repeat;
  background-size: 200%;
  background-position-x: 0;
  background-position-y: 0;
}

.dialogue-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 546px;
  margin-top: -100px;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  background: radial-gradient(white 5%, transparent), repeating-linear-gradient(to bottom, #ddd, #ddd 2px, transparent 2px, transparent 20px), repeating-linear-gradient( to right, #ddd, #ddd 2px, transparent 2px, transparent 20px), white;
}

.dialogue-overlay {
  display: flex;
  justify-content: space-between;
  margin: 14px;
  z-index: 5;
}

.dialogue-responses-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 40px 0 40px 0;
  z-index: 5;
}

.dialogue-wrapper {
  margin: 16px;
  position: relative;
  z-index: 5;
  min-height: 200px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
}

#speaker-name {
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  font-size: 20px;
  border-radius: 9px 9px 0 0;
  padding: 4px;
  padding-left: 55px;
  position: relative;
  border-bottom: 2px solid #333;
}

#speaker-name::before, #speaker-name::after {
  content: '';
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  top: calc(50% - 7px);
  left: 10px;
  border: 2px solid #333;
  border-radius: 100%;
}

#speaker-name::after {
  left: 28px;
}

#responses button {
  background-color: rgba(255,255,255);
  height: 80px;
  width: 500px;
  font: inherit;
  padding: 6px;
  cursor: pointer;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  border-radius: 4px;
}

#progress-dialogue {
  background-color: transparent;
  border: none;
  position: absolute;
  right: 15px;
  bottom: 18px;
  cursor: pointer;
  animation: wiggle 0.75s infinite linear;
}

@keyframes wiggle {
  0% {
    right: 15px;
  } 
  50% {
    right: 18px;
  }
  100% {
    right: 15px;
  }
}

#progress-dialogue div {
  transform: rotate(45deg);
    width: 0;
    height: 0;
    border-color: #333;
    border: 7px solid transparent;
    border-top: 7px solid;
    border-right: 7px solid;
    margin: 15px;
}

#character-dialogue {
  margin: 8px;
}

/******* END DIALOGUE SCREEN STYLING *******/

/******* START EPILOGUE SCREEN STYLING *******/

#epilogue-result {
  margin: 20px 10%
} 

#epilogue button {
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  margin: 20px;
  padding: 8px 20px;
  font: inherit;
  cursor: pointer;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  border-radius: 4px;
  transition: all 0.1s;
}

#epilogue button:hover,
#epilogue button:focus {
  box-shadow: 2px 2px #333;
  margin: 22px 18px 18px 22px;
}

/******* END EPILOGUE SCREEN STYLING *******/

/******* START ROADMAP SCREEN STYLING *******/

#roadmap-section {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Ocultar roadmap cuando solo se muestra la pantalla de inicio */
body:has(#titlescreen:not(.hidden)) #roadmap-section {
  display: none !important;
}

/* Ocultar footer cuando solo se muestra la pantalla de inicio */
body:has(#titlescreen:not(.hidden)) #footer-section {
  display: none !important;
}



.roadmap-wrapper {
  width: 100%;
  max-width: 800px;
  background-color: white;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px;
  box-sizing: border-box;
}

.roadmap-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-radius: 9px 9px 0 0;
  border-bottom: 2px solid #333;
  box-sizing: border-box;
  height: 30px;
}

.roadmap-wrapper::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  left: 10px;
  top: 6px;
  border: 2px solid #333;
  border-radius: 100%;
}

.roadmap-wrapper h2 {
  margin: 0 0 30px 0;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #333;
}

.roadmap-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 700px;
}

.roadmap-item {
  background-color: white;
  border-radius: 8px;
  border: 2px solid #333;
  box-shadow: 3px 3px #333;
  padding: 20px;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  transition: all 0.2s ease;
  position: relative;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #333, #666);
  border-radius: 10px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.roadmap-item:hover::before {
  opacity: 1;
}

.roadmap-item:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px #333;
}

.roadmap-item h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.roadmap-item p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  text-align: center;
}

/******* END ROADMAP SCREEN STYLING *******/

/******* START GALLERY SCREEN STYLING *******/

#gallery-section {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Ocultar gallery cuando solo se muestra la pantalla de inicio */
body:has(#titlescreen:not(.hidden)) #gallery-section {
  display: none !important;
}

.gallery-wrapper {
  width: 100%;
  max-width: 900px;
  background-color: white;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px;
  box-sizing: border-box;
}

.gallery-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-radius: 9px 9px 0 0;
  border-bottom: 2px solid #333;
  box-sizing: border-box;
  height: 30px;
}

.gallery-wrapper::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  left: 10px;
  top: 6px;
  border: 2px solid #333;
  border-radius: 100%;
}

.gallery-wrapper h2 {
  margin: 0 0 30px 0;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #333;
}



.gallery-content {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-carousel {
  width: 100%;
  max-width: 800px;
  height: 450px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid #333;
  box-shadow: 3px 3px #333;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
}

.gallery-item {
  position: absolute;
  width: 400px;
  height: 400px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #333;
  box-shadow: 2px 2px #333;
}

.gallery-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.gallery-item:not(.active) {
  opacity: 0.6;
  transform: scale(0.7);
  z-index: 1;
}

.gallery-item.faded {
  opacity: 0.4;
  transform: scale(0.6);
  z-index: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-nav {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.nav-button {
  width: 50px;
  height: 50px;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border: 2px solid #333;
  box-shadow: 3px 3px #333;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  transition: all 0.2s ease;
}

.nav-button:hover,
.nav-button:focus {
  box-shadow: 2px 2px #333;
  transform: translate(1px, 1px);
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: white;
}

/******* END GALLERY SCREEN STYLING *******/

/******* START FAQ SCREEN STYLING *******/

#faq-section {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Ocultar FAQ cuando solo se muestra la pantalla de inicio */
body:has(#titlescreen:not(.hidden)) #faq-section {
  display: none !important;
}

.faq-wrapper {
  width: 100%;
  max-width: 900px;
  background-color: white;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px;
  box-sizing: border-box;
}

.faq-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-radius: 9px 9px 0 0;
  border-bottom: 2px solid #333;
  box-sizing: border-box;
  height: 30px;
}

.faq-wrapper::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  left: 10px;
  top: 6px;
  border: 2px solid #333;
  border-radius: 100%;
}

.faq-wrapper h2 {
  margin: 0 0 30px 0;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #333;
}

.faq-content {
  width: 100%;
  max-width: 800px;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  border: 2px solid #333;
  box-shadow: 3px 3px #333;
  margin-bottom: 16px;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px #333;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-bottom: 2px solid #333;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: white;
}

.faq-question h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: inherit;
}

.faq-toggle {
  font-size: 18px;
  font-weight: bold;
  color: inherit;
  transition: transform 0.2s ease;
}

.faq-item.expanded .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 20px;
  background-color: white;
  border-top: 1px solid #ddd;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.faq-answer .highlight {
  color: #4CAF50;
  font-weight: bold;
  text-decoration: underline;
}

/******* END FAQ SCREEN STYLING *******/

/******* START TERMINAL SCREEN STYLING *******/

#terminal-section {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Ocultar terminal cuando solo se muestra la pantalla de inicio */
body:has(#titlescreen:not(.hidden)) #terminal-section {
  display: none !important;
}

.terminal-wrapper {
  width: 100%;
  max-width: 900px;
  background-color: white;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px;
  box-sizing: border-box;
}

.terminal-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-radius: 9px 9px 0 0;
  border-bottom: 2px solid #333;
  box-sizing: border-box;
  height: 30px;
}

.terminal-wrapper::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  left: 10px;
  top: 6px;
  border: 2px solid #333;
  border-radius: 100%;
}

.terminal-wrapper h2 {
  margin: 0 0 30px 0;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #333;
}

.terminal-content {
  width: 100%;
  max-width: 800px;
  background-color: #1a1a1a;
  border-radius: 8px;
  border: 2px solid #333;
  box-shadow: 3px 3px #333;
  overflow: hidden;
}

.terminal-header {
  background-color: #333;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #333;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #333;
}

.dot.red {
  background-color: #ff5f56;
}

.dot.yellow {
  background-color: #ffbd2e;
}

.dot.green {
  background-color: #27ca3f;
}

.terminal-title {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.terminal-body {
  padding: 16px;
  background-color: #1a1a1a;
  min-height: 300px;
  max-height: 400px;
  overflow-y: auto;
}

#terminal-output {
  color: #00ff00;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

#terminal-output .comment {
  color: #888;
}

#terminal-output .tag {
  color: #ff6b6b;
}

#terminal-output .attribute {
  color: #4ecdc4;
}

#terminal-output .value {
  color: #ffe66d;
}

#terminal-output .text {
  color: #ffffff;
}

/******* END TERMINAL SCREEN STYLING *******/

/******* START NFT SCREEN STYLING *******/

#nft-section {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Ocultar NFT cuando solo se muestra la pantalla de inicio */
body:has(#titlescreen:not(.hidden)) #nft-section {
  display: none !important;
}

.nft-wrapper {
  width: 100%;
  max-width: 900px;
  background-color: white;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  border: 2px solid #333;
  box-shadow: 4px 4px #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  box-sizing: border-box;
}

.nft-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent, transparent 1px, white 1px, white 3px), repeating-linear-gradient(to right, #ccc, #ccc 1px, white 1px, white 3px);
  border-radius: 9px 9px 0 0;
  border-bottom: 2px solid #333;
  box-sizing: border-box;
  height: 30px;
}

.nft-wrapper::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: white;
  left: 10px;
  top: 6px;
  border: 2px solid #333;
  border-radius: 100%;
}

.nft-wrapper h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #333;
  line-height: 1.4;
  max-width: 800px;
}

/******* END NFT SCREEN STYLING *******/

/* Ocultar footer cuando solo se muestra la pantalla de inicio */
body:has(#titlescreen:not(.hidden)) #game-footer {
  display: none !important;
}