body {
  background-color: black;
  color: white;
  font-family: 'Orbitron', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

.background-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  filter: brightness(90%);
}

.container {
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.logo {
  width: 40px;
  height: auto;
}

.company-name {
  color: #aaff00;
  font-size: 1.8em;
  flex-shrink: 1;
  text-align: center;
}

.input-container {
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  padding: 0 10px;
}

input[type="text"] {
  border: 2px solid transparent;
  outline: none;
  padding: 10px;
  background-color: rgba(51, 51, 51, 0.4);
  color: white;
  transition: width 1.5s ease-in-out, border-color 0.5s ease-in-out;
  width: 0;
  max-width: 95%;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2em;
  border-radius: 8px;
  box-sizing: border-box;
  animation: expandInput 2s ease forwards;
}

input[type="text"]:focus {
  border-color: #aaff00;
  box-shadow: 0 0 10px #aaff00;
}

@keyframes expandInput {
  0% { width: 0; opacity: 0; }
  100% { width: 100%; opacity: 1; }
}

.info-box {
  margin-top: 40px;
  border: 1px solid #aaff00;
  border-radius: 8px;
  max-width: 100%;
  font-family: 'Audiowide', sans-serif;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: left; /* Non-Bible text left-aligned */
  padding: 15px;
  max-height: 500px;
  overflow-y: auto;
  display: none;
  animation: expandFromCenter 1.5s ease-out forwards;
}

@keyframes expandFromCenter {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

::placeholder {
  color: #888;
  opacity: 1;
}

@media (max-width: 768px) {
  .header { flex-wrap: wrap; }
  .company-name { font-size: 1.5em; }
  input[type="text"] { font-size: 1em; }
  .info-box { 
    font-size: 0.9em; 
    padding: 10px; 
    max-width: 90vw; 
  }
  #dos {
    width: 100%;
    height: 50vh;
  }
}

.section {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(170, 255, 0, 0.3);
  padding-bottom: 10px;
}

.section-title {
  cursor: pointer;
  color: #00ccff;
  font-weight: bold;
  margin-bottom: 5px;
}

.section-content {
  display: none;
  padding-left: 10px;
}

.section-content p {
  margin: 5px 0;
}

#dos {
  width: 100%;
  height: 480px;
  max-width: 800px;
  margin: 0 auto;
}

.dosbox-console {
  display: none !important;
}

#dos .text-ellipsis {
  display: none !important;
}

.bible-output {
  font-family: 'EB Garamond', serif;
  width: 100%;
  max-width: 45ch;
  height: auto;
  min-height: 10em;
  line-height: 1.5;
  padding: 10px;
  box-sizing: border-box;
  margin: 0 auto; /* Center the bible-output block */
}

.bible-title {
  font-family: 'EB Garamond', serif;
  font-weight: 800; /* Stronger bold */
  font-size: 1.2em;
  margin-bottom: 10px;
  text-align: center; /* Explicitly centered */
}

.bible-verse {
  margin-bottom: 1em;
}

.bible-verse sup {
  font-size: 0.7em;
  vertical-align: super;
  margin-right: 5px;
}

.bible-verse-text {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
}

@media (max-width: 768px) {
  .bible-output {
    max-width: 90vw;
    font-size: 0.9em;
  }
  .bible-title {
    font-size: 1em;
  }
}