/* GAMESPSN RC10.71 — Hero-only premium layouts for Option 4.
   No selector addresses a shop/product/cart/checkout route or another homepage section. */
@layer gamespsn-brand {
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-hero-main.gl-gta-hero {
  --gl-hero-text-width: 57%;
  --gl-hero-radius: 20px;
  --gl-hero-lavender: #776BF8;
  position:relative; min-height:440px !important;
  border-radius:var(--gl-hero-radius) !important;
  border-color:rgba(174,183,200,.08) !important;
  background-color:#23262F !important;
  box-shadow:0 16px 44px rgba(0,0,0,.17) !important;
  overflow:hidden; isolation:isolate;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-hero-content {
  display:flex; align-items:flex-start; justify-content:center;
  width:var(--gl-hero-text-width); max-width:700px; min-height:440px !important;
  padding:46px clamp(28px,4.1vw,62px) !important;
  gap:0; position:relative; z-index:4;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content .gl-gta-eyebrow {
  color:#B3A9FF !important; font-size:12px; letter-spacing:.12em; margin-bottom:16px;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content h1 {
  font-size:clamp(43px,4.7vw,64px) !important; line-height:1.045 !important;
  letter-spacing:-.036em; margin:0 0 19px !important; max-width:12ch;
  text-wrap:balance;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content .gl-gta-description {
  font-size:clamp(13px,1.16vw,16px) !important; line-height:1.65 !important;
  color:#D4D5DC !important; max-width:44ch !important; margin-bottom:24px !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content .gl-gta-actions {
  margin:0 0 16px !important; gap:12px;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content .gl-gta-shop {
  min-height:46px; padding:12px 22px; border-radius:11px;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-scene {
  inset:0 !important; width:100%; height:100%; opacity:1;
  background-position:right center !important;
  background-size:cover !important;
  -webkit-mask-image:none !important; mask-image:none !important;
}
/* The overlay is an independent gradient, not a second/hidden image. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-scene::after {
  background:linear-gradient(90deg,rgba(25,26,29,.96) 0%,rgba(25,26,29,.87) 26%,rgba(25,26,29,.47) 51%,transparent 84%) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-characters {
  z-index:0; opacity:.68;
  -webkit-mask-image:none !important; mask-image:none !important;
  background-position:right center; background-size:cover;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero--owner-image .gl-gta-characters,
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero--owner-mobile-image .gl-gta-characters {display:none !important;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-glow {
  position:absolute; z-index:2; inset:0; pointer-events:none;
  background:radial-gradient(ellipse at 76% 80%,rgba(119,107,248,.10),transparent 53%);
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero-glow--medium .gl-home-hero-glow {
  background:radial-gradient(ellipse at 77% 76%,rgba(119,107,248,.20),transparent 58%);
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero-glow--none .gl-home-hero-glow {display:none;}
/* Trust row: premium subtle pills, not strong outlines. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-trust {
  display:flex !important; flex-wrap:wrap !important; gap:8px !important;
  margin:4px 0 0 !important; font-size:11px !important;
  color:#D4D5DC !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-trust span {
  display:inline-flex; align-items:center; gap:7px !important; line-height:1.3;
  padding:8px 11px; background:rgba(232,232,255,.065);
  border:1px solid rgba(174,183,200,.085); border-radius:999px;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-trust svg {
  width:14px !important; height:14px !important; color:#B3A9FF !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-trust--minimal span,
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-trust--classic span {
  border:0; background:transparent; padding:2px 4px; border-radius:0;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-trust--classic {font-size:10px!important;}
/* B: cinematic uses the same owner-uploaded image, no additional art. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--cinematic {
  --gl-hero-text-width:62%; min-height:535px !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--cinematic .gl-gta-hero-content {min-height:535px !important;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--cinematic .gl-gta-hero-content h1 {
  font-size:clamp(50px,5.4vw,76px) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--cinematic .gl-gta-scene::after {
  background:linear-gradient(90deg,rgba(19,20,26,.97),rgba(19,20,26,.83) 33%,rgba(19,20,26,.23) 75%,rgba(19,20,26,.07)) !important;
}
/* C: split maintains left copy and supports 2–4 native Woo product cover images. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--split {
  --gl-hero-text-width:54%; min-height:480px !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--split .gl-gta-hero-content {min-height:480px !important;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--split.gl-home-hero-has-covers .gl-gta-scene {opacity:.16 !important;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-covers {
  position:absolute; z-index:3; top:50%; right:clamp(18px,3.3vw,52px);
  width:min(43%,540px); height:76%; transform:translateY(-50%);
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px;
  align-content:center; justify-items:center; pointer-events:auto;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-cover {
  position:relative; display:block; width:100%; max-width:246px; aspect-ratio:16/10;
  overflow:hidden; border-radius:12px;
  border:1px solid rgba(189,182,255,.18);
  background:#242735;
  box-shadow:0 12px 30px rgba(0,0,0,.37);
  transition:transform .2s ease, box-shadow .2s ease;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-cover img {
  position:absolute!important;inset:0!important; display:block; width:100%!important; height:100%!important; object-fit:cover!important; object-position:center!important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-cover:hover,
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-cover:focus-visible {
  transform:translateY(-4px); box-shadow:0 17px 34px rgba(0,0,0,.45);
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-covers--2 {
  grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center;
}
/* Tablet split: move cover rail above the copy to avoid text/media collision at 701–980px. */
@media(min-width:701px) and (max-width:980px){
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--split {min-height:490px!important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--split .gl-gta-hero-content {
    width:100%!important;max-width:none!important;min-height:490px!important;
    padding:180px 32px 28px!important;justify-content:flex-end!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--split .gl-gta-hero-content h1 {
    font-size:clamp(37px,5vw,47px)!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-covers {
    width:55%;height:150px;top:18px;right:25px;transform:none;
    grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-cover {
    width:100%;max-width:100px;aspect-ratio:3/4;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-covers--2 {
    grid-template-columns:repeat(2,minmax(0,1fr));max-width:245px;
  }
}
/* Keep the original lower-height campaign if a merchant manually overrides it through Game Store CSS. */
@media(max-width:700px){
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-hero-main.gl-gta-hero {min-height:320px !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-hero-content {
    min-height:320px !important; width:100%; max-width:none;
    padding:145px 22px 24px !important; justify-content:flex-end !important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content .gl-gta-eyebrow {
    font-size:10px!important;margin-bottom:8px!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content h1 {
    font-size:clamp(30px,8vw,43px) !important; line-height:1.07!important;
    margin-bottom:11px!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content .gl-gta-description {
    font-size:12px!important;line-height:1.48!important;margin-bottom:12px!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-scene,
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-characters {
    background-position:center top!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-scene::after {
    background:linear-gradient(0deg,rgba(19,20,26,.97),rgba(19,20,26,.73) 39%,rgba(19,20,26,.07) 99%)!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-trust {
    gap:5px !important;font-size:10px!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-trust span {padding:6px 9px;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--cinematic .gl-gta-hero-content h1 {font-size:clamp(30px,8vw,43px)!important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--cinematic {
    min-height:400px !important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--cinematic .gl-gta-hero-content {
    min-height:400px !important; padding-top:185px!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--split {
    min-height:420px !important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero.gl-home-hero--split .gl-gta-hero-content {
    min-height:420px !important; padding-top:195px!important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-covers {
    width:66%; height:170px; top:13px; right:17px; transform:none;
    grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-cover {
    width:100%;max-width:90px;aspect-ratio:3/4;border-radius:6px; box-shadow:0 5px 15px rgba(0,0,0,.4);
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-covers--2 {
    grid-template-columns:repeat(2,minmax(0,1fr)); max-width:180px;
  }
}
@media(max-width:390px){
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-hero-content {padding-inline:16px!important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-trust {font-size:9px!important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-trust span {padding:5px 8px;}
}
@media(prefers-reduced-motion:reduce){
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-home-hero-cover {transition:none!important;}
}
}


/* RC10.71.1 — mobile-only Option 4 Hero correction.
   The legacy Hero pseudo-element adds an EXTRA full-screen darkness layer even
   if Game Store's mobile overlay setting is 0. Remove that overlay on mobile;
   keep the image scene's bottom fade fully controlled by the owner setting. */
@layer gamespsn-brand {
@media (max-width:700px) {
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-hero-main.gl-gta-hero::after {
    display:none !important;
    content:none !important;
    background:none !important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-hero-main.gl-gta-hero .gl-gta-scene::after {
    background:var(--gl-hero-mobile-overlay,
      linear-gradient(0deg,rgba(19,20,26,.52) 0%,rgba(19,20,26,.20) 36%,transparent 72%)) !important;
  }
  /* Center EVERY wrapped row including the final single pill. */
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero .gl-gta-trust {
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    align-items:center !important;
    align-self:center !important;
    width:100% !important;
    max-width:100% !important;
    margin-inline:auto !important;
    text-align:center;
  }
}
}
