/* =============================
   Word Mixer - v2.5
   Clean, balanced two-column layout
   ============================= */

#word-mixer-container {
  font-family: 'Inter', system-ui, sans-serif;
  max-width: 600px;
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

#word-mixer-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

.word-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.word-inputs input {
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.word-inputs input:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 4px rgba(59, 130, 246, 0.3);
}

.mode-select {
  text-align: center;
  margin: 1rem 0;
}

.mode-select label {
  margin: 0 1rem;
  font-weight: 500;
  color: #444;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

button {
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  background: #3b82f6;
  color: white;
  transition: all 0.3s ease;
}

button:hover {
  background: #2563eb;
}

#resetBtn {
  background: #ef4444;
}

#resetBtn:hover {
  background: #dc2626;
}

#helpBtn {
  background: #10b981;
}

#helpBtn:hover {
  background: #059669;
}

/* =============================
   Results Section
   ============================= */

#results {
  margin-top: 1.5rem;
  animation: fadeIn 0.5s ease-in;
}

#results h3 {
  text-align: center;
  color: #444;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.columns {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  min-width: 230px;
  background: #fafafa;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.column h3 {
  text-align: center;
  color: #333;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.copyable {
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 6px 0;
  background: #f4f4f4;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
  color: #333;
}

.copyable:hover {
  background: #e0f2fe;
  transform: translateY(-1px);
}

.copyable.copied {
  background: #bbf7d0 !important;
  color: #065f46;
  font-weight: 600;
}

/* =============================
   Animations & Responsive
   ============================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  #word-mixer-container {
    padding: 1rem;
  }
  .columns {
    flex-direction: column;
  }
}