/* Game and use-case pages (/games, /games/*, /online-poker-night …;
   views/pages/). The shell, FAQ, "more" lists and CTA come from
   landing.css; this is only what these pages add. */

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.lp-actions .action-button,
.lp-actions .btn-ghost {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  text-align: center;
}
.lp-actions .btn-ghost {
  font-weight: 700;
}
@media (max-width: 560px) {
  .lp-actions .action-button,
  .lp-actions .btn-ghost {
    width: 100%;
  }
}

/* Key facts: a compact two-column grid of label / value. */
.lp-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 0.6rem;
  margin: 0.4rem 0 0;
}
.lp-facts > div {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--inset);
}
.lp-facts dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.lp-facts dd {
  margin: 0.25rem 0 0;
  color: var(--cream);
  font-weight: 600;
  line-height: 1.4;
}

/* Numbered steps (the HowTo the JSON-LD carries). */
.tools-about ol.lp-steps {
  list-style: none;
  counter-reset: lp-step;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.lp-steps li {
  counter-increment: lp-step;
  position: relative;
  padding-left: 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.lp-steps li::before {
  content: counter(lp-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Worked example: labelled rows of drawn cards. */
.lp-example {
  display: grid;
  gap: 0.7rem;
  margin: 0.4rem 0 1rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--inset);
}
.lp-example-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
}
.lp-example-label {
  min-width: 9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.lp-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.lp-card {
  width: 50px;
  height: 70px;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* Product screenshots. */
.lp-figure {
  margin: 0.4rem 0 1rem;
}
.lp-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.lp-dealers-choice .lp-figure img {
  max-width: 360px;
}
.lp-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted-2);
  line-height: 1.5;
}

/* Pricing, quoted from the home page. */
.lp-pricing {
  color: var(--muted);
  line-height: 1.65;
}
.lp-pricing h2 {
  font-size: 1.35rem;
  margin: 1rem 0 0.5rem;
}
.lp-pricing p {
  margin: 0 0 0.8rem;
  max-width: 68ch;
}
.lp-pricing-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.lp-tiers {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 0.6rem;
}
.lp-tiers li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--inset);
}
.lp-tiers .lp-tier-club {
  border-color: var(--gold);
  grid-column: 1 / -1;
}
.lp-tier-name {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.lp-tier-price {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--cream);
}
.lp-tier-price small {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}
.lp-tier-detail {
  font-size: 0.9rem;
}

.lp-reading {
  list-style: none;
  padding: 0;
}
.tools-about .lp-reading li {
  margin-bottom: 0.5rem;
}

/* /faq: questions as headings, answers open beneath them. */
.lp-faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
}
.lp-faq-toc a {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.lp-faq-toc a:hover {
  border-color: var(--gold);
  color: var(--cream);
}
.lp-faq section {
  scroll-margin-top: 1rem;
}
.lp-faq h2 {
  scroll-margin-top: 1rem;
}
.lp-faq-item {
  margin: 0 0 1.1rem;
}
.lp-faq-item h3 {
  color: var(--cream);
  font-size: 1.02rem;
  margin: 0 0 0.3rem;
}
.lp-faq-item p {
  margin: 0 0 0.3rem;
}
.lp-faq-more {
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  .lp-card {
    width: 44px;
    height: 62px;
  }
  .lp-example-label {
    min-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tools-main *,
  .tools-main *::before,
  .tools-main *::after {
    transition: none !important;
    animation: none !important;
  }
}
