* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1 {
  text-align: center;
  color: white;
  margin-bottom: 40px;
  font-size: 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.converter-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #444;
  font-size: 1.1rem;
}

input, select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.convert-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.convert-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.convert-btn:active {
  transform: translateY(-1px);
}

.result {
  margin-top: 30px;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #667eea;
  display: none;
  font-size: 1.1rem;
  line-height: 1.6;
}

.result.success {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
  border-left-color: #27ae60;
  color: #27ae60;
}

.result.error {
  background: linear-gradient(135deg, #fee 0%, #fef0f0 100%);
  border-left-color: #e74c3c;
  color: #c0392b;
}

.result.loading {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  color: #667eea;
  text-align: center;
}

.info-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.info-section h3 {
  color: #444;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.info-section ul {
  list-style: none;
}

.info-section li {
  color: #666;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.info-section li:before {
  content: "✨";
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .container {
      padding: 20px 10px;
  }
  
  h1 {
      font-size: 2.2rem;
  }
  
  .converter-card {
      padding: 25px;
  }
}