:root {
  --cream: #fffaf1;
  --cream-2: #fff4e6;
  --white: #ffffff;
  --ink: #263a4b;
  --muted: #647482;
  --pink: #ff7897;
  --pink-dark: #e95278;
  --pink-soft: #ffe0e7;
  --blue: #64c9ee;
  --blue-dark: #328bb3;
  --blue-soft: #ddf5ff;
  --yellow: #ffd84b;
  --line: rgba(38, 58, 75, .14);
  --shadow: 0 24px 70px rgba(76, 82, 102, .14);
  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.22; letter-spacing: 0; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(255, 250, 241, .94); box-shadow: 0 8px 30px rgba(38, 58, 75, .08); backdrop-filter: blur(16px); }
.header-inner { width: min(calc(100% - 40px), 1320px); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); white-space: nowrap; }
.brand img { width: 40px; height: 46px; object-fit: cover; object-position: top; border-radius: 50%; border: 3px solid rgba(255,255,255,.75); }
.primary-nav { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 700; }
.primary-nav > a:not(.nav-cta) { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 28px 0 22px; white-space: nowrap; }
.primary-nav > a:not(.nav-cta) .icon { width: 15px; height: 15px; color: var(--pink-dark); }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 17px; width: 0; height: 2px; background: var(--pink); transition: width .2s ease; }
.primary-nav > a:hover::after, .primary-nav > a.active::after { width: 100%; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.nav-cta:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--ink); transition: .2s; }

.hero { position: relative; min-height: min(900px, 100svh); overflow: hidden; display: flex; align-items: center; background: var(--blue-soft); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,250,241,.98) 0%, rgba(255,250,241,.91) 29%, rgba(255,250,241,.18) 64%, rgba(255,250,241,.03) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 86px; }
.eyebrow, .section-kicker { color: var(--pink-dark); font-weight: 900; letter-spacing: .09em; font-size: 13px; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 35px; height: 3px; background: var(--pink); }
.hero h1 { max-width: 690px; margin: 18px 0 24px; font-size: 54px; font-weight: 950; color: var(--pink-dark); background: linear-gradient(105deg, #df4d75 4%, #f36f94 44%, #348fb8 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 em { color: inherit; font-style: normal; }
.hero-copy { max-width: 580px; font-size: clamp(16px, 1.5vw, 20px); color: #425667; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 42px; }
.button { min-width: 150px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 22px; border-radius: 999px; font-weight: 900; border: 2px solid var(--ink); transition: .2s ease; }
.button-primary { background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }
.button-primary:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.button-ghost { background: rgba(255,255,255,.55); backdrop-filter: blur(8px); }
.button-ghost:hover { background: var(--white); }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; max-width: 650px; padding: 0; margin: 0; }
.hero-tags li { display: flex; }
.hero-tag { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border: 1px solid #c52b70; border-radius: 999px; background: transparent; font-size: 13px; line-height: 1.5; font-weight: 800; white-space: nowrap; }
.hero-tag > span { color: #c52b70; background: linear-gradient(110deg, #c52b70 0%, #8542c5 48%, #087fbb 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
  .hero-tag { border-color: transparent; }
  .hero-tag::before { content: ""; position: absolute; inset: -1px; padding: 1.5px; border-radius: inherit; background: linear-gradient(110deg, #ec3988 0%, #9954ea 48%, #15a8da 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
}
.scroll-cue { position: absolute; z-index: 3; right: 28px; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 54px; background: var(--ink); animation: scrollPulse 1.8s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .25; transform: scaleY(.55); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

.section-kicker { margin-bottom: 14px; }
.section-heading h2, .section-copy h2, .faq-intro h2 { margin-bottom: 22px; font-size: 36px; font-weight: 950; color: var(--pink-dark); background: linear-gradient(105deg, #df4d75 0%, #f36f94 46%, #328bb3 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-heading > p:last-child, .features-head > p, .faq-intro > p { color: var(--muted); font-size: 17px; }
.section-heading.centered { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.lead { font-size: 19px; font-weight: 700; color: #405363; }
.intro-section { background: var(--cream); position: relative; overflow: hidden; }
.intro-section::before { content: ""; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(100,201,238,.25); border-radius: 50%; left: -180px; top: 50px; box-shadow: 0 0 0 55px rgba(100,201,238,.05); }
.intro-grid { position: relative; display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; }
.section-copy p:not(.section-kicker) { color: var(--muted); }
.fact-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 24px; }
.fact-row div { display: flex; flex-direction: column; }
.fact-row div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.fact-row span { font-size: 12px; color: var(--pink-dark); font-weight: 900; }
.fact-row strong { font-size: 16px; }
.framed-media { position: relative; margin: 0; padding: 16px 16px 0; border-radius: 16px; background: var(--white); border: 1px solid rgba(38,58,75,.12); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.framed-media::before { content: ""; position: absolute; width: 90px; height: 26px; left: 50%; top: -14px; transform: translateX(-50%) rotate(-3deg); background: rgba(255,216,75,.72); }
.framed-media img { width: 100%; aspect-ratio: 616/353; border-radius: 12px; object-fit: cover; }
.framed-media figcaption { display: flex; align-items: center; gap: 13px; padding: 15px 4px; font-weight: 800; }
.framed-media figcaption span { color: var(--pink-dark); }

.content-section { background: var(--white); }
.gameplay-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.wide-media { position: relative; min-height: 630px; margin: 0; overflow: hidden; border-radius: 16px; background: var(--ink); }
.wide-media img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.wide-media figcaption { position: absolute; left: 22px; bottom: 22px; padding: 9px 14px; border-radius: 4px; background: rgba(255,255,255,.92); border-left: 4px solid var(--blue); font-size: 13px; font-weight: 900; }
.gameplay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gameplay-cards article { min-height: 260px; padding: 30px 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); transition: transform .2s, box-shadow .2s; }
.gameplay-cards article:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(38,58,75,.09); }
.gameplay-cards article:nth-child(2), .gameplay-cards article:nth-child(3) { background: var(--blue-soft); }
.card-no { color: var(--pink-dark); font-size: 12px; font-weight: 950; }
.gameplay-cards h3 { margin: 50px 0 12px; font-size: 22px; }
.gameplay-cards p { color: var(--muted); font-size: 14px; }

.routes-section { background: linear-gradient(160deg, var(--pink-soft), #fff8f2 58%); }
.routes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.character-media { margin: 0; border-radius: 16px; background: var(--white); border: 9px solid var(--white); box-shadow: var(--shadow); }
.character-media img { width: 100%; border-radius: 12px; }
.character-media figcaption { padding: 14px 16px 8px; color: var(--muted); font-size: 13px; text-align: center; }
.route-steps { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid rgba(38,58,75,.17); }
.route-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 20px 0; border-bottom: 1px solid rgba(38,58,75,.17); }
.route-steps > li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: white; font-weight: 950; }
.route-steps h3 { margin: 0 0 5px; font-size: 18px; }
.route-steps p { margin: 0; font-size: 14px; }

.guide-section { background: var(--cream); }
.guide-section .section-heading { max-width: 760px; margin-bottom: 50px; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tips-grid article { min-height: 240px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.5); }
.tips-grid article:hover { background: var(--white); }
.tips-grid span { color: var(--blue-dark); font-weight: 950; font-size: 12px; }
.tips-grid h3 { margin: 46px 0 12px; font-size: 20px; }
.tips-grid p { color: var(--muted); font-size: 14px; }
.guide-note { margin-top: 28px; padding: 24px 30px; display: flex; align-items: center; gap: 22px; border-radius: 16px; background: var(--ink); color: white; }
.guide-note-icon { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 50%; font-size: 23px; }
.guide-note strong { font-size: 18px; }
.guide-note p { margin: 3px 0 0; color: rgba(255,255,255,.72); }

.features-section { position: relative; overflow: hidden; background: linear-gradient(145deg, #24394b 0%, #1c2f40 55%, #172837 100%); }
.features-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 8%, rgba(255,120,151,.16), transparent 28%), radial-gradient(circle at 88% 90%, rgba(100,201,238,.14), transparent 32%); }
.features-section .container { position: relative; z-index: 1; }
.features-section .section-kicker { color: #ff9db4; }
.features-section .section-heading h2 { background: linear-gradient(105deg, #ff9db4, #ffe3ea 48%, #8cddfb); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.features-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.features-head .section-heading h2 { margin-bottom: 0; }
.features-head > p { color: rgba(255,255,255,.68); }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { min-height: 310px; padding: 31px 28px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(11,25,37,.58); box-shadow: inset 0 1px rgba(255,255,255,.04), 0 20px 45px rgba(0,0,0,.12); backdrop-filter: blur(12px); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.feature-card:hover, .feature-card.reveal.is-visible:hover { transform: translateY(-9px); border-color: rgba(255,120,151,.46); background: rgba(19,38,52,.76); box-shadow: 0 18px 48px rgba(255,120,151,.17), 0 0 30px rgba(100,201,238,.12); }
.feature-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,120,151,.1); color: #ff88a4; border: 1px solid rgba(255,120,151,.22); transition: transform .3s ease, color .3s ease, background .3s ease; }
.feature-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.feature-card:nth-child(2n) .feature-icon { color: #72d5f7; background: rgba(100,201,238,.1); border-color: rgba(100,201,238,.23); }
.feature-card:nth-child(3n) .feature-icon { color: #ffd84b; background: rgba(255,216,75,.1); border-color: rgba(255,216,75,.23); }
.feature-card:hover .feature-icon { transform: translateY(-3px) rotate(-5deg) scale(1.08); background: rgba(255,120,151,.17); }
.feature-card h3 { margin: 40px 0 14px; color: white; font-size: 21px; }
.feature-card p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.8; margin-bottom: 0; }

.screenshots-section { background: #172837; color: #fff; }
.screenshots-heading { max-width: 780px; margin-bottom: 36px; }
.screenshots-heading .section-kicker { color: #ff9db4; }
.screenshots-heading h2 { background-image: linear-gradient(105deg, #ff9db4, #ffe3ea 48%, #8cddfb); }
.screenshots-heading > p:last-child { color: rgba(255,255,255,.72); }
.screenshots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.screenshot-card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: #0b1925; color: #fff; cursor: zoom-in; isolation: isolate; }
.screenshot-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform .3s ease; }
.screenshot-number { position: absolute; top: 12px; left: 12px; padding: 2px 8px; border-radius: 4px; background: rgba(5,13,22,.75); color: #fff; font-size: 12px; font-weight: 800; pointer-events: none; }
.screenshot-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(5,13,22,.8); color: #fff; font-size: 12px; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.screenshot-card:focus-visible, .lightbox-control:focus-visible { outline: 3px solid #8cddfb; outline-offset: 4px; }
.screenshot-card:focus-visible .screenshot-zoom { opacity: 1; }
.screenshot-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 20px 28px; border: 0; background: rgba(5,13,22,.97); color: #fff; overscroll-behavior: contain; }
.screenshot-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px; }
.screenshot-lightbox::backdrop { background: rgba(5,13,22,.85); }
.lightbox-header, .lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox-header h3 { margin: 0; color: #fff; font-size: 18px; }
.lightbox-control { flex: 0 0 auto; display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(17,35,50,.88); color: #fff; cursor: pointer; transition: background .3s ease, border-color .3s ease; }
.lightbox-control .icon { width: 24px; height: 24px; }
.lightbox-viewer { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 20px; min-height: 0; }
.lightbox-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; min-width: 0; min-height: 0; height: 100%; margin: 0; }
.lightbox-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 12px; }
.lightbox-figure figcaption { color: #e0eaf2; font-size: 14px; text-align: center; }
.lightbox-footer { color: #b9cbd9; font-size: 13px; }
.lightbox-counter { color: #8cddfb; font-weight: 800; white-space: nowrap; }
@media (any-hover: hover) and (any-pointer: fine) {
  .screenshot-card:hover img { transform: scale(1.05); }
  .screenshot-card:hover .screenshot-zoom { opacity: 1; }
  .lightbox-control:hover { background: #29465c; border-color: #8cddfb; }
}
@media (max-width: 1040px) {
  .screenshots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .screenshots-grid { grid-template-columns: 1fr; gap: 16px; }
  .screenshot-zoom { opacity: 1; }
  .screenshot-lightbox { padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
  .lightbox-viewer { grid-template-columns: minmax(0, 1fr); }
  .lightbox-prev, .lightbox-next { position: absolute; top: 50%; z-index: 1; margin-top: -22px; width: 44px; height: 44px; }
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
  .lightbox-footer { flex-wrap: wrap; gap: 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .screenshot-card:hover img { transform: none; }
}

.updates-section { background: var(--white); }
.updates-heading { max-width: 910px; margin-bottom: 48px; }
.updates-heading > p:last-of-type { max-width: 850px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 15px; color: var(--pink-dark); font-weight: 900; border-bottom: 2px solid var(--pink); }
.update-list { display: grid; grid-template-columns: 1fr; gap: 16px; width: 100%; }
.update-card { display: grid; grid-template-columns: 72px 1fr; gap: 24px; width: 100%; padding: 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); box-shadow: 0 10px 28px rgba(38,58,75,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.update-card:hover, .update-card.reveal.is-visible:hover { transform: translateY(-4px); border-color: rgba(233,82,120,.3); box-shadow: 0 18px 38px rgba(38,58,75,.1); }
.update-number { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--pink-soft); color: var(--pink-dark); font-size: 14px; font-weight: 950; }
.update-tag { display: inline-block; margin-bottom: 7px; border-radius: 4px; color: var(--blue-dark); font-size: 11px; line-height: 1; letter-spacing: .08em; font-weight: 950; text-transform: uppercase; }
.update-list h3 { margin: 0 0 9px; font-size: 21px; }
.update-list p { max-width: 980px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }

.faq-section { background: var(--cream-2); overflow: hidden; }
.faq-intro { max-width: 910px; margin-bottom: 46px; }
.faq-intro > p:last-child { max-width: 820px; }
.faq-list { display: grid; grid-template-columns: 1fr; gap: 13px; width: 100%; }
.faq-list details { width: 100%; border: 1px solid rgba(38,58,75,.12); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 8px 25px rgba(38,58,75,.045); overflow: clip; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.faq-list details:hover, .faq-list details.reveal.is-visible:hover { transform: translateY(-2px); border-color: rgba(100,201,238,.45); box-shadow: 0 14px 32px rgba(38,58,75,.08); }
.faq-list details[open] { border-color: rgba(233,82,120,.3); background: rgba(255,255,255,.94); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 26px; cursor: pointer; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-question { display: flex; align-items: center; gap: 17px; color: var(--ink); font-size: 16px; }
.faq-question b { min-width: 34px; color: var(--pink-dark); font-size: 11px; letter-spacing: .08em; }
.faq-toggle { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); font-size: 21px; line-height: 1; transition: transform .25s ease, color .25s ease, background .25s ease; }
.faq-list details[open] .faq-toggle { transform: rotate(45deg); color: white; background: var(--pink); }
.faq-list details p { max-width: 1040px; padding: 0 75px 25px 77px; margin: 0; color: var(--muted); line-height: 1.85; }

.reveal { opacity: 1; transform: translateY(0); }
.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

.floating-cta { position: fixed; z-index: 90; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 21px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font-weight: 950; transition: transform .2s ease, box-shadow .2s ease; }
.floating-cta:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.floating-cta .icon { width: 18px; height: 18px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 7px; }

.site-footer { padding: 70px 0 22px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr 1.1fr; gap: 60px; align-items: start; }
.footer-brand strong { font-size: 22px; line-height: 1.35; }
.footer-brand p, .footer-note { color: rgba(255,255,255,.58); font-size: 13px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; font-size: 14px; }
.site-footer nav a:hover { color: var(--yellow); }
.friend-links { margin-top: 56px; padding: 28px 0 31px; background: linear-gradient(105deg, rgba(100,201,238,.14), rgba(255,255,255,.09) 48%, rgba(255,120,151,.16)); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.friend-links h2 { margin: 0 0 14px; color: #ff9db4; font-size: 22px; line-height: 1.35; text-align: center; }
.friend-links-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.friend-links-list a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 18px; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(110deg, #ff9db4, #ffe3ea 45%, #8cddfb) border-box; color: #ffe3ea; font-size: 13px; font-weight: 800; line-height: 1.45; text-align: center; transition: color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease; }
.friend-links-list a:hover { background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) padding-box, linear-gradient(110deg, #ff7897, #ffe3ea 45%, #8cddfb) border-box; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(100,201,238,.16); }
.footer-bottom { margin-top: 50px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 12px; }
.footer-bottom a { color: white; }

@media (max-width: 1040px) {
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .primary-nav { position: fixed; inset: 0 0 auto auto; z-index: 2; width: min(360px, 86vw); height: 100dvh; padding: 90px 30px 30px; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); transform: translate3d(100%, 0, 0); transition: transform .4s cubic-bezier(.22,.68,0,1); will-change: transform; box-shadow: -20px 0 50px rgba(38,58,75,.16); }
  .primary-nav.open { transform: translate3d(0, 0, 0); }
  .primary-nav > a:not(.nav-cta) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 25px; text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-bg { object-position: 64% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(255,250,241,.97), rgba(255,250,241,.85) 47%, rgba(255,250,241,.12)); }
  .hero h1 { font-size: 46px; }
  .intro-grid, .routes-grid { gap: 45px; }
  .gameplay-layout { grid-template-columns: 1fr; }
  .wide-media { min-height: 470px; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .header-inner { width: calc(100% - 28px); min-height: 66px; }
  .brand img { width: 34px; height: 39px; }
  .hero { min-height: 790px; align-items: flex-end; }
  .hero-bg { object-position: 67% center; }
  .hero-wash { background: linear-gradient(0deg, rgba(255,250,241,.99) 0%, rgba(255,250,241,.95) 44%, rgba(255,250,241,.18) 81%); }
  .hero-content { padding: 0 0 55px; }
  .hero h1 { font-size: 36px; margin-top: 12px; }
  .hero-copy { font-size: 16px; }
  .hero-tags { gap: 9px; }
  .scroll-cue { display: none; }
  .intro-grid, .routes-grid, .features-head, .footer-grid { grid-template-columns: 1fr; }
  .intro-grid, .routes-grid { gap: 48px; }
  .routes-grid .character-media { order: 2; }
  .fact-row { grid-template-columns: 1fr; gap: 18px; }
  .fact-row div + div { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .gameplay-cards { grid-template-columns: 1fr; }
  .gameplay-cards article { min-height: 210px; }
  .wide-media { min-height: 310px; }
  .tips-grid, .feature-list { grid-template-columns: 1fr; }
  .tips-grid article { min-height: 200px; }
  .features-head { gap: 5px; }
  .feature-card { min-height: 0; }
  .update-card { grid-template-columns: 54px 1fr; gap: 16px; padding: 23px 20px; }
  .update-number { width: 46px; height: 46px; }
  .faq-list summary { padding: 20px; }
  .faq-question { align-items: flex-start; gap: 10px; font-size: 15px; }
  .faq-list details p { padding: 0 20px 22px 64px; }
  .floating-cta { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 50px; }
  .footer-grid { gap: 35px; }
  .friend-links { margin-top: 42px; padding: 25px 0 27px; }
  .friend-links h2 { font-size: 20px; }
  .friend-links-list { gap: 9px; }
  .friend-links-list a { max-width: 100%; padding-inline: 14px; font-size: 12px; }
  .footer-bottom { gap: 20px; }
}

@media (max-width: 430px) {
  .brand span { font-size: 14px; }
  .hero-actions .button { width: 100%; }
  .hero-tag { padding: 7px 13px; font-size: 12px; }
  .section-heading h2, .section-copy h2, .faq-intro h2 { font-size: 28px; }
  .gameplay-cards article { padding: 25px 21px; }
  .guide-note { align-items: flex-start; padding: 22px; }
}

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

@media print {
  .site-header, .hero-actions, .scroll-cue, .floating-cta, .site-footer { display: none; }
  .hero { min-height: auto; padding: 50px 0; }
  .hero-bg, .hero-wash { display: none; }
  .section { padding: 35px 0; }
}
