/* Categories guide: page-owned presentation layered over the accepted site shell. */
body {
  background: #fbf9ff;
  color: #21183a;
  font-family: Helvetica, Arial, sans-serif;
}

body > .gaming-hero {
  position: relative;
  z-index: 2;
  background-color: #7430ea;
}

main {
  display: block;
  width: 100%;
}

main > section {
  position: relative;
  padding: clamp(64px, 8vw, 118px) 24px;
}

.category-wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.category-intro {
  overflow: hidden;
  padding-block: clamp(74px, 9vw, 132px);
  background: #f1eaff;
}

.category-intro::after {
  position: absolute;
  right: max(-90px, calc((100vw - 1280px) / 2));
  bottom: -164px;
  width: 390px;
  height: 390px;
  border: 1px solid #d7c4ff;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.category-intro__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, .6fr);
  align-items: end;
  gap: clamp(36px, 8vw, 112px);
}

.category-intro__copy { max-width: 730px; }

.category-eyebrow {
  margin: 0 0 18px;
  color: #6731c9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.category-intro h1,
.category-section-heading h2,
.category-feature__copy h2,
.category-checklist__intro h2,
.category-next h2 {
  margin: 0;
  color: #21183a;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.category-intro h1 { max-width: 700px; font-size: clamp(42px, 6.7vw, 82px); }

.category-lead {
  max-width: 670px;
  margin: 25px 0 0;
  color: #514968;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
}

.category-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
  padding: 12px 20px;
  border: 1px solid #6529d1;
  border-radius: 3px;
  background-color: #6529d1;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.category-button:hover { background-color: #4d1aa9; transform: translateY(-2px); }
.category-button:focus-visible, .category-index a:focus-visible, .category-text-link:focus-visible { outline: 3px solid #f26755; outline-offset: 4px; }

.category-intro__note {
  padding: 24px 0 4px 26px;
  border-left: 1px solid #b99cf1;
  color: #514968;
}

.category-intro__index { color: #6731c9; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.category-intro__note p { max-width: 270px; margin: 16px 0 0; font-size: 16px; line-height: 1.65; }

.category-overview { background: #fff; }

.category-section-heading { max-width: 660px; }
.category-section-heading h2, .category-checklist__intro h2, .category-next h2 { font-size: clamp(34px, 4.4vw, 54px); }
.category-section-heading > p:last-child, .category-checklist__intro > p:last-child { margin: 18px 0 0; color: #625a74; font-size: 17px; line-height: 1.65; }

.category-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid #ded7ec;
  border-bottom: 1px solid #ded7ec;
}

.category-index a {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 16px 0;
  color: #2b2043;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.category-index a + a { padding-left: 18px; border-left: 1px solid #ded7ec; }
.category-index a span { color: #7846d4; font-size: 11px; letter-spacing: .1em; }
.category-index a:hover { color: #682ed2; }

.category-feature { padding-block: clamp(64px, 7.5vw, 102px); }
.category-feature--action { background: #ece4fb; }
.category-feature--strategy { background: #fff; }
.category-feature--adventure { background: #f4f0fb; }
.category-feature--sport { background: #eee8f8; }

.category-feature__layout {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(190px, 250px);
  align-items: start;
  gap: clamp(24px, 5vw, 70px);
}

.category-feature__number { margin: 0; color: #a58bd2; font-size: 15px; font-weight: 700; letter-spacing: .12em; }
.category-feature__copy { max-width: 660px; }
.category-feature__copy h2 { font-size: clamp(36px, 4.8vw, 58px); }
.category-feature__copy > p:not(.category-eyebrow) { margin: 24px 0 0; color: #554c68; font-size: 17px; line-height: 1.75; }
.category-feature__copy > p + p:not(.category-eyebrow) { margin-top: 14px; }

.category-feature__aside {
  display: grid;
  gap: 10px;
  margin-top: 68px;
  padding: 18px 0 0 18px;
  border-top: 2px solid #9e80d6;
  color: #554c68;
  font-size: 14px;
  line-height: 1.55;
}

.category-feature__aside strong { color: #5125a0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.category-browsing { background: #fff; }
.category-browsing__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 8vw, 112px); }
.category-tool-list { border-top: 1px solid #ded7ec; }
.category-tool { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid #ded7ec; }
.category-tool__mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #eee6fb; color: #6332bc; font-size: 12px; font-weight: 700; }
.category-tool h3, .category-checklist__items h3 { margin: 0; color: #2a2040; font-size: 18px; }
.category-tool p, .category-checklist__items p { margin: 7px 0 0; color: #625a74; font-size: 15px; line-height: 1.6; }

.category-checklist { background: #f0eaf9; }
.category-checklist__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(36px, 8vw, 110px); row-gap: 38px; }
.category-checklist__intro { max-width: 440px; }
.category-checklist__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.category-checklist__items li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 13px; padding: 18px 0; border-top: 1px solid #cfc0e7; }
.category-checklist__items li > span { color: #7846d4; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.category-text-link { grid-column: 2; justify-self: start; display: inline-flex; gap: 18px; align-items: center; color: #5520b7; font-size: 15px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.category-next { background: #251744; color: #fff; }
.category-next__panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(230px, .9fr); align-items: end; gap: 24px 70px; }
.category-next .category-eyebrow { color: #cbb4ff; }
.category-next h2 { max-width: 620px; color: #fff; }
.category-next__panel > p { max-width: 430px; margin: 0; color: #e0d9ee; font-size: 16px; line-height: 1.7; }
.category-button--light { grid-column: 1 / -1; justify-self: start; margin-top: 12px; border-color: #fff; background-color: #fff; color: #311d56; }
.category-button--light:hover { border-color: #eee5ff; background-color: #eee5ff; }

@media (max-width: 760px) {
  main > section { padding-inline: 20px; }
  .category-intro__layout, .category-browsing__layout, .category-checklist__layout, .category-next__panel { grid-template-columns: 1fr; }
  .category-intro__layout { gap: 36px; }
  .category-intro__note { max-width: 440px; }
  .category-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-index a:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid #ded7ec; }
  .category-index a:nth-child(4) { border-top: 1px solid #ded7ec; }
  .category-feature__layout { grid-template-columns: 44px minmax(0, 1fr); gap: 16px 22px; }
  .category-feature__number { padding-top: 3px; }
  .category-feature__aside { grid-column: 2; max-width: 340px; margin-top: 4px; }
  .category-checklist__items { grid-template-columns: 1fr; }
  .category-text-link { grid-column: 1; }
  .category-next__panel { align-items: start; gap: 22px; }
  .category-button--light { grid-column: 1; }
}

@media (max-width: 420px) {
  main > section { padding-block: 58px; padding-inline: 18px; }
  .category-intro { padding-block: 66px; }
  .category-intro h1 { font-size: clamp(40px, 12vw, 52px); }
  .category-index a { min-height: 70px; padding-right: 8px; font-size: 14px; }
  .category-index a + a { padding-left: 10px; }
  .category-feature__layout { grid-template-columns: 30px minmax(0, 1fr); gap: 14px; }
  .category-feature__copy h2 { font-size: 36px; }
  .category-feature__copy > p:not(.category-eyebrow) { font-size: 16px; }
}

/* Helper-page shell: keep the accepted homepage header in normal flow with a solid surface. */
body > .gaming-hero {
  position: relative;
  min-height: 122px;
  background-color: #5522b9;
}

body > .gaming-hero .gaming-hero__search-toggle {
  background-color: #ffffff;
  color: #5125a0;
}

body > .gaming-hero .gaming-hero__search-toggle:focus-visible {
  outline: 3px solid #f26755;
  outline-offset: 3px;
}
