/* Demo Container */
.demo-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Demo Header */
.demo-header {
  text-align: center;
  margin-bottom: 40px;
}

.demo-header h1 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 8px;
}

.demo-subtitle {
  color: #666;
  font-size: 1.1rem;
}

/* Mock Blog Post */
.mock-post {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.post-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #888;
}

.post-title {
  font-size: 1.75rem;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.3;
}

.post-content {
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Love Section */
.love-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: center;
}

.love-prompt {
  color: #666;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.love-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Love Button */
.love-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #fef2f2;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.love-btn:hover {
  background: #fee2e2;
  transform: scale(1.05);
}

.love-btn:active {
  transform: scale(0.95);
}

.love-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.heart-icon {
  width: 28px;
  height: 28px;
  fill: #ccc;
  transition: fill 0.3s ease;
}

.love-btn.liked .heart-icon {
  fill: #e53935;
}

.love-btn.liked {
  background: #fef2f2;
}

/* Love Count */
.love-count {
  font-size: 1.25rem;
  font-weight: 600;
  color: #444;
  min-width: 30px;
}

/* Integration Section */
.integration-section {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.integration-section h3 {
  font-size: 1.25rem;
  color: #222;
  margin-bottom: 8px;
}

.integration-desc {
  color: #666;
  margin-bottom: 20px;
}

.code-section-title {
  font-size: 1rem;
  color: #444;
  margin: 24px 0 12px;
}

/* Code Block */
.code-block {
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #2d2d2d;
  border-bottom: 1px solid #3d3d3d;
}

.code-lang {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #555;
  color: #aaa;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: #3d3d3d;
  color: #fff;
  border-color: #666;
}

.copy-btn.copied {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.code-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

.code-block code {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #d4d4d4;
}

/* Customization Note */
.customization-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: #f0fdf4;
  border-radius: 8px;
  color: #166534;
  font-size: 0.9rem;
}

.customization-note ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
}

.customization-note li {
  margin: 6px 0;
}

/* Responsive */
@media (max-width: 600px) {
  .demo-container {
    padding: 20px 16px;
  }

  .mock-post,
  .integration-section {
    padding: 24px 20px;
  }

  .demo-header h1 {
    font-size: 1.5rem;
  }

  .post-title {
    font-size: 1.4rem;
  }

  .code-block code {
    font-size: 0.75rem;
  }
}
