/* PixelC — shared site styles (layout modeled on the reference structure) */
:root {
  --navy: #123759;
  --ink: #153854;
  --muted: #52677a;
  --yellow: #ffda43;
  --blue: #c9ecff;
  --paper: #fffefa;
  --line: #e3eaf0;
  font-family: Nunito, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.8rem, 5vw, 4.7rem); line-height: 1.14; }
h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); line-height: 1.16; font-weight: 900; }
h3 { font-size: 1.45rem; line-height: 1.3; }
p { line-height: 1.85; color: var(--muted); }
[hidden] { display: none !important; }

.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 88px; }
.eyebrow { display: block; font-size: 0.69rem; font-weight: 900; letter-spacing: 0.12em; line-height: 1.5; margin-bottom: 16px; }
.text-link { display: inline-flex; gap: 14px; align-items: center; font-size: 0.9rem; font-weight: 900; line-height: 1.5; }
.text-link span { font-size: 1.15em; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 13px 24px; border-radius: 999px; font-size: 0.9rem; font-weight: 900; line-height: 1.5; transition: transform 0.2s, box-shadow 0.2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 5px #12375915; }
.button-yellow { background: var(--yellow); color: var(--navy); }
.button-navy { background: var(--navy); color: #fff; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; }
.store-links .button { gap: 12px; }
.action-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.skip-link { position: absolute; left: 20px; top: -60px; background: var(--navy); color: #fff; padding: 12px; z-index: 100; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid #186dcb; outline-offset: 5px; }
button, a { -webkit-tap-highlight-color: transparent; }

/* ---------- header ---------- */
.site-header { background: var(--paper); position: relative; z-index: 10; }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 1; }
.wordmark svg { height: 40px; width: auto; display: block; }
#main-nav { display: flex; align-items: center; gap: 36px; font-size: 0.88rem; font-weight: 900; }
#main-nav a { padding-block: 10px; position: relative; }
#main-nav a[aria-current="page"] { box-shadow: 0 3px 0 var(--yellow); }
.language { margin-left: 12px; padding-left: 24px; border-left: 1px solid var(--line); align-self: stretch; display: inline-flex; align-items: center; font-weight: 900; }
.language:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #bfecff; isolation: isolate; }
.hero-world { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #daf5ff70, transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 660px; gap: 28px; }
.hero-copy { padding-block: 65px; position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 25px; }
.hero-copy h1 { max-width: 650px; font-size: clamp(3.5rem, 5.5vw, 5.5rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.055em; }
.hero-copy p { margin: 25px 0 32px; max-width: 365px; color: #234a63; font-size: 1.08rem; line-height: 1.7; }
.hero-games { height: 620px; position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 30px 0; }
.hero-game { width: 47%; max-width: 260px; border: 8px solid var(--paper); border-radius: 22px; background: var(--paper); box-shadow: 0 25px 40px #2c66842e; position: relative; transition: transform 0.25s; }
.hero-game-0 { transform: rotate(-9deg) translateY(20px); z-index: 2; }
.hero-game-1 { transform: rotate(10deg) translateY(-12px); }
.hero-game-0:hover { transform: rotate(-6deg) translateY(12px); }
.hero-game-1:hover { transform: rotate(7deg) translateY(-20px); }
.hero-game > img { width: 100%; border-radius: 11px; }
.hero-game > span { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 900; padding: 12px 4px 4px; }
.hero-box { position: absolute; width: 64px; height: 64px; z-index: 3; pointer-events: none; }
.hero-box-gold-top { top: 6%; left: 2%; }
.hero-box-cyan-mid { top: 36%; left: -8%; width: 50px; height: 50px; }
.hero-box-gold-bottom { bottom: 16%; left: 0; width: 56px; height: 56px; }
.hero-box-cyan-bottom { bottom: -1%; left: 7%; width: 48px; height: 48px; }

/* ---------- featured ---------- */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.featured { padding-bottom: 0; }
.theme-blue { --stage: #e8f5ff; background: var(--stage); }
.theme-yellow { --stage: #fff5cf; background: var(--stage); }
.feature-panel { position: relative; overflow: hidden; }
.feature-inner { min-height: 575px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-block: 48px; }
.feature-art { position: relative; height: 470px; display: flex; align-items: center; justify-content: center; }
.feature-art > img:not(.feature-cube) { height: 100%; width: auto; max-width: 70%; object-fit: contain; border-radius: 18px; transform: rotate(-8deg) translate(-45px); box-shadow: 0 22px 32px #30445b25; z-index: 1; }
.feature-cube { position: absolute; width: 56px; height: 56px; pointer-events: none; }
.feature-cube-cyan-left { left: 6%; top: 70px; }
.feature-cube-gold-left { left: 2%; top: 160px; width: 42px; height: 42px; }
.feature-cube-gold-lower { left: 10%; top: 255px; width: 48px; height: 48px; }
.feature-cube-gold-center { left: 66%; top: 268px; width: 34px; height: 34px; }
.feature-cube-cyan-right { right: 4%; top: 60px; width: 46px; height: 46px; }
.feature-cube-pink-right { right: 2%; top: 235px; width: 50px; height: 50px; }
.feature-copy h3 { font-size: clamp(2.8rem, 4.4vw, 4.3rem); margin-bottom: 12px; font-weight: 900; }
.feature-copy h4 { font-size: 1.24rem; line-height: 1.5; }
.feature-copy > p { margin: 17px 0 28px; max-width: 450px; }
.feature-tabs { display: flex; justify-content: center; gap: 18px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.feature-tabs button { background: transparent; border: 1px solid transparent; border-radius: 14px; display: flex; align-items: center; gap: 16px; padding: 14px 22px; min-width: 245px; color: var(--navy); font-size: 1rem; font-weight: 900; }
.feature-tabs button[aria-selected="true"] { background: #fff4c4; border-color: #ffe373; }
.feature-tabs button img { border-radius: 8px; width: 40px; height: 40px; object-fit: cover; }

/* ---------- about preview / news ---------- */
.about-preview { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; padding-top: 110px; }
.about-preview p { margin: 22px 0; max-width: 560px; }
.about-art { aspect-ratio: 4 / 3; position: relative; border-radius: 24px; overflow: hidden; background: #d7f1ff; }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.home-news { padding-top: 25px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.news-card { display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
.news-art { height: 265px; position: relative; overflow: hidden; display: flex; align-items: center; border-radius: 20px; }
.news-art .news-icon { width: 100px; height: 100px; margin-left: 12%; box-shadow: 0 15px 25px #12375915; z-index: 1; border-radius: 22px; }
.news-art .news-shot { position: absolute; width: 43%; height: auto; right: 11%; top: 22px; transform: rotate(10deg); border-radius: 12px; box-shadow: 0 16px 24px #12375920; }
.news-card h3 { font-size: 1.4rem; line-height: 1.4; margin-bottom: 15px; }
.news-card .eyebrow { font-size: 0.62rem; margin-bottom: 9px; }
.news-card .text-link { font-size: 0.78rem; }

/* ---------- contact band ---------- */
.contact-section { background: var(--yellow); padding: 65px 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-copy p { margin-top: 18px; max-width: 400px; color: #334b57; }
.contact-channel { border-left: 1px solid #12375935; padding: 12px 0 12px 45px; }
.contact-label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }
.contact-value { font-size: 1.6rem; font-weight: 900; line-height: 1.4; color: var(--navy); overflow-wrap: anywhere; }
.contact-note { font-size: 0.83rem; color: #334b57; margin-top: 18px; }
.contact-note a { font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 55px 0 30px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 28px; }
.footer-top nav { display: flex; gap: 30px; font-size: 0.8rem; }
.footer-bottom { border-top: 1px solid #ffffff26; padding-top: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.footer-bottom p { font-size: 0.75rem; color: #c8d7e4; line-height: 1.8; }

/* ---------- subpage intro ---------- */
.page-intro { position: relative; overflow: hidden; text-align: center; background: linear-gradient(120deg, #e4f6ff, #f5fbff); padding: 80px 0 85px; }
.page-intro h1 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
.page-intro p { margin: 20px auto 0; max-width: 580px; }
.intro-square { position: absolute; width: 80px; height: 80px; border-radius: 14px; right: 8%; top: 15%; background: #ffdf4c; opacity: 0.5; transform: rotate(17deg); }

/* ---------- games catalog ---------- */
.catalog { padding-bottom: 100px; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.game-cover { height: 420px; border-radius: 24px; position: relative; overflow: hidden; display: flex; align-items: center; transition: transform 0.25s; }
.game-card:hover .game-cover { transform: translateY(-5px); }
.cover-shot { position: absolute; width: 42%; height: 87%; object-fit: contain; right: 4%; top: 7%; transform: rotate(8deg); filter: drop-shadow(0 10px 10px #243b501f); z-index: 1; }
.cover-cube { position: absolute; width: 56px; height: 56px; opacity: 0.7; }
.cover-cube.one { left: 5%; bottom: -20px; }
.cover-cube.two { right: -12px; top: 30px; opacity: 0.6; width: 44px; height: 44px; }
.game-caption { display: flex; align-items: center; gap: 15px; padding: 20px 0 0; }
.game-caption img { width: 52px; height: 52px; object-fit: cover; border-radius: 11px; }
.game-caption h3 { font-size: 1.15rem; }
.game-caption p { font-size: 0.75rem; }
.game-caption > span { margin-left: auto; }

/* ---------- game detail ---------- */
.breadcrumbs { display: flex; align-items: center; gap: 14px; font-size: 0.76rem; padding-top: 30px; color: var(--muted); }
.breadcrumbs a:hover { text-decoration: underline; }
.detail-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; min-height: 570px; padding-block: 42px 62px; }
.detail-icon { width: 74px; height: 74px; border-radius: 17px; margin-bottom: 23px; }
.detail-copy h1 { font-size: clamp(3rem, 5vw, 4.6rem); }
.detail-copy h2 { font-size: 1.35rem; line-height: 1.6; margin-top: 13px; }
.detail-copy > p { margin: 18px 0 25px; max-width: 470px; }
.detail-art { height: 470px; position: relative; display: flex; align-items: center; justify-content: center; }
.detail-art > img:not(.feature-cube) { height: 100%; width: auto; max-width: 80%; object-fit: contain; border-radius: 13px; transform: rotate(7deg); box-shadow: 0 16px 26px #30445b20; z-index: 1; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 35px; }
.features-grid article { border-top: 1px solid #cbdbe7; padding-top: 25px; }
.features-grid h3 { font-size: 1.3rem; margin-bottom: 12px; }
.features-grid p { font-size: 0.93rem; }
.screenshots-section { background: #f3f7fa; }
.screenshot-gallery { display: flex; align-items: flex-start; justify-content: center; gap: 30px; }
.screenshot-gallery figure { margin: 0; flex: 1; max-width: 290px; }
.screenshot-gallery img { width: 100%; border-radius: 14px; box-shadow: 0 6px 20px #1736510d; }
.detail-info { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.info-list { margin: 25px 0 0; }
.info-list > div { display: grid; grid-template-columns: 120px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 700; }
.support-box { padding: 32px; background: #edf7fd; border-radius: 20px; align-self: center; }
.support-box p { margin: 15px 0 20px; font-size: 0.9rem; }
.support-box a { display: flex; margin-top: 14px; }

/* ---------- about ---------- */
.about-body { display: grid; grid-template-columns: 500px 600px; gap: 80px; }
.about-body p { margin-bottom: 23px; }
.lead { font-size: 1.18rem; line-height: 1.8; }
.capabilities-section { background: #edf7ff; }

/* ---------- news ---------- */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.article { max-width: 850px; margin-inline: auto; }
.article .breadcrumbs { padding-top: 0; margin-bottom: 45px; }
.article h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.3; }
.article > .lead { margin-top: 25px; }
.article-game { margin: 40px 0; border-radius: 20px; padding: 32px; display: flex; align-items: center; gap: 32px; }
.article-game > img { border-radius: 16px; flex-shrink: 0; width: 120px; }
.article-game p { margin: 12px 0 22px; font-size: 0.92rem; }
.article > .text-link { margin-top: 25px; }

/* ---------- support ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.support-card { padding: 40px; border-radius: 20px; }
.support-card > img { border-radius: 18px; margin-bottom: 24px; width: 88px; }
.support-card > p { margin: 12px 0 22px; }
.support-card > .text-link { display: flex; margin-top: 22px; }
.support-note { grid-column: 1 / -1; font-size: 0.85rem; }
.support-company { grid-column: 1 / -1; border-radius: 20px; padding: 32px 40px; background: #e8f5ff; }
.support-company .eyebrow { margin: 0 0 5px; color: #27708b; }
.support-company h2 { font-size: 1.7rem; }
.support-company p { font-size: 0.88rem; margin-top: 5px; }
.support-company > a { font-size: 1.16rem; font-weight: 900; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; display: inline-block; margin-top: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  #main-nav { gap: 25px; }
  .hero-inner { min-height: 560px; }
  .hero-games { height: 500px; gap: 12px; }
  .hero-game { border-width: 7px; }
  .hero-copy h1 { font-size: 3.6rem; }
  .feature-inner { gap: 35px; }
  .feature-art { height: 410px; }
  .about-preview { gap: 45px; }
  .news-card { flex-direction: row; align-items: center; gap: 18px; }
  .news-art { height: 230px; flex: 0 0 112px; }
  .news-art .news-shot { display: none; }
  .news-art .news-icon { width: 88px; height: 88px; margin-inline: auto; }
  .detail-hero-inner { gap: 35px; }
  .detail-art { height: 425px; }
  .game-cover { height: 330px; }
  .about-body { gap: 45px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 52px; }
  .header-inner { height: 74px; }
  .wordmark svg { height: 28px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; background: none; border: 1px solid #d3dfe7; color: var(--navy); padding: 8px 12px; border-radius: 8px; font-size: 0.8rem; }
  #main-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; background: var(--paper); padding: 20px; box-shadow: 0 14px 20px #14375815; gap: 8px; flex-direction: column; align-items: stretch; }
  #main-nav.is-open { display: flex; }
  #main-nav a { padding: 12px; }
  #main-nav a[aria-current="page"] { box-shadow: none; }
  #main-nav .language { margin-left: 0; padding-left: 12px; border-left: none; align-self: auto; }
  #main-nav a[aria-current="page"] { box-shadow: none; background: #fff3b5; border-radius: 8px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { padding: 48px 0 5px; text-align: center; }
  .hero-copy .eyebrow { font-size: 0.58rem; margin-bottom: 16px; }
  .hero-copy h1 { font-size: clamp(2.65rem, 9vw, 4rem); line-height: 1.15; }
  .hero-copy p { font-size: 0.88rem; max-width: 340px; margin: 18px auto 23px; }
  .hero-copy .button { min-height: 46px; }
  .hero::after { background: linear-gradient(#dbf4ffb3, #d7f3ff55 45%, #d7f3ff00); }
  .hero-games { height: auto; min-height: 360px; max-width: 440px; width: 100%; margin: auto; gap: 22px; padding: 38px 26px 45px; }
  .hero-game { width: 43%; max-width: 175px; border-width: 6px; border-radius: 13px; }
  .hero-game > img { border-radius: 8px; }
  .hero-game > span { font-size: 0.64rem; padding: 8px 0 2px; }
  .hero-game-0 { transform: rotate(-9deg) translateY(8px); }
  .hero-game-1 { transform: rotate(9deg) translateY(-2px); }
  .hero-box-gold-top { width: 46px; height: 46px; }
  .hero-box-cyan-mid { width: 34px; height: 34px; }
  .hero-box-gold-bottom { width: 42px; height: 42px; }
  .hero-box-cyan-bottom { width: 32px; height: 32px; }
  .section-heading { gap: 18px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 1.85rem; }
  .section-heading .eyebrow { font-size: 0.56rem; letter-spacing: 0.09em; }
  .section-heading > .text-link { font-size: 0.74rem; gap: 8px; flex-shrink: 0; }
  .featured { padding-bottom: 0; }
  .feature-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 35px 32px; }
  .feature-art { height: 345px; }
  .feature-art > img { max-width: 65%; transform: rotate(-5deg); }
  .feature-cube-cyan-left { left: 15%; }
  .feature-cube-cyan-right { right: 13%; }
  .feature-copy { text-align: center; }
  .feature-copy h3 { font-size: 2.6rem; }
  .feature-copy h4 { font-size: 1.08rem; }
  .feature-copy > p { font-size: 0.87rem; margin: 10px auto 18px; }
  .feature-copy .action-row { justify-content: center; }
  .feature-tabs { gap: 8px; padding: 10px 0; overflow-x: auto; }
  .feature-tabs button { min-width: 0; flex: 1; font-size: 0.76rem; padding: 8px 9px; gap: 9px; }
  .feature-tabs button img { width: 28px; height: 28px; }
  .about-preview { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 42px; align-items: start; }
  .about-art { height: auto; max-height: none; aspect-ratio: 1.7; }
  .about-preview h2 { font-size: 1.95rem; line-height: 1.2; }
  .about-preview p { font-size: 1rem; }
  .home-news { padding-block: 10px 34px; }
  .news-grid { grid-template-columns: 1fr; gap: 10px; }
  .news-card { display: flex; gap: 14px; padding: 7px; }
  .news-card h3 { font-size: 0.97rem; }
  .news-card .text-link { font-size: 0.7rem; }
  .contact-section { padding-block: 28px; }
  .contact-layout { gap: 18px; grid-template-columns: 1fr; }
  .contact-copy h2 { font-size: 1.7rem; }
  .contact-copy p { margin-top: 7px; font-size: 0.83rem; }
  .contact-channel { padding: 13px 0 0; border-left: none; }
  .contact-value { font-size: 1.1rem; }
  .footer-top { gap: 18px; flex-wrap: wrap; }
  .footer-top nav { gap: 16px; flex-wrap: wrap; }
  .page-intro { padding: 45px 0; }
  .page-intro h1 { font-size: 2.3rem; }
  .intro-square { width: 46px; height: 46px; border-radius: 8px; right: -15px; top: 13%; }
  .catalog { padding-block: 30px 65px; }
  .game-grid { grid-template-columns: 1fr; gap: 26px; }
  .game-cover { height: 330px; }
  .detail-hero-inner { grid-template-columns: 1fr; gap: 18px; padding-block: 25px 36px; }
  .detail-copy { text-align: center; }
  .detail-copy h1 { font-size: 3rem; }
  .detail-copy > p { margin-inline: auto; }
  .detail-icon { margin-inline: auto; }
  .detail-copy .action-row { justify-content: center; }
  .detail-art { height: 350px; }
  .features-grid { grid-template-columns: 1fr; gap: 25px; }
  .screenshot-gallery { flex-wrap: wrap; }
  .screenshot-gallery figure { min-width: 65%; }
  .detail-info { grid-template-columns: 1fr; gap: 40px; }
  .about-body { grid-template-columns: 1fr; gap: 30px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { padding: 28px; }
  .support-company { padding: 25px; }
  .news-list { grid-template-columns: 1fr; }
  .article-game { flex-direction: column; text-align: center; }
  .breadcrumbs { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .game-cover { height: 280px; }
  .hero-games { min-height: 320px; }
  .hero-game { max-width: 150px; }
  .feature-art { height: 305px; }
}

/* ---------- design refresh (aligned with current reference) ---------- */
:root { --navy: #102f54; --ink: #123251; --muted: #455a6c; --yellow: #ffdc43; }
h1, h2, h3, h4 { letter-spacing: -0.045em; }
h2 { font-size: clamp(1.85rem, 2.7vw, 2.75rem); line-height: 1.2; }
p { line-height: 1.65; }
.section { padding-block: 56px; }
.button { border-radius: 12px; min-height: 48px; padding: 12px 20px; gap: 11px; font-size: 0.92rem; box-shadow: 0 4px #102f5410; }
.button:hover { box-shadow: 0 6px #102f5415; }
.button-yellow { background: #ffdc43; }
.button > span[aria-hidden],
.text-link span[aria-hidden],
.game-card-link span[aria-hidden] { display: inline-block; width: 9px; height: 9px; flex: none; font-size: 0; line-height: 0; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); }
.text-link { gap: 7px; font-size: 0.86rem; white-space: nowrap; }

/* header */
.site-header { box-shadow: 0 1px #1339570d; }
.header-inner { height: 72px; }
#main-nav { gap: 30px; }
#main-nav a { font-size: 0.86rem; }
.language { border-left: 1px solid #c7d4dd; padding-left: 22px; margin-left: 0; }

/* footer */
.site-footer { padding: 30px 0 19px; }
.footer-top { padding-bottom: 20px; }
.footer-bottom { padding-top: 16px; }

/* page intro */
.page-intro { background: radial-gradient(circle 85px at 12% 95%, #ccefff, transparent), radial-gradient(circle 110px at 90% 88%, #d5f3ff, transparent), #f3fbff; padding: 55px 0 57px; }
.page-intro h1 { font-size: clamp(2.3rem, 3.6vw, 3.7rem); }
.page-intro p { margin-top: 12px; font-size: 0.99rem; }
.intro-square { display: none; }

/* games catalog */
.catalog { padding-block: 42px 76px; }
.game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.game-cover { height: 440px; border-radius: 15px; justify-content: center; overflow: hidden; box-shadow: 0 1px #102f5420 inset; }
.game-cover::before { content: ""; position: absolute; inset: auto -16px -15px auto; width: 96px; height: 96px; border-radius: 20px; background: #ffffff50; transform: rotate(18deg); }
.cover-shot { position: relative; right: auto; top: auto; width: auto; height: 91%; max-width: 80%; object-fit: contain; transform: none; filter: drop-shadow(0 14px 14px #132d4627); }
.game-card:hover .game-cover { transform: translateY(-4px); }
.game-caption { display: block; padding: 14px 0 0; }
.game-caption h3 { font-size: 1.36rem; line-height: 1.2; }
.game-caption p { font-size: 0.8rem; margin-top: 4px; }
.game-card-link { display: inline-flex; gap: 7px; align-items: center; margin-top: 7px; font-size: 0.85rem; font-weight: 900; color: #113d62; }
.game-card:hover .game-card-link { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-cover { height: 420px; }
  .about-body { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .section { padding-block: 42px; }
  .header-inner { height: 68px; }
  .site-header #main-nav { top: 68px; }
  .site-header .wordmark svg { height: 26px; }
  .page-intro { padding: 45px 0; }
  .catalog { padding-block: 30px 65px; }
  .game-grid { gap: 16px; }
  .game-cover { height: 290px; }
  .game-caption h3 { font-size: 1.05rem; }
  .game-caption p { font-size: 0.72rem; }
  .game-card-link { font-size: 0.74rem; }
  .features-grid { grid-template-columns: 1fr; gap: 25px; }
  .feature-visual { height: 155px; }
  .screenshot-gallery figure { min-width: 65%; }
}
@media (max-width: 420px) {
  .game-cover { height: 245px; }
}

/* detail hero (full-bleed themed background, aligned with reference) */
.detail-hero { background: var(--stage); position: relative; overflow: hidden; }
.detail-hero.theme-yellow { background: linear-gradient(110deg, #fff9df, #fff1b7); }
.detail-hero.theme-blue { background: linear-gradient(110deg, #eaf8ff, #cbebff); }
.detail-hero-inner { min-height: 465px; gap: 55px; padding-block: 20px 35px; }
.detail-icon { display: none; }
.detail-copy .eyebrow { margin-bottom: 8px; font-size: 0.78rem; letter-spacing: 0.04em; }
.detail-copy h1 { font-size: clamp(3rem, 5vw, 4.7rem); }
.detail-copy h2 { font-size: 1.3rem; margin-top: 12px; }
.detail-copy > p:not(.credits) { margin: 13px 0 18px; max-width: 420px; font-size: 0.98rem; }
.credits { font-size: 0.72rem; margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.detail-art { height: 415px; }
.detail-art > img:not(.feature-cube) { border: 8px solid #fffefa; max-width: 75%; border-radius: 19px; transform: rotate(5deg); box-shadow: 0 18px 31px #153f6130; }
.detail-art .decor-block { position: absolute; width: 57px; height: 57px; border-radius: 9px; opacity: 0.75; transform: rotate(17deg); }
.detail-art .block-one { left: 8%; top: 12%; background: var(--yellow); }
.detail-art .block-two { right: 7%; bottom: 12%; background: #8cd8f2; width: 45px; height: 45px; transform: rotate(-15deg); }

/* detail page lower sections */
.features-grid { gap: 24px; margin-top: 22px; }
.features-grid article { border: 0; padding: 0; }
.feature-visual { height: 145px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px; }
.feature-visual img { width: 160px; height: auto; max-width: none; transform: translateY(10%) rotate(-3deg); border-radius: 7px; box-shadow: 0 6px 12px #1237591b; }
.features-grid h3 { font-size: 1.2rem; margin-bottom: 6px; }
.features-grid p { font-size: 0.86rem; }
.screenshots-section { background: #f9fbfd; }
.screenshot-gallery { gap: 20px; }
.screenshot-gallery figure { max-width: 240px; }
.screenshot-gallery img { border-radius: 10px; border: 6px solid #fff; box-shadow: 0 6px 22px #17365119; }
.small-note { font-size: 0.74rem; }
.support-box { border-radius: 12px; background: #edf7ff; }
.support-box a { gap: 7px; }
.related { padding-top: 0; }

/* home page (aligned with reference) */
/* desktop-only geometry: hero inset, panel inset, two-column rows */
@media (min-width: 761px) {
  .hero { width: min(1180px, calc(100% - 96px)); margin: 16px auto 0; border-radius: 20px; }
  .hero-inner { width: 100%; min-height: 575px; grid-template-columns: 460px 1fr; gap: 30px; padding-inline: 40px; }
  .hero-copy h1 { font-size: clamp(3.5rem, 4.4vw, 5.5rem); }
  .hero-copy p { margin: 24px 0 30px; max-width: 440px; color: #173d5e; font-size: 1.2rem; font-weight: 700; }
  .hero-games { height: 560px; padding: 24px 0; gap: 20px; }
  .hero-game { width: 47%; max-width: 250px; border-radius: 17px; }
  .featured { padding: 30px 0 0; }
  .feature-panel { width: min(1180px, calc(100% - 96px)); margin-inline: auto; border-radius: 20px; }
  .feature-inner { width: 100%; min-height: 0; grid-template-columns: 1fr 1fr; gap: 38px; padding: 28px 40px; }
  .feature-art { height: 360px; padding-right: 40px; }
  .feature-copy h3 { font-size: clamp(2.8rem, 3.5vw, 3.15rem); margin-bottom: 8px; }
  .feature-copy h4 { font-size: 1.25rem; }
  .feature-copy > p { margin: 14px 0 24px; max-width: 390px; font-size: 0.97rem; }
  .feature-tabs { justify-content: flex-start; gap: 12px; padding: 12px 0; }
  .feature-tabs button { min-width: 250px; padding: 13px 20px; gap: 14px; border-radius: 10px; font-size: 0.92rem; background: #fff; border-color: #e2eaf0; }
  .feature-tabs button[aria-selected="true"] { background: #fff7d7; border-color: #eed267; }
  .about-preview { grid-template-columns: minmax(0, 452px) minmax(0, 1fr); gap: 50px; padding: 38px 0 34px; }
  .about-preview h2 { font-size: 2rem; }
  .about-preview p { margin: 14px 0 20px; max-width: 505px; font-size: 0.92rem; }
  .about-art { height: 225px; aspect-ratio: auto; }
  .contact-section { padding: 30px 0; }
  .home-news .section-heading { margin-bottom: 18px; }
  .home-news .section-heading h2 { font-size: 2rem; }
  .contact-copy h2 { font-size: clamp(1.85rem, 2.35vw, 2.75rem); }
  .contact-copy p { margin-top: 8px; font-size: 0.9rem; }
  .contact-label { font-size: 0.72rem; margin-bottom: 10px; }
  .contact-value { font-size: 1.2rem; }
  .contact-note { margin-top: 7px; font-size: 0.78rem; }
}

.featured { padding: 30px 0 0; }
.featured .section-heading { margin-bottom: 18px; }
.featured .section-heading h2 { font-size: 2rem; }
.feature-panel { border-radius: 20px; }
.feature-panel.theme-yellow { background: #fff4c6; }
.feature-panel.theme-blue { background: #e0f3ff; }
.home-news { padding: 15px 0 32px; }
.home-news .news-grid { gap: 18px; }
.home-news .news-card { flex-direction: row; align-items: center; gap: 18px; padding: 9px; background: #fff; border: 1px solid #e7eced; border-radius: 12px; }
.home-news .news-art { flex: none; width: 135px; height: 104px; border-radius: 8px; }
.home-news .news-art.theme-blue { background: #e0f3ff; }
.home-news .news-art.theme-yellow { background: #fff4c6; }
.home-news .news-art .news-icon { width: 58px; height: 58px; margin-left: 10px; border-radius: 11px; box-shadow: 0 5px 11px #12375915; }
.home-news .news-art .news-shot { width: 60px; right: 9px; top: 9px; border-radius: 5px; box-shadow: 0 7px 10px #12375920; }
.home-news .news-card .eyebrow { font-size: 0.57rem; margin: 0 0 3px; letter-spacing: 0.07em; color: var(--muted); }
.home-news .news-card h3 { font-size: 1.06rem; margin: 0 0 5px; line-height: 1.3; }
.home-news .news-card .text-link { font-size: 0.73rem; }

/* news list (compact row cards, aligned with reference) */
.news-list { gap: 18px; min-height: 400px; align-content: start; }
.news-list .news-card { flex-direction: row; align-items: center; gap: 18px; padding: 9px; background: #fff; border: 1px solid #e7eced; border-radius: 12px; }
.news-list .news-art { flex: none; width: 135px; height: 104px; border-radius: 8px; }
.news-list .news-art.theme-blue { background: #e0f3ff; }
.news-list .news-art.theme-yellow { background: #fff4c6; }
.news-list .news-art .news-icon { width: 58px; height: 58px; margin-left: 10px; border-radius: 11px; box-shadow: 0 5px 11px #12375915; }
.news-list .news-art .news-shot { width: 60px; right: 9px; top: 9px; border-radius: 5px; box-shadow: 0 7px 10px #12375920; }
.news-list .news-card .eyebrow { font-size: 0.57rem; margin: 0 0 3px; letter-spacing: 0.07em; color: var(--muted); }
.news-list .news-card h3 { font-size: 1.06rem; margin: 0 0 5px; line-height: 1.3; }
.news-list .news-card .text-link { font-size: 0.73rem; }

/* about page */
.legal-block .legal-zh { font-size: 1.3rem; color: var(--navy); font-weight: 700; margin-top: 24px; }
.legal-block .small-note { margin-top: 18px; }

@media (max-width: 760px) {
  .news-list { gap: 10px; }
  .news-list .news-card { gap: 14px; padding: 7px; }
  .news-list .news-art { width: 112px; height: 97px; }
  .home-news .news-grid { gap: 10px; }
  .home-news .news-card { gap: 14px; padding: 7px; }
  .home-news .news-art { width: 112px; height: 97px; }
}
