/* GamePC mega-menu v2: scoped, responsive, no layout overrides outside menu 711 */
@media (min-width: 992px) {
  #header#header :is(#navigation, .menu-helper) .menu-item-711 > .menu-level-2 {
    position: fixed !important;
    z-index: 1100 !important;
    top: var(--gpc-retail-menu-top, 103px) !important;
    left: 50% !important;
    display: block !important;
    width: min(1440px, calc(100vw - 32px)) !important;
    max-width: none !important;
    max-height: calc(100dvh - var(--gpc-retail-menu-top, 103px) - 16px) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: auto !important;
    visibility: hidden !important;
    transform: translate(-50%, -8px) !important;
    opacity: 0 !important;
    border: 1px solid #ded6ef !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 24px 60px rgb(30 8 70 / 24%) !important;
    transition: opacity .16s ease, transform .16s ease, visibility .16s !important;
  }

  #header#header :is(#navigation, .menu-helper) .menu-item-711:is(:hover, .exp) > .menu-level-2,
  #header#header :is(#navigation, .menu-helper) .menu-item-711 > .menu-level-2:focus-within {
    visibility: visible !important;
    transform: translate(-50%) !important;
    opacity: 1 !important;
  }

  #header#header :is(#navigation, .menu-helper) .menu-item-711 > .menu-level-2 > li {
    display: none !important;
  }

  .gpc-ux-mega {
    display: grid !important;
    grid-template-columns: minmax(280px, .9fr) minmax(400px, 1.25fr) minmax(260px, .7fr);
    gap: 28px;
    padding: 28px;
    color: #211439;
    font-family: inherit;
  }

  .gpc-ux-mega,
  .gpc-ux-mega * {
    box-sizing: border-box;
  }

  .gpc-ux-mega__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.02em;
  }

  .gpc-ux-mega__title svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    stroke: #5a22d0;
  }

  .gpc-ux-mega__tiers {
    display: grid;
    gap: 9px;
  }

  .gpc-ux-mega__tier {
    display: grid !important;
    grid-template-columns: 62px 1fr 16px;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 9px 11px !important;
    border: 1px solid #e7dffa !important;
    border-radius: 12px;
    color: inherit !important;
    background: #fff !important;
    text-decoration: none !important;
    transition: transform .16s, border-color .16s, box-shadow .16s;
  }

  .gpc-ux-mega__tier:hover {
    transform: translateY(-2px);
    border-color: #9169ec !important;
    box-shadow: 0 8px 20px rgb(80 26 172 / 12%);
  }

  .gpc-ux-mega__tier img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    mix-blend-mode: multiply;
  }

  .gpc-ux-mega__tier strong,
  .gpc-ux-mega__tier small {
    display: block;
  }

  .gpc-ux-mega__tier strong {
    font-size: 16px;
    line-height: 1.2;
  }

  .gpc-ux-mega__tier small {
    margin-top: 4px;
    color: #716a7f;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
  }

  .gpc-ux-mega__arrow {
    color: #6532d7;
    font-size: 24px;
  }

  .gpc-ux-mega__group {
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e2f2;
  }

  .gpc-ux-mega__group + .gpc-ux-mega__group {
    padding-top: 17px;
  }

  .gpc-ux-mega__group h4 {
    margin: 0 0 10px;
    color: #5421c3;
    font-size: 15px;
    font-weight: 900;
  }

  .gpc-ux-mega__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 18px;
  }

  .gpc-ux-mega__links a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 29px;
    padding: 0 !important;
    color: #4c4561 !important;
    background: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  .gpc-ux-mega__links a::after {
    content: "›";
    color: #8069ae;
    font-size: 20px;
  }

  .gpc-ux-mega__links a:hover {
    color: #5220be !important;
  }

  .gpc-ux-mega__promo {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
    background: radial-gradient(circle at 100% 95%, #8f48ff 0, transparent 35%), linear-gradient(142deg, #210253, #5d0fd0);
  }

  .gpc-ux-mega__promo::after {
    position: absolute;
    right: -30px;
    bottom: -44px;
    width: 184px;
    height: 184px;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 50%;
    content: "";
  }

  .gpc-ux-mega__eyebrow {
    margin-bottom: 16px;
    color: #dbcaff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .gpc-ux-mega__promo h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2vw, 32px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  .gpc-ux-mega__promo p {
    position: relative;
    z-index: 1;
    margin: 13px 0 24px;
    color: #e7ddff;
    font-size: 14px;
    line-height: 1.5;
  }

  .gpc-ux-mega__button {
    position: relative;
    z-index: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between;
    width: max-content;
    min-width: 174px;
    margin-top: auto;
    padding: 11px 14px !important;
    border-radius: 9px;
    color: #4610ae !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }

  .gpc-ux-mega__all {
    grid-column: 2;
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    margin-top: -11px;
    padding: 0 !important;
    color: #5421c3 !important;
    background: none !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1180px) {
  .gpc-ux-mega {
    grid-template-columns: 280px 1fr;
  }

  .gpc-ux-mega__promo {
    grid-column: 1 / -1;
    min-height: 190px;
  }
}
