/* lustigerquatsch24.de — stylesheet */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f1ede5;
  --text: #1a1a1a;
  --text-muted: #555555;
  --text-soft: #8a8a8a;
  --border: rgba(0, 0, 0, 0.12);
  --accent: #1e6b3a;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  background: var(--surface);
}
.site-header .inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header a.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.site-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.site-header .logo {
  width: 28px;
  height: 28px;
  display: block;
}

main {
  flex: 1;
  padding: 24px 20px;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}

.intro { margin-bottom: 18px; }
.intro p { color: var(--text-muted); margin: 0; }

/* Game */
.pool-wrap { padding: 0; }
.pool-wrap canvas {
  display: block;
  margin: 0 auto;
  cursor: crosshair;
  background: #1a4d2e;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  transition: box-shadow 0.3s;
  touch-action: none;
}
.pool-wrap canvas.turbo { box-shadow: 0 0 0 2px #6a48d4; }

.pool-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px auto 0;
  max-width: 640px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.pool-controls .pow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
}
.pool-controls input[type="range"] {
  flex: 1;
  max-width: 220px;
  accent-color: var(--accent);
}
.pool-controls .readout {
  min-width: 26px;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.pool-controls .status {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  min-width: 150px;
  text-align: right;
}
button {
  font: inherit;
  font-size: 13px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
button:hover { background: var(--surface-2); }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.pool-pickups {
  display: flex;
  gap: 10px;
  margin: 12px auto 0;
  max-width: 640px;
  font-size: 12px;
  color: var(--text-soft);
  flex-wrap: wrap;
}
.pool-pickups .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
}
.pool-pickups i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.pool-pickups .dot-triple { background: #ff7eb5; }
.pool-pickups .dot-turbo  { background: #b488ff; }
.pool-pickups .dot-giant  { background: #ffb84a; }
.pool-pickups .dot-bomb   { background: #ff5a4a; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 20px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
}
.site-footer .inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer nav { display: flex; gap: 16px; }

/* Legal pages */
.legal h1 { font-size: 26px; margin: 12px 0 8px; font-weight: 600; }
.legal h2 { font-size: 17px; margin: 24px 0 6px; font-weight: 600; }
.legal p { margin: 0 0 12px; color: var(--text-muted); }
.legal ul { color: var(--text-muted); padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 4px; }
.legal .placeholder {
  background: #fff5d8;
  border-left: 3px solid #e8a900;
  padding: 10px 14px;
  margin: 8px 0 12px;
  font-size: 13px;
  color: #5a4500;
  border-radius: 4px;
}

@media (max-width: 500px) {
  .pool-controls .status { text-align: left; margin-left: 0; }
  .site-footer .inner { justify-content: flex-start; }
}
