/* Styles non critiques de la section guide/SEO sous le jeu. */

.seo-game-guide {
  scroll-margin-top: 18px;
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: clamp(18px, 2.2vw, 30px);
  border-radius: 28px;
  border: 1px solid rgba(226, 190, 130, 0.2);
  background:
    radial-gradient(circle at 12% 0%, rgba(222, 184, 112, 0.16), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(113, 167, 136, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(31, 49, 40, 0.98), rgba(14, 23, 19, 0.98));
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 243, 221, 0.08),
    inset 0 0 0 1px rgba(8, 15, 13, 0.24);
  color: #f3ead7;
}

.seo-game-guide__header {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: none;
  padding: clamp(2px, 0.5vw, 8px) 2px 4px;
}

.seo-game-guide__header > h2,
.seo-game-guide__header > p:not(.seo-game-guide__eyebrow) {
  width: 100%;
  max-width: none;
}

.seo-game-guide__eyebrow {
  margin: 0;
  color: rgba(229, 196, 132, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.seo-game-guide h2,
.seo-game-guide h3 {
  margin: 0;
  color: #f7ead0;
  letter-spacing: 0.02em;
  line-height: 1.18;
  text-transform: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

.seo-game-guide h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  color: #fff2dc;
}

.seo-game-guide h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
}

.seo-game-guide p {
  color: rgba(244, 233, 212, 0.86);
  font-size: 1.12rem;
  line-height: 1.76;
}

.seo-game-guide p:not(.seo-game-guide__eyebrow) {
  text-align: justify;
  text-justify: inter-word;
}

.seo-guide-inline-link {
  color: #efd39b;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(239, 211, 155, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.seo-guide-inline-link:hover {
  color: #fff2dc;
  text-decoration-color: rgba(255, 242, 220, 0.72);
}

.seo-guide-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #e7c376;
  font-size: 0.86rem;
  line-height: 1;
  box-shadow: none;
  overflow: visible;
}

.seo-guide-title-icon-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.seo-game-guide h2 .seo-guide-icon {
  width: 30px;
  height: 30px;
  font-size: 1rem;
}

.seo-game-guide h2 .seo-guide-title-icon-wrap {
  width: auto;
  height: auto;
}

.seo-guide-icon img,
.seo-guide-title-icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: none;
  overflow: visible;
}

.seo-game-guide h2 .seo-guide-title-icon {
  width: 52px;
  height: 52px;
}

.seo-guide-icon-caption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.seo-game-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-guide-card,
.seo-game-guide__faq {
  border-radius: 22px;
  border: 1px solid rgba(226, 190, 130, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(226, 190, 130, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(45, 74, 61, 0.92), rgba(20, 35, 30, 0.96));
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 243, 221, 0.08),
    inset 0 0 0 1px rgba(8, 15, 13, 0.16);
}

.seo-guide-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(16px, 1.6vw, 22px);
}

.seo-guide-card--wide {
  grid-column: 1 / -1;
}

.seo-guide-points,
.seo-guide-steps {
  display: grid;
  gap: 10px;
}

.seo-guide-points section,
.seo-guide-steps section {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid rgba(226, 190, 130, 0.12);
}

.seo-guide-points section:first-child,
.seo-guide-steps section:first-child {
  padding-top: 0;
  border-top: 0;
}

.seo-guide-points h3,
.seo-guide-steps h3,
.seo-guide-faq-item h3 {
  color: #efd39b;
  font-size: 1.06rem;
}

.seo-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.seo-guide-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(226, 190, 130, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 244, 216, 0.09), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(35, 62, 52, 0.96), rgba(13, 24, 20, 0.98));
  color: rgba(246, 231, 202, 0.92);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 221, 0.08),
    0 8px 14px rgba(0, 0, 0, 0.14);
}

.seo-guide-action img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.18));
}

.seo-guide-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 1.6vw, 22px);
  border-radius: 22px;
  border: 1px solid rgba(226, 190, 130, 0.2);
  background:
    radial-gradient(circle at 8% 0%, rgba(226, 190, 130, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(45, 74, 61, 0.94), rgba(16, 29, 24, 0.98));
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 243, 221, 0.08),
    inset 0 0 0 1px rgba(8, 15, 13, 0.16);
}

.seo-guide-download h3 {
  color: #fff2dc;
  font-size: 1.18rem;
}

.seo-guide-download p {
  margin: 6px 0 0;
}

.seo-guide-download__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 239, 196, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 238, 196, 0.96), rgba(213, 160, 78, 0.94));
  color: #2c2419;
  font-family: "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 10px 18px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.seo-guide-download__button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 12px 22px rgba(0, 0, 0, 0.24);
}

.seo-game-guide__faq {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 1.6vw, 22px);
}

.seo-game-guide__faq > h3 {
  color: #fff2dc;
  font-size: 1.18rem;
}

.seo-guide-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: minmax(196px, auto);
  gap: 12px;
  align-items: stretch;
}

.seo-guide-faq-item {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(226, 190, 130, 0.12);
}

@media (max-width: 1180px) {
  .seo-game-guide__grid,
  .seo-guide-faq-grid {
    grid-template-columns: 1fr;
  }

  .seo-guide-faq-grid {
    grid-auto-rows: auto;
  }

  .seo-guide-download {
    grid-template-columns: 1fr;
  }

  .seo-guide-download__button {
    justify-self: start;
  }
}

@media (max-width: 899px) {
  .seo-game-guide__grid,
  .seo-guide-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .seo-game-guide {
    border-radius: 22px;
    padding: 16px;
  }

  .seo-game-guide h2 {
    align-items: center;
    font-size: 1.32rem;
  }

  .seo-guide-title-icon-wrap {
    width: auto;
    height: auto;
  }

  .seo-game-guide h2 .seo-guide-title-icon-wrap {
    width: auto;
    height: auto;
  }

  .seo-guide-title-icon {
    width: 28px;
    height: 28px;
  }

  .seo-game-guide h2 .seo-guide-title-icon {
    width: 36px;
    height: 36px;
  }

  .seo-guide-card,
  .seo-game-guide__faq {
    border-radius: 18px;
    padding: 15px;
  }

  .seo-guide-download {
    border-radius: 18px;
    padding: 15px;
  }

  .seo-guide-download__button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .seo-guide-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-guide-action {
    justify-content: flex-start;
  }
}

@media (max-width: 639px) {
  .seo-game-guide {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 9;
    width: 100%;
    margin: 10px 0 0;
    padding: 14px;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .seo-game-guide p:not(.seo-game-guide__eyebrow) {
    text-align: left;
  }

  .seo-game-guide__header > p:not(.seo-game-guide__eyebrow) {
    text-align: justify;
  }
}
