/* Feedback page — game-specific styles only */

main {
  flex-grow: 1;
  padding: 2rem 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}

h1 {
  font-size: 2.4rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feedback-form label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.feedback-form input,
.feedback-form textarea,
.feedback-form select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: border-color var(--transition);
  font-family: inherit;
  width: 100%;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 280px;
}

.feedback-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.feedback-form input:focus,
.feedback-form textarea:focus,
.feedback-form select:focus {
  border-color: var(--accent);
  outline: none;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: var(--text-dim);
}

.feedback-form .btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

#charCount {
  text-align: right;
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
#charCount.warn  { color: #ffcc00; }
#charCount.limit { color: var(--danger); }

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
}
