/* â”€â”€ Reset â”€â”€ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #fafafa;
}

a {
  color: #c2185b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

figure img {
  max-width: 100%;
}

/* â”€â”€ Header â”€â”€ */
.site-header {
  background: #fff;
  border-bottom: 2px solid #f8bbd0;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c2185b;
  letter-spacing: -0.01em;
}

.site-title span {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #c2185b;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #555;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  background: #fce4ec;
  color: #c2185b;
  text-decoration: none;
  font-weight: 600;
}

/* â”€â”€ Main â”€â”€ */
.site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* â”€â”€ Typographie â”€â”€ */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: #444;
}

.intro {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

/* â”€â”€ Hero (accueil) â”€â”€ */
.hero {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
}

.hero h1 {
  color: #880e4f;
  font-size: 2.4rem;
}

.hero .intro {
  color: #ad1457;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* â”€â”€ Cards â”€â”€ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.25rem;
  display: block;
  color: #222;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.card:hover {
  border-color: #f48fb1;
  box-shadow: 0 4px 16px rgba(194, 24, 91, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.card h3 {
  color: #c2185b;
  margin-bottom: 0.25rem;
}

.card p {
  font-size: 0.9rem;
  color: #777;
  margin: 0;
}

/* â”€â”€ Page Jeu â”€â”€ */
.jeu {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #eee;
}

.jeu-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fce4ec;
  color: #880e4f;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.jeu-description {
  line-height: 1.8;
  color: #444;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: #c2185b;
  font-size: 0.9rem;
}

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

/* â”€â”€ Page Pouvoirs â”€â”€ */
.pouvoir-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-left: 4px solid #f48fb1;
  transition: border-left-color 0.15s;
}

.pouvoir-card:hover {
  border-left-color: #c2185b;
}

.pouvoir-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.pouvoir-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 20px;
  background: #fce4ec;
  color: #880e4f;
}

.pouvoir-badge.feu {
  background: #fbe9e7;
  color: #bf360c;
}

.pouvoir-badge.glace {
  background: #e3f2fd;
  color: #0d47a1;
}

.pouvoir-badge.epee {
  background: #f3e5f5;
  color: #4a148c;
}

.pouvoir-badge.marteau {
  background: #fff3e0;
  color: #e65100;
}

.pouvoir-badge.neutre {
  background: #f5f5f5;
  color: #424242;
}

/* â”€â”€ Page Histoire â”€â”€ */
.histoire-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.meta-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
}

.meta-card .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c2185b;
  margin-bottom: 4px;
}

.meta-card .value {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

.anecdote-box {
  background: #fce4ec;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}

.anecdote-box .label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #880e4f;
  margin-bottom: 0.5rem;
}

.anecdote-box p {
  color: #ad1457;
  margin: 0;
  font-style: italic;
}

/* â”€â”€ Footer â”€â”€ */
.site-footer {
  border-top: 1px solid #eee;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 4rem;
  background: #fff;
}

/* â”€â”€ Images â”€â”€ */
.hero-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.jeu-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

/* â”€â”€ Blocs â”€â”€ */
.jeu-contenu {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0d0da;
}

.jeu-contenu h2 {
  font-size: 1.2rem;
}

.jeu-contenu p {
  color: #555;
}

.jeu-contenu blockquote {
  border-left: 3px solid #f48fb1;
  padding-left: 1rem;
  color: #888;
  font-style: italic;
}