/* MagicJellyGames — buildless, responsive, local-first static site. */
:root{color-scheme:dark;--bg:#111610;--surface:#191f17;--line:#333b2d;--text:#f4f5eb;--muted:#b1b8a9;--accent:#cef59c;--container:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}img{max-width:100%;display:block}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:6px}::selection{background:var(--accent);color:var(--bg)}.container{width:min(var(--container),calc(100% - 96px));margin-inline:auto}.skip-link{position:fixed;z-index:100;top:10px;left:10px;padding:10px 20px;background:var(--accent);color:var(--bg);transform:translateY(-160%)}.skip-link:focus{transform:none}.site-header{position:relative;z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}.header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px;font-size:22px;letter-spacing:-.7px;font-weight:700;line-height:1.2}.brand-light{font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:400;color:var(--muted);margin-top:7px}.brand-mark{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border:1px solid var(--accent);color:var(--accent);font-family:Georgia,serif;font-size:28px;letter-spacing:-7px;padding-right:7px}.brand-mark span{font-style:italic;font-size:23px;transform:translateY(4px)}.main-nav{display:flex;align-items:center;gap:36px;font-size:14px}.main-nav>a{padding-block:12px}.main-nav>a:hover{color:var(--accent)}.main-nav .nav-steam{padding:10px 19px;border:1px solid #4d5845;border-radius:3px}.nav-steam span{margin-left:18px}.menu-toggle{display:none}.hero{position:relative;isolation:isolate;min-height:660px;overflow:hidden;border-bottom:1px solid var(--line)}.hero-art{position:absolute;inset:0;z-index:-2;background:#192519}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:75% 50%;opacity:.86}.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#111610 2%,rgba(17,22,16,.95) 20%,rgba(17,22,16,.68) 43%,rgba(17,22,16,.08) 78%),linear-gradient(0deg,#111610 0%,transparent 43%,rgba(17,22,16,.1) 100%)}.hero-inner{min-height:580px;padding-top:72px;padding-bottom:66px;display:flex;align-items:center;justify-content:space-between;gap:40px}.eyebrow{font-size:12px;letter-spacing:2.3px;font-weight:600;color:var(--accent);margin:0 0 23px;line-height:1.6}.tiny-cross{margin-right:8px;font-size:20px;vertical-align:-1px}.hero h1{font-size:clamp(48px,5.2vw,76px);line-height:1.22;letter-spacing:-2.5px;font-weight:800;margin:0 0 25px}.hero h1 span{color:var(--accent)}.hero-description{font-size:17px;line-height:1.95;color:#d1d7c9;margin:0 0 31px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;min-height:52px;padding:13px 23px;border-radius:3px;font-size:15px;font-weight:700;transition:background .2s,transform .2s}.primary{background:var(--accent);color:#17210e}.primary:hover{background:#e2ffbb;transform:translateY(-2px)}.hero-signature{font-size:12px;color:var(--muted);margin:18px 0 0}.hero-signature strong{font-weight:400;color:#d8dfce}.hero-feature{align-self:flex-end;width:292px;padding:20px 0 0;margin-bottom:6px;border-top:1px solid #a8b692;display:flex;flex-direction:column;text-shadow:0 2px 14px #000}.feature-label{font-size:10px;letter-spacing:1.8px;color:#d2ddc5}.feature-title{font-size:28px;font-weight:700;line-height:1.6;display:flex;justify-content:space-between;align-items:center}.feature-title>span{font-size:23px;color:var(--accent)}.feature-caption{font-size:13px;color:#d2ddc5}.hero-feature:hover .feature-title{color:var(--accent)}.hero-bottom{height:70px;display:flex;justify-content:space-between;align-items:center;color:#b6bea9;font-size:12px;letter-spacing:1px}.hero-bottom>span:last-child{font-size:10px;letter-spacing:2px}.hero-bottom>span:last-child span{margin-left:12px}.games-section{padding-block:94px 82px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:38px}.section-heading .eyebrow{margin-bottom:12px}h2{font-size:34px;line-height:1.4;letter-spacing:-.8px;margin:0;font-weight:700}.section-heading h2 span{color:var(--muted)}.collection-count{color:var(--muted);font-size:12px;white-space:nowrap;letter-spacing:1px;padding-bottom:8px}.games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 28px}.game-card{border:1px solid var(--line);background:var(--surface);border-radius:5px;overflow:hidden;display:flex;flex-direction:column}.game-image{position:relative;display:block;overflow:hidden;background:#263321;aspect-ratio:920/430}.game-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.game-image:hover img{transform:scale(1.025)}.game-status{position:absolute;left:16px;top:16px;padding:4px 11px;border-radius:2px;font-size:12px;line-height:1.6;box-shadow:0 1px 10px #0004}.upcoming{background:#e8ebd8;color:#25301a}.released{background:var(--accent);color:#203312}.image-arrow{position:absolute;right:15px;bottom:15px;display:grid;place-items:center;width:32px;height:32px;background:#111610ce;border:1px solid #ffffff40;border-radius:50%;font-size:19px}.game-body{padding:27px 28px 0;display:flex;flex-direction:column;flex:1}.game-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px}h3{font-size:25px;line-height:1.4;letter-spacing:-.6px;margin:0}.game-number{color:#839077;font-family:monospace;font-size:13px}.game-subtitle{margin:6px 0 17px;font-size:13px;color:var(--muted)}.game-description{margin:0 0 23px;color:#c2c8ba;line-height:1.9;font-size:16px}.tags{list-style:none;padding:0;margin:0 0 26px;display:flex;flex-wrap:wrap;gap:8px}.tags li{border:1px solid #394330;color:#bfcbb0;padding:2px 9px;font-size:12px;border-radius:2px}.game-actions{border-top:1px solid var(--line);margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:8px;min-height:64px}.game-actions a{min-height:44px;display:inline-flex;align-items:center;font-size:13px}.game-primary{color:var(--accent);font-weight:600;gap:12px}.demo-link{color:#c0c9b5;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#5b6750;white-space:nowrap}.game-actions a:hover{color:white}.catalog-note{margin:25px 0 0;text-align:right;color:#97a18e;font-size:12px}.about-section{background:#1b2217;border-block:1px solid var(--line)}.about-inner{display:grid;grid-template-columns:1fr 1fr;gap:100px;padding-block:78px 83px}.about-heading h2{font-size:40px;line-height:1.5}.about-heading h2 span{color:var(--accent)}.about-copy{padding-top:5px}.about-brand{font-family:Georgia,serif;font-size:28px;font-style:italic;color:var(--accent)}.about-copy p{font-size:16px;color:#c4ccbb;line-height:1.95;margin:19px 0}.text-link{display:inline-flex;gap:25px;align-items:center;color:var(--accent);font-size:14px;min-height:44px;margin-top:8px}.text-link:hover{text-decoration:underline;text-underline-offset:6px}.closing{padding-block:76px 79px;display:flex;align-items:center;justify-content:space-between;gap:30px}.closing .eyebrow{margin-bottom:13px}.closing h2{font-size:30px}.closing p:not(.eyebrow){font-size:14px;color:var(--muted);margin:16px 0 0}.closing .button{flex-shrink:0}.mobile-break{display:none}.site-footer{border-top:1px solid var(--line);padding-block:29px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:12px;color:var(--muted)}.footer-brand{font-size:17px;font-weight:600;color:var(--text);line-height:1.4}.footer-brand span{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px;letter-spacing:1px}.footer-inner>a:last-child{min-height:44px;display:flex;align-items:center}.footer-inner>a:hover{color:var(--accent)}
@media(min-width:1600px){.hero-art img{object-position:center 45%}.hero-inner{min-height:650px}}
@media(max-width:1000px){.container{width:calc(100% - 56px)}.main-nav{gap:24px}.hero-inner{gap:20px}.hero-feature{width:235px}.section-heading h2{font-size:28px}.game-body{padding:23px 22px 0}.game-actions{flex-wrap:wrap;gap:0 12px}.game-primary{gap:8px}.about-inner{gap:50px}.about-heading h2{font-size:34px}.closing h2{font-size:26px}.closing .button{gap:20px}}
@media(max-width:700px){html{scroll-padding-top:24px}.container{width:calc(100% - 40px)}.header-inner{min-height:78px}.brand{font-size:19px;gap:10px}.brand-mark{width:38px;height:38px;font-size:25px}.brand small{font-size:8px;letter-spacing:1.5px}.main-nav{gap:18px;flex-wrap:wrap;font-size:14px;padding-bottom:16px;width:100%}.header-inner{flex-wrap:wrap;gap:0}.main-nav .nav-steam{padding:8px 12px;margin-left:auto}.nav-steam span{margin-left:8px}.js .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;align-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:3px;background:transparent;color:var(--text);cursor:pointer}.menu-toggle span{width:19px;height:1px;background:currentColor;transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}.js .main-nav{display:none}.js .main-nav.is-open{display:flex}.hero{min-height:720px}.hero-art img{object-position:65% center;opacity:.8}.hero-art:after{background:linear-gradient(90deg,rgba(17,22,16,.88),rgba(17,22,16,.32)),linear-gradient(0deg,#111610 0%,transparent 40%,rgba(17,22,16,.45) 100%)}.hero-inner{min-height:640px;display:flex;flex-direction:column;align-items:stretch;padding-top:47px;padding-bottom:20px;gap:38px}.hero .eyebrow{font-size:10px;letter-spacing:1.6px;margin-bottom:23px}.hero h1{font-size:clamp(43px,10vw,64px);letter-spacing:-1.5px;margin-bottom:24px}.hero-description{font-size:16px;margin-bottom:26px}.hero-signature{font-size:11px}.hero-feature{width:220px;align-self:flex-end;padding-top:13px;margin-bottom:0}.feature-title{font-size:25px}.feature-label{font-size:9px}.feature-caption{font-size:12px}.hero-bottom{height:70px;font-size:11px}.hero-bottom>span:last-child{font-size:9px;letter-spacing:1px}.games-section{padding-block:55px}.section-heading{display:block;margin-bottom:27px}.section-heading .eyebrow{font-size:11px}.section-heading h2{font-size:27px;line-height:1.5}.section-heading h2 span{display:block}.collection-count{display:block;font-size:11px;padding:15px 0 0}.games-grid{grid-template-columns:minmax(0,1fr);gap:25px}.game-body{padding:22px 20px 0}h3{font-size:24px}.game-description{font-size:16px}.game-status{left:12px;top:12px}.game-actions a{font-size:12px}.catalog-note{font-size:11px;text-align:left}.about-inner{grid-template-columns:minmax(0,1fr);gap:31px;padding-block:52px}.about-heading h2{font-size:33px}.about-heading .eyebrow{margin-bottom:18px}.about-copy{padding:0}.about-copy p{font-size:15px}.closing{display:block;padding-block:50px}.closing h2{font-size:28px;line-height:1.5}.closing .button{margin-top:27px}.closing p:not(.eyebrow){font-size:14px;max-width:28em}.mobile-break{display:block}.footer-inner{flex-wrap:wrap;gap:14px;font-size:11px}.footer-brand{width:100%}.footer-inner p{margin:0}.footer-inner>a:last-child{margin-left:auto}.site-footer{padding-block:24px}.button{min-height:52px}.eyebrow{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
