:root {
  --primary-text: #2d3436;
  --secondary-text: #636e72;
  --accent-color: #0984e3;
  --bg-color: #f9f9fb;
  --card-bg: #ffffff;
  --tag-bg: #dfe6e9;
}

body {
  background-color: var(--bg-color);
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 2rem;
}

#post-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.story-card {
  background: var(--card-bg);
  max-width: 500px;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.story-card:hover {
  transform: translateY(-4px);
}

.user-id {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: 1px;
}

.story-title {
  margin: 0.5rem 0 1rem 0;
  font-size: 1.5rem;
  color: var(--primary-text);
  line-height: 1.2;
}

.story-body {
  font-family: "Georgia", serif;
  line-height: 1.6;
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.tag-container {
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--secondary-text);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 8px;
  font-weight: 500;
}

.story-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.stat-item {
  font-size: 0.9rem;
  color: var(--secondary-text);
}

.btn-reaction {
  border: none;
  background: #f1f2f6;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 5px;
  transition: background 0.2s;
}

.btn-reaction:hover {
  background: #e1e2e6;
}

.like {
  color: #27ae60;
}
.dislike {
  color: #e74c3c;
}
