* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", Arial, sans-serif;
}
li {
  list-style-type: none;
}
.app {
  background-color: #f5f7fa;
}
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 10px #0000001a;
}
.header p {
  font-size: 1.1rem;
  opacity: 0.9;
}
.logo-container {
  margin-bottom: 1.5rem;
}
.logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}
.headerName {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}
.content-container {
  flex: 1;
  width: 66.67%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.page-title {
  font-size: 2rem;
  color: #2d3748;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px #0000001a;
}
.article-list {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px #0000001a;
  width: 100%;
}
.article-item {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: #fff;
  box-sizing: border-box;
}
.article-header {
  margin-bottom: 0.8rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.price {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.view-btn {
  background: #f7fafc;
  color: #4a5568;
  padding: 0.4rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
}
.footer {
  background: #2d3748;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: auto;
}
.article-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #00000026;
  border-color: #667eea;
}
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e2e8f0;
}
.back-btn {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}
.payment-section {
  text-align: center;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px #00000014;
}
.payment-info {
  margin-bottom: 2rem;
}
.payment-info p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}
.payment-price {
  font-weight: 700;
  color: #667eea;
}
.wechat-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.wechat-qrcode {
  margin: 2rem 0;
  background: #fff;
  padding: 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  text-align: center;
}
.qrcode-container {
  background: #fff;
  padding: 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 12px #0000001a;
  margin-bottom: 1.5rem;
}
.qrcode-image {
  width: 250px;
  height: 250px;
  background: #fff;
  border-radius: 8px;
  background-image: url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="250" height="250" viewBox="0 0 250 250"%3E%3Crect width="250" height="250" fill="white"/%3E%3Crect x="50" y="50" width="50" height="50" fill="black"/%3E%3Crect x="100" y="50" width="20" height="20" fill="black"/%3E%3Crect x="120" y="50" width="20" height="20" fill="black"/%3E%3Crect x="140" y="50" width="20" height="20" fill="black"/%3E%3Crect x="160" y="50" width="20" height="20" fill="black"/%3E%3Crect x="180" y="50" width="50" height="50" fill="black"/%3E%3Crect x="50" y="100" width="20" height="20" fill="black"/%3E%3Crect x="70" y="100" width="20" height="20" fill="black"/%3E%3Crect x="90" y="100" width="20" height="20" fill="black"/%3E%3Crect x="110" y="100" width="20" height="20" fill="white"/%3E%3Crect x="130" y="100" width="20" height="20" fill="black"/%3E%3Crect x="150" y="100" width="20" height="20" fill="white"/%3E%3Crect x="170" y="100" width="20" height="20" fill="black"/%3E%3Crect x="190" y="100" width="20" height="20" fill="white"/%3E%3Crect x="210" y="100" width="20" height="20" fill="black"/%3E%3Crect x="50" y="120" width="20" height="20" fill="black"/%3E%3Crect x="70" y="120" width="20" height="20" fill="white"/%3E%3Crect x="90" y="120" width="20" height="20" fill="black"/%3E%3Crect x="110" y="120" width="20" height="20" fill="black"/%3E%3Crect x="130" y="120" width="20" height="20" fill="white"/%3E%3Crect x="150" y="120" width="20" height="20" fill="black"/%3E%3Crect x="170" y="120" width="20" height="20" fill="black"/%3E%3Crect x="190" y="120" width="20" height="20" fill="black"/%3E%3Crect x="210" y="120" width="20" height="20" fill="white"/%3E%3Crect x="50" y="140" width="20" height="20" fill="black"/%3E%3Crect x="70" y="140" width="20" height="20" fill="black"/%3E%3Crect x="90" y="140" width="20" height="20" fill="white"/%3E%3Crect x="110" y="140" width="20" height="20" fill="black"/%3E%3Crect x="130" y="140" width="20" height="20" fill="black"/%3E%3Crect x="150" y="140" width="20" height="20" fill="white"/%3E%3Crect x="170" y="140" width="20" height="20" fill="white"/%3E%3Crect x="190" y="140" width="20" height="20" fill="white"/%3E%3Crect x="210" y="140" width="20" height="20" fill="black"/%3E%3Crect x="50" y="160" width="20" height="20" fill="black"/%3E%3Crect x="70" y="160" width="20" height="20" fill="white"/%3E%3Crect x="90" y="160" width="20" height="20" fill="black"/%3E%3Crect x="110" y="160" width="20" height="20" fill="white"/%3E%3Crect x="130" y="160" width="20" height="20" fill="black"/%3E%3Crect x="150" y="160" width="20" height="20" fill="black"/%3E%3Crect x="170" y="160" width="20" height="20" fill="black"/%3E%3Crect x="190" y="160" width="20" height="20" fill="black"/%3E%3Crect x="210" y="160" width="20" height="20" fill="white"/%3E%3Crect x="50" y="180" width="50" height="50" fill="black"/%3E%3Crect x="100" y="180" width="20" height="20" fill="black"/%3E%3Crect x="120" y="180" width="20" height="20" fill="white"/%3E%3Crect x="140" y="180" width="20" height="20" fill="black"/%3E%3Crect x="160" y="180" width="20" height="20" fill="white"/%3E%3Crect x="180" y="180" width="50" height="50" fill="black"/%3E%3Crect x="100" y="200" width="20" height="20" fill="white"/%3E%3Crect x="120" y="200" width="20" height="20" fill="black"/%3E%3Crect x="140" y="200" width="20" height="20" fill="white"/%3E%3Crect x="160" y="200" width="20" height="20" fill="black"/%3E%3Crect x="100" y="220" width="20" height="20" fill="black"/%3E%3Crect x="120" y="220" width="20" height="20" fill="white"/%3E%3Crect x="140" y="220" width="20" height="20" fill="black"/%3E%3Crect x="160" y="220" width="20" height="20" fill="white"/%3E%3C/svg%3E');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #e2e8f0;
  display: block;
  margin: 0 auto;
}
.qrcode-img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
}
