.rp-footer{
  position: relative;
  overflow: hidden;
  background: #2E1C37;
  padding: 0;
}
.rp-footer__inner{
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  font-family: "M PLUS 1", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(255,255,255,0.92);
  display:flex;
  flex-direction: column;
  align-items: center;
}
/* =========================
   Desktop layout (1440)
========================= */
.rp-footer__top{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 190px;
  padding: 35px 0px;
}
.rp-footer__brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.rp-footer__logo{ height: 30px; width:auto; display:block; }
.rp-footer__links{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2px;
  opacity: .95;
}
.rp-footer__links a{
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: opacity .15s ease;
}
.rp-footer__links a:hover{ opacity: 1; }
.rp-footer__sep{
  opacity: .55;
}
.rp-footer__social{
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.rp-footer__icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background:#724F93;;
  border: 1px solid rgba(255,255,255,0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.rp-footer__icon:hover{ transform: translateY(-1px); opacity: 1; }
.rp-footer__icon svg{ width: 44px; height: 44px; display:block; }
.rp-footer__bottom{
    padding: 19px 0px;
    background: #2A2333;
    width: 100%;
}
.rp-footer__legal{
  text-align: center;
  color: #ADB2B1;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}
.rp-footer__legal a{
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.rp-footer__legal a:hover{ color: rgba(255,255,255,0.92); }
/* =========================
   Tablet (768)
   - Top row: logo left, socials right
   - Links centered below
========================= */
@media (max-width: 1024px){
  .rp-footer{
    padding: 0;
  }
  .rp-footer__top{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand social"
      "links links";
    row-gap: 14px;
  }
  .rp-footer__brand{ grid-area: brand; }
  .rp-footer__social{ grid-area: social; justify-self: end; }
  .rp-footer__links{ grid-area: links; justify-content: center; }
}
/* =========================
   Mobile (425)
   - Everything stacked + centered like reference
========================= */
@media (max-width: 480px){
  .rp-footer{
    padding: 0;
  }
  .rp-footer__top{
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "social"
      "links";
    justify-items: center;
    text-align: center;
    gap: 14px;
    padding-bottom: 16px;
  }
  .rp-footer__brand{
    justify-content: center;
  }
  .rp-footer__social{
    justify-self: center;
  }
  .rp-footer__icon{
    width: 38px;
    height: 38px;
  }
  .rp-footer__links{
    font-size: 16px; /* closer to mobile reference */
    font-weight: 500;
    gap: 10px;
  }
  .rp-footer__legal{
    font-size: 12px;
    line-height: 1.6;
    padding: 0 10px;
  }
}
