:root {
  color-scheme: light;
  --bg: #fff5f7;
  --line: #e2c2c6;
  --muted: #9f8189;
  --soft: #fff9e6;
  --white: #ffffff;
  --peach: #ff9aa2;
  --sky: #b5e2fa;
  --night: #1d1a26;
  --violet: #2a2438;
  --pink: #ff66b2;
  --gold: #f9d342;
  --ink: #231b24;
  --text: #493942;
  --shadow: 0 18px 45px rgba(42, 36, 56, .16);
  --shadow-hover: 0 24px 58px rgba(42, 36, 56, .22);
  --radius: 8px;
  --content: 1180px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

svg {
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

p {
  margin-bottom: 1em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #171018;
  font-weight: 700;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-h);
  background: rgba(255, 245, 247, .9);
  border-bottom: 1px solid rgba(226, 194, 198, .75);
  backdrop-filter: blur(14px);
  transition: box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 245, 247, .96);
  border-bottom-color: rgba(255, 102, 178, .22);
  box-shadow: 0 12px 28px rgba(42, 36, 56, .12);
}

.nav-wrap {
  width: min(100% - 20px, 1440px);
  min-height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--night);
  font-weight: 800;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 520px;
}

.brand img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--peach);
  object-fit: cover;
}

.brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  border-radius: 999px;
  color: #493942;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  overflow: visible;
  transition: transform .2s ease;
}

.nav-icon circle {
  fill: #ff66b2;
  stroke: none;
  transition: fill .2s ease;
}

.nav-icon text {
  fill: #ffffff;
  stroke: none;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  text-anchor: middle;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: linear-gradient(135deg, #ffffff 0%, #fff0f4 100%);
  color: var(--night);
  box-shadow: 0 0 0 2px rgba(255, 102, 178, .18), 0 10px 24px rgba(42, 36, 56, .1);
  outline: none;
  transform: translateY(-1px);
}

.site-nav a:hover .nav-icon,
.site-nav a:focus-visible .nav-icon,
.site-nav a.is-active .nav-icon {
  transform: rotate(-8deg) scale(1.06);
}

.site-nav a:hover .nav-icon circle,
.site-nav a:focus-visible .nav-icon circle,
.site-nav a.is-active .nav-icon circle {
  fill: var(--pink);
}

.site-nav .nav-download {
  margin-left: 4px;
  background: var(--night);
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(29, 26, 38, .18);
}

.btn-icon,
.toggle-icon,
.gallery-controls svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible {
  background: var(--pink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--night);
  cursor: pointer;
  place-items: center;
  position: relative;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.toggle-icon {
  position: absolute;
  inset: 9px;
  width: 24px;
  height: 24px;
  transition: transform .2s ease, opacity .2s ease;
}

.toggle-close {
  opacity: 0;
  transform: rotate(-90deg) scale(.8);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
  outline: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(29, 26, 38, .92) 0%, rgba(29, 26, 38, .76) 42%, rgba(29, 26, 38, .26) 100%),
    linear-gradient(0deg, rgba(255, 245, 247, .88) 0%, rgba(255, 245, 247, 0) 22%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 68px 0 96px;
  color: var(--white);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold) 42%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 14px 34px rgba(255, 102, 178, .24);
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-grid;
  place-items: center;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  color: currentColor;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.btn:hover .btn-icon,
.btn:focus-visible .btn-icon {
  transform: rotate(-10deg) scale(1.08);
}

.btn.primary {
  background: linear-gradient(135deg, var(--pink), var(--peach));
  color: var(--white);
  box-shadow: 0 16px 30px rgba(255, 102, 178, .32);
}

.btn.primary .btn-icon {
  background: var(--gold);
  color: var(--night);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: #1a1220;
}

.btn.secondary {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .46);
  color: var(--white);
}

.btn.secondary .btn-icon {
  background: rgba(181, 226, 250, .28);
  color: var(--sky);
}

.hero-facts {
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .2);
}

.hero-facts div {
  padding: 16px;
  background: rgba(29, 26, 38, .58);
}

.hero-facts dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .92);
  font-weight: 700;
}

.section {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 88px 0;
}

.section-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 20px;
}

.section-head h2,
.download-strip h2 {
  margin-bottom: 14px;
  color: var(--pink);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head h2::after,
.download-strip h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
}

.section-head p {
  color: #67525d;
  font-size: 17px;
}

.game-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.game-card:hover,
.game-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 102, 178, .42);
  box-shadow: var(--shadow-hover);
}

.game-card:hover img,
.game-card:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.game-card.soft {
  background: var(--soft);
}

.game-card.gothic {
  background: var(--violet);
  color: rgba(255, 255, 255, .88);
  border-color: rgba(255, 102, 178, .38);
}

.game-card-body {
  padding: 24px;
}

.game-card h3,
.copy-block h3,
.system-grid h3,
.guide-card h3,
.strategy-band h3,
.feature-list h3,
.timeline h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.game-card.gothic h3 {
  color: var(--gold);
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 154, 162, .2);
  color: var(--night);
  font-size: 13px;
  font-weight: 900;
}

.gothic .tag {
  background: rgba(255, 102, 178, .18);
  color: var(--gold);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.copy-block {
  padding: 28px;
  border-left: 5px solid var(--peach);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 28px rgba(42, 36, 56, .06);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.copy-block:hover {
  border-left-color: var(--pink);
  background: rgba(255, 255, 255, .9);
  transform: translateX(4px);
}

.media-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.media-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

figcaption {
  padding: 10px 14px;
  color: #6b5961;
  font-size: 14px;
}

.system-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.system-grid article,
.feature-list article,
.guide-card,
.timeline article,
.faq-list details {
  border: 1px solid rgba(226, 194, 198, .8);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 28px rgba(42, 36, 56, .08);
}

.system-grid article,
.feature-list article {
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease, background .26s ease;
}

.system-grid article::after,
.feature-list article::after,
.guide-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 102, 178, .12), rgba(249, 211, 66, .1));
  opacity: 0;
  transition: opacity .26s ease;
}

.system-grid article:hover,
.feature-list article:hover,
.guide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 178, .4);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-hover);
}

.system-grid article:hover::after,
.feature-list article:hover::after,
.guide-card:hover::after {
  opacity: 1;
}

.system-grid p,
.feature-list p,
.timeline p,
.guide-card p,
.guide-card li {
  color: #5f4a55;
}

.gallery-section {
  padding-top: 36px;
}

.gallery {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}

.gallery:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-item {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.gallery-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease, filter .45s ease;
}

.gallery:hover .gallery-item.is-active img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(29, 26, 38, .88), rgba(29, 26, 38, 0));
}

.gallery-item figcaption {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 28px;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
}

.gallery-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.gallery-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .16);
  color: var(--white);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.gallery-controls svg {
  width: 24px;
  height: 24px;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  background: var(--gold);
  color: var(--night);
  outline: none;
  transform: translateY(-2px);
}

.guide-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.guide-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease, background .26s ease;
}

.guide-card ul {
  padding-left: 20px;
  margin: 0;
}

.guide-card.dark {
  background: var(--violet);
  border-color: rgba(255, 102, 178, .34);
}

.guide-card.dark:hover {
  background: #342947;
  border-color: rgba(249, 211, 66, .5);
}

.guide-card.dark h3 {
  color: var(--gold);
}

.guide-card.dark p,
.guide-card.dark li {
  color: rgba(255, 255, 255, .84);
}

.strategy-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  border: 1px solid var(--line);
}

.strategy-band div {
  padding: 22px;
  background: var(--soft);
  transition: background .25s ease, transform .25s ease;
}

.strategy-band div:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.features-section {
  width: 100%;
  max-width: none;
  padding: 86px max(16px, calc((100% - var(--content)) / 2));
  background: linear-gradient(135deg, var(--night), var(--violet));
}

.features-section .section-head h2,
.features-section .section-head p {
  color: var(--white);
}

.features-section .section-head h2 {
  color: var(--gold);
}

.feature-list article {
  background: rgba(255, 255, 255, .94);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-weight: 900;
  transition: transform .25s ease, background .25s ease;
}

.feature-list article:hover .feature-icon {
  background: var(--gold);
  color: var(--night);
  transform: rotate(-8deg) scale(1.08);
}

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

.timeline article {
  position: relative;
  padding: 24px 24px 24px 28px;
  overflow: hidden;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(var(--pink), var(--gold));
  transition: width .24s ease;
}

.timeline article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 102, 178, .4);
  box-shadow: var(--shadow-hover);
}

.timeline article:hover::before {
  width: 10px;
}

.timeline time {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(255, 102, 178, .38);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(42, 36, 56, .1);
}

.faq-list details:hover {
  transform: translateY(-2px);
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.faq-list summary:hover {
  color: var(--pink);
  background: rgba(255, 154, 162, .08);
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: #5f4a55;
}

.download-strip {
  width: min(100% - 32px, var(--content));
  margin: 20px auto 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 249, 230, .96), rgba(255, 255, 255, .94)),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.download-strip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 102, 178, .38);
  box-shadow: var(--shadow-hover);
}

.download-strip p {
  margin-bottom: 0;
  color: #66505a;
}

.friend-links {
  width: 100%;
  margin: 0;
  padding: 58px 16px 64px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 102, 178, .16), transparent 38%),
    linear-gradient(135deg, #fff5f7 0%, #fff9e6 52%, #fff0f4 100%);
  border-top: 1px solid rgba(226, 194, 198, .7);
}

.friend-links h2 {
  margin: 0 0 22px;
  color: var(--night);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: 0;
}

.friend-link-list {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.friend-link-list a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid rgba(226, 194, 198, .76);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--night);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(42, 36, 56, .1);
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, color .24s ease, border-color .24s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 102, 178, .52);
  background: linear-gradient(135deg, var(--pink), var(--peach));
  color: var(--white);
  box-shadow: 0 20px 44px rgba(255, 102, 178, .24);
  outline: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px max(16px, calc((100% - var(--content)) / 2));
  background: var(--night);
  color: rgba(255, 255, 255, .82);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) + 8px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle.is-open .toggle-menu {
    opacity: 0;
    transform: rotate(90deg) scale(.8);
  }

  .nav-toggle.is-open .toggle-close {
    opacity: 1;
    transform: rotate(0) scale(1);
  }

  .game-pair,
  .split-feature,
  .guide-layout,
  .strategy-band,
  .timeline {
    grid-template-columns: 1fr;
  }

  .system-grid,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .brand {
    max-width: 360px;
  }

  .site-nav {
    font-size: 13px;
  }

  .site-nav a {
    gap: 5px;
    padding: 8px 7px;
  }

  .nav-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .nav-icon text {
    font-size: 10px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
  }

  .nav-wrap,
  .section,
  .download-strip {
    width: min(100% - 24px, var(--content));
  }

  .brand span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(29, 26, 38, .92), rgba(29, 26, 38, .62)),
      linear-gradient(0deg, rgba(255, 245, 247, .84) 0%, rgba(255, 245, 247, 0) 18%);
  }

  .hero-content {
    padding: 72px 0 86px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-facts,
  .system-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-head h2,
  .download-strip h2 {
    font-size: 24px;
  }

  .gallery {
    min-height: 390px;
  }

  .gallery-item figcaption {
    padding: 20px;
    padding-right: 96px;
    font-size: 15px;
  }

  .download-strip,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-strip .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
