@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@400;500;600&display=swap');

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

body {
  font-family: 'DM Sans', sans-serif;
  color: #f0f0f0;
  line-height: 1.75;
  font-size: 17px;
  background: url('bg.jpg') center center / cover fixed;
}

/* Subtle dark vignette — deepens edges, keeps center vivid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.38) 100%);
  z-index: 0;
}

header, main, footer { position: relative; z-index: 1; }

/* Hero title floats over image */
header {
  text-align: center;
  padding: 5rem 1rem 3.5rem;
}

header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
  letter-spacing: -0.5px;
}
header h1 a { text-decoration: none; color: inherit; }
header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin-top: 0.5rem;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}

main {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

/* Post cards */
.post-list { list-style: none; }
.post-list li {
  background: rgba(10, 40, 38, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.post-list li:hover {
  background: rgba(10, 40, 38, 0.88);
  transform: translateY(-2px);
}
.post-list .date {
  font-size: 0.72rem;
  color: #5ecfc7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.post-list a {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-top: 0.25rem;
  line-height: 1.3;
}
.post-list a:hover { color: #5ecfc7; }
.post-list .excerpt {
  margin-top: 0.4rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
}

/* Post article */
article {
  background: rgba(10, 40, 38, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2.5rem 2.75rem;
}
article h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
article .meta {
  color: #5ecfc7;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 2rem;
}
article p { margin-bottom: 1.4rem; color: rgba(255,255,255,0.88); }
article h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: #fff;
  margin: 2rem 0 0.6rem;
}
article img { max-width: 100%; border-radius: 10px; margin: 1rem 0; }
article a { color: #5ecfc7; }

.back {
  display: inline-block;
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  text-decoration: none;
  font-weight: 500;
}
.back:hover { color: #5ecfc7; }

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 0.6rem 1rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 500;
  z-index: 2;
}
