:root {
  --bg: #0f0f12;
  --surface: #18181d;
  --surface-soft: #1e1e24;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --border: #27272a;
  --trust-green: #22c55e;
  --trust-soft: rgba(34, 197, 94, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Header */
header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, transparent 100%);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
  font-weight: 700;
}

/* Main */
main {
  flex: 1;
  padding: 3rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 15, 18, 0.6) 100%);
  pointer-events: none;
}

.card-body {
  padding: 1.75rem 2rem;
}

.archive-label {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.archive-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.archive-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--trust-soft);
  color: var(--trust-green);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
}

.archive-count::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--trust-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.archive-views {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1;
}

.archive-views img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.archive-views strong {
  color: var(--text);
  font-weight: 600;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Footer */
footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Comments */
.comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comments-list-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  gap: 0;
  transition: max-height 0.6s ease, opacity 0.4s ease, margin-top 0.4s ease, gap 0.4s ease;
}

.comments-list-more.is-visible {
  max-height: 2000px;
  opacity: 1;
  margin-top: 1.25rem;
  gap: 1.25rem;
}

.comment-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.comment-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
