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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: #1a1a2e;
}

a {
  color: #64b5f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: #16213e;
  padding: 2rem 0;
  border-bottom: 1px solid #0f3460;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.5rem;
  color: #e0e0e0;
}

nav a {
  margin-left: 1.5rem;
  color: #90caf9;
  font-size: 0.95rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero p {
  color: #90a4ae;
  font-size: 1.1rem;
}

.posts {
  padding: 2rem 0 4rem;
}

.post-card {
  background: #16213e;
  border: 1px solid #0f3460;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.post-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.post-card .meta {
  font-size: 0.85rem;
  color: #78909c;
  margin-bottom: 0.75rem;
}

.post-card p {
  color: #b0bec5;
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  background: #0f3460;
  color: #64b5f6;
  padding: 0.15rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-right: 0.4rem;
}

footer {
  background: #16213e;
  border-top: 1px solid #0f3460;
  padding: 2rem 0;
  text-align: center;
  color: #78909c;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  header .container {
    flex-direction: column;
    gap: 1rem;
  }
}
