:root {
  --green: #22c55e;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --accent: #3b82f6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
}

header {
  background: var(--dark);
  padding: 1rem 2rem;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  opacity: 0.9;
}

.nav-links a:hover { opacity: 1; }

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

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

.hero h1 { font-size: 3rem; }
.hero p { font-size: 1.25rem; color: #666; margin-top: 0.5rem; }

section { margin: 2rem 0; }
section h2 { margin-bottom: 1rem; color: var(--dark); }

.post-preview {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.post-preview h2, .post-preview h3 { margin-bottom: 0.5rem; }
.post-preview a { color: var(--dark); text-decoration: none; }
.post-preview a:hover { color: var(--green); }
.post-preview time { color: #666; font-size: 0.875rem; }
.post-preview p { margin-top: 0.5rem; }

.tags { margin: 0.5rem 0; }
.tag {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

.see-all {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
}

.single-post header { margin-bottom: 2rem; }
.single-post h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.single-post .content { font-size: 1.1rem; }
.single-post .content p { margin: 1rem 0; }
.single-post .content h2 { margin-top: 2rem; }
.single-post .content a { color: var(--accent); }
.single-post .content ul, .single-post .content ol { margin-left: 1.5rem; }

.deal-box {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.deal-box a { color: var(--accent); font-weight: bold; }

footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  border-top: 1px solid #ddd;
  margin-top: 3rem;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  header { padding: 1rem; }
  .nav-links a { margin-left: 1rem; font-size: 0.9rem; }
  main { padding: 1rem; }
}
