/* Homepage-only visual differences. Never alter /pc-games catalogue cards. */

/* 1. Homepage PC game cards are identical to /pc-games except engagement
   statistics are not displayed here. Keep title, date, genre, size, summary. */
body [data-homepage-sections] [data-pl-home-section="download"] .pl-home-download-grid
  .pl-download-card > .pl-social{
  display:none!important
}

/* 2. Remove only the "مجله" category badge from homepage magazine cards.
   Titles, summaries, author/content information and all other chips remain. */
body [data-homepage-sections] [data-pl-home-section="magazine"]
  .pl-home-magazine-grid > .pl-magazine-card .pl-card-chip{
  display:none!important
}

/* 3. Subtle whole-card upward motion on mouse hover/focus. The parent strip
   retains the existing single-row horizontal scroll and hidden scrollbar.
   Padding gives the raised tile room without clipping its upper edge. */
body [data-homepage-sections] [data-pl-home-section="download"] .pl-home-download-grid{
  padding-block-start:12px!important;
  padding-block-end:15px!important
}
body [data-homepage-sections] [data-pl-home-section="download"]
  .pl-home-download-grid > .pl-download-col > .pl-download-card{
  position:relative!important;
  transform:translate3d(0,0,0)!important;
  transition:transform .28s cubic-bezier(.2,.8,.2,1)!important
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body [data-homepage-sections] [data-pl-home-section="download"]
    .pl-home-download-grid > .pl-download-col > .pl-download-card:hover,
  body [data-homepage-sections] [data-pl-home-section="download"]
    .pl-home-download-grid > .pl-download-col > .pl-download-card:focus-within{
    transform:translate3d(0,-6px,0)!important;
    z-index:2!important
  }
}
@media (prefers-reduced-motion:reduce){
  body [data-homepage-sections] [data-pl-home-section="download"]
    .pl-home-download-grid > .pl-download-col > .pl-download-card{
    transition:none!important;
    transform:none!important
  }
}
