@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{color-scheme:light;--paper:#f7f3ed;--paper-deep:#eee8df;--ink:#302f2d;--muted:#79746e;--line:#d7d1c8;--accent:#ef6b59;--accent-dark:#d85041;--white:#fffaf4;font-family:'DM Sans',Arial,sans-serif;font-size:16px;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink)}button,a{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}::selection{background:var(--accent);color:#fff}
.site-shell{width:100%;margin:auto;overflow:hidden}.site-header{height:88px;padding:0 clamp(22px,4.6vw,76px);display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line)}.brand,.footer-brand{display:inline-flex;align-items:center;gap:12px;font:800 1.04rem 'Manrope',Arial,sans-serif;letter-spacing:.21em}.brand img{height:35px;width:auto}.main-nav{display:flex;gap:clamp(18px,3vw,50px);font-size:.86rem;font-weight:700}.main-nav a,.text-link,.site-footer a{transition:color .2s}.main-nav a:hover,.text-link:hover,.site-footer a:hover{color:var(--accent-dark)}.header-link{border:1px solid var(--ink);border-radius:100px;padding:12px 17px;font-size:.8rem;font-weight:700;white-space:nowrap;transition:background .2s,color .2s}.header-link:hover{background:var(--ink);color:var(--white)}.header-link span{margin-left:18px}
.hero{min-height:680px;display:grid;grid-template-columns:1.04fr .96fr}.hero-copy{padding:clamp(46px,5.4vw,90px) clamp(22px,4.6vw,76px) 38px;display:flex;flex-direction:column;position:relative}.eyebrow{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.67rem;letter-spacing:.18em;font-weight:800;white-space:nowrap}.eyebrow-line{width:30px;height:1px;background:var(--accent);flex:none}.eyebrow-index{margin-left:auto;color:#aaa29a}.hero h1,.section-intro h2,.connect-heading h2{font-family:'Manrope',Arial,sans-serif;font-weight:800;letter-spacing:-.075em;line-height:1.04;margin:clamp(44px,5vw,78px) 0 0}.hero h1{font-size:clamp(3.65rem,5.4vw,6rem);white-space:nowrap}.hero h1 em,.section-intro h2 em,.connect-heading h2 em{font-style:normal;color:var(--accent)}.hero-intro{max-width:440px;color:#68625d;line-height:1.72;font-size:1.04rem;margin:30px 0 0}.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:36px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;border-radius:100px;padding:17px 24px;font-size:.82rem;font-weight:800;min-width:200px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px)}.button-dark{background:var(--ink);color:var(--white)}.button-dark:hover{background:#111}.text-link{font-size:.82rem;font-weight:800;border-bottom:1px solid var(--ink);padding-bottom:7px;white-space:nowrap}.text-link span{margin-left:11px}.hero-bottom{margin-top:auto;display:flex;align-items:center;gap:12px;font-size:.64rem;font-weight:800;line-height:1.5;letter-spacing:.17em;color:#9a9289}.red-star{color:var(--accent);font-size:2.3rem;line-height:1}
.hero-visual{position:relative;overflow:hidden;background:#eee8de;min-height:680px}.hero-visual:before{content:'';position:absolute;inset:0;border-left:1px solid var(--line);pointer-events:none;z-index:3}.visual-top{position:absolute;top:38px;left:38px;right:38px;display:flex;justify-content:space-between;gap:20px;font-size:.65rem;letter-spacing:.16em;font-weight:800;color:#9b9188;z-index:4}.mascot-halo{position:absolute;width:78%;aspect-ratio:1;border:1px solid #e2d7cc;border-radius:50%;top:13%;left:11%}.mascot-halo:after{content:'';position:absolute;inset:11%;border:1px solid #e5dcd2;border-radius:50%}.mascot-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 36%;mix-blend-mode:multiply;filter:contrast(1.03)}.visual-caption{position:absolute;z-index:4;bottom:30px;left:30px;right:30px;background:rgba(255,250,244,.93);backdrop-filter:blur(8px);border:1px solid #e6ddd4;border-radius:16px;padding:15px 18px;display:flex;align-items:center;gap:13px;font-size:.64rem;font-weight:800;line-height:1.45;letter-spacing:.13em}.caption-symbol{color:var(--accent);font-size:2rem;line-height:1}.caption-arrow{margin-left:auto;font-size:1.25rem;font-weight:400}
.ticker{height:76px;background:var(--accent);color:#fff9f3;display:flex;align-items:center;justify-content:space-around;gap:20px;padding:0 30px;font-size:clamp(.67rem,1.1vw,.83rem);font-weight:800;letter-spacing:.22em}.ticker-star{font-size:1.6rem;line-height:1;font-weight:400}
.spark-section{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(40px,7vw,120px);padding:clamp(75px,9vw,140px) clamp(22px,7vw,112px);align-items:center}.section-intro h2,.connect-heading h2{font-size:clamp(3.6rem,5.1vw,5.7rem);margin:32px 0 0}.section-intro p{font-size:1.04rem;line-height:1.75;color:#68625d;max-width:410px;margin:30px 0 0}.game-note{display:flex;align-items:center;gap:14px;color:#8a8179;font-size:.76rem;font-weight:700;margin-top:50px}.note-icon{font-size:1.3rem;color:var(--accent)}.game-card{background:#302f2d;color:#fbf8f3;border-radius:24px;padding:28px;box-shadow:0 24px 60px rgba(38,35,32,.13);min-width:0}.game-head{display:flex;justify-content:space-between;gap:12px;color:#aca8a3;font-size:.65rem;font-weight:800;letter-spacing:.16em}.game-head span:last-child{color:#ed998b}.game-art{height:260px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.orbit{position:absolute;border:1px solid #5a514d;border-radius:50%;pointer-events:none}.orbit-one{width:210px;height:210px}.orbit-two{width:305px;height:305px;border-color:#46413e}.spark-button{border:0;background:transparent;position:relative;z-index:2;padding:0;width:150px;height:150px;border-radius:50%;display:grid;place-items:center;transition:transform .18s}.spark-button:hover{transform:scale(1.08)}.spark-button:active{transform:scale(.9)}.spark-button:before{content:'';position:absolute;inset:20%;border-radius:50%;background:var(--accent);filter:blur(33px);opacity:.67;animation:breathe 3.5s ease-in-out infinite}.spark-core{color:#ff8977;font-size:7.5rem;line-height:1;text-shadow:0 0 30px rgba(239,107,89,.66);transform:rotate(-4deg);transition:transform .2s}.spark-button:hover .spark-core{transform:rotate(13deg)}.spark-hint{position:absolute;bottom:0;font-size:.6rem;letter-spacing:.22em;font-weight:800;color:#9b928a}.game-data{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #5a5652;border-bottom:1px solid #5a5652;padding:20px 0;gap:10px}.game-data>div{display:flex;flex-direction:column;gap:7px}.game-data>div+div{border-left:1px solid #5a5652;padding-left:20px}.data-label{font-size:.58rem;letter-spacing:.16em;font-weight:800;color:#9b9690}.game-data strong{font:800 clamp(1.35rem,2vw,1.75rem) 'Manrope',Arial,sans-serif;letter-spacing:-.06em}.game-bottom{display:flex;align-items:center;gap:18px;margin-top:22px}.upgrade-button{border:0;background:var(--accent);color:#fff;border-radius:13px;min-width:200px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:left;font-size:.79rem;font-weight:800;transition:background .2s,transform .2s}.upgrade-button:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-2px)}.upgrade-button:disabled{background:#62524f;color:#d3c2bd;cursor:not-allowed}.upgrade-button small{display:block;font-size:.65rem;font-weight:600;opacity:.83;margin-top:3px}.upgrade-button>span:last-child{font-size:1.2rem}.game-tip{font-size:.68rem;line-height:1.45;color:#aaa39c;max-width:185px}.spark-button.pop .spark-core{animation:pop .32s ease-out}
.connect-section{background:#eee8df;padding:clamp(75px,8vw,130px) clamp(22px,7vw,112px) clamp(80px,8vw,120px)}.connect-heading h2{margin-top:30px}.social-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:60px}.social-card{min-height:164px;border:1px solid #cfc6bc;border-radius:16px;background:#f7f3ed;padding:22px;display:flex;flex-direction:column;position:relative;transition:background .2s,transform .2s,border-color .2s}.social-card[href]:hover{background:#fffaf4;transform:translateY(-4px);border-color:var(--accent)}.social-card:not([href]){cursor:default}.social-number{font-size:.68rem;color:#a19991;font-weight:800;letter-spacing:.12em}.social-name{margin-top:auto;font:800 clamp(1.35rem,2vw,2rem) 'Manrope',Arial,sans-serif;letter-spacing:-.06em}.social-arrow{position:absolute;right:22px;bottom:21px;font-size:1.4rem}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:25px;min-height:104px;padding:25px clamp(22px,4.6vw,76px);font-size:.65rem;font-weight:800;letter-spacing:.17em;color:#8a8279}.footer-brand{font-size:.75rem;color:var(--ink)}.site-footer a:last-child{white-space:nowrap}
@keyframes breathe{50%{transform:scale(1.5);opacity:.9}}@keyframes pop{50%{transform:scale(1.35)}}@media(max-width:1100px){.hero{min-height:600px}.hero h1{font-size:clamp(3rem,5vw,4.5rem)}.hero-visual{min-height:600px}.game-bottom{flex-wrap:wrap}.hero-copy{padding-right:25px}}@media(max-width:760px){.site-header{height:72px}.brand{font-size:.85rem;letter-spacing:.14em}.brand img{height:29px}.main-nav{display:none}.header-link{font-size:.7rem;padding:10px 12px}.header-link span{margin-left:7px}.hero{display:flex;flex-direction:column}.hero-copy{min-height:565px;padding:45px 22px 28px}.hero h1{font-size:clamp(3.1rem,9vw,5.6rem);white-space:normal;margin-top:65px}.hero-intro{margin-top:25px}.hero-bottom{padding-top:50px}.hero-visual{height:570px;min-height:0}.mascot-image{object-position:center 34%}.ticker{height:66px;justify-content:center;gap:18px;white-space:nowrap}.ticker span:nth-last-child(-n+2){display:none}.spark-section{display:flex;flex-direction:column;align-items:stretch;padding:85px 22px;gap:45px}.section-intro h2,.connect-heading h2{font-size:clamp(3.5rem,10vw,5rem)}.section-intro p{margin-top:22px}.game-note{margin-top:28px}.connect-section{padding:80px 22px}.social-grid{grid-template-columns:1fr;margin-top:40px}.social-card{min-height:115px}.site-footer{flex-wrap:wrap}.site-footer>span{display:none}}@media(max-width:430px){.hero-copy{min-height:545px}.hero h1{font-size:3rem}.hero-actions{gap:22px}.button{min-width:180px;padding:15px 20px}.hero-visual{height:480px}.visual-top{left:20px;right:20px;top:22px}.visual-caption{left:16px;right:16px;bottom:16px}.game-card{padding:20px}.game-head{font-size:.57rem}.game-data>div+div{padding-left:10px}.data-label{font-size:.52rem}.game-data strong{font-size:1.15rem}}
@media(max-width:430px){.eyebrow-index{display:none}.ticker span:nth-child(n+3){display:none}.ticker{gap:22px}}
.brand img{height:48px;width:auto}.footer-brand img{height:38px;width:auto}.social-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:1050px){.social-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.brand img{height:39px}.social-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Games are rendered from games.js so another project can use the same card layout. */
.games-section{padding:clamp(80px,9vw,140px) clamp(22px,7vw,112px);background:#f1ece5}
.games-heading{max-width:720px}
.games-heading h2{font:800 clamp(3.6rem,5.1vw,5.7rem)/1.04 'Manrope',Arial,sans-serif;letter-spacing:-.075em;margin:32px 0 0}
.games-heading h2 em{font-style:normal;color:var(--accent)}
.games-heading>p{font-size:1.04rem;line-height:1.75;color:#68625d;margin:25px 0 0}
.games-list{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,.8fr);gap:18px;margin-top:58px;align-items:stretch}
.game-feature{background:#34302e;color:#fffaf4;border-radius:24px;min-width:0;overflow:hidden;padding:26px;display:flex;flex-direction:column}
.feature-header{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:.64rem;letter-spacing:.18em;font-weight:800;color:#c7bdb4}
.feature-status{color:#f58d7b;text-align:right}
.feature-body{display:grid;grid-template-columns:1fr .92fr;align-items:stretch;min-height:305px;overflow:hidden}
.feature-copy{padding:38px 0 30px;position:relative;z-index:1}
.feature-kicker{font-size:.66rem;font-weight:800;letter-spacing:.2em;color:#ed998b;margin:0 0 16px}
.feature-wordmark{font:800 clamp(2.4rem,4vw,4.8rem)/.98 'Manrope',Arial,sans-serif;letter-spacing:-.085em;margin:0;overflow-wrap:anywhere}
.feature-description{max-width:320px;line-height:1.65;color:#d1c8bf;font-size:.92rem;margin:22px 0 0}
.feature-characters{display:flex;align-items:flex-end;justify-content:center;position:relative;isolation:isolate;min-height:295px}
.feature-characters:before{content:'';position:absolute;inset:15% 1% 3%;background:radial-gradient(circle,#72594f 0,transparent 65%);z-index:-1}
.feature-characters img{width:52%;height:310px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 12px 10px rgba(0,0,0,.25))}
.feature-characters img+img{margin-left:-12%}
.feature-shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:auto}
.feature-shot{margin:0;min-width:0;background:#544d48;border-radius:12px;overflow:hidden}
.feature-shot img{width:100%;aspect-ratio:1.6;object-fit:cover}
.feature-shot figcaption{padding:10px 13px;font-size:.58rem;font-weight:800;letter-spacing:.17em;color:#d8cdc3}
.game-placeholder{background:#e4ddd3;color:#3d3935;border:1px solid #d5c9bc}
.game-placeholder .feature-header{color:#8d8278}
.game-placeholder .feature-status{color:#a87669}
.placeholder-space{height:200px;display:grid;place-items:center;background:radial-gradient(circle at center,#f5e9dd 0,#d7cdc2 62%,#d3c8bc 100%);border-radius:15px;margin:28px 0 25px;position:relative;overflow:hidden}
.placeholder-space:before,.placeholder-space:after{content:'';position:absolute;width:230px;height:230px;border:1px solid rgba(103,88,76,.22);border-radius:50%}
.placeholder-space:after{width:145px;height:145px}
.placeholder-glyph{font-size:5rem;color:#ae8f82;line-height:1}
.game-placeholder .feature-kicker{color:#a67668}
.placeholder-title{font:800 clamp(2rem,2.7vw,3rem)/1.1 'Manrope',Arial,sans-serif;letter-spacing:-.07em;margin:0}
.placeholder-description{font-size:.91rem;line-height:1.65;color:#796f67;margin:17px 0 0;max-width:290px}
.game-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.upgrade-button{min-width:0;width:100%}
.upgrade-secondary{background:#554843}
.upgrade-secondary:hover:not(:disabled){background:#756059}
.game-tip{max-width:none;margin:15px 0 0}
.spark-button.is-roaming{position:fixed;z-index:30;width:52px;height:52px;transition:left 3.4s ease-in-out,top 3.4s ease-in-out,transform .2s;filter:drop-shadow(0 8px 10px rgba(46,32,28,.3))}
.spark-button:before{opacity:var(--light-glow,.67)}
.spark-button.is-roaming .spark-core{font-size:2.7rem}
.spark-button.is-roaming:before{inset:14%;filter:blur(17px);opacity:var(--light-glow,.8)}
.spark-mini-count{display:none}
.is-roaming .spark-mini-count{display:block;position:absolute;right:-6px;bottom:-7px;background:#302f2d;color:#fffaf4;font-size:.62rem;font-weight:800;border-radius:99px;padding:4px 7px;min-width:24px}
@media(max-width:900px){.games-list{grid-template-columns:1fr}.game-placeholder{min-height:345px}.placeholder-space{height:150px}}
@media(max-width:600px){.games-section{padding:85px 22px}.games-heading h2{font-size:clamp(3.4rem,10vw,5rem)}.games-list{margin-top:40px}.game-feature{padding:20px}.feature-body{grid-template-columns:1fr;min-height:0}.feature-copy{padding:30px 0 0}.feature-characters{min-height:225px}.feature-characters img{height:240px}.feature-shots{gap:8px}.feature-shot figcaption{font-size:.52rem}.game-bottom{grid-template-columns:1fr}.spark-button.is-roaming{width:42px;height:42px}.spark-button.is-roaming .spark-core{font-size:2.2rem}}

.games-section{padding-top:clamp(60px,6vw,96px)}
.games-list{display:block;margin-top:36px}
.game-feature[hidden]{display:none!important}
.game-switcher{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.game-switch{border:1px solid #cbbfb4;background:#f7f3ed;color:#514a44;border-radius:999px;padding:12px 20px;font-size:.81rem;font-weight:800;transition:background .2s,transform .2s}
.game-switch:hover{transform:translateY(-2px)}
.game-switch[aria-selected="true"]{background:#34302e;border-color:#34302e;color:#fffaf4}
.game-feature{padding:clamp(22px,3vw,36px)}
.feature-body{min-height:320px}
.feature-characters{gap:0}
.character-open{width:48%;height:310px;display:flex;align-items:end;justify-content:center}
.character-open+.character-open{margin-left:-8%}
.feature-characters .character-open img{width:100%;height:100%;object-fit:contain;object-position:bottom}
.image-open{border:0;background:transparent;padding:0;cursor:zoom-in;min-width:0}
.image-open:focus-visible{outline:3px solid #f58d7b;outline-offset:3px}
.image-open img{transition:transform .2s}
.image-open:hover img{transform:scale(1.035)}
.feature-shot .image-open{display:block;width:100%;overflow:hidden}
.feature-shot .image-open img{width:100%;aspect-ratio:1.7;object-fit:cover}
.game-socials{border-top:1px solid rgba(255,255,255,.18);padding-top:22px;margin-top:26px}
.game-socials-label{color:#a8a098;letter-spacing:.19em;font-size:.62rem;font-weight:800;margin:0 0 12px}
.game-social-items{display:flex;flex-wrap:wrap;gap:8px}
.game-social{display:inline-flex;align-items:center;gap:8px;border:1px solid #6c615a;border-radius:999px;padding:10px 13px;font-size:.7rem;font-weight:800;color:#eee3d9}
.game-social[href]{transition:background .2s,color .2s}
.game-social[href]:hover{background:#f08b78;color:#2f2925}
.game-social-pending{opacity:.65}
.game-social small{font-size:.48rem;letter-spacing:.08em;color:#e5a492}
.game-placeholder .game-socials{border-color:#cfc2b5}
.game-placeholder .game-socials-label,.game-placeholder .game-social{color:#74685e}
.game-placeholder .game-social{border-color:#bfb1a3}
.game-placeholder .game-social small{color:#a87669}
.game-placeholder .placeholder-space{height:270px}
.placeholder-label{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#9a8779;font-size:.6rem;font-weight:800;letter-spacing:.2em}
.image-viewer{border:0;background:#211f1e;color:#fffaf4;border-radius:18px;padding:54px 20px 16px;width:min(95vw,1260px);max-height:95vh;box-shadow:0 30px 100px #0008}
.image-viewer::backdrop{background:rgba(22,20,19,.86)}
.image-viewer img{max-height:calc(95vh - 115px);width:100%;object-fit:contain}
.image-viewer p{font-size:.75rem;color:#cbbfb4;text-align:center;margin:12px 0 0}
.viewer-close{position:absolute;right:15px;top:12px;border:1px solid #716965;background:#383330;color:white;border-radius:50%;height:36px;width:36px;font-size:1.5rem;line-height:1}
.spark-button.is-roaming{width:94px;height:94px;touch-action:none;transition:left .75s ease-out,top .75s ease-out,transform .2s}
.spark-button.is-roaming .spark-core{font-size:5rem}
.spark-button.is-roaming:before{inset:12%;filter:blur(25px)}
.spark-button.dragging{transition:none!important;cursor:grabbing}
.spark-button.jittering{animation:spark-jitter .13s linear infinite}
@keyframes spark-jitter{0%{transform:translate(-4px,2px) rotate(-7deg)}50%{transform:translate(5px,-3px) rotate(6deg)}100%{transform:translate(-2px,4px) rotate(-4deg)}}
@media(max-width:600px){.games-section{padding-top:60px}.game-switcher{gap:8px}.game-switch{padding:10px 13px}.feature-characters .character-open{height:245px}.game-placeholder .placeholder-space{height:210px}.spark-button.is-roaming{width:74px;height:74px}.spark-button.is-roaming .spark-core{font-size:3.8rem}}
@media(prefers-reduced-motion:reduce){.spark-button.jittering{animation:none}.spark-button.is-roaming,.image-open img{transition:none}}

.spark-button.jittering{transition:none!important;transform-origin:center;animation:spark-jitter .16s ease-in-out infinite alternate}
@keyframes spark-jitter{
  from{transform:scale(1.03) rotate(-3deg)}
  to{transform:scale(1.15) rotate(3deg)}
}
.image-viewer{padding:16px;cursor:zoom-out}
.viewer-stage{position:relative;display:grid;place-items:center}
.viewer-stage img{max-height:calc(95vh - 105px)}
.viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:48px;height:48px;border:1px solid #c9bdb3;border-radius:50%;background:rgba(39,35,33,.88);color:#fffaf4;font-size:2rem;line-height:1;cursor:pointer;display:grid;place-items:center}
.viewer-arrow:hover{background:var(--accent-dark)}
.viewer-prev{left:12px}
.viewer-next{right:12px}
.image-viewer .viewer-hint{font-size:.6rem;letter-spacing:.16em;color:#938a83;margin:8px 0 0}
@media(max-width:600px){.viewer-arrow{width:40px;height:40px;font-size:1.55rem}.viewer-prev{left:4px}.viewer-next{right:4px}}
@media(prefers-reduced-motion:reduce){.spark-button.jittering{animation:none}}

.spark-button.is-roaming{transition:transform .2s;will-change:left,top}
.spark-hit-target{position:absolute;inset:0;z-index:5;border-radius:50%;pointer-events:auto}
.spark-button.is-roaming{pointer-events:none}
.spark-button.is-roaming .spark-hit-target{inset:auto;left:50%;top:50%;width:38px;height:38px;transform:translate(-50%,-50%);pointer-events:auto}
@media(max-width:600px){.spark-button.is-roaming .spark-hit-target{width:32px;height:32px}}
.spark-particle{position:fixed;z-index:40;pointer-events:none;color:#fffdf7;line-height:1;text-shadow:0 0 8px #fff,0 0 16px #fff4dc;transform:translate(-50%,-50%);animation:spark-burst .7s ease-out forwards}
@keyframes spark-burst{
  0%{opacity:1;transform:translate(-50%,-50%) scale(.55)}
  45%{opacity:1}
  100%{opacity:0;transform:translate(-50%,-50%) translate(var(--dx),var(--dy)) scale(.15)}
}
.auto-sparks{position:absolute;inset:0;z-index:1;pointer-events:none}
.auto-sparks[hidden]{display:none}
.auto-spark{position:absolute;left:50%;top:50%;pointer-events:none;color:#ffb386;line-height:1;text-shadow:0 0 7px #fff4cf,0 0 13px #ef6b59;transform:translate(-50%,-50%) translate(var(--home-x),var(--home-y));will-change:transform,opacity}
.spark-button:after{content:'';position:absolute;inset:27%;z-index:0;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.62),rgba(255,255,255,.2) 42%,transparent 76%);filter:blur(9px);opacity:.72;pointer-events:none}
.spark-core{position:relative;z-index:1;text-shadow:0 0 7px rgba(255,255,255,.96),0 0 18px rgba(255,255,255,.68),0 0 32px rgba(239,107,89,.72)}
.spark-button.auto-pulse:after{animation:auto-spark-glint .36s ease-out}
@keyframes auto-spark-glint{0%,100%{opacity:.72}45%{opacity:1}}
.spark-button.auto-pulse .spark-core{animation:auto-spark-tilt .36s ease-out}
@keyframes auto-spark-tilt{0%,100%{rotate:0deg}40%{rotate:6deg}72%{rotate:-2deg}}
@media(prefers-reduced-motion:reduce){.spark-button.auto-pulse:after,.spark-button.auto-pulse .spark-core{animation:none}}

.spark-button.is-roaming{scale:var(--cursor-scale,1)}
@media(min-width:1201px){.social-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1051px) and (max-width:1200px){.social-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.feature-wordmark-logo{position:relative;width:100%;max-width:500px;aspect-ratio:6;margin:0}
.feature-wordmark-logo img{width:100%;height:100%;object-fit:cover;filter:drop-shadow(0 4px 5px rgba(0,0,0,.3))}
.steam-wishlist{display:inline-flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:24px;padding:17px 24px;min-width:240px;max-width:100%;border:1px solid #94c54c;border-radius:12px;background:linear-gradient(135deg,#83b43b,#538729);color:#fff;font-weight:800;font-size:1rem;box-shadow:0 6px 18px rgba(0,0,0,.14)}
.steam-wishlist small{font-size:.7rem;font-weight:600;color:#eff9de}
.steam-wishlist:disabled{cursor:default;opacity:1}
.steam-wishlist[href]:hover{background:linear-gradient(135deg,#95c74a,#649b32)}
.feature-carousel{margin-top:16px}
.carousel-stage{position:relative}
.feature-carousel .feature-shot[hidden]{display:none}
.feature-carousel .image-open{display:block;width:100%}
.feature-carousel .feature-shot img{width:100%;aspect-ratio:1.6;max-height:560px;object-fit:contain;background:#24211f}
.carousel-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:14px}
.carousel-arrow{width:44px;height:44px;display:grid;place-items:center;border:1px solid #b7a99c;border-radius:50%;background:rgba(39,35,33,.88);color:#fffaf4;font-size:2rem;line-height:1}
.carousel-arrow:hover{background:var(--accent-dark)}
.carousel-prev{left:14px}.carousel-next{right:14px}
.carousel-position{margin:0;min-width:40px;text-align:center;color:#c7bdb4;font-size:.7rem;font-weight:700;font-variant-numeric:tabular-nums}
@media(max-width:600px){.carousel-arrow{width:36px;height:36px;font-size:1.6rem}.carousel-prev{left:8px}.carousel-next{right:8px}.steam-wishlist{min-width:220px}}

.carousel-stage{aspect-ratio:2.1;perspective:1100px;isolation:isolate}
.feature-carousel .feature-shot{position:absolute;left:50%;top:50%;width:56%;overflow:visible;background:transparent;transition:transform .45s ease,filter .45s ease;transform-style:preserve-3d}
.feature-carousel .feature-shot[data-slot="active"]{z-index:3;transform:translate(-50%,-50%) translateZ(45px)}
.feature-carousel .feature-shot[data-slot="previous"]{z-index:1;transform:translate(-105%,-50%) rotateY(16deg) scale(.8);filter:brightness(.7)}
.feature-carousel .feature-shot[data-slot="next"]{z-index:1;transform:translate(5%,-50%) rotateY(-16deg) scale(.8);filter:brightness(.7)}
.feature-carousel .feature-shot:not([data-slot="active"]):hover{filter:brightness(.95)}
.carousel-card{position:relative;background:#544d48;border:1px solid #74665b;border-radius:12px;box-shadow:0 18px 32px #0005;overflow:hidden;transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .15s ease-out;transform-style:preserve-3d}
.carousel-card:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at var(--shine-x,50%) var(--shine-y,50%),#ffffff22,transparent 65%);opacity:0;transition:opacity .2s}
.carousel-card[data-hovered]:after{opacity:1}
.feature-carousel .image-open:hover img{transform:none}
.feature-carousel .feature-shot:not([data-slot="active"]) .image-open{cursor:pointer}
.feature-carousel .feature-shot[data-slot="previous"] .carousel-card:before,.feature-carousel .feature-shot[data-slot="next"] .carousel-card:before{position:absolute;top:50%;z-index:2;width:32px;height:32px;display:grid;place-items:center;background:#211f1ebd;border:1px solid #ffffff55;border-radius:50%;color:#fff;font-size:1.4rem;pointer-events:none;transform:translateY(-50%)}
.feature-carousel .feature-shot[data-slot="previous"] .carousel-card:before{content:'‹';left:12px}
.feature-carousel .feature-shot[data-slot="next"] .carousel-card:before{content:'›';right:12px}
@media(max-width:600px){.carousel-stage{aspect-ratio:1.7;perspective:700px}.feature-carousel .feature-shot{width:66%}.feature-carousel .feature-shot[data-slot="previous"]{transform:translate(-90%,-50%) rotateY(12deg) scale(.76)}.feature-carousel .feature-shot[data-slot="next"]{transform:translate(-10%,-50%) rotateY(-12deg) scale(.76)}.feature-carousel .feature-shot figcaption{font-size:.48rem;padding:8px}.feature-carousel .feature-shot[data-slot="previous"] .carousel-card:before{left:5px}.feature-carousel .feature-shot[data-slot="next"] .carousel-card:before{right:5px}}
@media(prefers-reduced-motion:reduce){.feature-carousel .feature-shot,.carousel-card{transition:none}.carousel-card{transform:none}}

/* The artwork tilts behind a stationary button so hover never moves its hit area. */
.feature-carousel .carousel-card{pointer-events:none}
.feature-carousel .carousel-hit-plane{position:absolute;inset:0;z-index:5;height:100%;border-radius:12px;background:transparent}
.feature-carousel .carousel-hit-plane img{display:none}
.feature-carousel .feature-shot[data-slot="active"] .carousel-hit-plane{cursor:zoom-in}
.feature-carousel .feature-shot:not([data-slot="active"]) .carousel-hit-plane{cursor:pointer}

.spark-heading{display:grid;place-items:center;rotate:var(--travel-heading,0rad);pointer-events:none}
@media(prefers-reduced-motion:reduce){.spark-heading{rotate:0deg}}

/* Grow the layout with large desktop viewports without capping the page width. */
@media(min-width:1601px){
  :root{font-size:clamp(16px,calc(10.286px + .35714vw),28px)}
  .site-header{height:5.5rem;padding-inline:4.6vw}
  .brand img{height:3rem}
  .main-nav{gap:3.125rem}
  .header-link{padding:.75rem 1.0625rem}
  .hero,.hero-visual{min-height:42.5rem}
  .hero-copy{padding:5.625rem 4.6vw 2.375rem}
  .hero-intro{max-width:27.5rem}
  .hero-actions{gap:1.75rem;margin-top:2.25rem}
  .hero h1{margin-top:4.875rem}
  .visual-top{top:2.375rem;left:2.375rem;right:2.375rem}
  .visual-caption{bottom:1.875rem;left:1.875rem;right:1.875rem;padding:.9375rem 1.125rem}
  .ticker{height:4.75rem;font-size:.83rem}
  .games-section,.spark-section,.connect-section{padding-inline:7vw}
  .games-section{padding-block:6rem 8.75rem}
  .spark-section{padding-block:8.75rem;gap:7.5rem}
  .connect-section{padding-block:8.125rem 7.5rem}
  .games-heading{max-width:45rem}
  .section-intro p{max-width:25.625rem}
  .games-list{margin-top:2.25rem}
  .game-feature{padding:2.25rem;border-radius:1.5rem}
  .feature-body{min-height:20rem}
  .feature-copy{padding:2.375rem 0 1.875rem}
  .feature-wordmark-logo{max-width:31.25rem}
  .feature-description{max-width:25rem}
  .character-open{height:19.375rem}
  .feature-characters{min-height:18.4375rem}
  .game-switch{padding:.75rem 1.25rem}
  .steam-wishlist{min-width:15rem;padding:1.0625rem 1.5rem;margin-top:1.5rem}
  .feature-carousel .feature-shot img{max-height:none}
  .carousel-stage{perspective:1800px}
  .feature-shot figcaption{padding:.625rem .8125rem}
  .game-socials{padding-top:1.375rem;margin-top:1.625rem}
  .game-social{padding:.625rem .8125rem}
  .game-card{padding:1.75rem;border-radius:1.5rem}
  .game-art{height:16.25rem}
  .social-grid{gap:.875rem;margin-top:3.75rem}
  .social-card{min-height:10.25rem;padding:1.375rem}
  .site-footer{min-height:6.5rem;padding:1.5625rem 4.6vw}
  .footer-brand img{height:2.375rem}
  .image-viewer{width:95vw}
  /* Keep the spark's visual size aligned with its pointer physics. */
  .spark-core{font-size:120px}
  .spark-button.is-roaming .spark-core{font-size:80px}
}
