
/* Спільне меню */
body .rx-shared-header .nav-links a{
  position:relative!important;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 0!important;
  transition:color .2s;
}
body .rx-shared-header .nav-links a::after{
  content:''!important;
  position:absolute!important;
  left:0!important;
  right:auto!important;
  bottom:3px!important;
  width:100%!important;
  height:3px!important;
  border-radius:3px;
  background:#000ffe!important;
  transform:scaleX(0)!important;
  transform-origin:left;
  transition:transform .24s ease!important;
}
body .rx-shared-header .nav-links a:hover::after,
body .rx-shared-header .nav-links a:focus-visible::after{
  transform:scaleX(1)!important;
}
body .rx-shared-header .nav-links a:hover{
  color:#000ffe!important;
}

/* Ігровий банер — наявне фото зберігається */
body main#top .rx-halloween-hero .rx-mm2-shade{
  background:
    linear-gradient(90deg,#061026f0,#07142bc9 32%,#06102620 73%),
    linear-gradient(0deg,#05102380,transparent 55%)!important;
}
body main#top .rx-halloween-hero .rx-campaign-bold{
  background:linear-gradient(110deg,#ffe1a5,#ffb655 48%,#ff832b)!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:#ffb655!important;
}
body main#top .rx-halloween-hero .rx-campaign-light{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body main#top .rx-halloween-hero .eyebrow{
  color:#ffc878!important;
}
body main#top .rx-halloween-hero p,
body main#top .rx-halloween-hero .hero-notes{
  color:#c9d7ee!important;
}
body main#top .rx-halloween-hero .hero-actions .btn-secondary{
  background:#ffffff0d!important;
  color:#fff!important;
  border-color:#ffffff40!important;
}

/* Категорії та акценти */
body main#top .rx-category-grid>a{
  border-width:2px!important;
  border-radius:16px!important;
  box-shadow:0 4px 0 #172c5410;
  transition:transform .22s,box-shadow .22s;
}
body main#top .rx-category-grid>a:nth-child(3){
  box-shadow:0 4px 0 #111f81;
}
body main#top .rx-kicker::before,
body main#top .kicker::before{
  content:'';
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:8px;
  background:#ff9b39;
  transform:rotate(45deg);
  border-radius:1px;
}
body main#top #recommended{
  background-color:#f5f7ff!important;
  background-image:radial-gradient(#000ffe12 1px,transparent 1px)!important;
  background-size:20px 20px!important;
}

/* Знижки */
body main#top #rx-best-deals{
  position:relative;
  background-color:#0b1736!important;
  background-image:
    linear-gradient(#7889ff0c 1px,transparent 1px),
    linear-gradient(90deg,#7889ff0c 1px,transparent 1px)!important;
  background-size:32px 32px!important;
  border-block:3px solid #233573!important;
  color:#fff;
  padding:44px 0!important;
}
body main#top #rx-best-deals h2{
  color:#fff!important;
  font-weight:800!important;
}
body main#top #rx-best-deals .rx-kicker{
  color:#ffbb70!important;
}
body main#top #rx-best-deals .rx-section-heading p{
  color:#bdcbe5!important;
}
body main#top #rx-best-deals .rx-text-link{
  color:#dbe5ff!important;
}
body main#top #rx-best-deals .rx-deal-filters{
  gap:9px;
  padding:4px 0 8px;
  overflow:auto;
}
body main#top #rx-best-deals .rx-deal-filters button{
  min-height:44px;
  border-radius:10px!important;
  border:1px solid #52628b!important;
  background:#14264b!important;
  color:#dce6ff!important;
  padding:11px 19px;
  font-weight:700;
  transition:background .2s,border-color .2s,transform .2s;
}
body main#top #rx-best-deals .rx-deal-filters button[aria-pressed=true]{
  background:#000ffe!important;
  border-color:#7c88ff!important;
  color:#fff!important;
  box-shadow:0 3px 0 #ff9c3e;
}
body main#top #rx-best-deals .rx-pick-card{
  border:1px solid #e0e7f4;
  border-radius:16px!important;
  background:#fff;
  box-shadow:0 4px 0 #02091a55;
}
body main#top #rx-best-deals .rx-discount-percent{
  background:#ffb65b!important;
  color:#291704!important;
  border-radius:7px!important;
  font-weight:800!important;
}
body main#top #rxDealEmpty{
  color:#d9e4f8;
  padding:18px 0;
}
body main#top .rx-soon-card{
  border-radius:16px!important;
  border-top:3px solid #ffac54!important;
}
body main#top .rx-editorial .rx-editorial-card{
  border-left:5px solid #000ffe!important;
}
body main#top :is(.btn,.add-btn,.rx-pick-buy button):active{
  transform:translateY(1px) scale(.97);
}

/* Спільний футер */
body .rx-game-footer{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#081329!important;
  color:#c9d5ea!important;
  box-shadow:none!important;
  text-align:left!important;
}
body .rx-game-footer *{box-sizing:border-box}
body .rx-game-footer .rg-wrap{
  width:min(1280px,calc(100% - 64px));
  margin:auto;
  padding:40px 0 22px;
}
body .rx-game-footer .rg-top{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:40px;
  padding-bottom:30px;
}
body .rx-game-footer .rg-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font:800 26px/1.2 Montserrat,sans-serif;
  letter-spacing:-.05em;
  text-decoration:none;
}
body .rx-game-footer .rg-brand::before{
  content:'';
  width:13px;
  height:13px;
  background:#ffb45c;
  transform:rotate(45deg);
  border-radius:3px;
  box-shadow:5px 5px 0 #000ffe;
}
body .rx-game-footer p{
  max-width:340px;
  color:#b5c4dd;
  font:400 12px/1.8 Inter,sans-serif;
  margin:14px 0;
}
body .rx-game-footer h3{
  margin:0 0 13px;
  color:#ffbc70;
  font:700 12px/1.4 Montserrat,sans-serif;
  letter-spacing:.05em;
}
body .rx-game-footer .rg-links{
  display:grid;
  gap:3px;
}
body .rx-game-footer .rg-links a{
  display:block;
  width:fit-content;
  padding:8px 0;
  color:#d8e3f5;
  font:500 12px/1.5 Inter,sans-serif;
  text-decoration:none;
  transition:color .2s,transform .2s;
}
body .rx-game-footer .rg-links a:hover{
  color:#ffbd72;
  transform:translateX(3px);
}
body .rx-game-footer .rg-status{
  display:inline-block;
  border:1px solid #344563;
  border-radius:8px;
  padding:9px 12px;
  color:#c4d3ec;
  font-size:11px;
}
body .rx-game-footer .rg-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  border-top:1px solid #293752;
  padding-top:20px;
  color:#9aaccc;
  font:400 10px/1.6 Inter,sans-serif;
}

@media(hover:hover){
  body main#top .rx-category-grid>a:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 0 #000ffe18;
  }
  body main#top #rx-best-deals .rx-pick-card:hover{
    border-color:#ffb65b;
    transform:translateY(-4px);
  }
}
@media(max-width:760px){
  body main#top .rx-halloween-hero .rx-mm2-shade{
    background:linear-gradient(
      180deg,#061025ed,#061025bb 30%,#06102515 60%,#061025e8 100%
    )!important;
  }
  body main#top #rx-best-deals{padding:32px 0!important}
  body main#top #rx-best-deals .rx-deal-filters button{
    padding:10px 14px;
    font-size:11px;
  }
  body .rx-game-footer .rg-wrap{
    width:calc(100% - 32px);
    padding:30px 0 20px;
  }
  body .rx-game-footer .rg-top{
    grid-template-columns:1fr 1fr;
    gap:26px 18px;
  }
  body .rx-game-footer .rg-about{grid-column:1/-1}
  body .rx-game-footer .rg-bottom{display:grid}
}
@media(prefers-reduced-motion:reduce){
  body .rx-shared-header .nav-links a::after,
  body .rx-game-footer *,
  body main#top .rx-category-grid>a,
  body main#top .rx-deal-filters button{
    transition:none!important;
  }
}
