@font-face {
  font-family: 'Clash Display';
  src: url('fonts/ClashDisplay-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --bg-color: #fff;
  --text-color: #333;
  --text-secondary: #444;
  --heading-color: #222;
  --divider-color: #777;
  --link-color: #333;
  --link-border: #777;
  --link-border-hover: #111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--text-color);
  background-image: url('binding-light-1920x1080.png');
  font-family: 'Clash Display', Georgia, serif;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
}

header {
  margin-bottom: 40px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  margin-top: 16px;
  border-bottom: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.divider {
  margin: 3em 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--divider-color),
    transparent
  );
}

.back-button:hover {
  opacity: 1;
  border-bottom: none;
}

.back-button i {
  font-size: 1.2rem;
}

h1 {
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--heading-color);
}

h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--link-color);
  text-decoration: none;
  border-bottom: 1px solid var(--link-border);
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--link-border-hover);
}

.post {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--divider-color);
}

.post:last-child {
  border-bottom: none;
}

.post-meta {
  color: var(--text-secondary);
  font-size: 0.9em;
  margin-bottom: 15px;
}

.loading {
  text-align: center;
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  body {
    padding: 40px 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.3rem;
  }
}
