/* =========================================================
   甲乙丙游戏 · Jiayibing Games — site styles
   Brand colors sampled from the logo
   ========================================================= */
:root {
  --coral: #FF6E5B;
  --coral-d: #E5513F;
  --yellow: #FFC734;
  --yellow-d: #E9A912;
  --teal: #6FCDBD;
  --teal-d: #48AE9C;
  --cream: #FEF7E5;
  --cream-2: #FFF0D2;
  --navy: #11244E;
  --navy-70: rgba(17, 36, 78, .72);
  --navy-50: rgba(17, 36, 78, .55);
  --white: #FFFDF8;

  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow-soft: 0 18px 40px -18px rgba(17, 36, 78, .28);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC",
          "WenQuanYi Micro Hei", sans-serif;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(17, 36, 78, .06) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: .01em; }
p { margin: 0; }

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

/* English sub-lines */
.en {
  display: block;
  font-size: .62em;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy-50);
  margin-top: .3em;
}
p .en, p.en { font-size: .9em; font-weight: 400; }
.btn .en, .badge .en, .platforms .en, .nav small, .placeholder .en { display: inline; margin: 0; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100;
}
.skip:focus { left: 8px; }

/* =========================== Header =========================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 247, 229, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(17, 36, 78, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 44px; height: 44px; transition: transform .4s var(--bounce); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-zh { font-weight: 800; font-size: 19px; letter-spacing: .06em; }
.brand-en { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-50); white-space: nowrap; }

.nav { display: flex; gap: 6px; }
.nav a {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: background .2s, transform .3s var(--bounce);
}
.nav a small { font-size: 10px; font-weight: 600; color: var(--navy-50); letter-spacing: .06em; }
.nav a:hover { background: #fff; transform: translateY(-2px); }
.nav a:nth-child(1):hover { box-shadow: 0 3px 0 var(--coral); }
.nav a:nth-child(2):hover { box-shadow: 0 3px 0 var(--yellow); }
.nav a:nth-child(3):hover { box-shadow: 0 3px 0 var(--teal); }

/* =========================== Buttons =========================== */
.btn {
  --c: var(--coral); --cd: var(--coral-d);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 24px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer;
  color: #fff; background: var(--c);
  box-shadow: 0 6px 0 var(--cd), 0 14px 24px -10px rgba(17, 36, 78, .35);
  transition: transform .25s var(--bounce), box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn .en { color: rgba(255, 255, 255, .85); font-size: .72em; font-weight: 700; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--cd), 0 18px 28px -10px rgba(17, 36, 78, .35); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--cd), 0 6px 12px -8px rgba(17, 36, 78, .35); }
.btn:focus-visible, .nav a:focus-visible, .brand:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn-coral { --c: var(--coral); --cd: var(--coral-d); }
.btn-yellow { --c: var(--yellow); --cd: var(--yellow-d); color: var(--navy); }
.btn-yellow .en { color: var(--navy-70); }
.btn-teal { --c: var(--teal); --cd: var(--teal-d); color: var(--navy); }
.btn-teal .en { color: var(--navy-70); }
.btn-ghost { --c: #fff; --cd: rgba(17, 36, 78, .16); color: var(--navy); }
.btn-ghost .en { color: var(--navy-50); }
.btn-sm { padding: 10px 18px; font-size: 15px; box-shadow: 0 4px 0 var(--cd); }
.btn-sm:hover { box-shadow: 0 6px 0 var(--cd); }
.btn-disabled, .btn-disabled:hover, .btn-disabled:active {
  --c: rgba(17, 36, 78, .07); --cd: rgba(17, 36, 78, .1);
  color: var(--navy-50); cursor: default; transform: none; box-shadow: 0 4px 0 var(--cd);
}
.btn-disabled .en { color: var(--navy-50); }

/* =========================== Hero =========================== */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 7px 16px; border-radius: 999px; background: #fff;
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow-soft);
}
.eyebrow .en { display: inline; font-size: 12.5px; margin: 0 0 0 4px; }
.eyebrow strong { font-weight: 900; }
.eyebrow .sep { color: var(--navy-50); }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 4px; background: var(--teal); box-shadow: 14px 0 0 var(--yellow), 28px 0 0 var(--coral); margin-right: 30px; }
.hero-title { margin-top: 22px; }
.hero-title .zh {
  display: block; font-size: clamp(44px, 7vw, 84px); font-weight: 900; letter-spacing: .02em; line-height: 1.12;
}
.hero-title .en { font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; color: var(--coral-d); margin-top: 12px; letter-spacing: .01em; }
.br-m { display: none; }
.hero-intro { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; color: var(--navy-70); }
.hero-intro strong { color: var(--navy); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px 18px; }

/* stacked blocks */
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 440px; }
.stack { display: flex; flex-direction: column; align-items: center; animation: float 5s ease-in-out infinite; }
.block {
  --c: var(--coral); --cd: var(--coral-d);
  position: relative; display: grid; place-items: center;
  width: 250px; height: 132px; border-radius: 36px;
  background: var(--c); color: #fff; cursor: pointer; user-select: none;
  font-size: 92px; font-weight: 900; line-height: 1;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .08), inset 0 8px 0 rgba(255, 255, 255, .22), 0 10px 0 var(--cd), 0 26px 40px -16px rgba(17, 36, 78, .4);
  transition: transform .45s var(--bounce);
  -webkit-tap-highlight-color: transparent;
}
.block span { text-shadow: 0 4px 0 rgba(0, 0, 0, .08); transform: translateY(-3px); }
.block::after { /* candy shine */
  content: ""; position: absolute; left: 24px; top: 18px; width: 30px; height: 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .55); transform: rotate(-12deg);
}
.b-jia { --c: var(--coral); --cd: var(--coral-d); transform: rotate(-5deg) translateX(14px); z-index: 3; }
.b-yi { --c: var(--yellow); --cd: var(--yellow-d); width: 262px; margin-top: -8px; transform: rotate(3deg) translateX(-10px); z-index: 2; }
.b-bing { --c: var(--teal); --cd: var(--teal-d); width: 286px; margin-top: -8px; transform: rotate(-1.5deg) translateX(2px); z-index: 1; }
.b-jia:hover { transform: rotate(-10deg) translate(20px, -14px) scale(1.04); }
.b-yi:hover { transform: rotate(7deg) translate(-18px, -8px) scale(1.04); }
.b-bing:hover { transform: rotate(-4deg) translate(6px, -6px) scale(1.04); }
.block.hop { animation: hop .6s var(--bounce); }
.stack-shadow { width: 260px; height: 26px; margin-top: 28px; border-radius: 50%; background: rgba(17, 36, 78, .12); filter: blur(6px); animation: shadow 5s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.86); opacity: .7; } }
@keyframes hop { 0% { translate: 0 0; } 35% { translate: 0 -38px; } 60% { translate: 0 0; } 78% { translate: 0 -10px; } 100% { translate: 0 0; } }

/* confetti blocks */
.confetti .c { position: absolute; border-radius: 10px; opacity: .9; animation: drift 9s ease-in-out infinite; }
.c1 { width: 46px; height: 26px; background: var(--yellow); top: 12%; left: 46%; transform: rotate(18deg); }
.c2 { width: 30px; height: 30px; background: var(--teal); top: 76%; left: 6%; border-radius: 9px; animation-delay: -2s; }
.c3 { width: 56px; height: 28px; background: var(--coral); top: 82%; left: 52%; transform: rotate(-14deg); animation-delay: -4s; opacity: .55; }
.c4 { width: 22px; height: 22px; background: var(--coral); top: 10%; right: 6%; border-radius: 7px; animation-delay: -1s; }
.c5 { width: 38px; height: 22px; background: var(--teal); top: 50%; right: 3%; transform: rotate(24deg); animation-delay: -6s; opacity: .7; }
.c6 { width: 18px; height: 18px; background: var(--yellow); top: 6%; left: 4%; border-radius: 6px; animation-delay: -3s; }
@keyframes drift { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -16px; rotate: 12deg; } }

/* =========================== Sections =========================== */
.section { padding: 88px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; margin-top: 16px; }
.section-head h2 .en { font-size: .48em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.section-sub { margin: 14px auto 0; max-width: 36em; color: var(--navy-70); font-size: 17px; }
.tag {
  display: inline-block; padding: 7px 18px; border-radius: 12px;
  font-weight: 800; font-size: 15px; letter-spacing: .1em;
  transform: rotate(-2deg);
}
.tag-coral { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--coral-d); }
.tag-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 var(--yellow-d); transform: rotate(2deg); }
.tag-teal { background: var(--teal); color: var(--navy); box-shadow: 0 4px 0 var(--teal-d); }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  --c: var(--coral); --cd: var(--coral-d);
  background: var(--white); border-radius: var(--r-lg); padding: 30px 28px 32px;
  box-shadow: 0 8px 0 rgba(17, 36, 78, .06), var(--shadow-soft);
  border: 2px solid rgba(17, 36, 78, .05);
  transition: transform .4s var(--bounce), box-shadow .3s;
}
.feature:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 12px 0 var(--c), var(--shadow-soft); }
.f-yellow { --c: var(--yellow); --cd: var(--yellow-d); }
.f-yellow:hover { transform: translateY(-8px) rotate(1deg); }
.f-teal { --c: var(--teal); --cd: var(--teal-d); }
.feature-icon {
  width: 68px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--c); color: #fff; font-size: 32px; font-weight: 900;
  box-shadow: 0 5px 0 var(--cd); margin-bottom: 22px; transform: rotate(-4deg);
}
.feature h3 { font-size: 22px; font-weight: 800; }
.feature h3 .en { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.feature p { margin-top: 12px; color: var(--navy-70); }
.feature p.en { margin-top: 8px; font-size: 14px; }

.name-card {
  margin-top: 34px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 36px;
  background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 38px 44px;
  box-shadow: 0 10px 0 #0A1735, var(--shadow-soft);
}
.name-card .en { color: rgba(255, 255, 255, .62); }
.name-card h3 { font-size: 24px; font-weight: 800; }
.name-card h3 .en { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.name-card p { margin-top: 12px; color: rgba(255, 255, 255, .88); max-width: 46em; }
.name-blocks { display: flex; gap: 10px; }
.nb {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-size: 32px; font-weight: 900; color: #fff;
  transition: transform .4s var(--bounce);
}
.nb-c { background: var(--coral); box-shadow: 0 5px 0 var(--coral-d); transform: rotate(-6deg); }
.nb-y { background: var(--yellow); box-shadow: 0 5px 0 var(--yellow-d); transform: translateY(-8px) rotate(4deg); }
.nb-t { background: var(--teal); box-shadow: 0 5px 0 var(--teal-d); transform: rotate(-3deg); }
.name-card:hover .nb-c { transform: translateY(-10px) rotate(-10deg); }
.name-card:hover .nb-y { transform: translateY(-16px) rotate(8deg); }
.name-card:hover .nb-t { transform: translateY(-10px) rotate(-6deg); }

/* Games */
.games { background: linear-gradient(180deg, transparent, rgba(255, 199, 52, .14) 18%, rgba(255, 199, 52, .14) 82%, transparent); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.game-card {
  --c: var(--coral); --cd: var(--coral-d); --cl: #FFE1DC;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 8px 0 rgba(17, 36, 78, .06), var(--shadow-soft);
  border: 2px solid rgba(17, 36, 78, .05);
  transition: transform .4s var(--bounce), box-shadow .3s;
}
.game-card:hover { transform: translateY(-8px) rotate(-.8deg); box-shadow: 0 12px 0 var(--c), var(--shadow-soft); }
.game-card:nth-child(even):hover { transform: translateY(-8px) rotate(.8deg); }
.gc-yellow { --c: var(--yellow); --cd: var(--yellow-d); --cl: #FFF0C4; }
.gc-teal { --c: var(--teal); --cd: var(--teal-d); --cl: #D7F3EC; }
.game-cover { position: relative; aspect-ratio: 4 / 3; background: var(--cl); overflow: hidden; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, .45) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .45) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, .45) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .45) 75%);
  background-size: 36px 36px; background-position: 0 0, 18px 18px;
}
.ph-block {
  position: absolute; display: grid; place-items: center; border-radius: 22px;
  font-weight: 900; color: #fff; transition: transform .5s var(--bounce);
}
.ph-1 { width: 118px; height: 84px; font-size: 48px; background: var(--c); box-shadow: 0 7px 0 var(--cd); transform: translate(-30px, -18px) rotate(-8deg); }
.ph-2 { width: 64px; height: 64px; font-size: 34px; background: var(--navy); box-shadow: 0 6px 0 #0A1735; border-radius: 18px; transform: translate(58px, 26px) rotate(10deg); }
.ph-3 { width: 46px; height: 30px; background: #fff; box-shadow: 0 5px 0 rgba(17, 36, 78, .12); border-radius: 12px; transform: translate(-70px, 56px) rotate(14deg); }
.game-card:hover .ph-1 { transform: translate(-34px, -30px) rotate(-14deg); }
.game-card:hover .ph-2 { transform: translate(64px, 18px) rotate(20deg); }
.game-card:hover .ph-3 { transform: translate(-78px, 46px) rotate(-6deg); }
.badge {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 12px;
  font-size: 13px; font-weight: 800; background: #fff; color: var(--navy);
  box-shadow: 0 3px 0 rgba(17, 36, 78, .12);
}
.badge .en { color: var(--navy-50); font-size: 11px; font-weight: 700; margin-left: 4px; }
.badge-soon::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: var(--yellow-d); margin-right: 7px; vertical-align: 1px; animation: blink 1.6s ease-in-out infinite; }
.badge-live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: var(--teal-d); margin-right: 7px; vertical-align: 1px; }
@keyframes blink { 50% { opacity: .3; } }
.game-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-title { font-size: 21px; font-weight: 800; }
.game-title .en { font-size: 13px; letter-spacing: .04em; }
.game-desc { color: var(--navy-70); font-size: 15.5px; }
.game-desc.en { margin-top: -4px; font-size: 13.5px; }
.platforms { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li { padding: 4px 12px; border-radius: 999px; background: var(--cl); font-size: 13px; font-weight: 700; }
.platforms .en { color: var(--navy-50); font-size: 11.5px; margin-left: 2px; }
.game-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; }
.noscript { text-align: center; color: var(--navy-70); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 28px; }
.contact-card {
  --c: var(--coral); --cd: var(--coral-d); --cl: #FFE1DC;
  background: var(--white); border-radius: var(--r-lg); padding: 32px 30px; text-align: center;
  box-shadow: 0 8px 0 rgba(17, 36, 78, .06), var(--shadow-soft);
  border: 2px solid rgba(17, 36, 78, .05);
  transition: transform .4s var(--bounce), box-shadow .3s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 12px 0 var(--c), var(--shadow-soft); }
.cc-teal { --c: var(--teal); --cd: var(--teal-d); --cl: #D7F3EC; }
.cc-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
  background: var(--c); color: #fff; box-shadow: 0 5px 0 var(--cd); transform: rotate(-5deg);
}
.cc-teal .cc-icon { color: var(--navy); transform: rotate(5deg); }
.contact-card h3 { font-size: 21px; font-weight: 800; }
.contact-card h3 .en { font-size: 13px; letter-spacing: .04em; }
.cc-value { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cc-link { font-weight: 800; font-size: 18px; text-decoration: none; border-bottom: 3px solid var(--c); word-break: break-all; }
.cc-name { font-weight: 800; font-size: 18px; }
.cc-qr { width: 160px; height: 160px; border-radius: 16px; background: #fff; padding: 8px; box-shadow: 0 4px 0 rgba(17, 36, 78, .1); }
.placeholder {
  display: inline-block; padding: 8px 18px; border-radius: 14px;
  border: 2px dashed rgba(17, 36, 78, .25); color: var(--navy-50); font-weight: 700;
}
.placeholder .en { font-size: 13px; margin-left: 4px; }

/* Footer */
.site-footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 2px dashed rgba(17, 36, 78, .12); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.footer-brand .en { display: inline; font-size: 12px; margin-left: 6px; letter-spacing: .08em; text-transform: uppercase; }
.to-top { font-weight: 700; font-size: 14px; text-decoration: none; color: var(--navy-70); padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 3px 0 rgba(17, 36, 78, .1); }
.to-top:hover { color: var(--navy); }

/* QR modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17, 36, 78, .5); }
.modal-card {
  position: relative; background: var(--white); border-radius: var(--r-lg); padding: 30px 28px 26px;
  text-align: center; width: min(340px, 100%); box-shadow: 0 10px 0 var(--yellow), 0 30px 60px -20px rgba(0, 0, 0, .4);
  animation: pop .35s var(--bounce);
}
.modal-card h3 { font-size: 20px; font-weight: 800; }
.modal-card img { width: 220px; height: 220px; margin: 18px auto 12px; border-radius: 14px; }
.modal-tip { font-size: 14px; color: var(--navy-70); }
.modal-close {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 12px;
  background: var(--cream-2); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer;
}
@keyframes pop { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* reveal */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .6s ease, translate .7s var(--bounce), transform .4s var(--bounce), box-shadow .3s; }
.reveal.in { opacity: 1; translate: 0 0; }
.about-grid .reveal:nth-child(2), .games-grid .reveal:nth-child(3n+2), .contact-grid .reveal:nth-child(2) { transition-delay: .08s, .08s, 0s, 0s; }
.about-grid .reveal:nth-child(3), .games-grid .reveal:nth-child(3n) { transition-delay: .16s, .16s, 0s, 0s; }

/* =========================== Responsive =========================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-art { order: -1; min-height: 0; padding-top: 8px; }
  .hero-intro { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .name-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 34px 28px; gap: 22px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 64px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-zh { font-size: 17px; }
  .brand-en { font-size: 9.5px; letter-spacing: .1em; }
  .nav { gap: 0; }
  .nav a { padding: 6px 9px; font-size: 14px; }
  .nav a small { font-size: 9px; }
  .hero { padding: 20px 0 64px; }
  .block { width: 148px; height: 78px; font-size: 52px; border-radius: 22px;
    box-shadow: inset 0 -7px 0 rgba(0,0,0,.08), inset 0 6px 0 rgba(255,255,255,.22), 0 7px 0 var(--cd), 0 18px 28px -14px rgba(17,36,78,.4); }
  .b-jia { transform: rotate(-5deg) translateX(10px); }
  .b-yi { width: 156px; margin-top: -6px; transform: rotate(3deg) translateX(-8px); }
  .b-bing { width: 170px; margin-top: -6px; }
  .block::after { left: 14px; top: 10px; width: 18px; height: 8px; }
  .stack-shadow { width: 160px; height: 14px; margin-top: 14px; }
  .eyebrow { font-size: 13px; padding: 6px 14px; }
  .eyebrow .en { display: none; }
  .game-cover { aspect-ratio: 16 / 9; }
  .contact-card { padding: 26px 22px; }
  .hero-title { margin-top: 18px; }
  .br-m { display: inline; }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .games-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature { padding: 26px 22px 28px; }
  .nb { width: 54px; height: 54px; font-size: 27px; border-radius: 16px; }
  .footer-inner { justify-content: center; text-align: center; }
  .c1 { left: 70%; top: 4%; } .c3 { display: none; }
}
@media (max-width: 360px) {
  .brand-en { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
