/*
Theme Name:   Sahaj Games (Playhost child)
Template:     playhost
Description:  Sahaj Games branding on top of the Playhost theme — white header, black footer and compatibility fixes. Safe to update the parent theme.
Version:      2.0.0
Text Domain:  playhost-child
*/

/* ---------- Base: light brand over Playhost's dark defaults ---------- */
#pxl-header-default, #pxl-header-elementor, #pxl-page-title-default, .pxl-page-title { display: none !important; }
html { background: #fff; }
body, body.pxl-body, #pxl-wapper, #pxl-main, .pxl-main { background: #fff !important; color: #000; }
body { font-family: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
#pxl-main { padding: 0 !important; }
body:not(.sahaj-arcade-page) #pxl-main { padding: 48px 0 80px !important; }
body:not(.sahaj-arcade-page) #pxl-main h1, body:not(.sahaj-arcade-page) #pxl-main h2,
body:not(.sahaj-arcade-page) #pxl-main h3 { color: #000; font-family: inherit; }
body:not(.sahaj-arcade-page) #pxl-main p, body:not(.sahaj-arcade-page) #pxl-main li { color: #2b2e36; }
#pxl-loadding, .pxl-loader, #pxl-loader { display: none !important; }
:focus-visible { outline: 3px solid #2b59ff; outline-offset: 3px; }

/* ---------- Header ---------- */
.sgh { position: sticky; top: 0; z-index: 9990; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .25s; }
.admin-bar .sgh { top: 32px; }
@media (max-width: 782px) { .admin-bar .sgh { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sgh { top: 0; } }
.sgh.is-scrolled { box-shadow: 0 1px 0 #e2e4e9; }
.sgh__inner { max-width: 1240px; margin: 0 auto; height: 76px; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.sgh__logo { display: inline-flex; align-items: center; gap: 10px; color: #000 !important; text-decoration: none !important; margin-right: auto; }
.sgh__mark { position: relative; width: 40px; height: 40px; border-radius: 12px; background: #000; color: #fff; display: grid; place-items: center; font: 800 22px/1 'Bricolage Grotesque', sans-serif; }
.sgh__dots { position: absolute; right: -4px; bottom: -4px; display: flex; gap: 2px; }
.sgh__dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; }
.sgh__word { font: 800 22px/1 'Bricolage Grotesque', sans-serif; font-stretch: 85%; letter-spacing: -.03em; }
.sgh__nav { display: flex; gap: 6px; }
.sgh__nav a { color: #000 !important; text-decoration: none !important; font: 600 16px/1 'Bricolage Grotesque', sans-serif; padding: 11px 16px; border-radius: 999px; transition: background .2s; }
.sgh__nav a:hover, .sgh__nav a[aria-current] { background: #f2f3f5; }
.sgh__cta { display: inline-flex; align-items: center; gap: 8px; background: #000; color: #fff !important; text-decoration: none !important; font: 700 16px/1 'Bricolage Grotesque', sans-serif; padding: 13px 20px 13px 16px; border-radius: 999px; transition: transform .2s; }
.sgh__cta svg { width: 18px; height: 18px; }
.sgh__cta:hover { transform: scale(1.04); }
@media (max-width: 640px) {
	.sgh__inner { height: 64px; padding: 0 16px; gap: 6px; }
	.sgh__word { display: none; }
	.sgh__nav a { padding: 10px 11px; font-size: 15px; }
	.sgh__cta { padding: 11px 15px 11px 12px; font-size: 15px; }
}
@media (max-width: 360px) { .sgh__nav a:last-child { display: none; } }

/* ---------- Footer ---------- */
.sgf { background: #000; color: #fff; margin-top: 0; overflow: hidden; text-align: left; }
.sgf__inner { max-width: 1240px; margin: 0 auto; padding: 72px 24px 28px; }
.sgf__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; }
.sgf__line { font: 700 clamp(26px, 3.2vw, 40px)/1.05 'Bricolage Grotesque', sans-serif; letter-spacing: -.03em; color: #fff; margin: 0; max-width: 14ch; text-align: left !important; }
.sgf__links { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.sgf__links a { color: #fff !important; text-decoration: none !important; font: 600 16px/1 'Bricolage Grotesque', sans-serif; padding: 13px 18px; border: 1.5px solid #3a3d45; border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.sgf__links a:hover { background: var(--g, #fff); border-color: var(--g, #fff); color: #000 !important; }
.sgf__word { position: relative; margin: 64px 0 28px; font: 800 clamp(52px, 14.2vw, 196px)/.8 'Bricolage Grotesque', sans-serif; font-stretch: 80%; letter-spacing: -.055em; color: #fff; white-space: nowrap; }
.sgf__dots { display: inline-flex; gap: .06em; margin-left: .08em; vertical-align: baseline; }
.sgf__dots i { width: .16em; height: .16em; border-radius: 50%; }
.sgf__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid #26282e; font: 500 14px/1.4 'Bricolage Grotesque', sans-serif; color: #9a9fab; }
.sgf__bottom a { color: #9a9fab !important; }
@media (max-width: 640px) { .sgf__inner { padding: 52px 16px 22px; } .sgf__word { margin: 44px 0 20px; } }

/* Playhost back-to-top button in brand colours */
.pxl-scroll-top { background: #000 !important; color: #fff !important; border-radius: 50% !important; }
