/**
 * fiche-jeu.css — Styles pour single-jeu.php (fiche jeu détaillée)
 */

/* === HERO SECTION === */
.fiche-jeu__hero {
  background: linear-gradient(135deg, var(--brown) 0%, #4a3829 100%);
  color: #fff;
  padding: var(--spacing-xl) var(--spacing-md);
}

.fiche-jeu__hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.fiche-jeu__hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.fiche-jeu__badges {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge--category {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.badge--age {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.fiche-jeu__title {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
}

.fiche-jeu__tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0;
  line-height: 1.5;
}

.fiche-jeu__meta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.fiche-jeu__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.fiche-jeu__meta-label {
  font-size: 0.95rem;
  opacity: 0.8;
}

.fiche-jeu__meta-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Hero right : image */
.fiche-jeu__hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fiche-jeu__cover {
  width: 280px;
  height: 280px;
  background: var(--beige);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fiche-jeu__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fiche-jeu__cover-fallback {
  font-size: 5rem;
  opacity: 0.3;
}

/* === SCORE BAND === */
.fiche-jeu__score-band {
  background: var(--orange);
  color: #fff;
  padding: var(--spacing-lg) var(--spacing-md);
}

.score-band__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.score-band__score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-band__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.score-band__label {
  font-size: 1rem;
  opacity: 0.9;
}

.score-band__stars {
  font-size: 1.5rem;
  letter-spacing: 0.35rem;
}

.score-band__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

/* === CONTENT WRAP (2 colonnes) === */
.fiche-jeu__content {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--cream);
}

.fiche-jeu__content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-xl);
  align-items: start;
}

.fiche-jeu__main {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.fiche-jeu__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--brown);
}

.fiche-jeu__description p {
  margin: 0 0 var(--spacing-md) 0;
}

.fiche-jeu__description p:last-child {
  margin-bottom: 0;
}

/* Pros/Cons cards */
.fiche-jeu__pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.pros-cons-card {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  background: #fff;
}

.pros-cons-card--pros {
  border-left-color: var(--green);
}

.pros-cons-card--cons {
  border-left-color: var(--red);
}

.pros-cons-card__title {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
}

/* Listes à puces colorées (points forts / faibles) */
.pros-cons-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.pros-cons-card__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--brown);
}

/* Puce colorée via ::before — vert pour les forts, rouge pour les faibles */
.pros-cons-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  /* Centre la puce sur la 1re ligne : moitié de la line-height (0.75em)
     moins la moitié de la hauteur de puce (0.25rem). */
  top: calc(0.75em - 0.25rem);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
}

.pros-cons-card__list--pros li::before {
  background: var(--green);
}

.pros-cons-card__list--cons li::before {
  background: var(--red);
}

/* === SIDEBAR === */
.fiche-jeu__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.sidebar-card {
  background: #fff;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--orange);
}

.sidebar-card__title {
  margin: 0 0 var(--spacing-md) 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
}

/* Shop card */
.sidebar-card--shop .sidebar-card__price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  margin: 0 0 var(--spacing-md) 0;
}

/* Specs list */
.specs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.specs-list__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--spacing-sm);
  margin-bottom: 2px;
}

.specs-list__value {
  display: block;
  font-size: 0.95rem;
  color: var(--brown);
  font-weight: 500;
}

/* Similar games */
.similar-games {
  margin: 0;
  padding: 0;
  list-style: none;
}

.similar-games__item {
  margin: var(--spacing-sm) 0;
}

.similar-games__item a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.similar-games__item a:hover {
  color: var(--orange-lt);
}

/* === CTA BAND === */
.fiche-jeu__cta-band {
  background: linear-gradient(135deg, var(--brown) 0%, #4a3829 100%);
  color: #fff;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}

.fiche-jeu__cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.fiche-jeu__cta-band h2 {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 900;
}

.fiche-jeu__cta-band p {
  margin: 0 0 var(--spacing-md) 0;
  opacity: 0.95;
}

/* === DIFFICULTY PILLS === */
.difficulty-pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.difficulty-pill--débutant,
.difficulty-pill--debutant {
  background: rgba(45, 122, 82, 0.15);
  color: var(--green);
}

.difficulty-pill--intermédiaire,
.difficulty-pill--intermediaire {
  background: rgba(245, 200, 66, 0.15);
  color: #d9a800;
}

.difficulty-pill--expert {
  background: rgba(192, 57, 43, 0.15);
  color: var(--red);
}
