:root {
  --text: #222;
  --muted: #666;
  --border: #e8e8e8;
  --bg-soft: #fafafa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #FFF;
  color: var(--text);
}

a { color: inherit; }

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  padding: 28px 0 14px;
  border-bottom: 1px solid var(--border);
}

.brand {
  text-align: center;
}

.site-header h1 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--muted);
  margin: 6px 0 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.nav-link {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}

.nav-link:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.nav-link.is-active {
  background: var(--bg-soft);
  color: var(--text);
}

/* Intro */
.intro {
  padding: 18px 0 6px;
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: 18px;
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Game list */
.games {
  padding: 10px 0 34px;
}

.game {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.game:first-child {
  border-top: 0;
}

.game-icon img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
  display: block;
}

.game-title {
  margin: 0;
  font-size: 18px;
}

.game-desc {
  margin: 6px 0 0;
  color: #555;
  line-height: 1.4;
}

.game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
}

.btn:hover {
  background: var(--bg-soft);
}

.btn-ghost {
  color: var(--muted);
}

/* Page */
.page {
  padding: 14px 16px 34px;
}

.page p {
  margin: 12px 0;
  color: #555;
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--text);
}

/* Mobile */
@media (max-width: 480px) {
  .site-header h1 { font-size: 34px; }
  .game-icon img { width: 60px; height: 60px; border-radius: 14px; }
  .footer-inner { flex-direction: column; align-items: center; }
}

.game-link {
  color: inherit;
  text-decoration: none;
}

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

.game-icon .game-link:hover img {
  transform: translateY(-1px);
}

.game-icon img {
  transition: transform 120ms ease;
}
.backlink {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
  color: #2563eb;
}

.detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 22px;
  flex-wrap: wrap;
}

.detail-icon {
  width: 72px;
  height: auto;
  image-rendering: pixelated;
}

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-h {
  margin: 18px 0 10px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shots a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.shots img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 140ms ease;
}

.shots a:hover img {
  transform: scale(1.02);
}

/* Mobile: 1 Spalte */
@media (max-width: 640px) {
  .shots { grid-template-columns: 1fr; }
}

.shots img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .shots img {
    max-width: 100%;
  }
}
