main .stk-section,
main .stk-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

main .stk-hero {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  align-items: center;
}

main .stk-hero__media img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

main .stk-hero__content {
  text-align: center;
}

main h1 {
  font-family: var(--font-heading);
  color: var(--stk-color-bright);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

main h2 {
  font-family: var(--font-heading);
  color: var(--stk-color-bright);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}

main h3 {
  font-family: var(--font-heading);
  color: var(--stk-color-bright);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

main p {
  color: var(--stk-color-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

main .stk-hero p {
  color: var(--stk-color-muted);
}

main ul,
main ol {
  color: var(--stk-color-muted);
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  line-height: 1.6;
}

main li {
  margin-bottom: 0.4rem;
}

main strong {
  color: var(--stk-color-bright);
}

main .stk-hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

main .stk-section__cta {
  margin-top: 1.5rem;
}

/* Split layout (media + content) */
main .stk-section--split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

main .stk-section--split .stk-section__media img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

main .stk-section--split .stk-section__content {
  width: 100%;
}

/* Table wrapper */
main .stk-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--stk-color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

main table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 0.9rem;
}

main thead th {
  background: var(--stk-color-dark);
  color: var(--stk-color-bright);
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--stk-color-border);
  white-space: nowrap;
}

main tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--stk-color-border);
  color: var(--stk-color-muted);
}

main tbody tr:nth-child(odd) {
  background: var(--stk-color-dark);
}
main tbody tr:nth-child(even) {
  background: var(--stk-color-panel);
}

main tbody td:first-child {
  color: var(--stk-color-bright);
  font-weight: 600;
}

/* Card grid */
main .stk-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

main .stk-card {
  background: var(--stk-color-panel);
  border: 1px solid var(--stk-color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

main .stk-card:hover {
  border-color: var(--stk-color-accent);
  box-shadow: 0 0 0 1px rgba(20, 117, 225, 0.25);
}

main .stk-card ul {
  margin: 0.5rem 0 0;
}

/* Steps list (ordered) */
main .stk-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

main .stk-steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.85rem;
}

main .stk-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--stk-color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature list (bullet with bold label) */
main .stk-feature-list {
  list-style: none;
  padding-left: 0;
}

main .stk-feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
}

main .stk-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stk-color-accent);
}

/* Tag list (pills) */
main .stk-tag-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

main .stk-tag-list li {
  background: var(--stk-color-panel);
  border: 1px solid var(--stk-color-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  color: var(--stk-color-bright);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* Subsection grid */
main .stk-subsection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

main .stk-subsection {
  background: var(--stk-color-panel);
  border: 1px solid var(--stk-color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

/* Games grid */
main .stk-games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

main .stk-game-card {
  background: var(--stk-color-panel);
  border: 1px solid var(--stk-color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

main .stk-game-card:hover {
  border-color: var(--stk-color-accent);
  box-shadow: 0 0 0 1px rgba(20, 117, 225, 0.25);
}

main .stk-game-meta {
  display: flex;
  gap: 1.5rem;
  margin: 0.75rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--stk-color-border);
}

main .stk-game-meta div {
  display: flex;
  flex-direction: column;
}

main .stk-game-meta dt {
  color: var(--stk-color-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

main .stk-game-meta dd {
  color: var(--stk-color-green);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
}

/* How-to grid */
main .stk-howto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

main .stk-howto-card {
  background: var(--stk-color-panel);
  border: 1px solid var(--stk-color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

/* FAQ */
main .stk-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

main .stk-faq__item {
  background: var(--stk-color-panel);
  border: 1px solid var(--stk-color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

main .stk-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--stk-color-bright);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main .stk-faq__item summary::-webkit-details-marker {
  display: none;
}

main .stk-faq__item summary::after {
  content: "+";
  color: var(--stk-color-accent);
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 1rem;
}

main .stk-faq__item[open] summary::after {
  content: "\2212";
}

main .stk-faq__item p {
  margin: 0.75rem 0 0;
}

/* Buttons */
main .stk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  min-height: 44px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

main .stk-cta--primary {
  background: var(--stk-color-accent);
  color: #fff;
}
main .stk-cta--primary:hover,
main .stk-cta--primary:focus {
  filter: brightness(1.08);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 0 3px rgba(20, 117, 225, 0.25);
}

main .stk-cta--secondary {
  background: transparent;
  color: var(--stk-color-bright);
  border-color: var(--stk-color-border);
}
main .stk-cta--secondary:hover,
main .stk-cta--secondary:focus {
  background: var(--stk-color-panel);
}

/* Responsive */
@media (min-width: 640px) {
  main h1 { font-size: 2.75rem; }
  main h2 { font-size: 1.85rem; }
  main .stk-card-grid,
  main .stk-subsection-grid,
  main .stk-games-grid,
  main .stk-howto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  main .stk-hero {
    flex-direction: row;
    text-align: left;
    gap: 2.5rem;
  }
  main .stk-hero__content {
    text-align: left;
    flex: 1 1 55%;
  }
  main .stk-hero__media {
    flex: 1 1 45%;
  }
  main .stk-hero__ctas {
    justify-content: flex-start;
  }

  main .stk-section--split {
    flex-direction: row;
    align-items: flex-start;
  }
  main .stk-section--split .stk-section__media {
    flex: 0 0 40%;
    max-width: 40%;
  }
  main .stk-section--split .stk-section__content {
    flex: 1 1 60%;
  }
}

@media (min-width: 1024px) {
  main h1 { font-size: 3.25rem; }
  main .stk-card-grid,
  main .stk-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  main .stk-subsection-grid,
  main .stk-howto-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}