@font-face { font-family: Forum; src: url('/fonts/forum-cyrillic-400-normal.woff2') format('woff2'); font-display: swap; unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Forum; src: url('/fonts/forum-latin-400-normal.woff2') format('woff2'); font-display: swap; unicode-range: U+0000-00FF,U+2000-206F; }
@font-face { font-family: Manrope; src: url('/fonts/manrope-cyrillic-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Manrope; src: url('/fonts/manrope-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F; }

:root { --ink: #263d42; --muted: #52676a; --paper: #fff8e8; --orange: #e85e37; --purple: #7046ad; --line: #25414726; --max: 1280px; color-scheme: light; font: 500 18px/1.65 Manrope, sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #df5937; outline-offset: 6px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Forum, Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(78px, 7.6vw, 112px); line-height: .94; letter-spacing: -.045em; }
h2 { font-size: clamp(48px, 4.8vw, 72px); line-height: 1.04; letter-spacing: -.03em; }
em { color: var(--orange); font-style: normal; }
::selection { background: #ffd468; color: #24363d; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 20; background: white; padding: 12px; transform: translateY(-160%); }.skip-link:focus { transform: none; }
.header { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: auto; height: 108px; padding-inline: 40px; gap: 24px; }
.brand { width: 170px; flex-shrink: 0; }.brand img { width: 100%; }
.header nav { display: flex; gap: 32px; font-size: 16px; }.header nav a:hover, .footer a:hover { color: var(--orange); }
.button { position: relative; isolation: isolate; display: inline-flex; justify-content: center; align-items: center; gap: 24px; overflow: hidden; min-height: 64px; padding: 16px 28px; border: 1px solid #ffb15d; border-bottom: 5px solid #b83d26; border-radius: 14px; background: #c94728; color: #fffdf1; font-size: 18px; font-weight: 700; box-shadow: 0 8px 0 #e85e3716, 0 14px 25px #b5572324; transition: translate .2s, background .2s, box-shadow .2s; }
.button span { font-size: 25px; line-height: 1; }.button:hover { translate: 0 -3px; background: #b93d21; box-shadow: 0 10px 0 #e85e3716, 0 20px 30px #b5572330; }.button:active { translate: 0 2px; }
.button-small { min-height: 48px; padding: 10px 19px; border-bottom-width: 3px; font-size: 16px; gap: 16px; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 865px; margin-top: -108px; padding: 142px max(40px, calc((100% - var(--max)) / 2)) 70px; overflow: hidden; background: radial-gradient(ellipse at 79% 29%, #78d9e8 0%, #c7eae5 28%, transparent 57%), #fff3d8; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: auto -5% -35px; height: 75px; background: var(--paper); border-radius: 50% 50% 0 0; }
.hero-content { position: relative; z-index: 2; max-width: 560px; padding-bottom: 20px; }
.eyebrow { font-size: 14px; line-height: 1.7; letter-spacing: .09em; margin-bottom: 22px; color: #3e7976; }
.hero h1 em { color: #ce5130; }
.hero-copy { font-size: 19px; line-height: 1.8; margin: 26px 0; max-width: 480px; }
.reassurance { font-size: 14px; margin-top: 18px; color: var(--muted); }
.text-link { display: flex; align-items: center; gap: 22px; width: fit-content; min-height: 48px; font-size: 17px; margin-top: 18px; }.text-link:hover { color: var(--orange); }
.motion-toggle { display: block; min-height: 44px; border: 0; border-bottom: 1px dashed #768a8a; padding: 5px 0; background: transparent; color: #52676a; font-size: 14px; margin-top: 6px; }.motion-toggle[hidden] { display: none; }
.hero-art { position: relative; width: 690px; height: 700px; margin-left: -15px; }
.hero-cover { position: absolute; width: 390px; height: 693px; top: -24px; left: 165px; transform: rotate(8deg); border: 7px solid #fff8e8; border-radius: 190px 190px 34px 34px; overflow: hidden; box-shadow: 15px 26px 0 #278b9026, 0 28px 50px #226c6b30; }
.hero-cover img { width: 100%; height: 100%; object-fit: contain; background: #83cde5; filter: saturate(1.12) brightness(1.06); }
.character { position: absolute; width: auto; object-fit: contain; object-position: bottom; filter: drop-shadow(0 16px 14px #28443d40); }
.character-moon { height: 435px; left: 0; bottom: 48px; transform: rotate(-7deg); }
.character-rogue { height: 410px; right: -16px; bottom: 50px; transform: rotate(9deg); }
.character-warrior { height: 520px; left: 170px; bottom: 0; }
.floating-gem { position: absolute; width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(0 12px 12px #364d5530); }.gem-root { left: 45px; top: 85px; transform: rotate(-18deg); }.gem-rift { right: 12px; top: 85px; transform: rotate(15deg); }
.hero-stamp { position: absolute; right: -15px; bottom: -12px; transform: rotate(-7deg); border: 2px solid #f3c75a; border-radius: 12px; padding: 13px 20px; background: #ffe395; color: #67471e; box-shadow: 0 8px 18px #7d64262b; font-size: 16px; line-height: 1.6; }.hero-stamp strong { font-weight: 500; }
.section { max-width: var(--max); margin-inline: auto; padding: 90px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 45px; }.section-heading > p { max-width: 420px; color: var(--muted); font-size: 18px; }
/* Native scrolling keeps every city accessible without JavaScript. */
.world { --world-wash: #d3f2ed; --world-ink: #174c53; background-color: var(--world-wash); color: var(--world-ink); transition: background-color .65s ease; }
.world-inner { padding-block: 65px 0; }
.world .section-heading { max-width: var(--max); margin: 0 auto 40px; padding-inline: 40px; }
.world .section-heading em, .world .section-heading .eyebrow { color: var(--world-ink); }
.world-slider { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.world-slider::-webkit-scrollbar { display: none; }
.world-slide { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-width: 0; min-height: 720px; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; color: #fff8e8; background: var(--world-ink); }
.world-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.world-slide::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: linear-gradient(0deg, #101c22ed, #101c2255 48%, transparent 80%); }
.world-content { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 80px 40px 45px; text-shadow: 0 2px 14px #10202b80; }
.world-content .eyebrow { color: #ffe3a2; margin-bottom: 12px; letter-spacing: .06em; }
.world-content h3 { font-size: clamp(48px, 5vw, 76px); line-height: 1.04; max-width: 850px; }
.world-activities { display: flex; gap: 36px; list-style: none; padding: 0; margin: 24px 0 28px; }
.world-activities li { display: flex; flex-direction: column; align-items: center; width: 110px; gap: 8px; text-align: center; }
.world-activities img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 5px 8px #0008); }
.world-activities strong { font-size: 17px; font-weight: 500; line-height: 1.4; }
.world-content .button { font-size: 17px; text-shadow: none; }




.motion-paused .world { transition: none; }
.companions { position: relative; background: #e5d5f5; color: #392752; overflow: hidden; }.companions::before { content: ''; position: absolute; top: -35px; left: -5%; width: 110%; height: 60px; background: var(--paper); border-radius: 0 0 50% 50%; }
.companions .eyebrow { color: #745092; }.companions h2 em { color: #8050ad; }.companions .section-heading > p { color: #655475; }
.companions-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 255px; gap: 23px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 25px 6px 30px; scrollbar-color: #a87bca #d8c0ea; scrollbar-width: thin; }
.companion { min-width: 0; scroll-snap-align: start; --aura: #a4c68b; }.companion-lyra { --aura: #bda1e1; }.companion-eivin { --aura: #ffd78d; }.companion-niriel { --aura: #99d5e9; }.companion-durgrim { --aura: #e5b382; }.companion-rasha { --aura: #ecaaa3; }
.companion-art { position: relative; height: 360px; padding: 0 8px; isolation: isolate; }.companion-art::before { content: ''; position: absolute; z-index: -1; inset: 50px 0 -8px; border-radius: 150px 150px 35px 35px; background: var(--aura); box-shadow: inset 0 -20px 25px #fff3; transform: rotate(-3deg); }.companion:nth-child(even) .companion-art::before { transform: rotate(3deg); }
.companion-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 12px 8px #43235a33); transition: translate .3s; }.companion:hover .companion-art img { translate: 0 -8px; }
.companion-story { padding: 24px 4px 0; }.location-tag { display: block; font-size: 14px; color: #6e557f; margin-bottom: 8px; }.companion h3 { font-size: 31px; line-height: 1.1; min-height: 72px; }.companion p { font-size: 16px; color: #604d6c; margin-top: 12px; }
.companions-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; }.companions-footer p { font-size: 16px; color: #715786; }
.battle { color: #fff7e6; background: radial-gradient(ellipse at 22% 50%, #885ab6, #523482 50%, #3e2a69); overflow: hidden; }.battle-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
.battle-art { position: relative; padding: 20px 0 50px; }.game-screen { position: relative; width: 345px; margin: auto; transform: rotate(-6deg); border: 8px solid #f9dba8; border-radius: 24px; box-shadow: 18px 22px 0 #29164655, 0 0 75px #ed9dfc55; background: #342048; }.game-screen img { width: 100%; border-radius: 15px; }.game-screen figcaption { position: absolute; bottom: -50px; left: 0; width: 100%; text-align: center; font-size: 14px; transform: rotate(6deg); color: #f0d6fa; }
.battle .eyebrow { color: #e1bbed; }.battle h2 em { color: #ffdd85; }.section-lead { font-size: 19px; line-height: 1.8; margin-top: 26px; }.battle-copy .section-lead { color: #ede0f6; }
.battle-rules { margin: 28px 0; }.battle-rules p { font-size: 17px; margin-block: 14px; }.battle-rules b { color: #ffd781; margin-right: 18px; }
.battle-gem { position: absolute; width: 80px; height: 80px; top: -5px; right: 25px; filter: drop-shadow(0 10px 16px #170e36); }.battle-note { position: absolute; bottom: 95px; right: -25px; background: #ffe8a5; color: #523a24; padding: 18px 23px; border-radius: 14px; transform: rotate(5deg); box-shadow: 0 10px 20px #29163e55; font-size: 18px; }
.gallery { padding-top: 95px; }.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; padding-inline: 30px; }
.screenshot-card { min-width: 0; }.screenshot-card > a { display: block; border: 7px solid #f1d4a1; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 30px #9b71392b; transition: translate .3s; }.screenshot-card:first-child > a { transform: rotate(-3deg); }.screenshot-card:last-child > a { transform: rotate(3deg); }.screenshot-card > a:hover { translate: 0 -8px; }.screenshot-card img { width: 100%; }.screenshot-card figcaption { margin-top: 30px; }.screenshot-card strong { display: block; font-size: 20px; color: #a65a32; }.screenshot-card figcaption span { display: block; font-size: 16px; color: var(--muted); margin-top: 8px; }
.raid { position: relative; overflow: hidden; background: #9ae1d7; }.raid::before { content: ''; position: absolute; inset: -40px -5% auto; height: 65px; background: var(--paper); border-radius: 0 0 50% 50%; }.raid-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 35px; align-items: center; }.raid .eyebrow { color: #287779; }.raid h2 { font-size: clamp(66px, 6vw, 90px); }.raid h2 em { color: #177c86; }.raid-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.85; margin-top: 24px; max-width: 460px; }.raid-copy .button { margin-top: 28px; }.raid-copy .raid-aside { font-size: 16px !important; color: #3c6c69; }
.raid-art { position: relative; padding: 10px 0; }.raid-art img { position: relative; width: 100%; max-width: 590px; margin: auto; filter: drop-shadow(0 20px 14px #1b7b7b50); }.sea-ring { position: absolute; inset: 23% -5% 0; border: 2px solid #e2fff3; border-radius: 50%; box-shadow: 0 0 0 26px #e4fff338, 0 0 0 58px #e4fff322; }
.questions { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }.faq-list details { border-bottom: 1px solid var(--line); }.faq-list summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; list-style: none; cursor: pointer; min-height: 80px; padding-block: 18px; font-size: 18px; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { font-size: 28px; color: var(--orange); transition: rotate .2s; }.faq-list details[open] summary span { rotate: 45deg; }.faq-list p { font-size: 17px; color: var(--muted); padding: 0 24px 24px 0; }.faq-list a { text-decoration: underline; color: #b4502c; }
.final-cta { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; gap: 90px; overflow: hidden; padding: 30px 35px 0; background: #ffd78c; }.final-cta::before { content: ''; position: absolute; z-index: -1; width: 660px; height: 660px; border-radius: 50%; background: #ffe8b6; left: calc(50% - 550px); top: 55px; }.farewell-hero { width: 275px; height: 500px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 20px #b17c3444); }.final-cta > div { padding-block: 35px 50px; }.final-cta h2 { font-size: 92px; }.final-cta .eyebrow { color: #8d6236; }.final-cta .button { margin-top: 28px; }.final-cta .reassurance { color: #805d36; }
.footer { max-width: 1440px; margin: auto; padding: 35px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }.footer-brand { font: 30px Forum, Georgia, serif; }.footer-brand span { font: 14px Manrope, sans-serif; margin-left: 10px; }.footer nav { display: flex; flex-wrap: wrap; gap: 25px; font-size: 14px; color: var(--muted); }.mobile-play { display: none; }

/* Decorative CSS animations share the pause state with the match-three demo. */
.motion-ready .character, .motion-ready .companion-art img { animation: breathe 8s ease-in-out infinite; }
.motion-ready .character-moon { animation-delay: -3s; }.motion-ready .character-rogue { animation-delay: -5s; }.motion-ready .companion:nth-child(even) img { animation-delay: -4s; }
.motion-ready .floating-gem, .motion-ready .battle-gem { animation: float 6s ease-in-out infinite; }.motion-ready .gem-rift { animation-delay: -3s; }
.motion-ready .hero-cover { animation: postcard 12s ease-in-out infinite; }
.motion-ready .raid-art img { animation: float 9s ease-in-out infinite; }.motion-ready .sea-ring { animation: ripple 7s ease-in-out infinite; }

.motion-ready [data-motion] .button::after { content: ''; position: absolute; inset: -50% -150%; background: linear-gradient(110deg, transparent 45%, #fff7 50%, transparent 55%); animation: shimmer 7s ease-in-out infinite; pointer-events: none; }
[data-motion]:not([data-in-view]) *, [data-motion]:not([data-in-view]) *::before, [data-motion]:not([data-in-view]) *::after,
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
@keyframes breathe { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes postcard { 0%, 100% { rotate: 0deg; } 50% { rotate: -2deg; } }
@keyframes ripple { 0%, 100% { scale: .93; opacity: .5; } 50% { scale: 1.04; opacity: 1; } }

@keyframes shimmer { 0%, 65% { transform: translateX(-40%); } 90%, 100% { transform: translateX(40%); } }
@media (max-width: 1380px) {
  .section { margin-inline: 40px; }.hero-art { width: 600px; height: 660px; }.hero-cover { width: 350px; height: 622px; left: 125px; top: 0; }.character-warrior { left: 140px; height: 470px; }.character-moon { height: 390px; }.character-rogue { height: 370px; right: -10px; }.hero-stamp { right: 0; bottom: 0; }.battle-inner { gap: 50px; }
}
@media (max-width: 1100px) {
  .header nav { gap: 20px; font-size: 14px; }.brand { width: 145px; }.header { padding-inline: 30px; }.hero { grid-template-columns: 1fr 1fr; padding-inline: 35px; min-height: 800px; }.hero h1 { font-size: 86px; }.hero-art { width: 510px; height: 620px; margin-left: -25px; }.hero-cover { width: 320px; height: 569px; left: 100px; }.character-warrior { height: 420px; left: 115px; }.character-moon { height: 340px; left: -10px; }.character-rogue { height: 325px; right: -5px; }.hero-stamp { font-size: 14px; right: -10px; }.floating-gem { width: 54px; height: 54px; }.gem-root { left: 10px; }.gem-rift { right: 0; }.hero-copy { font-size: 18px; }.desktop-break { display: none; }
  .section-heading { align-items: flex-start; }.section-heading > p { max-width: 300px; }.game-screen { width: 290px; }.battle-note { right: -5px; font-size: 16px; }.battle-gem { right: -5px; }.battle-inner { gap: 35px; }.screenshot-grid { gap: 25px; padding-inline: 15px; }.questions { gap: 35px; }.final-cta { gap: 55px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .header nav { gap: 14px; }.hero { grid-template-columns: 1fr; padding-top: 155px; }.hero-content { max-width: 640px; margin: auto; text-align: center; }.hero h1 { font-size: 92px; }.hero-copy { margin-inline: auto; }.hero .text-link, .hero .motion-toggle { margin-inline: auto; }.hero-art { width: 600px; height: 660px; margin: 30px auto 0; }.hero-cover { left: 160px; width: 350px; height: 622px; }.character-warrior { left: 150px; height: 470px; }.character-moon { height: 390px; left: 0; }.character-rogue { height: 370px; right: 0; }
}
@media (max-width: 760px) {
  :root { font-size: 16px; }.header { height: 86px; padding-inline: 20px; gap: 10px; }.brand { width: 125px; }.header nav { display: none; }.header .button { font-size: 14px; padding: 10px 13px; min-height: 44px; }.header .button span { display: none; }
  .hero { display: flex; flex-direction: column; margin-top: -86px; padding: 120px 22px 45px; min-height: 0; background: radial-gradient(ellipse at 65% 74%, #8edce7, #d0eae4 32%, transparent 58%), #fff3d8; }
  .hero-content { text-align: center; max-width: 100%; padding: 0; }.hero .eyebrow { font-size: 14px; letter-spacing: .03em; margin-bottom: 18px; }.hero h1 { font-size: clamp(66px, 14vw, 92px); line-height: .98; }.hero-copy { font-size: 18px; line-height: 1.7; max-width: 440px; margin: 24px auto; }.hero .button { font-size: 17px; gap: 18px; min-height: 60px; padding: 14px 23px; }.reassurance { font-size: 14px; }.hero .text-link { margin: 12px auto 0; font-size: 16px; }.motion-toggle { margin: 0 auto; }
  .hero-art { flex-shrink: 0; width: 420px; height: 500px; margin: 35px 0 0; }.hero-cover { width: 255px; height: 453px; left: 95px; top: 0; border-width: 5px; border-radius: 135px 135px 25px 25px; }.character-warrior { height: 340px; left: 100px; bottom: 0; }.character-moon { height: 295px; left: -5px; bottom: 30px; }.character-rogue { height: 280px; right: -10px; bottom: 30px; }.floating-gem { width: 46px; height: 46px; }.gem-root { left: 30px; top: 50px; }.gem-rift { right: -5px; top: 80px; }.hero-stamp { bottom: -20px; right: 15px; padding: 9px 14px; font-size: 14px; }
  .section { margin-inline: 24px; padding-block: 65px; } h2 { font-size: 46px; }.eyebrow { font-size: 14px; letter-spacing: .04em; margin-bottom: 18px; }.section-heading { display: block; margin-bottom: 30px; }.section-heading > p { margin-top: 22px; font-size: 17px; max-width: none; }
  
  .companions-grid { grid-auto-columns: min(265px, 80vw); gap: 22px; margin-right: -24px; padding-right: 24px; scroll-padding-left: 6px; }.companion-art { height: 370px; }.companion h3 { font-size: 31px; }.companions-footer { flex-direction: column; align-items: flex-start; gap: 20px; }.companions-footer p { font-size: 16px; }
  .battle-inner { grid-template-columns: 1fr; gap: 45px; }.battle-copy { grid-row: 1; }.battle .section-lead { font-size: 18px; }.battle-rules p { font-size: 16px; }.battle-rules b { margin-right: 10px; }.battle-art { padding: 20px 0 45px; width: min(370px, 100%); margin: auto; }.game-screen { width: min(300px, 88%); }.battle-note { bottom: 110px; right: -5px; padding: 13px 17px; font-size: 17px; }.battle-gem { width: 65px; height: 65px; right: 0; }
  .screenshot-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(300px, 78vw); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 12px 24px 30px 10px; margin-right: -24px; scrollbar-color: #d5ad73 #f4e5cc; }.screenshot-card { scroll-snap-align: center; }.screenshot-card strong { font-size: 20px; }.screenshot-card figcaption span { font-size: 16px; }
  .raid-inner { grid-template-columns: 1fr; gap: 35px; }.raid h2 { font-size: 64px; }.raid-copy > p:not(.eyebrow) { font-size: 18px; }.raid-art { width: min(460px, 100%); margin: auto; }.sea-ring { inset-inline: 0; }
  .questions { grid-template-columns: 1fr; gap: 25px; }.faq-list summary { font-size: 17px; min-height: 76px; }.faq-list p { font-size: 16px; padding-right: 8px; }
  .final-cta { padding: 55px 24px 0; gap: 15px; flex-direction: column-reverse; text-align: center; }.final-cta > div { padding: 0; }.final-cta h2 { font-size: 76px; }.final-cta .eyebrow { font-size: 14px; }.farewell-hero { height: 350px; width: 190px; }.final-cta::before { top: auto; bottom: -300px; left: calc(50% - 330px); }.final-cta .reassurance { font-size: 14px; }
  .footer { padding: 30px 24px calc(130px + env(safe-area-inset-bottom)); flex-wrap: wrap; gap: 25px; }.footer nav { gap: 18px; font-size: 14px; }
  .mobile-play { position: fixed; display: flex; z-index: 5; bottom: 0; left: 0; right: 0; justify-content: space-between; align-items: center; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); gap: 12px; border-top: 1px solid #dab885; background: #fff8e8f5; box-shadow: 0 -6px 25px #77522518; }.mobile-play > span { font-size: 18px; }.mobile-play small { display: block; font-size: 14px; color: var(--muted); }.mobile-play .button { min-width: 115px; font-size: 17px; }
}
@media (max-width: 374px) {
  .header { padding-inline: 15px; }.brand { width: 108px; }.header .button { padding-inline: 10px; }.hero { padding-inline: 18px; }.hero h1 { font-size: 60px; }.hero-copy { font-size: 17px; }.hero .button { padding-inline: 20px; font-size: 16px; }.hero-art { width: 360px; height: 460px; }.hero-cover { width: 230px; height: 409px; left: 75px; }.character-warrior { height: 310px; left: 80px; }.character-moon { height: 260px; left: -5px; }.character-rogue { height: 250px; right: -5px; }.hero-stamp { right: 5px; }.gem-root { left: 10px; }
  .section { margin-inline: 18px; } h2 { font-size: 40px; }.companions-grid, .screenshot-grid { margin-right: -18px; padding-right: 18px; }.battle-rules p { font-size: 16px; }.raid h2 { font-size: 58px; }.mobile-play { padding-inline: 14px; }.mobile-play .button { min-width: 100px; padding-inline: 13px; gap: 12px; }
}

.hero-showcase { position: relative; min-width: 0; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-showcase .hero-art { width: 520px; height: 380px; margin: 0; }
.hero-showcase .hero-cover { width: 220px; height: 391px; top: -15px; left: 155px; border-width: 5px; }
.hero-showcase .character-warrior { height: 325px; left: 150px; bottom: 0; }
.hero-showcase .character-moon { height: 290px; left: 15px; bottom: 10px; }
.hero-showcase .character-rogue { height: 275px; right: 5px; bottom: 10px; }
.hero-showcase .hero-stamp { display: none; }
.hero-showcase .gem-root { top: 35px; left: 40px; }
.hero-showcase .gem-rift { top: 35px; right: 25px; }
.match3-demo { position: relative; z-index: 2; width: min(350px, 100%); margin: -22px auto 0; text-align: center; }
.match3-frame { padding: 12px; perspective: 900px; }
.match3-grid { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; transform: rotateX(22deg) rotateY(-12deg) rotateZ(-8deg) scale(.94); transform-origin: 50% 50%; filter: drop-shadow(0 6px 1px #40314c38) drop-shadow(0 18px 12px #36505740); }
.match3-grid img { position: absolute; top: 0; left: 0; width: 25%; height: 25%; padding: 3px; object-fit: contain; filter: brightness(1); }
.match3-burst { position: absolute; top: 0; left: 0; width: 25%; height: 25%; opacity: 0; pointer-events: none; z-index: 2; }
.match3-burst::before { content: ''; position: absolute; inset: 16%; border: 3px solid #fff3b0; border-radius: 50%; box-shadow: 0 0 12px #ffb833, inset 0 0 10px #fff6b4; background: radial-gradient(circle, #fffef0 0%, #ffe18088 28%, transparent 68%); }
.match3-burst::after { content: ''; position: absolute; width: 5px; height: 5px; top: calc(50% - 2.5px); left: calc(50% - 2.5px); border-radius: 50%; background: #fff9d5; box-shadow: 0 -27px 3px #ffd35e, 19px -19px 2px #fffbe5, 27px 0 3px #ffb64b, 19px 19px 2px #fffbe5, 0 27px 3px #ffd35e, -19px 19px 2px #fffbe5, -27px 0 3px #ffb64b, -19px -19px 2px #fffbe5; }
.match3-demo figcaption { margin-top: 16px; line-height: 1.4; }
.match3-status { display: block; font-size: 20px; color: #633456; }
.match3-demo figcaption span { display: block; margin-top: 5px; font-size: 14px; color: var(--muted); }
.match3-demo .motion-toggle { margin: 4px auto 0; }
@media (max-width: 1000px) {
  .hero-showcase { order: -1; grid-row: 1; margin-bottom: 30px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 102px; background: radial-gradient(ellipse at 50% 20%, #8edce7, #d0eae4 32%, transparent 65%), #fff3d8; }
  .hero-showcase { margin-bottom: 24px; }
  .hero-showcase .hero-art { width: 320px; height: 205px; }
  .hero-showcase .hero-cover { width: 118px; height: 210px; left: 108px; top: -8px; border-width: 3px; border-radius: 65px 65px 15px 15px; }
  .hero-showcase .character-warrior { height: 195px; left: 95px; bottom: 0; }
  .hero-showcase .character-moon { height: 180px; left: 22px; bottom: 0; }
  .hero-showcase .character-rogue { height: 170px; right: 20px; bottom: 0; }
  .hero-showcase .floating-gem { width: 35px; height: 35px; }
  .hero-showcase .gem-root { left: 27px; top: 5px; }
  .hero-showcase .gem-rift { right: 24px; top: 10px; }
  .match3-demo { width: min(300px, 100%); margin-top: -8px; }
  .match3-frame { padding: 8px; perspective: 750px; }
  .match3-grid { transform: rotateX(20deg) rotateY(-8deg) rotateZ(-5deg) scale(.92); filter: drop-shadow(0 4px 1px #40314c38) drop-shadow(0 12px 9px #36505740); }
  .match3-demo figcaption { margin-top: 13px; }
  .match3-status { font-size: 18px; }
}


@media (max-width: 760px) {
  .world-inner { padding-top: 55px; }.world .section-heading { padding-inline: 24px; margin-bottom: 30px; }
  .world-slide { min-height: 680px; }.world-scene { object-position: center 40%; }
  .world-content { padding: 230px 24px 30px; }.world-content h3 { font-size: 46px; }
  .world-content .eyebrow { font-size: 14px; letter-spacing: .03em; }
  .world-activities { justify-content: flex-start; gap: 12px; margin-block: 22px 26px; }
  .world-activities li { width: 88px; }.world-activities img { width: 66px; height: 66px; }.world-activities strong { font-size: 16px; }
  .world-content .button { font-size: 16px; padding-inline: 20px; }
  
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
