/* Page d'accueil "choix du jeu" — même palette que l'app officielle
   (fond crème, accent terracotta, cartes blanches). Pas de police externe :
   doit rester utilisable offline dans la WebView. */
* { box-sizing: border-box; }

:root {
  --bg: #EDE7D8;
  --card: #FFFFFF;
  --border: #E4DCC6;
  --text: #241F1B;
  --text-muted: #8C877C;
  --accent: #C1573E;
  --radius: 18px;
  --shadow: 0 10px 28px rgba(60, 45, 30, 0.10);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: 32px;
  margin: 8px 0 4px;
  text-align: center;
}

.subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 28px;
  text-align: center;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 460px;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.game-card:active { transform: scale(0.96); }

.game-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(193, 87, 62, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.game-card-name { font-weight: 700; font-size: 15px; text-align: center; }
.game-card-tag { font-size: 11px; color: var(--text-muted); text-align: center; }

.game-card--soon {
  opacity: 0.55;
  cursor: not-allowed;
}
.game-card--soon .game-card-icon { background: rgba(140, 135, 124, 0.12); }
