/* The Martian / cinematic motion system. All content remains usable without JS. */
:root{--ease-out: cubic-bezier(.16,1,.3,1);--ease-soft:cubic-bezier(.22,.61,.36,1)}
body{overflow-x:clip}
.header{position:relative;z-index:10}
.header nav a,.footer-links a{position:relative}
.header nav a::after,.footer-links a::after{content:"";position:absolute;bottom:-7px;left:0;right:0;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease-out)}
.header nav a:hover::after,.header nav a:focus-visible::after,.header nav a[aria-current=page]::after,.footer-links a:hover::after{transform:scaleX(1);transform-origin:left}
.hero{isolation:isolate;min-height:740px;padding-top:55px;padding-bottom:120px;grid-template-columns:1.08fr 1fr}
.hero-copy{z-index:3}
.hero h1{font-size:clamp(3.4rem,6.7vw,6.9rem);line-height:1.035;letter-spacing:-.06em;margin:30px 0 27px}
.hero h1 em{color:#ff7847}
.hero-description{font-size:1.125rem;line-height:1.85;color:#b7b8bd;max-width:460px}
.hero .eyebrow{font-size:.75rem;letter-spacing:.16em;color:#c8c8cc;display:flex;align-items:center;gap:12px}
.studio-spark{flex:none;width:17px;height:17px;position:relative;display:inline-block}
.studio-spark::before,.studio-spark::after{content:"";position:absolute;background:var(--orange);border-radius:1px;inset:0 7px}
.studio-spark::after{transform:rotate(90deg)}
.hero-art{width:126%;max-width:none;margin:0 0 0 -20%;position:relative;z-index:1;pointer-events:none;transform:translate3d(var(--scene-x,0px),var(--scene-y,0px),0);will-change:transform}
.kinetic-object{position:relative;transform-origin:50% 50%}
.hero-art img{display:block;width:100%;height:auto;animation:none;mask-image:radial-gradient(ellipse at 50% 49%,#000 45%,#000e 53%,transparent 71%)}
.art-caption{right:4%;bottom:23%;font-size:.75rem;letter-spacing:.22em;color:#b0a49d;opacity:.8}
.cosmos{position:absolute;z-index:0;inset:0;width:100%;height:100%;pointer-events:none;opacity:.8}
.hero-bottom{z-index:4;align-items:center;bottom:31px;min-height:44px;border-top:1px solid #ffffff15;padding-top:20px;letter-spacing:.16em}
.motion-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;border:0;border-radius:4px;padding:8px 0 8px 16px;background:none;color:#b7b8bd;font:400 .875rem Martian,Arial,sans-serif;cursor:pointer;white-space:nowrap;letter-spacing:0}
.motion-toggle[hidden]{display:none}
.motion-toggle:hover{color:var(--paper)}
.motion-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.play-icon{display:none}
[data-motion=off] .pause-icon{display:none}
[data-motion=off] .play-icon{display:block}
.button{border-radius:999px;padding:17px 27px;min-height:58px;position:relative;overflow:hidden;isolation:isolate;transition:transform .5s var(--ease-out),box-shadow .5s var(--ease-out),background .3s}
.button::after{content:"";position:absolute;z-index:-1;inset:-80% -30%;background:linear-gradient(110deg,transparent 38%,#ffffff30 49%,transparent 60%);transform:translateX(-90%) skewX(-15deg);transition:transform .75s var(--ease-out);pointer-events:none}
.button:hover::after,.button:focus-visible::after{transform:translateX(90%) skewX(-15deg)}
.button:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0002}
.button.orange:hover{box-shadow:0 12px 35px #ff643625;background:#ff7b50}
.button:active{transform:translateY(0) scale(.98)}
.text-link{border-bottom-color:#ffffff3a;transition:color .25s,border-color .25s}
.dark-link{border-bottom-color:#12131640}
.text-link:hover{border-bottom-color:currentColor}
.games-section{border-radius:24px 24px 0 0;position:relative;z-index:2;padding-top:96px}
.section-heading{margin-bottom:55px}
.section-heading h2{font-size:clamp(2.8rem,4.8vw,4.5rem);letter-spacing:-.06em}
.featured{gap:58px;grid-template-columns:1.4fr 1fr}
.feature-image,.card-image,.game-cover{border-radius:16px;box-shadow:0 20px 40px -25px #172e4145;transform:perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .6s var(--ease-out),box-shadow .6s var(--ease-out);will-change:auto}
.feature-image::after,.card-image::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff30;pointer-events:none;background:linear-gradient(120deg,transparent 25%,#fff0 40%,#ffffff20 50%,#fff0 60%,transparent 75%);background-size:250% 100%;background-position:150% 0;transition:background-position 1.1s var(--ease-out)}
.feature-image:hover::after,.card-image:hover::after{background-position:-70% 0}
.feature-image img,.card-image img{transition:transform 1.2s var(--ease-out)}
.feature-image:hover img{transform:scale(1.025)}
.feature-copy h3{font-size:clamp(2.5rem,3.5vw,3.5rem)}
.image-label{border-radius:999px;box-shadow:0 2px 15px #0001;padding:10px 15px;letter-spacing:.09em}
.up-next{margin-top:64px;padding-top:37px;border-top:1px solid #12131620}
.up-next-grid{gap:25px}
.mini-game{display:block;transition:transform .6s var(--ease-out)}
.mini-game img{height:auto;aspect-ratio:1.6;border-radius:12px;transition:transform .7s var(--ease-out),box-shadow .7s var(--ease-out)}
.mini-game:hover img{transform:translateY(-6px);box-shadow:0 14px 24px -12px #12131655}
.mini-game h4{transition:color .25s}
.mini-game:hover h4{color:#bd3a16}
.studio-strip{position:relative;padding-block:125px;overflow:hidden;isolation:isolate}
.studio-strip::before{content:"";position:absolute;width:480px;height:480px;z-index:-1;left:-240px;top:-140px;background:radial-gradient(circle,#ff643613,transparent 65%);pointer-events:none}
.studio-strip h2{font-size:clamp(3rem,6.1vw,5.5rem)}
footer{position:relative;isolation:isolate;overflow:hidden;background:#ff6b3b}
.footer-top{padding-block:78px}
.footer-title{font-size:clamp(3rem,5.8vw,5.5rem)}
.about-art{border-radius:20px}
.about-art img{width:100%;height:auto}
.game-cover img{transition:transform 1.4s var(--ease-out)}
.game-cover:hover img{transform:scale(1.035)}
.brand-preview{background:radial-gradient(ellipse at 75% 110%,#4e2a21,transparent 65%),var(--ink)}
.filters button{transition:background .3s,color .3s,border-color .3s,transform .4s var(--ease-out)}
.filters button:hover{transform:translateY(-2px)}
.faq-list summary span{transition:transform .35s var(--ease-out)}
.mobile-nav:not([hidden]){animation:menu-in .35s var(--ease-out) both}
.lightbox[open]{animation:dialog-in .35s var(--ease-out) both}
.reveal-ready{opacity:0;transform:translateY(28px);transition:opacity .85s var(--ease-out),transform 1.1s var(--ease-out);transition-delay:var(--reveal-delay,0ms)}
.reveal-ready.is-visible{opacity:1;transform:translateY(0)}
.reveal-ready:focus-within{opacity:1;transform:none}
[data-motion=on] .hero-copy>.eyebrow{animation:enter-up .9s var(--ease-out) both}
[data-motion=on] .hero h1{animation:enter-up 1.2s .1s var(--ease-out) both}
[data-motion=on] .hero-description{animation:enter-up 1.15s .2s var(--ease-out) both}
[data-motion=on] .hero .actions{animation:enter-up 1.15s .3s var(--ease-out) both}
[data-motion=on] .kinetic-object{animation:sculpture-arrive 1.8s var(--ease-out) both,sculpture-float 22s 1.8s ease-in-out infinite}
[data-motion=off] .hero-art{transform:none;will-change:auto}
[data-motion=off] .reveal-ready{opacity:1;transform:none;transition:none}
[data-motion=off] *,[data-motion=off] *::before,[data-motion=off] *::after{animation:none!important}
@keyframes enter-up{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:none}}
@keyframes sculpture-arrive{from{opacity:0;transform:scale(1.06) rotate(-4deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes sculpture-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-10px) rotate(1.5deg)}}
@keyframes menu-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
@keyframes dialog-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(min-width:1600px){.hero{min-height:810px}.hero-art{width:135%;margin-left:-16%}}
@media(max-width:1100px) and (min-width:761px){.hero{min-height:640px;padding-top:25px}.hero h1{font-size:6.4vw}.hero-description{font-size:1rem}.hero .eyebrow{font-size:.75rem;letter-spacing:.09em}.art-caption{display:none}.featured{gap:32px}.feature-copy h3{font-size:2.5rem}.hero .actions{gap:18px}}
@media(max-width:760px){.hero{padding-top:46px;padding-bottom:83px;grid-template-columns:1fr;min-height:initial}.hero h1{font-size:clamp(2.7rem,12vw,5.4rem);line-height:1.055;margin:25px 0 22px}.hero-description{font-size:1rem;line-height:1.85}.hero .eyebrow{font-size:.75rem;letter-spacing:.075em;gap:9px}.studio-spark{width:13px;height:13px}.studio-spark::before,.studio-spark::after{inset:0 5px}.hero-art{width:min(120%,550px);margin:0 auto -36px;justify-self:center;left:0;max-width:120%;transform:none}.art-caption{display:none}.hero-bottom{bottom:23px;padding-top:13px;gap:12px}.hero-bottom>span{font-size:.625rem;letter-spacing:.08em;max-width:170px;line-height:1.7}.motion-toggle{font-size:.75rem;padding-left:0}.button{min-height:54px;padding:15px 22px}.hero .actions{gap:18px;margin-top:28px}.games-section{padding-top:58px;border-radius:18px 18px 0 0}.section-heading{margin-bottom:35px}.section-heading h2{font-size:2.7rem}.featured{grid-template-columns:1fr;gap:30px}.feature-copy h3{font-size:2.5rem}.image-label{top:14px;left:14px;padding:8px 12px;font-size:.75rem}.up-next{margin-top:40px;padding-top:28px}.up-next-grid{gap:26px 16px}.mini-game img{height:auto;aspect-ratio:1.35}.studio-strip{padding-block:75px}.studio-strip h2{font-size:3.5rem}.footer-top{padding-block:52px}.footer-title{font-size:3.4rem}}
@media(prefers-reduced-motion:reduce){.reveal-ready{opacity:1;transform:none;transition:none}.hero-art{transform:none!important;will-change:auto}.kinetic-object{animation:none!important}html{scroll-behavior:auto}}
@view-transition{navigation:auto}
::view-transition-old(root){animation:page-out .15s ease-out both}
::view-transition-new(root){animation:page-in .35s var(--ease-out) both}
@keyframes page-out{to{opacity:0}}
@keyframes page-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}

/* Keep the composition within the first viewport; artwork cannot size the grid. */
@media(min-width:761px){
 .hero-art{position:absolute;width:62%;margin:0;right:-2%;top:48%;transform:translate3d(var(--scene-x,0px),calc(-50% + var(--scene-y,0px)),0)}
 [data-motion=off] .hero-art{transform:translateY(-50%)}
}
@media(max-width:760px){
 .hero-art{width:min(112%,550px);margin:0 0 -36px -6%;max-width:none}
 .hero-bottom>span{font-size:.75rem;max-width:175px}
}
@media(min-width:761px) and (prefers-reduced-motion:reduce){.hero-art{transform:translateY(-50%)!important}}
/* Explicit pause has the same calm behavior across hover, scroll and navigation. */
html[data-motion=off]{scroll-behavior:auto}
[data-motion=off] *,[data-motion=off] *::before,[data-motion=off] *::after{transition:none!important}
[data-motion=off]::view-transition-old(root),[data-motion=off]::view-transition-new(root){animation:none!important}
[data-motion=off] .button:hover,[data-motion=off] .button:active,[data-motion=off] .feature-image,[data-motion=off] .card-image,[data-motion=off] .feature-image:hover img,[data-motion=off] .card-image:hover img,[data-motion=off] .mini-game:hover img,[data-motion=off] .screenshot:hover,[data-motion=off] .game-cover:hover img,[data-motion=off] .filters button:hover{transform:none}
[data-motion=off] .button::after,[data-motion=off] .feature-image::after,[data-motion=off] .card-image::after{background:none}
.motion-toggle:disabled{cursor:default;color:#a9a9b0}
@media(max-width:760px){.hero-bottom .motion-toggle span{display:inline}.motion-toggle{min-width:44px}}
@media(max-width:380px){html[lang=tr] .hero h1{font-size:clamp(2rem,11.25vw,2.5rem)}}
