body {
  margin: 0;
  padding: 20px 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
  background-color: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

h1 {
  margin-bottom: 25px;
  color: #1a237e;
  font-weight: 700;
  font-size: 2.5rem;
}

.description {
  color: #546e7a;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

#resultArea {
  margin-top: 35px;
  min-height: 40px;
  padding: 25px;
  border-radius: 15px;
  background-color: #f8f9fa;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
}

#resultArea.success {
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
}

#resultArea.error {
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
  color: #c62828;
}

.word-input {
  background-color: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.word-input:focus {
  border-color: #3f51b5;
  box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
  background-color: #ffffff;
}

.word-input::placeholder {
  color: #9e9e9e;
}

.search-btn {
  padding: 15px 35px;
  font-size: 1.15rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background-color: #3f51b5;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 81, 181, 0.25);
  background-color: #303f9f;
}

.search-btn:active {
  transform: translateY(0);
}

.transition-arrow {
  color: #9fa8da;
  transition: all 0.3s ease;
}

.loading {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.word-result {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 500;
  color: #3f51b5;
}

.arrow-result {
  color: #9fa8da;
  margin: 0 10px;
  font-size: 0.9rem;
} 