/* ===========================================================================
   Prostly Landing · Shared Styles
   =========================================================================== */

:root {
  --bg: #0f0f1a;
  --surface: #1a1a2e;
  --surface-light: #2a2a3e;
  --primary: #6c63ff;
  --primary-light: #a09eff;
  --gold: #ffd700;
  --warn-bg: #2a1f00;
  --warn-text: #ffcc44;
  --warn-border: #664d00;
  --muted: #8b8b9f;
  --text: #f5f5f7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Header --- */
header.top { text-align: center; margin-bottom: 48px; }
.logo { font-size: 72px; margin-bottom: 8px; }
h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.tagline { color: var(--muted); font-size: 18px; margin-top: 8px; }

/* --- Sections --- */
section, article {
  background: var(--surface);
  border: 1px solid var(--surface-light);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
}
section h2, article h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--primary-light);
}
section h3, article h3 {
  font-size: 17px;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text);
}
section p, article p {
  color: #c8c8d0;
  margin-bottom: 12px;
}
article ul, article ol {
  color: #c8c8d0;
  padding-left: 24px;
  margin-bottom: 12px;
}
article li { margin-bottom: 6px; }
article strong { color: var(--text); }

/* --- Features Grid --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.feature {
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 12px;
  padding: 16px;
}
.feature-icon { font-size: 32px; margin-bottom: 8px; }
.feature strong { display: block; margin-bottom: 4px; color: var(--text); }
.feature small { color: var(--muted); }

/* --- Games List --- */
.games { display: grid; gap: 12px; margin-top: 16px; }
.game {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(108, 99, 255, 0.06);
  border: 1px solid rgba(108, 99, 255, 0.18);
  border-radius: 12px;
  padding: 16px;
}
.game-emoji { font-size: 36px; flex-shrink: 0; }
.game-info { flex: 1; }
.game-title { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.game-desc { color: var(--muted); font-size: 14px; }
.game.coming {
  opacity: 0.6;
  border-style: dashed;
}
.game.coming .game-title::after {
  content: " · Bald";
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
}

/* --- Store Buttons --- */
.stores {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 0;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid #333;
  padding: 14px 24px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  min-width: 200px;
  transition: transform 0.15s, border-color 0.15s;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--primary); }
.store-btn .icon { font-size: 28px; }
.store-btn .label { font-size: 13px; color: var(--muted); display: block; line-height: 1.2; }
.store-btn .name { font-size: 16px; font-weight: 700; }
.store-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.store-btn[aria-disabled="true"]:hover {
  transform: none;
  border-color: #333;
}

/* --- Warning --- */
.warning {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--warn-text);
  margin-top: 24px;
  text-align: center;
}

/* --- Back-Link für Unterseiten --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 16px;
}
.back-link:hover { color: var(--primary); }

/* --- Footer --- */
footer {
  margin-top: auto;
  padding-top: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer .links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }
footer .copyright { color: #555; font-size: 12px; letter-spacing: 0.05em; }
