* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, #1b2a4e55, transparent 40%),
    radial-gradient(1000px 500px at 90% 10%, #3b82f655, transparent 35%),
    #0f1117;
  color: #e6e6eb;
}

.container {
  max-width: 720px;
  margin: 60px auto;
  padding: 20px;
}

h1 {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}

.card h2 {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #93c5fd;
}

p {
  line-height: 1.65;
}

.subtitle {
  color: #9aa0a6;
  margin-bottom: 24px;
}

textarea {
  width: 100%;
  min-height: 160px;
  padding: 16px;
  background: #161a22;
  border: 1px solid #222736;
  border-radius: 12px;
  color: #e6e6eb;
  font-size: 1rem;
  resize: vertical;
}

textarea::placeholder {
  color: #6b7280;
}

button {
  margin-top: 18px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

button:active {
  transform: translateY(0);
}
.card {
  margin-top: 28px;
  padding: 22px;
  background: rgba(22, 26, 34, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


.hint-btn {
  background: transparent;
  color: #93c5fd;
  margin-top: 12px;
}

.hint-btn:hover {
  text-decoration: underline;
}

.hint {
  margin-top: 8px;
  color: #d1d5db;
}

.hidden {
  display: none;
}

/* ---- Smooth reveal animations ---- */

.hint {
  margin-top: 8px;
  color: #d1d5db;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hint.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animate hint buttons disappearing */
.hint-btn {
  transition: opacity 0.3s ease;
}

.pattern-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.container {
  animation: fadeIn 0.6s ease forwards;
}

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