:root {
  --primary: #FF6B8B;
  --primary-light: #FFD1D9;
  --bg: #FFF5F7;
  --card: white;
  --text: #333;
  --text-light: #666;
  --border: rgba(255, 107, 139, 0.2);
  --radius: 12px;
  --shadow: 0 4px 16px rgba(255, 107, 139, 0.1);
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 28px;
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 基础卡片样式 */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 139, 0.15);
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  font-weight: 600;
}

.section-title i {
  margin-right: var(--space-sm);
  color: var(--primary);
}

/* 表单元素 */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-control, .form-select {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.btn {
  width: 100%;
  padding: var(--space-sm);
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  margin-top: var(--space-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: #E05575;
  transform: translateY(-1px);
}

.btn i {
  margin-right: 8px;
}

/* 结果区域 */
.placeholder {
  text-align: center;
  padding: var(--space-lg) 0;
  color: var(--text-light);
}

.placeholder i {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: var(--space-sm);
}

.result-data {
  display: none;
}

.data-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

.data-label {
  font-weight: 500;
}

.data-value {
  font-weight: 600;
  color: var(--primary);
}

/* 分享按钮 */
.share-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.share-btn {
  padding: var(--space-sm);
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.share-btn i {
  margin-right: 8px;
  color: var(--primary);
}

/* 响应式调整 */
@media (max-width: 600px) {
  body {
    padding: var(--space-sm);
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .btn, .share-btn {
    padding: 12px;
  }
}