/* ============================================================
   1xslots-download.click - 1xSlots review site, prefix: xsd-
   Graphite base with 1xSlots gold; squarer 12px panels, gold
   hairlines and a diagonal "ticket" promo strip on inner pages.
   Layout: sticky header -> home hero (bonus + fanned slot covers)
   or promo strip -> crumbs -> article + sidebar (or one column)
   -> footer (article nav, CTA, three columns, licence line).
   Hover mechanics: gold buttons = light band sweeps across; ghost
   buttons = gold tint fills from the left; menu = underline grows
   from the centre; slot cards = cover zooms, frame turns gold;
   post cards = lift, "Читать" arrow slides; tables = row tint +
   gold bar on the first cell; sidebar links = arrow slides in;
   chips = fill. No JS: the mobile menu is a <details> drawer.
   ============================================================ */

:root {
  --xsd-bg: #161618;
  --xsd-bg-2: #1b1b1e;
  --xsd-panel: #222225;
  --xsd-panel-2: #2a2a2e;
  --xsd-line: #34343a;
  --xsd-line-gold: rgba(214, 179, 118, 0.38);
  --xsd-text: #d5d5d8;
  --xsd-muted: #9e9ea5;
  --xsd-white: #ffffff;
  --xsd-gold: #d6b376;
  --xsd-gold-hi: #fee5a4;
  --xsd-gold-grad: linear-gradient(180deg, #fee5a4 0%, #d6b376 100%);
  --xsd-gold-side: linear-gradient(90deg, #d6b376, #fee5a4);
  --xsd-ink: #19181b;
  --xsd-radius: 12px;
  --xsd-font: "Montserrat", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 100% 0, rgba(214, 179, 118, 0.1), transparent 70%),
    var(--xsd-bg);
  color: var(--xsd-text);
  font: 16px/1.65 var(--xsd-font);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--xsd-gold-hi);
  outline-offset: 3px;
}

.xsd-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- buttons ---------- */

.xsd-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 700 0.84rem/1.2 var(--xsd-font);
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.3s ease, color 0.25s ease, border-color 0.25s ease;
}

.xsd-btn:active {
  transform: translateY(1px);
}

/* gold: a light band sweeps across on hover */
.xsd-btn-gold {
  background: var(--xsd-gold-grad);
  color: var(--xsd-ink);
  box-shadow: 0 6px 18px -10px rgba(254, 229, 164, 0.7);
}

.xsd-btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  z-index: -1;
}

.xsd-btn-gold:hover,
.xsd-btn-gold:focus-visible {
  box-shadow: 0 10px 24px -10px rgba(254, 229, 164, 0.9);
}

.xsd-btn-gold:hover::after,
.xsd-btn-gold:focus-visible::after {
  left: 115%;
}

/* ghost: gold tint fills from the left */
.xsd-btn-ghost {
  border-color: var(--xsd-line-gold);
  background: linear-gradient(90deg, rgba(214, 179, 118, 0.18), rgba(214, 179, 118, 0.18)) 0 0 / 0 100% no-repeat;
  color: var(--xsd-gold-hi);
  transition: background-size 0.35s ease, border-color 0.25s ease, color 0.25s ease;
}

.xsd-btn-ghost:hover,
.xsd-btn-ghost:focus-visible {
  border-color: var(--xsd-gold);
  background-size: 100% 100%;
  color: var(--xsd-white);
}

.xsd-btn-sm {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 0.76rem;
}

.xsd-btn-lg {
  min-height: 52px;
  padding: 14px 30px;
  font-size: 0.95rem;
}

.xsd-btn-block {
  display: flex;
  width: 100%;
}

/* ---------- header ---------- */

.xsd-top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--xsd-line);
  background: rgba(27, 27, 30, 0.95);
  backdrop-filter: blur(8px);
}

.xsd-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--xsd-gold), transparent);
  opacity: 0.6;
}

.xsd-top-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 68px;
}

.xsd-brand {
  flex: none;
}

.xsd-brand img {
  width: 150px;
}

.xsd-menu {
  margin-right: auto;
}

.xsd-menu ul,
.xsd-drawer-panel ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* menu: underline grows from the centre */
.xsd-menu a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.xsd-menu a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--xsd-gold-side);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.xsd-menu a:hover,
.xsd-menu a:focus-visible,
.xsd-menu a[aria-current="page"] {
  color: var(--xsd-gold-hi);
}

.xsd-menu a:hover::after,
.xsd-menu a:focus-visible::after,
.xsd-menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

.xsd-top-cta {
  display: flex;
  gap: 10px;
}

.xsd-drawer {
  display: none;
}

.xsd-drawer summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--xsd-line-gold);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

.xsd-drawer summary::-webkit-details-marker {
  display: none;
}

.xsd-drawer-icon,
.xsd-drawer-icon::before,
.xsd-drawer-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--xsd-gold-hi);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.xsd-drawer-icon {
  position: relative;
}

.xsd-drawer-icon::before,
.xsd-drawer-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.xsd-drawer-icon::before {
  top: -6px;
}

.xsd-drawer-icon::after {
  top: 6px;
}

.xsd-drawer[open] .xsd-drawer-icon {
  background: transparent;
}

.xsd-drawer[open] .xsd-drawer-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.xsd-drawer[open] .xsd-drawer-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.xsd-drawer-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: -16px;
  right: -16px;
  padding: 12px 16px 18px;
  border-bottom: 1px solid var(--xsd-line-gold);
  background: var(--xsd-bg-2);
}

.xsd-drawer-panel ul {
  flex-direction: column;
  gap: 0;
}

.xsd-drawer-panel li a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--xsd-line);
  font-weight: 600;
}

.xsd-drawer-panel li a[aria-current="page"] {
  color: var(--xsd-gold-hi);
}

.xsd-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

/* ---------- home hero ---------- */

.xsd-hero {
  padding: 46px 0 34px;
}

.xsd-hero-in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  padding: 44px 48px;
  overflow: hidden;
  border: 1px solid var(--xsd-line-gold);
  border-radius: 18px;
  background:
    repeating-linear-gradient(135deg, rgba(214, 179, 118, 0.05) 0 14px, transparent 14px 28px),
    linear-gradient(120deg, #26241f, #1d1d20 55%, #2a2418);
}

.xsd-hero-kicker {
  color: var(--xsd-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.xsd-hero-sum {
  margin-top: 8px;
  background: var(--xsd-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.xsd-hero-sub {
  margin-top: 10px;
  color: var(--xsd-white);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
}

.xsd-hero-act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.xsd-hero-fine {
  margin-top: 14px;
  color: var(--xsd-muted);
  font-size: 0.8rem;
}

.xsd-hero-art {
  position: relative;
  height: 290px;
}

.xsd-hero-card {
  position: absolute;
  width: 62%;
  border: 2px solid rgba(254, 229, 164, 0.55);
  border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s ease;
}

.xsd-hero-card-1 {
  left: 0;
  top: 40px;
  transform: rotate(-8deg);
}

.xsd-hero-card-2 {
  left: 19%;
  top: 0;
  z-index: 2;
  transform: rotate(2deg);
}

.xsd-hero-card-3 {
  right: 0;
  top: 56px;
  z-index: 1;
  transform: rotate(9deg);
}

.xsd-hero-art:hover .xsd-hero-card-1 {
  transform: rotate(-12deg) translateX(-10px);
}

.xsd-hero-art:hover .xsd-hero-card-3 {
  transform: rotate(13deg) translateX(10px);
}

/* ---------- inner promo strip ---------- */

.xsd-promo {
  padding: 22px 0 6px;
}

.xsd-promo-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 150px;
  padding: 24px 36px;
  overflow: hidden;
  border: 1px solid var(--xsd-line-gold);
  border-radius: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(214, 179, 118, 0.06) 0 12px, transparent 12px 24px),
    linear-gradient(100deg, #2b2519, #1e1e21 60%);
}

.xsd-promo-txt {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 560px;
}

.xsd-promo-big {
  background: var(--xsd-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
}

.xsd-promo-small {
  color: var(--xsd-white);
  font-weight: 600;
  line-height: 1.4;
}

.xsd-promo-art {
  position: relative;
  flex: none;
  width: 260px;
  height: 120px;
  margin-left: auto;
}

.xsd-promo-art img {
  position: absolute;
  width: 150px;
  border: 2px solid rgba(254, 229, 164, 0.5);
  border-radius: 10px;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.85);
}

.xsd-promo-art img:first-child {
  left: 0;
  top: 6px;
  transform: rotate(-7deg);
}

.xsd-promo-art img:last-child {
  right: 0;
  top: 0;
  transform: rotate(6deg);
}

/* ---------- crumbs + layout ---------- */

.xsd-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 22px 0 18px;
  padding: 0;
  list-style: none;
  color: var(--xsd-muted);
  font-size: 0.85rem;
}

.xsd-crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--xsd-gold);
}

.xsd-crumbs a {
  color: var(--xsd-text);
  text-decoration: underline;
  text-decoration-color: rgba(214, 179, 118, 0.4);
  text-underline-offset: 3px;
}

.xsd-crumbs a:hover {
  color: var(--xsd-gold-hi);
}

.xsd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 28px;
  padding-bottom: 50px;
}

.xsd-solo {
  max-width: 1000px;
  padding-bottom: 50px;
}

/* ---------- content block ---------- */

#content-xsd {
  padding: 34px 38px;
  border: 1px solid var(--xsd-line);
  border-radius: var(--xsd-radius);
  background: var(--xsd-panel);
}

#content-xsd h1 {
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 4px solid var(--xsd-gold);
  color: var(--xsd-white);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.18;
}

#content-xsd h2 {
  margin: 34px 0 14px;
  color: var(--xsd-white);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
}

#content-xsd h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 10px;
  background: var(--xsd-gold-side);
}

#content-xsd h3 {
  margin: 24px 0 10px;
  color: var(--xsd-gold-hi);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
}

.content-xsd-body p {
  margin: 0 0 15px;
}

.content-xsd-body a {
  color: var(--xsd-gold-hi);
  text-decoration: underline;
  text-decoration-color: rgba(254, 229, 164, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s ease, color 0.25s ease;
}

.content-xsd-body a:hover,
.content-xsd-body a:focus-visible {
  color: var(--xsd-white);
  text-decoration-color: var(--xsd-gold-hi);
}

.content-xsd-body strong {
  color: var(--xsd-white);
}

/* buttons placed inside the text keep their own colours */
.content-xsd-body .xsd-btn {
  text-decoration: none;
}

.content-xsd-body .xsd-btn-gold,
.content-xsd-body .xsd-btn-gold:hover {
  color: var(--xsd-ink);
}

.content-xsd-body .xsd-btn-ghost {
  color: var(--xsd-gold-hi);
}

/* one marker per item: native markers off, exactly one ::before */
.content-xsd-body ul,
.content-xsd-body ol {
  margin: 4px 0 20px;
  padding: 0;
  list-style: none;
}

.content-xsd-body ul > li,
.content-xsd-body ol > li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 30px;
}

/* ul: small gold diamond */
.content-xsd-body ul > li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--xsd-gold-grad);
  transform: rotate(45deg);
}

/* ol: number in a gold-outlined square */
.content-xsd-body ol {
  counter-reset: xsd-step;
}

.content-xsd-body ol > li {
  padding-left: 38px;
  counter-increment: xsd-step;
}

.content-xsd-body ol > li::before {
  content: counter(xsd-step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 26px;
  height: 26px;
  border: 1px solid var(--xsd-gold);
  border-radius: 6px;
  color: var(--xsd-gold-hi);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
}

.content-xsd-tablewrap {
  margin: 6px 0 22px;
  overflow-x: auto;
  border: 1px solid var(--xsd-line);
  border-radius: 10px;
}

.content-xsd-tablewrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

/* only wide (3+ column) tables keep a minimum width and scroll */
.content-xsd-tablewrap table:has(tr > :nth-child(3)) {
  min-width: 520px;
}

.content-xsd-tablewrap th {
  padding: 12px 16px;
  background: var(--xsd-panel-2);
  color: var(--xsd-gold-hi);
  font-weight: 700;
  text-align: left;
}

.content-xsd-tablewrap td {
  padding: 11px 16px;
  border-top: 1px solid var(--xsd-line);
  vertical-align: top;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* tables: row tint + gold bar on the first cell */
.content-xsd-tablewrap tbody tr:hover td {
  background: rgba(214, 179, 118, 0.07);
}

.content-xsd-tablewrap tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--xsd-gold);
}

.content-xsd-note {
  margin: 8px 0 22px;
  padding: 16px 20px;
  border: 1px dashed var(--xsd-line-gold);
  border-radius: 10px;
  background: rgba(214, 179, 118, 0.06);
}

.content-xsd-note p {
  margin: 0;
}

.content-xsd-body > :last-child {
  margin-bottom: 0;
}

/* ---------- slot page: game block ---------- */

.xsd-game {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  margin: 10px 0 26px;
  padding: 18px;
  border: 1px solid var(--xsd-line);
  border-radius: 12px;
  background: var(--xsd-bg-2);
}

.xsd-game-shot {
  margin: 0;
}

.xsd-game-shot img {
  width: 100%;
  border-radius: 10px;
}

#content-xsd .xsd-game-info h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

#content-xsd .xsd-game-info h2::after {
  display: none;
}

.xsd-specs,
.xsd-facts {
  margin: 0;
}

.xsd-specs div,
.xsd-facts div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--xsd-line);
  font-size: 0.88rem;
}

.xsd-specs dt,
.xsd-facts dt {
  flex: none;
  color: var(--xsd-muted);
}

.xsd-specs dd,
.xsd-facts dd {
  margin: 0;
  color: var(--xsd-white);
  font-weight: 600;
  text-align: right;
}

.xsd-specs dd a {
  color: var(--xsd-gold-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.xsd-game-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

/* ---------- strips under the article ---------- */

.xsd-strip {
  margin-top: 30px;
}

.xsd-strip h2 {
  margin-bottom: 16px;
  color: var(--xsd-white);
  font-size: 1.35rem;
  font-weight: 800;
}

#content-xsd .xsd-strip h2::after {
  display: none;
}

.xsd-strip-more,
.xsd-box-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--xsd-gold-hi);
  font-weight: 700;
  font-size: 0.9rem;
}

.xsd-strip-more::after,
.xsd-box-more::after {
  content: " →";
  display: inline-block;
  transition: transform 0.25s ease;
}

.xsd-strip-more:hover::after,
.xsd-box-more:hover::after {
  transform: translateX(5px);
}

/* slot cards: cover zooms, frame turns gold */
.xsd-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xsd-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--xsd-line);
  border-radius: 12px;
  background: var(--xsd-bg-2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.xsd-card:hover {
  border-color: var(--xsd-gold);
  box-shadow: 0 14px 30px -18px rgba(254, 229, 164, 0.6);
}

.xsd-card-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.xsd-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.xsd-card:hover .xsd-card-img img {
  transform: scale(1.07);
}

.xsd-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 14px 14px;
}

.xsd-card-name {
  color: var(--xsd-white);
  font-weight: 700;
  line-height: 1.3;
}

.xsd-card-name a:hover {
  color: var(--xsd-gold-hi);
}

.xsd-card-meta {
  margin-top: 4px;
  color: var(--xsd-muted);
  font-size: 0.8rem;
}

.xsd-card-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.xsd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

/* chips: fill on hover */
.xsd-chips a {
  display: block;
  padding: 7px 16px;
  border: 1px solid var(--xsd-line-gold);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.xsd-chips a:hover,
.xsd-chips a:focus-visible,
.xsd-chips a[aria-current="page"] {
  background: var(--xsd-gold);
  color: var(--xsd-ink);
}

/* post cards: lift, arrow slides */
.xsd-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xsd-posts a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--xsd-line);
  border-top: 3px solid var(--xsd-gold);
  border-radius: 10px;
  background: var(--xsd-bg-2);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.xsd-posts a:hover,
.xsd-posts a:focus-visible {
  transform: translateY(-4px);
  border-color: var(--xsd-gold);
}

.xsd-post-tag {
  color: var(--xsd-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xsd-post-title {
  margin-top: 6px;
  color: var(--xsd-white);
  font-weight: 700;
  line-height: 1.35;
}

.xsd-post-text {
  margin-top: 8px;
  color: var(--xsd-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.xsd-post-more {
  margin-top: auto;
  padding-top: 12px;
  color: var(--xsd-gold-hi);
  font-size: 0.85rem;
  font-weight: 700;
}

.xsd-post-more::after {
  content: " →";
  display: inline-block;
  transition: transform 0.25s ease;
}

.xsd-posts a:hover .xsd-post-more::after {
  transform: translateX(6px);
}

/* sitemap */
.xsd-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 6px 30px;
  margin-top: 10px;
}

.xsd-map-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.xsd-map-group li {
  padding: 5px 0;
  border-bottom: 1px dashed var(--xsd-line);
}

.xsd-map-group a:hover {
  color: var(--xsd-gold-hi);
}

#content-xsd .xsd-map-group h2 {
  margin-top: 22px;
  font-size: 1.1rem;
}

/* ---------- sidebar ---------- */

.xsd-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 86px;
}

.xsd-box {
  padding: 20px;
  border: 1px solid var(--xsd-line);
  border-radius: 12px;
  background: var(--xsd-panel);
}

.xsd-box-facts {
  border-color: var(--xsd-line-gold);
}

.xsd-box-title {
  margin-bottom: 12px;
  color: var(--xsd-white);
  font-weight: 800;
}

.xsd-news {
  margin: 0;
  padding: 0;
  list-style: none;
}

.xsd-news li + li {
  border-top: 1px solid var(--xsd-line);
}

/* sidebar links: arrow slides in */
.xsd-news a {
  position: relative;
  display: block;
  padding: 9px 0 9px 0;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: padding-left 0.25s ease, color 0.25s ease;
}

.xsd-news a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--xsd-gold);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.xsd-news a:hover,
.xsd-news a:focus-visible {
  padding-left: 20px;
  color: var(--xsd-gold-hi);
}

.xsd-news a:hover::before,
.xsd-news a:focus-visible::before {
  opacity: 1;
}

.xsd-facts {
  margin-bottom: 16px;
}

.xsd-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xsd-mini a {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.xsd-mini img {
  aspect-ratio: 4 / 3;
  width: 100%;
  margin-bottom: 6px;
  object-fit: cover;
  border: 1px solid var(--xsd-line);
  border-radius: 8px;
  transition: border-color 0.25s ease;
}

.xsd-mini a:hover img {
  border-color: var(--xsd-gold);
}

.xsd-mini a:hover span {
  color: var(--xsd-gold-hi);
}

/* ---------- footer ---------- */

.xsd-foot {
  border-top: 1px solid var(--xsd-line);
  background: var(--xsd-bg-2);
}

.xsd-foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 0;
  padding: 30px 0 0;
  list-style: none;
  font-size: 0.86rem;
}

.xsd-foot-nav a:hover,
.xsd-foot-links a:hover {
  color: var(--xsd-gold-hi);
}

.xsd-foot-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 28px;
}

.xsd-foot-cta .xsd-btn {
  min-width: 160px;
}

.xsd-foot-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.1fr;
  gap: 30px;
  padding: 28px 0 30px;
  border-top: 1px solid var(--xsd-line);
  font-size: 0.88rem;
}

.xsd-foot-col > p {
  margin-top: 12px;
  color: var(--xsd-muted);
}

.xsd-foot-col > .xsd-foot-h {
  margin: 0 0 12px;
  color: var(--xsd-white);
  font-weight: 800;
}

.xsd-foot-links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.xsd-foot-links li {
  padding: 3px 0;
}

.xsd-foot-h + .xsd-foot-links {
  margin-top: 0;
}

.xsd-age {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border: 2px solid var(--xsd-gold);
  border-radius: 50%;
  color: var(--xsd-gold-hi);
  font-size: 0.75rem;
  font-weight: 900;
  vertical-align: middle;
}

.xsd-foot-base {
  border-top: 1px solid var(--xsd-line);
  background: var(--xsd-bg);
}

.xsd-foot-base p {
  padding: 16px 0 20px;
  color: var(--xsd-muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .xsd-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .xsd-side {
    position: static;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 960px) {
  .xsd-menu,
  .xsd-top-cta {
    display: none;
  }

  .xsd-drawer {
    display: block;
    margin-left: auto;
  }

  .xsd-hero-in {
    grid-template-columns: 1fr;
    padding: 34px 28px;
  }

  .xsd-hero-art {
    height: 220px;
    max-width: 420px;
  }

  .xsd-promo-art {
    display: none;
  }

  .xsd-foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .xsd-foot-rg {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .xsd-hero {
    padding: 22px 0 10px;
  }

  .xsd-hero-in {
    padding: 26px 20px;
  }

  .xsd-hero-act .xsd-btn {
    flex: 1;
  }

  .xsd-hero-art {
    height: 170px;
  }

  .xsd-promo-box {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .xsd-promo-txt {
    gap: 14px;
  }

  #content-xsd {
    padding: 24px 18px;
  }

  .xsd-game {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .xsd-cards {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }

  .xsd-card-btns {
    grid-template-columns: 1fr;
  }

  .xsd-foot-grid {
    grid-template-columns: 1fr;
  }

  .xsd-foot-cta .xsd-btn {
    flex: 1;
    min-width: 0;
  }
}
