:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px var(--shadow);
}

nav {
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

main {
  padding: 3rem 0;
  min-height: calc(100vh - 200px);
}

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

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
}

.blog-posts {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}

.post-date {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.post-card h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.post-card h3 a:hover {
  color: var(--primary);
}

.post-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.read-more {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

footer p {
  color: var(--text-light);
}

.content {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.content a {
  color: var(--primary);
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.games-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:not(.placeholder):hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}

.game-card.placeholder {
  opacity: 0.7;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.game-header h3 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin: 0;
}

.game-date {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-description {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.setup-info {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--primary);
}

.setup-info strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.5rem;
}

.setup-info code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--primary-dark);
}

.game-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn.secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 2px solid var(--border);
}

.btn.secondary:hover {
  background: var(--bg-white);
  border-color: var(--primary);
  color: var(--primary);
}

.game-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--bg-light);
  color: var(--text-light);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

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

  .hero p {
    font-size: 1.1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .content {
    padding: 2rem;
  }

  .content h1 {
    font-size: 2rem;
  }

  .game-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .game-links {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
