body.seo-category-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(104, 182, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  color: #173150;
}

.seo-category-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0 28px;
  display: grid;
  gap: 14px;
}

.seo-topbar,
.seo-hero,
.seo-panel {
  background: #ffffff;
  border: 1px solid #dbe4f0;
  box-shadow: 0 14px 24px rgba(155, 169, 196, 0.12);
}

.seo-topbar {
  padding: 12px 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #173150;
  text-decoration: none;
  font-weight: 800;
}

.seo-brand:hover {
  text-decoration: none;
}

.seo-brand img {
  width: 58px;
  height: auto;
  object-fit: contain;
}

.seo-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.seo-topbar__actions .secondary-button {
  min-width: auto;
  background: linear-gradient(135deg, #103057 0%, #1d4f86 100%);
}

.seo-hero {
  padding: 22px;
  border-radius: 28px;
  display: grid;
  gap: 14px;
}

.seo-hero__copy {
  display: grid;
  gap: 10px;
}

.seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-hero__actions a {
  text-decoration: none;
}

.seo-hero__actions a:hover {
  text-decoration: none;
}

.seo-hero__actions .primary-button,
.seo-hero__actions .secondary-button {
  width: auto;
  min-width: 190px;
}

.seo-hero__copy .section-copy {
  color: #607189;
}

.seo-benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-benefit {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f2f7ff;
  border: 1px solid #d7e4f5;
  color: #2a5b95;
  font-size: 0.9rem;
  font-weight: 700;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.seo-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.seo-main {
  display: grid;
  gap: 14px;
}

.seo-panel {
  padding: 20px;
  border-radius: 24px;
  display: grid;
  gap: 14px;
}

.seo-panel__header {
  display: grid;
  gap: 6px;
}

.seo-panel__title {
  margin: 0;
  color: #173150;
  font-size: 1.18rem;
}

.seo-panel__copy {
  margin: 0;
  color: #607189;
  line-height: 1.6;
}

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

.seo-link-card {
  padding: 16px;
  display: grid;
  gap: 8px;
  border-radius: 18px;
  border: 1px solid #dfe7f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 18px rgba(155, 169, 196, 0.08);
  color: #173150;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.seo-link-card:hover {
  transform: translateY(-2px);
  border-color: #bed0ef;
  box-shadow: 0 14px 24px rgba(155, 169, 196, 0.14);
  text-decoration: none;
}

.seo-link-card__eyebrow {
  color: #2a5b95;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-link-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.seo-link-card p {
  margin: 0;
  color: #607189;
  line-height: 1.55;
  font-size: 0.92rem;
}

.seo-sidebar {
  display: grid;
  gap: 14px;
}

.seo-side-list {
  display: grid;
  gap: 10px;
}

.seo-side-link {
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid #dfe7f2;
  background: #f8fbff;
  color: #173150;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.seo-side-link:hover {
  transform: translateY(-1px);
  border-color: #bed0ef;
  text-decoration: none;
}

.seo-side-link strong,
.seo-side-link span {
  display: block;
}

.seo-side-link.is-current,
.seo-side-link[aria-current="page"] {
  border-color: #a9c4ee;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  box-shadow: inset 0 0 0 1px rgba(42, 91, 149, 0.12);
}

.seo-side-link strong {
  font-size: 0.96rem;
}

.seo-side-link span {
  margin-top: 4px;
  color: #607189;
  line-height: 1.45;
  font-size: 0.88rem;
}

.seo-games-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-games-grid .game-card {
  color: inherit;
  text-decoration: none;
}

.seo-games-grid .game-card:hover {
  text-decoration: none;
}

.seo-games-grid .media-frame {
  aspect-ratio: 1 / 1;
}

.seo-empty-state {
  padding: 18px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dde6f2;
  text-align: center;
  color: #607189;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .seo-sidebar {
    order: -1;
  }

  .seo-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .seo-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .seo-topbar__actions {
    width: 100%;
  }

  .seo-topbar__actions .secondary-button {
    width: 100%;
  }

  .seo-hero__actions .primary-button,
  .seo-hero__actions .secondary-button {
    width: 100%;
    min-width: 0;
  }

  .seo-link-grid,
  .seo-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .seo-category-shell {
    width: calc(100% - 16px);
    padding-top: 10px;
  }

  .seo-hero,
  .seo-panel {
    padding: 18px;
  }

  .seo-link-grid,
  .seo-games-grid {
    grid-template-columns: 1fr;
  }

  .seo-brand {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}
