/** RC10.70 cleaned baseline: approved RC10.69 homepage-only refinements. Only Option 4; no storewide palette or commerce CSS.
 * Same brand cascade layer as existing approved Home rules; prevents earlier layered !important from swallowing scoped refinements. */
@layer gamespsn-brand {
body.gl-preset-midnight.gl-official-home #main.gl-home {
  --gl-home-section-space: clamp(43px, 4.2vw, 67px);
  --gl-home-quiet-border: rgba(174,183,200,.13);
  --gl-home-benefits-surface: linear-gradient(165deg,rgba(53,57,69,.62),rgba(35,38,47,.76));
  --gl-home-soft-elevation: 0 10px 22px rgba(0,0,0,.08);
  padding-bottom: 66px;
}
/* Adequate breathing room between all existing home sections; section order unchanged. */
body.gl-preset-midnight.gl-official-home #main.gl-home > .gl-container.gl-section,
body.gl-preset-midnight.gl-official-home #main.gl-home > .gl-container.gl-benefits,
body.gl-preset-midnight.gl-official-home #main.gl-home > .gl-container.gl-bottom-promo {
  margin-top: var(--gl-home-section-space) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-section {
  padding-top: 0 !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-section-heading {
  margin-bottom: clamp(19px, 1.9vw, 28px) !important;
  gap: 18px !important;
}
/* Owner-uploaded campaign: one image. No GTA character/scene layer behind it. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero--owner-image .gl-gta-scene {
  inset: 0 !important;
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  background-image: var(--gl-home-owner-scene) !important;
  background-size: cover !important;
  background-position: center center !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  transform: none !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero--owner-image .gl-gta-characters {
  display: none !important;
}
/* Readable left copy without changing uploaded artwork or merchant text. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero--owner-image .gl-gta-scene::after {
  background: linear-gradient(90deg, rgba(15,16,21,.88) 0%, rgba(15,16,21,.70) 28%, rgba(15,16,21,.32) 56%, transparent 82%) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content {
  padding-block: clamp(35px, 3vw, 50px) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-description {
  max-width: 43ch;
  line-height: 1.58;
}
/* Platform cards: resolved owner/term image is the only image, overlay aids text contrast. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-grid {
  gap: clamp(12px, 1.35vw, 20px) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-card {
  min-height: clamp(125px, 10.8vw, 154px) !important;
  border-color: var(--gl-home-quiet-border) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.09) !important;
  isolation: isolate;
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-card::before {
  background-image: var(--gl-platform-image) !important;
  background-position: center center !important;
  background-size: cover !important;
  opacity: 1 !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-card::after {
  background: linear-gradient(90deg, rgba(11,13,19,.80) 0%, rgba(11,13,19,.50) 43%, rgba(11,13,19,.09) 100%) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-card:is(:hover,:focus-visible) {
  transform: translateY(-2px);
  box-shadow: 0 13px 31px rgba(0,0,0,.18) !important;
  border-color: rgba(179,169,255,.38) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-caption strong {
  text-shadow: 0 2px 10px rgba(0,0,0,.65) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-arrow { opacity:.95; }
/* Merchandising tabs and product cards: layout spacing and subtle interactive polish only. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-featured-heading {align-items:center;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-product-tabs {gap:5px;padding:5px;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-product-tabs [role="tab"] {min-height:39px;padding-inline:16px;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-product-tabs [aria-selected="true"] {
  background: rgba(119,107,248,.17);
  color: #C2BAFF;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-games-grid {gap:clamp(11px,1.2vw,17px) !important;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-game-body {padding:13px 12px 14px !important;gap:9px !important;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-game-card:hover {box-shadow:0 12px 26px rgba(0,0,0,.15) !important;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-sale-badge {padding:3px 7px !important;}
/* The four current benefit statements become a centered premium row, not text-only. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:clamp(10px,1.25vw,18px) !important;
  align-items:stretch;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits > div {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:clamp(15px,1.5vw,22px) 13px !important;
  min-width:0;
  gap:12px !important;
  border:1px solid var(--gl-home-quiet-border) !important;
  border-radius:13px;
  background:var(--gl-home-benefits-surface) !important;
  box-shadow:var(--gl-home-soft-elevation) !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits > div > svg {
  background:rgba(119,107,248,.12);
  border:1px solid rgba(179,169,255,.18);
  padding:10px;
  border-radius:10px;
  width:44px !important;
  height:44px !important;
  color:#B3A9FF !important;
  flex:0 0 44px !important;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits > div > span {
  min-width:0;display:flex;flex-direction:column;gap:4px;text-align:start;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits strong {font-size:12px !important;line-height:1.35;color:#FFF;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits small {font-size:11px !important;line-height:1.45;color:#A3A1AF;}
/* Gift promotion: one chosen high-resolution art layer, cleaner alignment and depth. */
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-bottom-promo {
  min-height:177px !important;
  margin-bottom:0 !important;
  border-color:rgba(174,183,200,.14) !important;
  box-shadow:0 12px 26px rgba(0,0,0,.11);
  gap:clamp(18px,2vw,30px);
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-bottom-promo .gl-gift-card-artwork {
  image-rendering:auto;
  object-fit:contain !important;
  object-position:center;
}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-bottom-promo .gl-bottom-promo-copy {z-index:3;}
body.gl-preset-midnight.gl-official-home #main.gl-home .gl-bottom-promo::before {background-image:none !important;}
/* Home-only gap before existing footer. Never touches footer on the shop/cart/checkout pages. */
body.gl-preset-midnight.gl-official-home .gl-storefront-footer .gl-footer-grid {
  column-gap:clamp(24px,3vw,54px);
  row-gap:clamp(24px,2.5vw,40px);
}
body.gl-preset-midnight.gl-official-home .gl-storefront-footer .gl-footer-links {
  row-gap:10px;
}
body.gl-preset-midnight.gl-official-home .gl-storefront-footer .gl-footer-section > h2 {
  margin-bottom:18px;
}
body.gl-preset-midnight.gl-official-home .gl-storefront-footer .gl-footer-brand > p {
  margin-block:14px 19px;
}
@media (max-width: 1060px) {
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width: 700px) {
  body.gl-preset-midnight.gl-official-home #main.gl-home {--gl-home-section-space:34px;padding-bottom:40px;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero--owner-image .gl-gta-scene {
    background-size:cover !important;
    background-position:center top !important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero--owner-image .gl-gta-scene::after {
    background:linear-gradient(0deg,rgba(15,16,21,.94),rgba(15,16,21,.65) 42%,rgba(15,16,21,.10) 96%) !important;
  }
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content {padding:145px 20px 24px !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-grid {gap:10px !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-card {min-height:122px !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits {gap:10px !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits > div {justify-content:flex-start !important;padding:14px 10px !important;gap:9px !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits > div > svg {width:38px !important;height:38px !important;flex:0 0 38px !important;padding:8px;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits strong {font-size:11px !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits small {font-size:10px !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-bottom-promo {min-height:285px !important;}
}
@media (max-width: 390px) {
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-benefits {grid-template-columns:1fr !important;}
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-gta-hero-content {padding-top:120px !important;}
}
@media (prefers-reduced-motion:reduce) {
  body.gl-preset-midnight.gl-official-home #main.gl-home .gl-platform-card {transition:none !important;}
}

}
