/* ---------- Games hero ---------- */
.sx-games-hero {
  position: relative;
  border-bottom: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
  overflow: hidden;
}
.sx-games-hero__image {
  width: 100%;
  height: min(52vh, 460px);
  object-fit: cover;
  display: block;
}
.sx-games-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 4, 2, .82) 0%, rgba(20, 4, 2, .58) 46%, rgba(20, 4, 2, 0) 78%);
}
.sx-games-hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.sx-games-hero__content {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 620px;
}
.sx-games-hero__badge {
  background: var(--wp--preset--color--green);
  color: var(--wp--preset--color--base);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
}
.sx-games-hero__heading {
  margin: 0;
  font-family: var(--wp--preset--font-family--archivo-black);
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: .98;
  letter-spacing: -0.03em;
  color: var(--wp--preset--color--base);
  max-width: 16ch;
}
.sx-games-hero__subtext {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--wp--preset--color--surface);
  max-width: 46ch;
}

/* ---------- Advent calendar ---------- */
.sx-advent {
  border-bottom: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
}
.sx-advent__inner {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding: 64px var(--wp--preset--spacing--30);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sx-advent__head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
  padding-bottom: 20px;
}
.sx-advent__heading-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sx-advent__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent-dark);
}
.sx-advent__heading {
  margin: 0;
  font-family: var(--wp--preset--font-family--archivo-black);
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.sx-advent__hint {
  font-size: 13px;
  color: var(--wp--preset--color--muted);
  max-width: 34ch;
}
.sx-advent__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 2px;
  background: var(--wp--preset--color--contrast);
  border: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
}
.sx-advent__door {
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--accent-dark);
  border: 0;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--archivo);
  padding: 18px 12px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-weight: 700;
}
.sx-advent__door--tint {
  background: var(--wp--preset--color--surface);
}
.sx-advent__door:hover {
  filter: brightness(.95);
}
.sx-advent__door.is-open {
  background: var(--wp--preset--color--green) !important;
  color: var(--wp--preset--color--base) !important;
}
.sx-advent__day {
  font-family: var(--wp--preset--font-family--archivo-black);
  font-size: 26px;
  line-height: 1;
}
.sx-advent__treat {
  font-size: 11px;
  line-height: 1.35;
}

/* ---------- Tree game ---------- */
.sx-tree-game {
  background: var(--wp--preset--color--green);
  border-bottom: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
}
.sx-tree-game__inner {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding: 64px var(--wp--preset--spacing--30);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}
.sx-tree-game__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.sx-tree-game__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--yellow);
}
.sx-tree-game__heading {
  margin: 0;
  font-family: var(--wp--preset--font-family--archivo-black);
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wp--preset--color--base);
}
.sx-tree-game__subtext {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--wp--preset--color--surface);
  max-width: 40ch;
}
.sx-tree-game__picker-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.sx-tree-game__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--yellow);
}
.sx-tree-game__picker {
  display: flex;
  gap: 2px;
  background: var(--wp--preset--color--contrast);
  border: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
  width: fit-content;
}
.sx-tree-game__swatch-btn {
  background: var(--wp--preset--color--base);
  border: 0;
  cursor: pointer;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sx-tree-game__swatch-btn.is-active {
  background: var(--wp--preset--color--yellow);
}
.sx-tree-game__swatch {
  display: block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--wp--preset--color--contrast);
}
.sx-tree-game__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sx-tree-game__btn {
  border: 0;
  font-family: var(--wp--preset--font-family--archivo);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.sx-tree-game__btn--primary {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--base);
  padding: 16px 26px;
}
.sx-tree-game__btn--primary:hover {
  background: var(--wp--preset--color--accent-dark);
}
.sx-tree-game__btn--outline {
  background: transparent;
  color: var(--wp--preset--color--base);
  border: 2px solid var(--wp--preset--color--base) !important;
  padding: 14px 26px;
}
.sx-tree-game__btn--outline:hover {
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--green);
}
.sx-tree-game__canvas-area {
  position: relative;
  background: var(--wp--preset--color--base);
  border: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
  aspect-ratio: 3 / 4;
  cursor: crosshair;
  overflow: hidden;
  min-height: 340px;
}
.sx-tree-game__tree-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.sx-tree-game__area-hint {
  position: absolute;
  left: 50%;
  top: 2%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--green);
  background: var(--wp--preset--color--yellow);
  padding: 8px 12px;
}
.sx-tree-game__area-hint.is-hidden {
  display: none;
}
.sx-tree-game__ornament {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 2px solid var(--wp--preset--color--contrast);
  box-sizing: border-box;
}

/* ---------- Naughty or nice ---------- */
.sx-naughty-nice {
  background: var(--wp--preset--color--surface);
  border-bottom: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
}
.sx-naughty-nice__inner {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding: 64px var(--wp--preset--spacing--30);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.sx-naughty-nice__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 44ch;
}
.sx-naughty-nice__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent-dark);
}
.sx-naughty-nice__heading {
  margin: 0;
  font-family: var(--wp--preset--font-family--archivo-black);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.sx-naughty-nice__subtext {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--wp--preset--color--line);
}
.sx-naughty-nice__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 340px;
  min-width: 0;
}
.sx-naughty-nice__field-row {
  display: flex;
  gap: 2px;
  background: var(--wp--preset--color--contrast);
  border: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
}
.sx-naughty-nice__input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 16px;
  font-family: var(--wp--preset--font-family--archivo);
  font-size: 16px;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}
.sx-naughty-nice__check {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--base);
  border: 0;
  font-family: var(--wp--preset--font-family--archivo);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 24px;
  cursor: pointer;
}
.sx-naughty-nice__check:hover {
  background: var(--wp--preset--color--accent-dark);
}
.sx-naughty-nice__verdict {
  padding: 18px 20px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  border: var(--wp--custom--border-width) solid var(--wp--preset--color--contrast);
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--muted);
}
