/*
Theme Name: Grillsy Games Master
Theme URI: https://grillsygames.com/
Author: Grillsy Games
Description: Premium custom WordPress gaming studio theme for Grillsy Games.
Version: 5.57.0
Text Domain: grillsy-games
*/
:root{--bg:#05060b;--bg2:#090d18;--panel:#0d1324;--text:#f8faff;--muted:#a9b3ca;--cyan:#29ddff;--blue:#5577ff;--violet:#a05cff;--pink:#ff4fd8;--gold:#ffd45c;--line:rgba(255,255,255,.11);--shadow:0 28px 80px rgba(0,0,0,.42)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 10% -5%,#162b5c 0,transparent 28%),radial-gradient(circle at 95% 8%,#42185c 0,transparent 25%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;overflow-x:hidden}body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.18;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 78%)}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1600px,94vw);margin:auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(5,6,11,.72);backdrop-filter:blur(20px);border-bottom:1px solid var(--line)}.nav{height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-size:1.42rem;font-weight:1000;letter-spacing:.09em}.brand-mark{width:46px;height:46px;border-radius:12px;background:conic-gradient(from 220deg,var(--cyan),var(--violet),var(--pink),var(--cyan));box-shadow:0 0 28px rgba(41,221,255,.25);position:relative}.brand-mark:after{content:"G";position:absolute;inset:3px;border-radius:10px;background:#080b14;display:grid;place-items:center;font-weight:1000;color:white}.brand span{background:linear-gradient(90deg,#fff,var(--cyan),#d7b7ff);-webkit-background-clip:text;background-clip:text;color:transparent}.menu{display:flex;align-items:center;gap:36px;font-size:1rem;font-weight:800}.menu a{color:#dce4f8;transition:.2s}.menu a:hover{color:var(--cyan)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:13px 20px;border-radius:14px;font-weight:950;border:1px solid var(--line);background:rgba(255,255,255,.06);transition:.22s;box-shadow:inset 0 1px rgba(255,255,255,.05)}.btn:hover{transform:translateY(-2px);border-color:rgba(41,221,255,.5);box-shadow:0 15px 38px rgba(41,221,255,.12)}.btn-primary{background:linear-gradient(135deg,var(--cyan),var(--blue) 54%,var(--violet));border:0;color:#040710;box-shadow:0 14px 42px rgba(77,120,255,.24)}.btn-small{min-height:42px;padding:10px 15px;font-size:.88rem}
.hero{min-height:860px;display:grid;align-items:center;position:relative;overflow:hidden;padding:70px 0}.hero:before{content:"";position:absolute;width:620px;height:620px;border-radius:50%;right:-130px;top:30px;background:radial-gradient(circle,rgba(41,221,255,.17),rgba(160,92,255,.09) 35%,transparent 68%);filter:blur(4px)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:95px;align-items:center;position:relative;z-index:2}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--cyan);font-weight:950;letter-spacing:.17em;text-transform:uppercase;font-size:.76rem}.eyebrow:before{content:"";width:26px;height:2px;background:linear-gradient(90deg,var(--cyan),var(--violet));box-shadow:0 0 12px var(--cyan)}.hero h1{font-size:clamp(5.2rem,7vw,8.7rem);line-height:.84;margin:20px 0 24px;letter-spacing:-.07em}.hero h1 .gradient{background:linear-gradient(90deg,#fff 5%,var(--cyan) 45%,#c18cff 82%);-webkit-background-clip:text;background-clip:text;color:transparent}.lead{font-size:1.32rem;line-height:1.75;color:var(--muted);max-width:670px}.actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:30px}.trust-row{display:flex;gap:24px;flex-wrap:wrap;margin-top:34px;color:#d6def1;font-size:.86rem;font-weight:800}.trust-row span:before{content:"✦";color:var(--cyan);margin-right:8px}
.showcase{height:620px;position:relative;perspective:1200px}.show-card{position:absolute;border:1px solid var(--line);border-radius:30px;background:linear-gradient(145deg,rgba(20,29,55,.96),rgba(8,11,20,.96));box-shadow:var(--shadow);overflow:hidden}.show-card:after{content:"";position:absolute;inset:0;background:linear-gradient(150deg,rgba(255,255,255,.11),transparent 25%,transparent 70%,rgba(41,221,255,.08));pointer-events:none}.show-main{width:67%;height:82%;right:3%;top:4%;transform:rotateY(-8deg) rotateZ(4deg)}.show-back{width:58%;height:70%;left:0;bottom:1%;transform:rotateY(9deg) rotateZ(-6deg)}.show-art{height:64%;display:grid;place-items:center;font-size:7rem;background:radial-gradient(circle at 50% 30%,rgba(41,221,255,.34),transparent 42%),linear-gradient(145deg,#121c3a,#10101e)}.show-back .show-art{background:radial-gradient(circle at 50% 30%,rgba(255,79,216,.25),transparent 42%),linear-gradient(145deg,#2b123b,#0f1325)}.show-copy{padding:22px}.show-copy small{color:var(--cyan);font-weight:900;letter-spacing:.12em;text-transform:uppercase}.show-copy strong{display:block;font-size:1.35rem;margin-top:6px}.float-badge{position:absolute;right:0;bottom:55px;z-index:4;padding:14px 18px;border-radius:16px;background:rgba(10,15,28,.88);border:1px solid rgba(41,221,255,.3);backdrop-filter:blur(12px);box-shadow:0 18px 50px rgba(0,0,0,.35);font-weight:900}.float-badge b{color:var(--cyan)}
section{padding:82px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:36px}.section-head h2,.studio h2{font-size:clamp(2.4rem,4vw,4.5rem);line-height:.95;margin:10px 0 0;letter-spacing:-.05em}.section-head p{color:var(--muted);max-width:560px;line-height:1.7;margin:0}.games{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.game-card{position:relative;min-height:470px;border:1px solid var(--line);border-radius:28px;overflow:hidden;background:linear-gradient(160deg,#131b34,#090b13);padding:26px;display:flex;flex-direction:column;justify-content:flex-end;transition:.28s;isolation:isolate}.game-card:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 72% 12%,rgba(41,221,255,.23),transparent 34%),linear-gradient(0deg,rgba(5,7,13,.98),rgba(5,7,13,.16) 75%)}.game-card:nth-child(3n+2):before{background:radial-gradient(circle at 72% 12%,rgba(160,92,255,.28),transparent 34%),linear-gradient(0deg,rgba(5,7,13,.98),rgba(5,7,13,.16) 75%)}.game-card:nth-child(3n):before{background:radial-gradient(circle at 72% 12%,rgba(255,79,216,.19),transparent 34%),linear-gradient(0deg,rgba(5,7,13,.98),rgba(5,7,13,.16) 75%)}.game-card:hover{transform:translateY(-8px) scale(1.01);border-color:rgba(41,221,255,.42);box-shadow:0 30px 75px rgba(0,0,0,.42)}.game-card .game-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;opacity:.55;transition:.35s}.game-card:hover .game-bg{transform:scale(1.045);opacity:.68}.game-icon{width:88px;height:88px;border-radius:23px;display:grid;place-items:center;background:rgba(255,255,255,.09);font-size:2.55rem;border:1px solid var(--line);margin-bottom:auto;overflow:hidden;box-shadow:0 15px 35px rgba(0,0,0,.28)}.game-icon img{width:100%;height:100%;object-fit:cover}.game-card h3{font-size:1.82rem;margin:20px 0 8px;letter-spacing:-.02em}.game-card p{color:var(--muted);line-height:1.55;margin:0 0 18px}.tag{font-size:.7rem;font-weight:950;letter-spacing:.13em;color:var(--cyan);text-transform:uppercase}.card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:26px;overflow:hidden;background:rgba(255,255,255,.035);margin-top:22px}.stat{padding:28px;text-align:center;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat strong{display:block;font-size:2rem;letter-spacing:-.04em}.stat span{display:block;color:var(--muted);font-size:.82rem;margin-top:5px}
.studio{border:1px solid var(--line);border-radius:34px;padding:58px;background:radial-gradient(circle at 0 0,rgba(41,221,255,.11),transparent 38%),radial-gradient(circle at 100% 100%,rgba(160,92,255,.13),transparent 40%),#0b1020;display:grid;grid-template-columns:.9fr 1.1fr;gap:65px;box-shadow:var(--shadow)}.studio p{color:var(--muted);line-height:1.85;font-size:1.05rem}.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.feature{padding:16px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.035);font-weight:800}.feature b{color:var(--cyan)}
.cta{text-align:center;padding:120px 20px;position:relative;overflow:hidden}.cta:before{content:"";position:absolute;inset:10% 10%;background:radial-gradient(circle,rgba(85,119,255,.18),transparent 58%);filter:blur(20px)}.cta .wrap{position:relative}.cta h2{font-size:clamp(3.4rem,7vw,7rem);line-height:.85;letter-spacing:-.07em;margin:12px 0 28px}.site-footer{border-top:1px solid var(--line);padding:54px 0;color:var(--muted);background:rgba(0,0,0,.14)}.footer-grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.footer-links a:hover{color:var(--cyan)}
.page-hero{padding:90px 0 45px}.page-hero h1{font-size:clamp(3rem,6vw,6rem);letter-spacing:-.06em;margin:12px 0}.content-shell{padding:20px 0 90px}.content-card{border:1px solid var(--line);border-radius:28px;background:rgba(255,255,255,.035);padding:40px;line-height:1.8;color:#d8e0f2}.content-card h2,.content-card h3{color:#fff}.single-game-hero{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.single-game-cover{min-height:460px;border-radius:32px;border:1px solid var(--line);background:linear-gradient(145deg,#141d38,#0b0d16);overflow:hidden;display:grid;place-items:center;font-size:7rem;box-shadow:var(--shadow)}.single-game-cover img{width:100%;height:100%;object-fit:cover}
@media(min-width:1500px){.hero{padding:76px 0 84px}.hero-grid{gap:120px}.showcase{height:650px}.game-card{min-height:500px;padding:30px}.game-icon{width:98px;height:98px}.section-head{margin-bottom:44px}.studio{padding:70px 76px}.cta{padding:105px 20px}.lead{max-width:760px}.menu{gap:40px}}
@media(max-width:1250px) and (min-width:921px){.games{grid-template-columns:repeat(3,1fr)}.wrap{width:min(1120px,94vw)}.hero h1{font-size:clamp(4.4rem,7vw,7rem)}}
@media(max-width:920px){.menu{display:none}.hero{min-height:auto;padding:90px 0}.hero-grid,.studio,.single-game-hero{grid-template-columns:1fr}.showcase{height:410px;max-width:600px}.games{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}}@media(max-width:620px){.nav{height:72px}.brand{font-size:1rem}.brand-mark{width:34px;height:34px}.hero{padding:72px 0}.hero h1{font-size:3.75rem}.showcase{height:330px}.show-art{font-size:4.5rem}.float-badge{font-size:.78rem}.games{grid-template-columns:1fr}.game-card{min-height:390px}.studio{padding:30px}.feature-list{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.stats{grid-template-columns:1fr}.stat{border-right:0!important;border-bottom:1px solid var(--line)}.stat:last-child{border-bottom:0}.content-card{padding:25px}}

/* v1.3 — cinematic content system */
.hero-release{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;opacity:.2;filter:saturate(1.12)}
.release-strip{padding:38px 0 10px}.release-panel{position:relative;min-height:470px;border:1px solid var(--line);border-radius:34px;overflow:hidden;background:linear-gradient(115deg,#0b1326 0%,#0a0d18 45%,#221037 100%);box-shadow:var(--shadow);display:grid;grid-template-columns:1.05fr .95fr;align-items:center}
.release-panel:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 45%,rgba(41,221,255,.18),transparent 30%),linear-gradient(90deg,rgba(5,7,13,.08),rgba(5,7,13,.6));pointer-events:none}
.release-copy{padding:58px;position:relative;z-index:3}.release-copy h2{font-size:clamp(3rem,5vw,5.7rem);line-height:.9;letter-spacing:-.06em;margin:12px 0 18px}.release-copy p{color:var(--muted);font-size:1.06rem;line-height:1.7;max-width:620px}
.release-art{position:relative;z-index:2;height:470px;display:grid;place-items:center;overflow:hidden}.release-art img{width:100%;height:100%;object-fit:cover;mask-image:linear-gradient(90deg,transparent 0,#000 24%,#000 100%)}.release-placeholder{font-size:7rem;font-weight:1000;letter-spacing:-.08em;color:rgba(255,255,255,.08)}
.release-badge{display:inline-flex;padding:8px 12px;border:1px solid rgba(41,221,255,.32);border-radius:999px;background:rgba(41,221,255,.08);color:var(--cyan);font-size:.72rem;font-weight:950;letter-spacing:.14em;text-transform:uppercase}
.game-card.featured{grid-column:span 2;min-height:500px}.game-card.featured h3{font-size:2.25rem}.game-card.featured .game-icon{width:104px;height:104px}
.latest-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}.latest-card{border:1px solid var(--line);border-radius:28px;padding:34px;background:linear-gradient(145deg,rgba(18,27,52,.82),rgba(8,10,18,.88));min-height:240px}.latest-card h3{font-size:1.6rem;margin:8px 0}.latest-card p{color:var(--muted);line-height:1.65}
@media(max-width:920px){.release-panel,.latest-grid{grid-template-columns:1fr}.release-art{height:330px}.release-copy{padding:38px}.game-card.featured{grid-column:span 1}}
@media(max-width:620px){.release-copy{padding:28px}.release-panel{min-height:auto}.release-art{height:260px}}

/* v1.4 — game-detail, screenshots and mobile navigation */
.mobile-toggle{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.05);color:#fff;font-size:1.25rem;cursor:pointer}
.game-meta-row{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.meta-pill{padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);font-size:.76rem;font-weight:850;color:#dce5f7}
.screenshots{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.shot{aspect-ratio:9/16;border-radius:22px;overflow:hidden;border:1px solid var(--line);background:#0c1120;box-shadow:0 18px 50px rgba(0,0,0,.28)}.shot img{width:100%;height:100%;object-fit:cover;transition:.25s}.shot:hover img{transform:scale(1.035)}
.game-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px}.game-sidebar{border:1px solid var(--line);border-radius:26px;padding:26px;background:rgba(255,255,255,.035);height:max-content;position:sticky;top:110px}.game-sidebar h3{margin-top:0}.game-sidebar .btn{width:100%;margin-top:10px}
.admin-note{padding:15px;border-radius:14px;border:1px solid rgba(41,221,255,.25);background:rgba(41,221,255,.06)}
@media(max-width:920px){.mobile-toggle{display:grid;place-items:center}.site-header .menu{display:none;position:absolute;top:72px;left:4vw;right:4vw;padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(7,9,16,.98);box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:0}.site-header .menu.is-open{display:flex}.site-header .menu a{padding:13px}.site-header .nav>.btn-primary{display:none}.screenshots{grid-template-columns:repeat(2,1fr)}.game-detail-grid{grid-template-columns:1fr}.game-sidebar{position:static}}
@media(max-width:520px){.screenshots{grid-template-columns:1fr 1fr;gap:10px}.shot{border-radius:16px}}

/* v1.5 — studio polish, search/discovery, news and game filters */
.game-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 0 28px}.filter-row{display:flex;gap:9px;flex-wrap:wrap}.filter-btn{appearance:none;border:1px solid var(--line);background:rgba(255,255,255,.04);color:#dfe7f8;border-radius:999px;padding:10px 15px;font-weight:850;cursor:pointer}.filter-btn:hover,.filter-btn.is-active{border-color:rgba(41,221,255,.5);background:rgba(41,221,255,.1);color:#fff}.game-search{min-width:270px;border:1px solid var(--line);background:#0a0e19;color:#fff;border-radius:14px;padding:12px 15px;outline:none}.game-search:focus{border-color:rgba(41,221,255,.55);box-shadow:0 0 0 3px rgba(41,221,255,.08)}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.news-card{border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.035);overflow:hidden;transition:.25s}.news-card:hover{transform:translateY(-5px);border-color:rgba(41,221,255,.35)}.news-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#152649,#25123a);overflow:hidden}.news-thumb img{width:100%;height:100%;object-fit:cover}.news-copy{padding:24px}.news-copy h3{margin:7px 0 9px;font-size:1.35rem}.news-copy p{color:var(--muted);line-height:1.55}.news-date{font-size:.72rem;color:var(--cyan);font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.no-games{display:none;padding:35px;border:1px solid var(--line);border-radius:22px;color:var(--muted);text-align:center}
.back-top{position:fixed;right:22px;bottom:22px;width:46px;height:46px;border:1px solid var(--line);border-radius:14px;background:rgba(9,13,24,.88);backdrop-filter:blur(12px);color:#fff;display:grid;place-items:center;z-index:70;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s}.back-top.show{opacity:1;pointer-events:auto;transform:none}
@media(max-width:920px){.game-toolbar{align-items:stretch;flex-direction:column}.game-search{width:100%;min-width:0}.news-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.news-grid{grid-template-columns:1fr}}

/* v1.6 — premium studio settings, social/footer and accessibility polish */
.social-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.social-link{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.04);font-weight:950}.social-link:hover{border-color:rgba(41,221,255,.5);background:rgba(41,221,255,.09)}
.footer-columns{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:45px}.footer-col h4{color:#fff;margin:0 0 14px}.footer-col a{display:block;margin:9px 0}.footer-col a:hover{color:var(--cyan)}
.site-announcement{background:linear-gradient(90deg,rgba(41,221,255,.12),rgba(160,92,255,.15));border-bottom:1px solid var(--line);text-align:center;padding:9px 15px;font-size:.8rem;font-weight:850;color:#e9efff}.site-announcement a{color:var(--cyan)}
.skip-link{position:absolute;left:-9999px;top:10px;z-index:9999;padding:10px 14px;background:#fff;color:#000;border-radius:8px}.skip-link:focus{left:10px}
:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.hero-kicker{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);font-size:.76rem;color:#dce5f7;font-weight:850}
@media(max-width:920px){.footer-columns{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.footer-columns{grid-template-columns:1fr}}

/* v1.7 — premium homepage motion, featured rail, support/contact UI */
:root{--ease:cubic-bezier(.2,.7,.2,1)}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .65s var(--ease),transform .65s var(--ease)}.reveal.in{opacity:1;transform:none}
.feature-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(290px,390px);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px;scrollbar-width:thin}.feature-rail .mini-game{scroll-snap-align:start;min-height:220px;border:1px solid var(--line);border-radius:24px;padding:22px;position:relative;overflow:hidden;background:linear-gradient(145deg,#111a32,#090c16)}.mini-game img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.38}.mini-game:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#070a12 5%,transparent 80%)}.mini-copy{position:absolute;left:22px;right:22px;bottom:20px;z-index:2}.mini-copy h3{margin:5px 0;font-size:1.3rem}
.support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.support-card{border:1px solid var(--line);border-radius:24px;padding:28px;background:rgba(255,255,255,.035)}.support-card b{display:block;font-size:1.25rem;margin:10px 0}.support-icon{font-size:1.6rem;color:var(--cyan)}
.contact-box{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;border:1px solid var(--line);border-radius:30px;padding:42px;background:radial-gradient(circle at 0 0,rgba(41,221,255,.09),transparent 38%),#0a0f1d}.contact-list{display:grid;gap:12px}.contact-item{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.03)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.game-card,.news-card,.btn{transition:none!important}}
@media(max-width:920px){.support-grid{grid-template-columns:1fr 1fr}.contact-box{grid-template-columns:1fr}}
@media(max-width:620px){.support-grid{grid-template-columns:1fr}.contact-box{padding:26px}}

/* v2.0 — complete graphics management */
.hero.has-custom-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,6,11,.97) 0%,rgba(5,6,11,.82) 38%,rgba(5,6,11,.34) 70%,rgba(5,6,11,.72) 100%);z-index:0}.hero.has-custom-art .hero-grid{z-index:2}.hero-studio-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.72}
.brand-logo-img{max-height:54px;width:auto;display:block}.footer-logo-img{max-height:64px;width:auto;display:block;margin-bottom:14px}
.graphic-placeholder{position:relative;overflow:hidden;background:linear-gradient(145deg,#101a34,#170d29)}.graphic-placeholder:before{content:"ADD ARTWORK";position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.12);font-weight:1000;letter-spacing:.16em;font-size:.72rem}
.game-card .game-bg{z-index:-2}.game-card.no-art:after{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 75% 10%,rgba(41,221,255,.18),transparent 30%),linear-gradient(145deg,#111a32,#090b13)}
.news-thumb.no-art{position:relative}.news-thumb.no-art:after{content:"GRILLSY GAMES";position:absolute;inset:0;display:grid;place-items:center;font-weight:1000;letter-spacing:.12em;color:rgba(255,255,255,.16)}
.admin-art-guide{margin-top:14px;padding:15px 17px;border-left:4px solid #29ddff;background:#f0fbff}.admin-art-guide code{background:#fff;padding:2px 5px}

/* v2.1 — media-library first graphics workflow */
.game-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.game-gallery figure{margin:0;aspect-ratio:9/16;border-radius:22px;overflow:hidden;border:1px solid var(--line);background:#0c1120}.game-gallery img{width:100%;height:100%;object-fit:cover}
@media(max-width:920px){.game-gallery{grid-template-columns:repeat(2,1fr)}}

/* v2.3 — visual catalogue polish */
.game-card{isolation:isolate}.game-card .game-bg{opacity:.52;transition:transform .45s var(--ease),opacity .35s}.game-card:hover .game-bg{transform:scale(1.055);opacity:.64}
.game-card:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(5,7,13,.98) 4%,rgba(5,7,13,.72) 48%,rgba(5,7,13,.12) 100%)}
.game-icon{overflow:hidden}.game-icon img{width:100%;height:100%;object-fit:cover}
.catalogue-status{display:inline-flex;gap:7px;align-items:center;font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#cdd8ed}.catalogue-status i{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 14px rgba(41,221,255,.65)}
.game-card[data-genre*="Casino"] .tag{border-color:rgba(255,205,74,.35);color:#ffe07a}.game-card[data-genre*="Action"] .tag{border-color:rgba(255,92,130,.35);color:#ff8daa}

/* v2.4 — every published game on homepage */
.home-all-games{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-all-games .game-card{min-height:430px}
@media(max-width:1250px){.home-all-games{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:920px){.home-all-games{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.home-all-games{grid-template-columns:1fr}}

/* v2.8 — premium individual game pages */
.game-detail-hero{position:relative;min-height:660px;display:flex;align-items:flex-end;overflow:hidden;border-bottom:1px solid var(--line)}
.game-detail-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.58;filter:saturate(1.08)}
.game-detail-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#05070d 0%,rgba(5,7,13,.86) 38%,rgba(5,7,13,.35) 72%),linear-gradient(0deg,#05070d 0%,transparent 52%)}
.game-detail-inner{position:relative;z-index:2;width:100%;padding:150px 0 70px}
.game-detail-brand{display:flex;gap:24px;align-items:center;max-width:900px}.game-detail-icon{width:132px;height:132px;border-radius:28px;overflow:hidden;flex:0 0 auto;border:1px solid rgba(255,255,255,.18);box-shadow:0 18px 55px rgba(0,0,0,.38);background:#11182a}.game-detail-icon img{width:100%;height:100%;object-fit:cover}
.game-detail-title h1{font-size:clamp(2.8rem,5vw,6.2rem);line-height:.92;margin:7px 0 15px}.game-meta-row{display:flex;gap:9px;flex-wrap:wrap}.game-meta-pill{border:1px solid var(--line);background:rgba(8,12,22,.65);backdrop-filter:blur(8px);padding:8px 12px;border-radius:999px;font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.game-detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.game-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:54px;padding:72px 0}.game-copy{font-size:1.06rem;line-height:1.8}.game-copy h2{font-size:2rem;margin-top:0}.game-side-card{position:sticky;top:110px;border:1px solid var(--line);border-radius:24px;padding:25px;background:linear-gradient(145deg,rgba(19,27,49,.9),rgba(10,12,21,.92))}
.game-screens-section{padding:30px 0 76px}.game-screens-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.game-screens-head h2{margin:0;font-size:2.3rem}.game-gallery a{display:block;position:relative;height:100%}.game-gallery a:after{content:"VIEW";position:absolute;inset:auto 12px 12px auto;background:rgba(5,7,13,.8);padding:7px 9px;border-radius:8px;font-size:.65rem;font-weight:900;letter-spacing:.1em;opacity:0;transition:.2s}.game-gallery a:hover:after{opacity:1}
.grillsy-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(2,3,7,.94);display:none;align-items:center;justify-content:center;padding:30px}.grillsy-lightbox.is-open{display:flex}.grillsy-lightbox img{max-width:min(1200px,92vw);max-height:90vh;border-radius:18px}.grillsy-lightbox-close{position:absolute;right:25px;top:20px;border:0;background:transparent;color:#fff;font-size:38px;cursor:pointer}
.related-games{padding:72px 0;border-top:1px solid var(--line)}.related-games-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.related-games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.related-mini{position:relative;min-height:300px;border:1px solid var(--line);border-radius:24px;overflow:hidden;padding:25px;display:flex;align-items:flex-end;background:#0b1020}.related-mini img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}.related-mini:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,6,11,.98),rgba(4,6,11,.08))}.related-mini-content{position:relative;z-index:2}.related-mini h3{font-size:1.5rem;margin:5px 0}
.game-back-link{display:inline-flex;gap:8px;align-items:center;margin-bottom:24px;color:#dbe7f7;font-weight:800;text-decoration:none}
@media(max-width:900px){.game-detail-hero{min-height:570px}.game-detail-brand{align-items:flex-start}.game-detail-icon{width:94px;height:94px;border-radius:21px}.game-page-grid{grid-template-columns:1fr}.game-side-card{position:static}.related-games-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.game-detail-brand{display:block}.game-detail-icon{margin-bottom:18px}.related-games-grid{grid-template-columns:1fr}.game-detail-inner{padding-top:120px}.game-page-grid{padding-top:45px}}

/* v3.0 production */
.game-status{display:inline-flex;align-items:center;gap:7px}.game-status:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 12px rgba(41,221,255,.55)}
.game-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:35px 0 70px}.game-nav a{border:1px solid var(--line);border-radius:20px;padding:20px;text-decoration:none;background:rgba(14,19,34,.65)}.game-nav a:last-child{text-align:right}.game-nav small{display:block;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:800;margin-bottom:5px}
.grillsy-lightbox-prev,.grillsy-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.09);color:#fff;width:52px;height:64px;border-radius:14px;font-size:30px;cursor:pointer}.grillsy-lightbox-prev{left:22px}.grillsy-lightbox-next{right:22px}
.admin-health-table{width:100%;border-collapse:collapse}.admin-health-table td{padding:8px;border-bottom:1px solid #e2e4e7}.admin-health-ok{color:#008a20;font-weight:700}.admin-health-miss{color:#b32d2e;font-weight:700}
@media(max-width:600px){.game-nav{grid-template-columns:1fr}.game-nav a:last-child{text-align:left}.grillsy-lightbox-prev{left:6px}.grillsy-lightbox-next{right:6px}}

/* v3.2 — catalogue completion + Keno King flagship */
.keno-flagship{padding:52px 0 72px}.keno-flagship .release-panel{min-height:500px;position:relative;overflow:hidden}.keno-flagship .release-panel:before{content:"";position:absolute;inset:-30%;background:radial-gradient(circle at 75% 45%,rgba(0,224,255,.17),transparent 28%),radial-gradient(circle at 25% 70%,rgba(136,70,255,.18),transparent 32%);pointer-events:none}.keno-kicker{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.keno-status{border:1px solid rgba(255,255,255,.17);padding:7px 11px;border-radius:999px;font-size:.7rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;background:rgba(4,8,17,.55)}.keno-flagship .release-copy h2{font-size:clamp(3rem,5vw,6rem);line-height:.92}.keno-flagship .release-art img{filter:saturate(1.1);transform:scale(1.015)}
.game-card-status{display:inline-flex;margin:0 0 10px;padding:6px 9px;border:1px solid rgba(255,255,255,.14);border-radius:999px;font-size:.65rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase;background:rgba(5,8,15,.6)}
.grillsy-completion{height:8px;border-radius:999px;background:#e7e9ec;overflow:hidden;min-width:110px}.grillsy-completion span{display:block;height:100%;background:#2271b1}.grillsy-score{font-weight:800;white-space:nowrap}.grillsy-admin-note{margin:10px 0;padding:10px 12px;background:#f6f7f7;border-left:4px solid #2271b1}
\n/* v3.4 — Studio Showcase: homepage graphics + premium games catalogue */
.hero-showcase-games{position:relative;min-height:540px;perspective:1200px}.hero-game-tile{position:absolute;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:#101728;box-shadow:0 35px 80px rgba(0,0,0,.42);transition:transform .35s ease}.hero-game-tile img{width:100%;height:100%;object-fit:cover}.hero-game-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,7,14,.88),transparent 55%)}.hero-game-tile strong{position:absolute;z-index:2;left:18px;bottom:16px;color:#fff;font-size:1rem}.hero-game-tile:nth-child(1){width:58%;height:62%;right:5%;top:7%;transform:rotate(4deg)}.hero-game-tile:nth-child(2){width:48%;height:48%;left:2%;bottom:2%;transform:rotate(-7deg)}.hero-game-tile:nth-child(3){width:39%;height:37%;right:0;bottom:0;transform:rotate(7deg)}.hero-game-tile:hover{transform:rotate(0) translateY(-8px);z-index:5}.hero-showcase-mark{position:absolute;z-index:8;right:24%;top:39%;width:105px;height:105px;border-radius:26px;display:grid;place-items:center;background:rgba(7,12,24,.88);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px);font-weight:950;font-size:2rem;letter-spacing:-.08em;box-shadow:0 20px 55px rgba(0,0,0,.45)}
.catalogue-hero{padding-bottom:54px}.catalogue-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.75fr);gap:55px;align-items:center}.catalogue-feature{min-height:350px;border-radius:28px;overflow:hidden;position:relative;border:1px solid var(--line);display:flex;align-items:flex-end;padding:28px;background:#0c1324}.catalogue-feature>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.65}.catalogue-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,7,14,.98),rgba(4,7,14,.06) 75%)}.catalogue-feature-copy{position:relative;z-index:2}.catalogue-feature-copy h2{margin:7px 0 12px;font-size:2.1rem}.catalogue-feature-copy p{margin:0 0 17px;color:#d7e1f0}.catalogue-count{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.catalogue-count span{padding:8px 12px;border:1px solid var(--line);border-radius:999px;font-weight:800;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.catalogue-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.catalogue-grid .game-card{min-height:455px;isolation:isolate}.catalogue-grid .game-card .game-bg{opacity:.42;transition:transform .45s ease,opacity .35s ease}.catalogue-grid .game-card:hover .game-bg{transform:scale(1.05);opacity:.56}.catalogue-grid .game-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,8,15,.98) 0%,rgba(5,8,15,.7) 45%,rgba(5,8,15,.1) 82%);z-index:-1}.catalogue-grid .game-card>*:not(.game-bg){position:relative;z-index:2}.game-card-topline{display:flex;justify-content:space-between;gap:8px;align-items:center}.game-card-status{display:inline-flex;padding:6px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(7,12,22,.62);font-size:.66rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.game-card.featured{outline:1px solid rgba(58,221,255,.35);box-shadow:0 18px 55px rgba(15,115,175,.12)}.featured-ribbon{position:absolute!important;top:18px;right:18px!important;padding:7px 10px;border-radius:999px;background:linear-gradient(90deg,#36dcff,#866cff);color:#06101b;font-size:.65rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.catalogue-empty{text-align:center;padding:65px 20px;border:1px dashed var(--line);border-radius:22px;color:var(--muted)}
@media(max-width:1200px){.catalogue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.hero-showcase-games{min-height:400px}.catalogue-hero-grid{grid-template-columns:1fr}.catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.hero-showcase-games{min-height:330px}.hero-game-tile:nth-child(1){width:66%}.hero-game-tile:nth-child(2){width:55%}.hero-showcase-mark{width:76px;height:76px;font-size:1.5rem}.catalogue-grid{grid-template-columns:1fr}.catalogue-feature{min-height:290px}}\n

/* v3.6 — Mobile QA + speed polish */
img{max-width:100%;height:auto}
.game-card img,.related-mini img,.game-detail-hero-bg{content-visibility:auto}
@media (max-width:1100px){
  .wrap{width:min(94%,1200px)}
  .game-page-grid{gap:32px}
}
@media (max-width:820px){
  .game-detail-hero{min-height:520px}
  .game-detail-inner{padding-top:118px;padding-bottom:46px}
  .game-detail-title h1{font-size:clamp(2.5rem,10vw,4.7rem)}
  .game-detail-actions .btn{min-height:48px}
  .game-screens-head,.related-games-head{align-items:flex-start;flex-direction:column}
}
@media (max-width:560px){
  body{overflow-x:hidden}
  .wrap{width:min(92%,1200px)}
  .game-detail-hero{min-height:500px}
  .game-detail-hero:after{background:linear-gradient(0deg,#05070d 0%,rgba(5,7,13,.75) 55%,rgba(5,7,13,.28) 100%)}
  .game-detail-brand{display:block}
  .game-detail-icon{width:88px;height:88px;border-radius:20px;margin-bottom:16px}
  .game-detail-title h1{font-size:clamp(2.35rem,12vw,3.8rem);overflow-wrap:anywhere}
  .game-meta-row{gap:7px}
  .game-meta-pill{font-size:.67rem;padding:7px 9px}
  .game-detail-actions{display:grid;grid-template-columns:1fr}
  .game-detail-actions .btn{width:100%;justify-content:center}
  .game-page-grid{padding:42px 0;gap:28px}
  .game-side-card{padding:20px}
  .game-gallery{gap:12px}
  .related-games{padding:50px 0}
  .related-mini{min-height:260px}
  .game-nav{padding-bottom:48px}
}


/* v3.8 — Studio identity + AdMob verification */
.studio-hero{padding:150px 0 85px;position:relative;overflow:hidden}
.studio-hero:before{content:"";position:absolute;inset:-30% -10%;background:radial-gradient(circle at 25% 35%,rgba(41,221,255,.16),transparent 35%),radial-gradient(circle at 75% 45%,rgba(156,71,255,.16),transparent 38%);pointer-events:none}
.studio-hero .wrap{position:relative}.studio-hero h1{font-size:clamp(3rem,7vw,7rem);line-height:.9;max-width:950px;margin:.15em 0}
.studio-intro{max-width:820px;font-size:1.15rem;line-height:1.8}
.studio-values{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:25px 0 80px}
.studio-value{border:1px solid var(--line);border-radius:24px;padding:28px;background:linear-gradient(145deg,rgba(20,28,50,.82),rgba(8,11,20,.9))}
.studio-value strong{display:block;font-size:1.35rem;margin-bottom:10px}
.studio-games-strip{padding:75px 0;border-top:1px solid var(--line)}
.studio-games-strip h2{font-size:clamp(2.2rem,4vw,4rem);margin-top:8px}
@media(max-width:800px){.studio-values{grid-template-columns:1fr}.studio-hero{padding-top:120px}}


/* v4.0 — launch-ready polish */
.launch-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}
.launch-status-card{border:1px solid var(--line);border-radius:18px;padding:18px;background:rgba(13,18,32,.72)}
.launch-status-card strong{display:block;font-size:1.55rem}.launch-status-card span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.site-footer a:focus-visible,.btn:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:16px;top:16px;z-index:100000;background:#fff;color:#000;padding:12px 16px;border-radius:8px}
@media(max-width:850px){.launch-status-grid{grid-template-columns:1fr 1fr}}
@media(max-width:500px){.launch-status-grid{grid-template-columns:1fr}}

/* v4.2 — Keno launch refinement */
.keno-shot-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px;max-width:720px}
.keno-shot-preview img{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:14px;border:1px solid rgba(255,255,255,.14);box-shadow:0 12px 30px rgba(0,0,0,.25)}
.keno-launch-note{display:inline-flex;align-items:center;gap:8px;margin-top:15px;font-size:.8rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
@media(max-width:600px){.keno-shot-preview{gap:7px}.keno-shot-preview img{border-radius:10px}}


/* v4.4 — Slots showcase + homepage final graphics polish */
.slots-showcase{padding:88px 0;border-top:1px solid var(--line);background:linear-gradient(180deg,rgba(24,10,38,.25),rgba(5,8,15,.05))}
.slots-showcase-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}
.slots-showcase-head h2{font-size:clamp(2.5rem,5vw,5rem);line-height:.95;margin:8px 0}
.slots-showcase-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.slot-feature{position:relative;min-height:480px;border:1px solid rgba(255,255,255,.13);border-radius:30px;overflow:hidden;display:flex;align-items:flex-end;padding:30px;background:#0b0b16;text-decoration:none}
.slot-feature-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.58;transition:transform .45s ease,opacity .45s ease}
.slot-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,5,10,.98) 5%,rgba(4,5,10,.22) 72%)}
.slot-feature:hover .slot-feature-bg{transform:scale(1.035);opacity:.68}
.slot-feature-content{position:relative;z-index:2}.slot-feature-content h3{font-size:clamp(2rem,3vw,3.5rem);margin:6px 0 12px}
.slot-feature-icon{width:76px;height:76px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.18);margin-bottom:14px}
.slot-feature-icon img{width:100%;height:100%;object-fit:cover}
.home-studio-banner{position:relative;margin:0 auto 85px;width:min(94%,1500px);border:1px solid var(--line);border-radius:32px;overflow:hidden;padding:55px;background:linear-gradient(115deg,rgba(20,35,70,.9),rgba(42,16,68,.82))}
.home-studio-banner:before{content:"";position:absolute;width:430px;height:430px;border-radius:50%;right:-120px;top:-220px;background:radial-gradient(circle,rgba(41,221,255,.28),transparent 67%)}
.home-studio-banner>*{position:relative}.home-studio-banner h2{font-size:clamp(2.3rem,4vw,4.6rem);max-width:850px;margin:8px 0 14px}.home-studio-banner p{max-width:760px;font-size:1.05rem;line-height:1.75}
@media(max-width:800px){.slots-showcase-grid{grid-template-columns:1fr}.slot-feature{min-height:400px}.slots-showcase-head{align-items:flex-start;flex-direction:column}.home-studio-banner{padding:35px 25px;border-radius:24px}}

/* v4.6 — live QA/admin verification */
.qa-good{color:#35d98a;font-weight:800}.qa-warn{color:#ffcf5a;font-weight:800}
.qa-table{width:100%;border-collapse:collapse}.qa-table td{padding:8px 6px;border-bottom:1px solid #ddd}


/* v5.8 — Screenshot gallery: preserve the complete Play Store screenshot */
.game-shots,
.game-screenshots,
.gg-screenshots,
.screenshot-gallery {
  align-items: flex-start;
}

.game-shots img,
.game-screenshots img,
.gg-screenshots img,
.screenshot-gallery img,
.game-shot img,
.screenshot-card img,
.shot img {
  width: auto !important;
  max-width: 100% !important;
  height: min(68vh, 720px) !important;
  max-height: 720px !important;
  object-fit: contain !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  display: block;
}

.game-shot,
.screenshot-card,
.shot {
  overflow: hidden;
}

@media (max-width: 782px) {
  .game-shots img,
  .game-screenshots img,
  .gg-screenshots img,
  .screenshot-gallery img,
  .game-shot img,
  .screenshot-card img,
  .shot img {
    height: min(66vh, 620px) !important;
    width: auto !important;
    object-fit: contain !important;
  }
}

/* v5.8 template-specific screenshot safeguards */
.game-screens-head img{object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;}
.game-screens-section img{object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;}
.grillsy-shot img{object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;}


/* v5.12 — all-games screenshot presentation */
.game-screens-section .grillsy-shots,
.game-screens-section .game-screenshots,
.game-screens-section .screenshot-gallery {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:16px !important;
  align-items:flex-start !important;
}
.game-screens-section .grillsy-shot {
  flex:0 1 auto !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.game-screens-section .grillsy-shot img {
  width:auto !important;
  height:auto !important;
  max-width:min(100%,720px) !important;
  max-height:620px !important;
  object-fit:contain !important;
  object-position:center !important;
  aspect-ratio:auto !important;
  display:block !important;
}
.game-screens-section .grillsy-shot .view,
.game-screens-section .grillsy-shot [class*="view"] {
  opacity:1;
}
@media (max-width:782px){
 .game-screens-section .grillsy-shot{max-width:100%!important;}
 .game-screens-section .grillsy-shot img{max-width:100%!important;max-height:70vh!important;}
}


/* v5.14 — FINAL automatic screenshot sizing for every game */
.game-screens-section .grillsy-shot,
.game-screens-section a.grillsy-shot {
  display:inline-flex !important;
  flex:0 0 auto !important;
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border-radius:16px !important;
  overflow:hidden !important;
  vertical-align:top !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
}
.game-screens-section .grillsy-shot img {
  display:block !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  max-height:520px !important;
  max-width:min(760px,100%) !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 !important;
}
.game-screens-section .grillsy-shot:has(img[width][height]) {
  aspect-ratio:auto !important;
}
@media (max-width:782px){
  .game-screens-section .grillsy-shot,
  .game-screens-section a.grillsy-shot {
    max-width:100% !important;
  }
  .game-screens-section .grillsy-shot img {
    max-width:100% !important;
    max-height:70vh !important;
  }
}


/* v5.14.1 — actual root-cause fix: old .game-gallery figure forced 9/16 */
.game-screens-section .game-gallery{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:start !important;
}
.game-screens-section .game-gallery figure{
  margin:0 !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:transparent !important;
}
.game-screens-section .game-gallery figure > a.grillsy-shot{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  background:transparent !important;
}
.game-screens-section .game-gallery figure > a.grillsy-shot > img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}
@media(max-width:920px){
 .game-screens-section .game-gallery{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:560px){
 .game-screens-section .game-gallery{grid-template-columns:1fr !important;}
}


/* v5.16.1 — actual single-game template layout */
.game-detail-inner{padding:120px 0 52px !important}
.game-detail-brand{gap:28px !important;align-items:center !important;max-width:980px !important}
.game-detail-icon{
 width:132px !important;height:132px !important;min-width:132px !important;
 border-radius:28px !important;margin:0 !important;transform:none !important;
 overflow:hidden !important;background:#10172a !important;
 border:1px solid rgba(91,231,255,.32) !important;
 box-shadow:0 18px 55px rgba(0,0,0,.42),0 0 28px rgba(70,213,255,.10) !important
}
.game-detail-icon img{width:100% !important;height:100% !important;object-fit:contain !important;display:block !important}
.game-page-grid{padding:50px 0 46px !important;gap:48px !important;align-items:start !important}
.game-copy{max-width:860px}
.game-copy .lead{font-size:1.15rem;line-height:1.65;color:#e8efff;margin:14px 0 22px}
.game-copy .game-full-description{line-height:1.8}
.game-copy .game-full-description p{margin:0 0 1.05em}
.game-side-card{top:96px}
@media(max-width:900px){
 .game-detail-inner{padding:108px 0 42px !important}
 .game-detail-icon{width:104px !important;height:104px !important;min-width:104px !important;border-radius:23px !important}
 .game-page-grid{padding:40px 0 !important}
}
@media(max-width:600px){
 .game-detail-brand{display:flex !important;gap:16px !important;align-items:flex-start !important}
 .game-detail-icon{width:82px !important;height:82px !important;min-width:82px !important;border-radius:18px !important;margin:0 !important}
 .game-detail-title h1{font-size:clamp(2.35rem,13vw,4rem)}
}

/* v5.16.2 definitive icon alignment */
.game-detail-inner .game-detail-brand{display:flex!important;align-items:center!important;gap:26px!important;padding-left:0!important;margin-left:0!important}
.game-detail-inner .game-detail-icon{position:relative!important;inset:auto!important;margin:0!important;transform:none!important;flex:0 0 132px!important;width:132px!important;height:132px!important}
.game-detail-inner .game-detail-icon img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
.game-detail-inner .game-detail-title{min-width:0!important}
@media(max-width:600px){.game-detail-inner .game-detail-brand{gap:14px!important}.game-detail-inner .game-detail-icon{flex-basis:82px!important;width:82px!important;height:82px!important}}


/* v5.16.3 — visible page fix. These rules target the exact live template. */
.game-detail-hero .wrap.game-detail-inner{
 width:min(1480px,88vw)!important;
 margin-left:auto!important;
 margin-right:auto!important;
 padding-left:0!important;
 padding-right:0!important;
}
.game-detail-hero .game-back-link{margin-left:0!important}
.game-detail-hero .game-detail-brand{
 margin-left:0!important;padding-left:0!important;
 display:flex!important;align-items:center!important;gap:28px!important
}
.game-detail-hero .game-detail-icon{
 position:static!important;left:auto!important;right:auto!important;top:auto!important;
 transform:none!important;margin:0!important;
 width:132px!important;height:132px!important;min-width:132px!important;flex:0 0 132px!important
}
.game-detail-hero .game-detail-icon img{width:100%!important;height:100%!important;object-fit:contain!important}
.game-page-grid{padding-top:42px!important;padding-bottom:42px!important}
.game-copy .game-full-description{max-width:850px!important}
.game-copy .game-full-description p{font-size:1.03rem;line-height:1.78;margin:0 0 16px}
@media(max-width:820px){
 .game-detail-hero .wrap.game-detail-inner{width:min(92vw,1200px)!important}
 .game-detail-hero .game-detail-icon{width:96px!important;height:96px!important;min-width:96px!important;flex-basis:96px!important}
}
@media(max-width:560px){
 .game-detail-hero .game-detail-brand{display:flex!important;align-items:flex-start!important;gap:15px!important}
 .game-detail-hero .game-detail-icon{width:78px!important;height:78px!important;min-width:78px!important;flex-basis:78px!important}
}


/* ==========================================================
   v5.42 — RESPONSIVE MIXED-ORIENTATION GAME SCREENSHOTS
   Supports portrait, landscape and mixed galleries.
   ========================================================== */
.single-game .game-gallery,
.single-game .game-screenshots .game-gallery {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:start !important;
}
.single-game .game-gallery figure,
.single-game .game-screenshots .game-gallery figure {
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  margin:0 !important;
  overflow:hidden !important;
  border-radius:14px;
  background:#070b16;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.single-game .game-gallery figure a,
.single-game .game-screenshots .game-gallery figure a {
  display:flex !important;
  width:100% !important;
  height:auto !important;
  align-items:center !important;
  justify-content:center !important;
}
.single-game .game-gallery img,
.single-game .game-screenshots .game-gallery img {
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  max-height:620px !important;
  object-fit:contain !important;
  margin:0 auto !important;
}
@media (max-width:1000px){
 .single-game .game-gallery,
 .single-game .game-screenshots .game-gallery{
   grid-template-columns:repeat(2,minmax(0,1fr)) !important;
 }
 .single-game .game-gallery img,
 .single-game .game-screenshots .game-gallery img{max-height:560px !important;}
}
@media (max-width:620px){
 .single-game .game-gallery,
 .single-game .game-screenshots .game-gallery{
   grid-template-columns:1fr !important;
   gap:14px !important;
 }
 .single-game .game-gallery img,
 .single-game .game-screenshots .game-gallery img{
   max-width:100% !important;
   max-height:72vh !important;
 }
}


/* v5.44 — FINAL GAME GALLERY CARD SIZING
   Applies to every game and every screenshot orientation. */
body.single-game .game-gallery,
body.single-game .game-screenshots .game-gallery,
body.single-game .screenshots-grid {
 display:grid !important;
 grid-template-columns:repeat(3,minmax(0,1fr)) !important;
 gap:18px !important;
 align-items:stretch !important;
}
body.single-game .game-gallery figure,
body.single-game .game-screenshots .game-gallery figure,
body.single-game .screenshots-grid figure {
 aspect-ratio:16/10 !important;
 width:100% !important;
 height:auto !important;
 max-height:none !important;
 min-height:0 !important;
 overflow:hidden !important;
 margin:0 !important;
 display:flex !important;
 align-items:center !important;
 justify-content:center !important;
 background:#050914 !important;
 border-radius:14px !important;
}
body.single-game .game-gallery figure > a,
body.single-game .game-screenshots .game-gallery figure > a,
body.single-game .screenshots-grid figure > a {
 width:100% !important;
 height:100% !important;
 display:flex !important;
 align-items:center !important;
 justify-content:center !important;
}
body.single-game .game-gallery figure img,
body.single-game .game-screenshots .game-gallery figure img,
body.single-game .screenshots-grid figure img {
 width:100% !important;
 height:100% !important;
 max-width:100% !important;
 max-height:100% !important;
 object-fit:contain !important;
 object-position:center center !important;
 display:block !important;
}
@media(max-width:1000px){
 body.single-game .game-gallery,
 body.single-game .game-screenshots .game-gallery,
 body.single-game .screenshots-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:620px){
 body.single-game .game-gallery,
 body.single-game .game-screenshots .game-gallery,
 body.single-game .screenshots-grid{grid-template-columns:1fr !important;}
 body.single-game .game-gallery figure,
 body.single-game .game-screenshots .game-gallery figure,
 body.single-game .screenshots-grid figure{aspect-ratio:4/3 !important;}
}


/* ==========================================================
   v5.45 — FULL SCREENSHOT, NO CROPPING
   Compact cards remain; portrait/landscape images are fully visible.
   ========================================================== */
body.single-game .game-gallery figure,
body.single-game .game-screenshots .game-gallery figure,
body.single-game .screenshots-grid figure {
  aspect-ratio:16/10 !important;
  position:relative !important;
  overflow:hidden !important;
  background:#050914 !important;
}
body.single-game .game-gallery figure > a,
body.single-game .game-screenshots .game-gallery figure > a,
body.single-game .screenshots-grid figure > a {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#050914 !important;
}
body.single-game .game-gallery figure img,
body.single-game .game-screenshots .game-gallery figure img,
body.single-game .screenshots-grid figure img,
body.single-game .game-gallery figure > a > img,
body.single-game .game-screenshots .game-gallery figure > a > img,
body.single-game .screenshots-grid figure > a > img {
  position:static !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:none !important;
}
@media(max-width:620px){
 body.single-game .game-gallery figure,
 body.single-game .game-screenshots .game-gallery figure,
 body.single-game .screenshots-grid figure {
   aspect-ratio:4/3 !important;
 }
}


/* ==========================================================
   v5.46 — ORIENTATION-AWARE SCREENSHOT GALLERY
   Portrait remains portrait; landscape remains landscape.
   ========================================================== */
body.single-game .game-gallery,
body.single-game .game-screenshots .game-gallery,
body.single-game .screenshots-grid{
 display:grid !important;
 grid-template-columns:repeat(12,minmax(0,1fr)) !important;
 gap:18px !important;
 align-items:start !important;
}
body.single-game .game-gallery figure,
body.single-game .game-screenshots .game-gallery figure,
body.single-game .screenshots-grid figure{
 grid-column:span 4 !important;
 aspect-ratio:auto !important;
 height:auto !important;
 min-height:0 !important;
 max-height:none !important;
 position:relative !important;
 overflow:hidden !important;
 margin:0 !important;
 display:block !important;
 background:#050914 !important;
 border-radius:14px !important;
}
body.single-game .game-gallery figure > a,
body.single-game .game-screenshots .game-gallery figure > a,
body.single-game .screenshots-grid figure > a{
 position:static !important;
 inset:auto !important;
 display:block !important;
 width:100% !important;
 height:auto !important;
 background:#050914 !important;
}
body.single-game .game-gallery figure img,
body.single-game .game-screenshots .game-gallery figure img,
body.single-game .screenshots-grid figure img{
 display:block !important;
 position:static !important;
 width:100% !important;
 height:auto !important;
 max-width:100% !important;
 max-height:none !important;
 object-fit:contain !important;
 object-position:center !important;
 transform:none !important;
}

/* JS marks the real downloaded image orientation. */
body.single-game .game-gallery figure.gg-portrait,
body.single-game .game-screenshots .game-gallery figure.gg-portrait,
body.single-game .screenshots-grid figure.gg-portrait{
 grid-column:span 3 !important;
 max-width:290px !important;
 justify-self:center !important;
}
body.single-game figure.gg-portrait img{
 width:100% !important;
 height:auto !important;
 aspect-ratio:auto !important;
}
body.single-game .game-gallery figure.gg-landscape,
body.single-game .game-screenshots .game-gallery figure.gg-landscape,
body.single-game .screenshots-grid figure.gg-landscape{
 grid-column:span 4 !important;
}
body.single-game .game-gallery figure.gg-square,
body.single-game .game-screenshots .game-gallery figure.gg-square,
body.single-game .screenshots-grid figure.gg-square{
 grid-column:span 3 !important;
 max-width:320px !important;
 justify-self:center !important;
}
@media(max-width:1000px){
 body.single-game .game-gallery figure,
 body.single-game .game-screenshots .game-gallery figure,
 body.single-game .screenshots-grid figure,
 body.single-game .game-gallery figure.gg-landscape,
 body.single-game .game-screenshots .game-gallery figure.gg-landscape,
 body.single-game .screenshots-grid figure.gg-landscape{grid-column:span 6 !important;}
 body.single-game .game-gallery figure.gg-portrait,
 body.single-game .game-screenshots .game-gallery figure.gg-portrait,
 body.single-game .screenshots-grid figure.gg-portrait{grid-column:span 4 !important;}
}
@media(max-width:620px){
 body.single-game .game-gallery,
 body.single-game .game-screenshots .game-gallery,
 body.single-game .screenshots-grid{grid-template-columns:1fr !important;}
 body.single-game .game-gallery figure,
 body.single-game .game-screenshots .game-gallery figure,
 body.single-game .screenshots-grid figure,
 body.single-game .game-gallery figure.gg-portrait,
 body.single-game .game-screenshots .game-gallery figure.gg-portrait,
 body.single-game .screenshots-grid figure.gg-portrait,
 body.single-game .game-gallery figure.gg-landscape,
 body.single-game .game-screenshots .game-gallery figure.gg-landscape,
 body.single-game .screenshots-grid figure.gg-landscape,
 body.single-game .game-gallery figure.gg-square,
 body.single-game .game-screenshots .game-gallery figure.gg-square,
 body.single-game .screenshots-grid figure.gg-square{
   grid-column:auto !important;
   width:100% !important;
   max-width:100% !important;
 }
 body.single-game figure.gg-portrait img{
   width:auto !important;
   max-width:min(72vw,330px) !important;
   margin:0 auto !important;
 }
}
