/* ParkStarGames official home concept. Custom styling keeps the supplied mockup
   visually consistent and works on file:// without CDN dependencies. */
:root{color-scheme:dark;--black:#020803;--panel:#020b06;--lime:#88ff12;--lime2:#55e900;--lime-soft:#c5ff52;--muted:#bac8c5;--line:rgba(119,255,15,.56);--glow:0 0 12px rgba(104,255,1,.55),0 0 26px rgba(80,252,5,.27);--max:1340px;--edge:clamp(18px,4.2vw,52px)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:75px}
body{margin:0;min-width:320px;background:var(--black);color:#fff;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
:focus-visible{outline:3px solid var(--lime-soft)!important;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;z-index:999;top:-80px;left:16px;background:var(--lime);color:#031700;padding:10px 15px;border-radius:7px}.skip-link:focus{top:12px}
.site-header{height:63px;position:relative;z-index:20;background:linear-gradient(90deg,#040b07 0%,#061007 72%,#020906 100%);border-bottom:1px solid rgba(135,255,20,.76);box-shadow:0 2px 9px rgba(26,255,7,.22)}
.site-header::after{content:"";pointer-events:none;position:absolute;right:0;bottom:-1px;width:43px;height:33px;border-bottom:1px solid var(--lime);background:linear-gradient(136deg,transparent 47%,rgba(98,255,4,.8) 49%,transparent 51%);opacity:.7}
.header-inner{height:100%;width:100%;max-width:1500px;margin:auto;padding:0 clamp(15px,3vw,39px);display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;min-width:0}.brand-icon{width:61px;height:47px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 1px 1px rgba(0,0,0,.5))}.brand-name{font-size:clamp(21px,2.6vw,30px);font-weight:900;letter-spacing:-1.8px;line-height:1}.brand-name span{color:#80ee20}
.desktop-nav{display:flex;align-items:stretch;gap:clamp(17px,2.1vw,30px);margin-left:auto;height:100%}.nav-link{position:relative;display:flex;align-items:center;justify-content:center;font-size:12px;white-space:nowrap;font-weight:600;color:#f5f7f3;transition:color .2s ease}.nav-link:hover,.nav-link.active{color:#fff;text-shadow:0 0 9px rgba(131,255,28,.7)}.nav-link.active::after,.nav-link:hover::after{content:"";height:3px;position:absolute;bottom:15px;left:0;right:0;background:var(--lime);box-shadow:0 0 12px #84ff18}
.header-tools{display:flex;align-items:center;gap:4px}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:6px;background:transparent;color:white}.icon-button:hover{color:var(--lime);background:rgba(93,255,15,.08)}.icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.menu-toggle{display:none}.mobile-nav{position:absolute;top:100%;left:0;right:0;background:rgba(2,10,5,.98);border-bottom:1px solid var(--line);padding:12px 24px;box-shadow:0 12px 25px #000d}.mobile-nav:not([hidden]){display:flex;flex-direction:column}.mobile-nav a{padding:12px 4px;border-bottom:1px solid #16261b;font-size:14px}.mobile-nav a:hover{color:var(--lime)}
.hero{height:421px;position:relative;isolation:isolate;overflow:hidden;background:#050a07}
.hero-backdrop{position:absolute;inset:0;z-index:-2;background-image:linear-gradient(90deg,rgba(1,8,3,.95) 0%,rgba(1,8,3,.86) 12%,rgba(1,8,3,.62) 31%,rgba(0,5,5,.15) 56%,rgba(1,8,3,.03) 83%),linear-gradient(0deg,rgba(0,5,2,.46),transparent 27%),url('../assets/home-hero-art.webp');background-position:center,center,center center;background-size:cover;filter:saturate(1.22) contrast(1.07)}
.hero::after{content:"";pointer-events:none;position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#a0ff26,transparent 15%,#6bff05 84%,#c2ff3b);box-shadow:0 0 10px #9dff0b,0 0 21px rgba(117,255,7,.72)}
.hero-content{position:relative;z-index:1;width:min(49%,550px);padding:55px 0 0 var(--edge)}.eyebrow{margin:0;color:#97ff34;font-size:10px;font-weight:800;letter-spacing:4.5px;line-height:1.2}
.hero h1{font-size:clamp(43px,5.8vw,64px);font-weight:900;letter-spacing:-3.5px;line-height:.91;margin:14px 0 12px;white-space:nowrap;text-shadow:0 2px 2px rgba(0,0,0,.45)}.hero h1 span{color:#8cff1b;text-shadow:0 0 25px rgba(120,255,24,.12)}.hero-copy{color:#e2e8e6;font-size:14.5px;line-height:1.3;max-width:395px;margin:0 0 18px;text-shadow:0 1px 4px #000}.hero-actions{display:flex;gap:14px;align-items:center}
.btn{height:39px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 15px;white-space:nowrap;font-size:10px;font-weight:900;letter-spacing:.45px;transition:transform .2s,box-shadow .2s,filter .2s}.btn:hover{transform:translateY(-2px);filter:brightness(1.15)}.btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-linejoin:round;stroke-linecap:round;stroke-width:2}.btn-primary{background:linear-gradient(95deg,#5de600 0%,#a5ff1e 100%);box-shadow:inset 0 0 0 1px #a6ff60,var(--glow);color:#fff;text-shadow:0 1px 2px #216100}.btn-primary svg{stroke-width:2.4}.arrow-icon{font-size:22px;font-weight:400;margin-left:2px}.btn-outline{color:#fff;border:1px solid #8bff38;background:rgba(1,8,4,.85);box-shadow:inset 0 0 0 1px rgba(17,79,15,.55),0 0 8px rgba(108,255,4,.4)}
.hero-slogan{display:none;position:absolute;right:28px;bottom:35px;z-index:1;margin:0;transform:rotate(-8deg);text-align:right;font-family:"Segoe Print","Comic Sans MS",cursive;font-style:italic;font-weight:600;font-size:17px;line-height:1.12;color:white;text-shadow:1px 1px 3px #000}.hero-slogan span{display:block;background:var(--lime);height:3px;box-shadow:0 0 9px var(--lime);transform:rotate(-12deg);margin-top:6px}.corner-cut{position:absolute;bottom:0;left:0;width:95px;height:22px;background:linear-gradient(151deg,rgba(82,235,16,.14) 1%,transparent 60%);border-top:1px solid #7bff1c;clip-path:polygon(0 100%,0 30%,73% 0,100% 100%)}
.section{position:relative;isolation:isolate}.neon-section{background:radial-gradient(ellipse 48% 24% at 51% 100%,rgba(12,64,6,.15),transparent),linear-gradient(180deg,#010903 0%,#010702 80%,#001004 100%)}.neon-section::before,.neon-section::after{pointer-events:none;content:"";position:absolute;left:0;right:0;height:1px;background:linear-gradient(90deg,rgba(97,255,6,.4),var(--lime) 48%,rgba(64,193,6,.35));box-shadow:0 0 10px rgba(95,255,0,.68)}.neon-section::before{top:0}.neon-section::after{bottom:0}
.games-section{padding:15px 11px 1px;max-width:1500px;margin:auto}.section-heading{display:flex;align-items:flex-end;gap:30px;position:relative}.games-heading{padding:0 calc(var(--edge) - 11px) 9px;min-height:70px}.heading-title-wrap{flex:0 0 auto}.section-heading .eyebrow{font-size:10px;letter-spacing:3.2px;margin:0 0 3px}.heading-with-line{display:flex;align-items:center;gap:20px}.heading-with-line h2{font-size:clamp(35px,4.5vw,47px);line-height:1;font-weight:900;letter-spacing:-2.6px;margin:0;white-space:nowrap}.heading-with-line h2 span{color:#81f620}.heading-with-line i{height:1px;background:var(--lime);width:62px;display:block;box-shadow:0 0 4px rgba(110,255,10,.7)}.section-subtitle{font-size:12px;line-height:1.35;color:#c9d3cd;margin:0 0 6px;max-width:450px}.carousel-controls{margin-left:auto;display:flex;gap:14px;padding-bottom:7px}.circle-arrow{color:#fefefe;border:1px solid var(--lime);border-radius:50%;display:inline-flex;justify-content:center;align-items:center;width:29px;height:29px;background:#06110a;box-shadow:0 0 8px rgba(95,255,4,.3);transition:background .2s,transform .2s}.circle-arrow:hover{background:#2c6a10;transform:scale(1.07)}.circle-arrow span{display:block;font-size:25px;line-height:0;transform:translateY(-2px)}
.games-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;min-height:0}.game-cover{display:block;position:relative;overflow:hidden;border-radius:7px;border:1px solid #3ab70b;outline:1px solid rgba(35,94,12,.2);background:#050d06;box-shadow:0 0 0 1px rgba(59,255,20,.07);transition:transform .22s,border-color .22s,box-shadow .22s}.game-cover:hover,.game-cover:focus-visible{transform:translateY(-5px);border-color:#b7ff40;box-shadow:0 7px 25px rgba(66,255,0,.23),0 0 15px rgba(66,255,0,.25)}.game-cover img{display:block;width:100%;height:auto;aspect-ratio:210/287;object-fit:fill}.game-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 85%,rgba(10,66,0,.13));pointer-events:none}
.news-section{padding:17px var(--edge) 28px;max-width:1500px;margin:auto}.news-heading{padding:0 0 8px;min-height:63px;gap:28px}.news-heading .heading-with-line i{width:55px}.news-heading .section-subtitle{max-width:none;flex:1;margin-bottom:8px}.small-outline-button{color:#e8f8e0;border:1px solid var(--lime);border-radius:6px;background:#010b04;font-size:10px;font-weight:800;white-space:nowrap;padding:7px 13px;margin:0 0 8px auto;box-shadow:0 0 8px rgba(108,255,17,.3);transition:background .2s,box-shadow .2s}.small-outline-button:hover{background:#16340a;box-shadow:var(--glow)}.small-outline-button span{font-size:15px;margin-left:5px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.news-card{min-width:0;position:relative;overflow:hidden;background:linear-gradient(180deg,#09180c 0%,#020a05 100%);border:1px solid #42d50d;border-radius:8px;box-shadow:0 0 9px rgba(57,226,17,.08);transition:transform .2s,box-shadow .2s}.news-card:hover{box-shadow:0 0 20px rgba(68,255,8,.23);transform:translateY(-2px)}.news-image{height:113px;width:100%;object-fit:cover;object-position:center}.news-card::before{position:absolute;content:"";z-index:1;left:0;right:0;top:73px;height:41px;background:linear-gradient(transparent,#020905);pointer-events:none}.news-body{min-height:79px;padding:0 42px 8px 14px;position:relative}.news-meta{display:flex;align-items:center;gap:11px;font-size:9px;color:#c8cec5;white-space:nowrap;margin:-2px 0 6px;position:relative;z-index:2}.news-type{background:#7efe19;border-radius:3px;color:#002300;padding:4px 9px;font-weight:900;font-size:10px;letter-spacing:.2px}.news-card h3{font-size:14px;line-height:1.15;margin:0 0 5px;font-weight:800;letter-spacing:-.15px}.news-card p{font-size:11px;line-height:1.3;color:#cbd1cd;margin:0}.news-open{position:absolute;bottom:18px;right:12px;width:28px;height:28px;z-index:2}
.site-footer{position:relative;background:linear-gradient(180deg,#020906 0%,#000903 70%,#061807 100%);border-top:1px solid #2e7d0d;min-height:169px;box-shadow:inset 0 2px 16px rgba(46,255,5,.08)}.site-footer::after{content:"";z-index:0;position:absolute;left:0;right:0;bottom:0;height:50px;pointer-events:none;background:radial-gradient(ellipse 55% 65% at 50% 120%,rgba(42,118,4,.20),transparent)}.footer-main{max-width:1400px;margin:auto;padding:17px var(--edge) 16px;display:grid;grid-template-columns:1.06fr 1.2fr .75fr;gap:38px;position:relative;z-index:1}.footer-brand,.footer-links{border-right:1px solid rgba(108,242,19,.32)}.footer-brand .brand-icon{width:76px;height:56px}.footer-brand .brand-name{font-size:28px}.footer-brand p{margin:-5px 0 0 88px;font-size:9px;letter-spacing:1.5px;white-space:nowrap;color:#bed2b3}.footer-links h2,.footer-socials h2{margin:0 0 5px;font-size:12px;font-weight:800}.footer-link-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.footer-link-grid a{display:block;color:#e9f1ec;font-size:11px;line-height:1.48}.footer-link-grid a:hover{color:var(--lime)}.footer-socials{justify-self:center}.social-icons{display:flex;gap:9px}.social-icons button{background:#040f08;border:1px solid #71f61b;color:#fff;border-radius:7px;width:34px;height:35px;display:grid;place-items:center;transition:background .2s,transform .2s}.social-icons button:hover{background:#20450c;transform:translateY(-2px)}.social-icons svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.social-icons svg .fill-only{fill:currentColor;stroke:none}.social-icons svg .hole{fill:#040f08;stroke:none}
.footer-bottom{border-top:1px solid rgba(118,255,12,.65);box-shadow:0 -2px 11px rgba(91,255,3,.26);display:flex;justify-content:space-between;gap:15px;position:relative;z-index:1;padding:12px var(--edge) 24px;font-size:10px;color:#c3cec6;max-width:1500px;margin:auto}
/* Dialog UI: native <dialog> provides focus containment and keyboard ESC close. */
.app-dialog{background:radial-gradient(circle at top right,#102718,#020906 62%);color:#fff;border:1px solid var(--lime);border-radius:12px;max-width:min(580px,calc(100vw - 28px));width:100%;box-shadow:0 10px 65px #000,0 0 32px rgba(108,255,12,.21);padding:27px 28px 25px;max-height:min(83vh,800px);overflow:auto}.app-dialog::backdrop{background:rgba(0,0,0,.83);backdrop-filter:blur(6px)}.dialog-close{position:absolute;top:12px;right:16px;width:34px;height:34px;border:1px solid #4c941d;border-radius:7px;background:#071209;color:#fff;font-size:25px;line-height:1}.dialog-close:hover{color:var(--lime)}.app-dialog h2{font-size:27px;margin:4px 40px 14px 0}.app-dialog h2 span{color:var(--lime)}.app-dialog p{font-size:14px;line-height:1.55;color:#d1d9d3}.dialog-image{border-radius:7px;max-height:260px;width:100%;object-fit:cover;border:1px solid #386c23;margin:11px 0 15px}.dialog-kicker{text-transform:uppercase;font-size:10px!important;font-weight:800;color:var(--lime)!important;letter-spacing:2px}.dialog-pill{display:inline-block;padding:6px 10px;border-radius:20px;color:var(--lime);font-size:11px;background:#12210f;border:1px solid #3e7a27;margin-top:7px}.dialog-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 17px;border-radius:7px;border:1px solid var(--lime);color:#071805;background:var(--lime);font-weight:700;margin-top:8px}.dialog-button:hover{filter:brightness(1.15)}.dialog-note{font-size:12px!important;color:#a6b5a7!important}.search-dialog label{display:block;margin:8px 0 8px;font-size:12px;color:#adbdad}.search-dialog input{width:100%;background:#030c06;border:1px solid #62a932;color:white;border-radius:7px;height:42px;padding:0 14px;font-size:15px}.search-dialog input:focus{outline:2px solid var(--lime)}.search-results{margin-top:13px;display:grid;gap:6px}.search-result{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #285728;border-radius:6px;background:#071309;padding:11px 12px;color:#f3f7f3;text-align:left;font-size:14px}.search-result:hover{background:#17341b;border-color:#78f328}.search-result span{font-size:11px;color:#86ef46}.search-empty{font-size:12px;color:#bdc9c0}
@media(max-width:1170px){.header-inner{gap:12px}.desktop-nav{gap:clamp(14px,1.8vw,24px)}.brand-icon{width:57px}.brand-name{font-size:27px}.nav-link{font-size:11px}.hero h1{font-size:59px}.hero-content{width:52%}.btn{padding:0 13px;font-size:9.5px}.news-image{height:113px}}
@media(max-width:990px){.desktop-nav{gap:12px}.nav-link{font-size:10px}.header-inner{padding-inline:20px}.brand-name{font-size:23px}.brand-icon{width:49px;height:42px}.hero-content{width:60%}.hero h1{font-size:55px}.hero-slogan{font-size:14px}.section-subtitle{font-size:11px}.games-grid{gap:7px}.footer-main{gap:20px}}
@media(max-width:795px){.site-header{height:65px}.desktop-nav{display:none}.menu-toggle{display:grid}.header-inner{padding-inline:17px}.brand-name{font-size:27px}.brand-icon{width:57px;height:46px}.hero{min-height:450px;height:auto}.hero-content{width:78%;padding-top:66px;padding-bottom:92px}.hero h1{font-size:clamp(42px,7.5vw,62px)}.hero-copy{font-size:14px;max-width:395px}.hero-backdrop{background-position:center,center,55% center}.hero-slogan{font-size:13px;bottom:24px}.games-section{padding-inline:16px}.games-heading{padding-inline:0}.games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.game-cover:nth-child(n+4){display:none}.section-heading{gap:16px;flex-wrap:wrap}.section-subtitle{flex-basis:100%;order:2}.carousel-controls{order:1}.heading-with-line h2{font-size:42px}.news-section{padding-inline:20px}.news-heading .section-subtitle{flex-basis:auto;order:2;width:100%}.news-grid{gap:10px}.news-body{padding-left:10px}.news-card h3{font-size:12px}.news-card p{font-size:10px}.news-meta{gap:5px}.news-type{padding:4px 6px}.footer-main{grid-template-columns:1fr 1fr;gap:25px}.footer-brand{border-right:0}.footer-links{border-right:0}.footer-socials{grid-column:1 / -1;justify-self:start}.footer-bottom{flex-wrap:wrap}}
@media(max-width:560px){.hero{min-height:500px}.hero-content{width:100%;padding:67px 19px 118px}.hero h1{font-size:clamp(41px,10vw,54px);letter-spacing:-2px}.hero-copy{max-width:360px;font-size:14px}.hero-actions{flex-wrap:wrap;gap:10px}.btn{min-width:232px}.hero-backdrop{background-image:linear-gradient(90deg,rgba(0,7,1,.92),rgba(0,7,1,.42)),linear-gradient(0deg,rgba(0,7,1,.54),transparent 45%),url('../assets/city-drive-hero.webp');background-position:center,center,56% center}.hero-slogan{display:block;bottom:27px;right:21px}.games-section{padding:17px 12px 22px}.games-heading{gap:3px}.section-heading .eyebrow{font-size:9px}.heading-with-line h2{font-size:39px}.heading-with-line i{width:36px}.section-subtitle{font-size:11px;margin-bottom:8px}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-cover:nth-child(n+3){display:none}.news-section{padding:20px 15px 29px}.news-heading{gap:8px}.news-heading .heading-title-wrap{flex:1}.small-outline-button{margin-left:0;order:1}.news-heading .section-subtitle{order:2}.news-grid{grid-template-columns:1fr;gap:12px}.news-image{height:170px}.news-card::before{top:125px;height:46px}.news-body{padding:0 43px 12px 13px}.news-meta{margin-top:-3px}.news-card h3{font-size:16px}.news-card p{font-size:12px}.news-open{bottom:15px}.footer-main{grid-template-columns:1fr;padding:22px 20px 20px;gap:21px}.footer-socials{grid-column:auto}.footer-brand .brand-name{font-size:26px}.footer-brand .brand-icon{width:62px}.footer-brand p{margin:0 0 0 68px;font-size:8px}.footer-bottom{padding:14px 20px 23px;font-size:10px;line-height:1.7}}
@media(max-width:385px){.header-inner{padding-inline:9px}.brand-name{font-size:23px}.brand-icon{width:48px}.hero h1{font-size:40px}.hero-content{padding-inline:14px}.hero-actions .btn{min-width:0;width:100%}.games-grid{gap:6px}.heading-with-line h2{font-size:36px}.heading-with-line i{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Keep the small-phone footer inside the viewport. */
@media(max-width:560px){.footer-main{grid-template-columns:minmax(0,1fr)}.footer-brand,.footer-links,.footer-socials{min-width:0}.footer-brand p{white-space:normal;max-width:calc(100% - 68px)}}

/* Seven-page navigation: reserve room for the Documentation item without removing any existing link. */
@media (min-width:796px){.desktop-nav:has(.documentation-link){gap:clamp(9px,1.2vw,19px)}.desktop-nav:has(.documentation-link) .nav-link{font-size:clamp(10px,.83vw,11.5px)}}
@media (min-width:796px) and (max-width:1110px){.desktop-nav:has(.documentation-link){display:none}.header-inner:has(.documentation-link) .menu-toggle{display:grid}}
