/* QEL@0xpblab - Estilos do Easter Egg "Ritual Terminal" */
/* Terminal minimalista: fundo branco, texto preto */

.occult-game-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #000;
  font-family: monospace;
}

/* Terminal de texto */
.occult-terminal {
  background: #000;
  color: #0f0;
  padding: 1.5rem;
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid #000;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.occult-terminal::-webkit-scrollbar {
  width: 8px;
}

.occult-terminal::-webkit-scrollbar-track {
  background: #000;
}

.occult-terminal::-webkit-scrollbar-thumb {
  background: #666;
  border: 1px solid #000;
}

.occult-terminal::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* Prompt do terminal */
.occult-prompt {
  color: #0ff;
  font-weight: 600;
}

.occult-prompt::after {
  content: ' > ';
  color: #0f0;
}

/* Container de escolhas */
.occult-choices {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.occult-choice-btn {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  padding: 0.75rem 1.25rem;
  font-family: monospace;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
}

.occult-choice-btn::before {
  content: '[ ] ';
  margin-right: 0.5rem;
}

.occult-choice-btn:hover,
.occult-choice-btn:focus {
  background: #f0f0f0;
  outline: none;
}

.occult-choice-btn:active {
  background: #e0e0e0;
}

.occult-choice-btn:focus-visible {
  outline: 1px dotted #000;
  outline-offset: 2px;
}

/* Input para puzzle */
.occult-input-container {
  margin-top: 1.5rem;
}

.occult-input-label {
  display: block;
  color: #000;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.occult-input {
  width: 100%;
  background: #000;
  border: 1px solid #000;
  color: #0f0;
  padding: 0.75rem;
  font-family: monospace;
  font-size: 0.9rem;
  outline: none;
}

.occult-input:focus {
  border-color: #0ff;
}

.occult-input::placeholder {
  color: #666;
}

.occult-input-error {
  border-color: #f00;
  color: #f00;
}

.occult-input-success {
  border-color: #0f0;
  color: #0f0;
}

/* Área de ações */
.occult-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #000;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.occult-action-btn {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  padding: 0.5rem 1rem;
  font-family: monospace;
  font-size: 0.85rem;
  cursor: pointer;
}

.occult-action-btn:hover,
.occult-action-btn:focus {
  background: #f0f0f0;
  outline: none;
}

.occult-action-btn:active {
  background: #e0e0e0;
}

.occult-action-btn:focus-visible {
  outline: 1px dotted #000;
  outline-offset: 2px;
}

.occult-action-btn.danger {
  border-color: #f00;
  color: #f00;
}

.occult-action-btn.danger:hover,
.occult-action-btn.danger:focus {
  background: #ffe0e0;
}

/* Inventário */
.occult-inventory {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f0f0f0;
  border: 1px dashed #000;
  font-size: 0.85rem;
  color: #000;
  min-height: 2rem;
}

.occult-inventory:empty {
  display: none;
}

.occult-inventory-item {
  display: inline-block;
  margin: 0.25rem 0.5rem 0.25rem 0;
  padding: 0.25rem 0.5rem;
  background: #fff;
  border: 1px solid #000;
  font-size: 0.8rem;
}

/* Mensagens de feedback */
.occult-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-left: 3px solid;
  font-size: 0.85rem;
}

.occult-message.info {
  border-color: #000;
  background: #f0f0f0;
  color: #000;
}

.occult-message.error {
  border-color: #f00;
  background: #ffe0e0;
  color: #f00;
}

.occult-message.success {
  border-color: #0f0;
  background: #e0ffe0;
  color: #0f0;
}

/* Responsividade */
@media (max-width: 768px) {
  .occult-game-container {
    margin: 1rem;
    padding: 1rem;
  }

  .occult-terminal {
    min-height: 200px;
    max-height: 400px;
    font-size: 0.85rem;
    padding: 1rem;
  }

  .occult-choice-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .occult-actions {
    flex-direction: column;
  }

  .occult-action-btn {
    width: 100%;
  }
}
