/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Header adjustments */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-btn,
.register-btn {
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.login-btn {
  color: #333;
  border: 1px solid #ddd;
}

.register-btn {
  background: #1cb515;
  color: white;
  border: 1px solid #1cb515;
}

.login-btn:hover {
  background: #f5f5f5;
}

.register-btn:hover {
  background: #17a012;
}

/* Main Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #1cb515;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 8px;
}

/* Content Wrapper */
.content-wrapper {
  display: flex;
  gap: 40px;
}

.article-content {
  flex: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Article Header */
.article-header {
  padding: 30px 40px 20px;
  border-bottom: 1px solid #eee;
}

.article-header h1 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #666;
}

/* Article Body */
.article-body {
  padding: 30px 40px;
  line-height: 1.8;
  color: #333;
}

.article-body p {
  margin-bottom: 20px;
  font-size: 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 15px;
  color: #333;
}

.article-image {
  margin: 30px 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Social Share */
.social-share {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-share span {
  font-size: 16px;
  color: #666;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-btn.weibo {
  background: #e6162d;
}
.share-btn.qq {
  background: #12b7f5;
}
.share-btn.wechat {
  background: #2dc100;
}
.share-btn.qzone {
  background: #ffc200;
}
.share-btn.douban {
  background: #00b51d;
}
.share-btn.renren {
  background: #005eac;
}
.share-btn.more {
  background: #666;
}

/* Sidebar */
.sidebar {
  width: 300px;
  flex-shrink: 0;
}

.qr-code-section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.qr-code {
  margin-bottom: 15px;
}

.qr-code img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
}

.qr-code-section p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .sidebar {
    width: 100%;
  }

  .article-header,
  .article-body {
    padding: 20px;
  }

  .article-header h1 {
    font-size: 24px;
  }

  .qr-code-section {
    padding: 20px;
  }

  .header-right {
    display: none;
  }

  .social-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding: 20px 10px;
  }

  .hero-section {
    padding: 60px 0 40px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .article-header,
  .article-body {
    padding: 15px;
  }

  .qr-code img {
    width: 120px;
    height: 120px;
  }
}
