body {
  background-color: #0f1b1c;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

input[type="text"] {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
}

button {
  padding: 12px 20px;
  font-size: 16px;
  background-color: #00b37d;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/*  LLM response block */
.response-header {
  background: #1f2a2b;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 0.8em;
  color: #fff;
  border-radius: 6px;
  text-align: left;
  white-space: pre-wrap;
  max-height: 120px; 
  overflow-y: auto;
}

/* grid for game cards */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.game-card {
  background-color: #1c2a2b;
  border-radius: 10px;
  width: 180px;
  padding: 15px;
  text-align: center;
}

.game-card h4 {
  margin: 0 0 8px;
  font-size: 1.1em;
}

.game-details {
  list-style: disc inside;
  margin: 0 0 8px;
  padding: 0;
  font-size: 0.9em;
  color: #ddd;
}

.game-details li {
  margin-bottom: 4px;
}

.game-provider {
  font-size: 0.8em;
  color: #aaa;
  margin-top: 8px;
}

.raw-response {
  display: none;                /* start hidden */
  max-height: 120px;            /* fixed height */
  overflow-y: auto;             /* scroll when content overflows */
  background: #1c2a2b;
  padding: 10px;
  border-radius: 6px;
  white-space: pre-wrap;
  margin-bottom: 20px;
  font-size: 0.9em;
  color: #6a6a6a;
}

.raw-response.visible {
  display: block;               /* show when .visible is applied */
}