.wu-section {
  padding: 92px 0;
  background: #090b0d;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Animated digital-wallet agency showcase */
.wallet-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background: linear-gradient(145deg, #f8fcfe 0%, #fff 46%, #f4f8fb 100%);
  color: #10283b;
  isolation: isolate;
}
.wallet-section:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(
      rgba(68, 154, 188, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(68, 154, 188, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.wallet-glow {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.2;
}
.wallet-glow-one {
  background: #7fd7ed;
  top: -190px;
  right: -100px;
}
.wallet-glow-two {
  background: #a60f2e;
  bottom: -260px;
  left: -150px;
  opacity: 0.09;
}
.wallet-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  gap: 64px;
  align-items: center;
}
.wallet-copy {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wallet-visible .wallet-copy {
  opacity: 1;
  transform: none;
}
.wallet-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid #d9e9ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 800;
  color: #526c7c;
  box-shadow: 0 8px 24px rgba(32, 89, 111, 0.06);
}
.wallet-kicker i {
  font-style: normal;
  color: #25ae71;
  font-size: 9px;
  animation: walletPulse 1.8s infinite;
}
.wallet-copy h2 {
  max-width: 720px;
  margin: 20px 0 14px;
  font-size: 44px;
  line-height: 1.35;
  letter-spacing: -1px;
}
.wallet-copy h2 span {
  color: #9a1530;
}
.wallet-copy > p {
  max-width: 720px;
  color: #637987;
  font-size: 13px;
  line-height: 2;
}
.wallet-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 18px;
  margin: 26px 0;
}
.wallet-benefits span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #314b5a;
  font-size: 10.5px;
  font-weight: 700;
}
.wallet-benefits i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border-radius: 50%;
  background: #e9f8f1;
  color: #20a96b;
}
.wallet-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.wallet-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 14px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8c1028, #b41d3a);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 13px 30px rgba(140, 16, 40, 0.2);
  transition: 0.25s;
}
.wallet-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(140, 16, 40, 0.27);
}
.wallet-main-btn b {
  font-size: 17px;
}
.wallet-link {
  font-size: 10.5px;
  font-weight: 800;
  color: #17394b;
  border-bottom: 1px solid #9eb8c4;
}
.wallet-support-card {
  position: relative;
  overflow: hidden;
  min-height: 345px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(145deg, #0e2a3c, #071925);
  color: #fff;
  box-shadow: 0 28px 60px rgba(8, 39, 56, 0.2);
  opacity: 0;
  transform: translateX(-35px) rotate(-2deg);
  transition:
    opacity 0.9s 0.15s ease,
    transform 0.9s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.en .wallet-support-card {
  transform: translateX(35px) rotate(2deg);
}
.wallet-visible .wallet-support-card,
.en .wallet-visible .wallet-support-card {
  opacity: 1;
  transform: none;
}
.wallet-support-card:before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -80px;
  top: -90px;
  background: radial-gradient(circle, #83d7ec 0, rgba(131, 215, 236, 0) 68%);
  opacity: 0.3;
}
.wallet-orbit {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 28px;
  border: 1px solid rgba(132, 219, 239, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.wallet-orbit:before,
.wallet-orbit:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(132, 219, 239, 0.17);
  border-radius: 50%;
  inset: 13px;
}
.wallet-orbit:after {
  inset: 28px;
}
.wallet-orbit i {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: linear-gradient(135deg, #94e4ef, #40aeca);
  box-shadow: 0 0 24px rgba(111, 212, 235, 0.55);
}
.wallet-orbit span,
.wallet-orbit b {
  position: absolute;
  color: #87dceb;
  font-size: 22px;
  animation: walletFloat 2.8s ease-in-out infinite;
}
.wallet-orbit span {
  top: 2px;
  right: 8px;
}
.wallet-orbit b {
  bottom: 2px;
  left: 8px;
  animation-delay: -1.4s;
}
.wallet-support-card > small {
  display: block;
  color: #84d9ed;
  font-size: 9px;
  font-weight: 800;
}
.wallet-support-card > strong {
  display: block;
  font-size: 29px;
  margin: 7px 0;
}
.wallet-support-card > p {
  color: #a9bdc7;
  font-size: 10.5px;
  line-height: 1.8;
}
.wallet-support-card > div:last-child {
  display: flex;
  gap: 7px;
  margin-top: 20px;
}
.wallet-support-card > div:last-child span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #d8e8ef;
  font-size: 8px;
}
.wallet-marquee {
  margin-top: 65px;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.wallet-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: walletScroll 48s linear infinite;
}
.wallet-marquee:hover .wallet-track {
  animation-play-state: paused;
}
.wallet-track figure {
  position: relative;
  width: 270px;
  height: 178px;
  flex: 0 0 270px;
  margin: 0;
  padding: 14px;
  border: 1px solid #e0e8ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(35, 72, 91, 0.08);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.wallet-track figure:hover {
  transform: translateY(-7px);
  border-color: #b9dce7;
  box-shadow: 0 22px 48px rgba(35, 72, 91, 0.16);
}
.wallet-logo {
  width: 240px;
  height: 125px;
  display: block;
  object-fit: contain;
  margin: 0 auto 7px;
  border-radius: 12px;
  background-repeat: no-repeat;
  background-color: #fff;
  transform: scale(0.94);
  transition: transform 0.35s ease;
}
.wallet-track figure:hover .wallet-logo {
  transform: scale(1);
}
.logo-gate,
.logo-dinarak,
.logo-orange,
.logo-zain {
  background-image: url("wallets-primary.png");
  background-size: 1060px 212px;
}
.logo-gate {
  background-position: -30px -36px;
}
.logo-dinarak {
  background-position: -290px -36px;
}
.logo-orange {
  background-position: -552px -36px;
}
.logo-zain {
  background-position: -804px -36px;
}
.logo-mahfazti {
  background-image: url("wallets-secondary.png");
  background-size: 762px 205px;
  background-position: -6px -35px;
}
.logo-uwallet,
.logo-national,
.logo-qadha {
  background-image: url("wallets-network.png");
  background-size: 835px 615px;
}
.logo-uwallet {
  background-position: -535px -8px;
}
.logo-national {
  background-position: -28px -255px;
}
.logo-qadha {
  background-position: -565px -260px;
}
.wallet-track figcaption {
  text-align: center;
  color: #49616e;
  font:
    800 9px/1.4 Arial,
    sans-serif;
  letter-spacing: 0.2px;
}
.wallet-note {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 38px;
  padding: 20px 24px;
  border: 1px solid #e0eaee;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.wallet-note > span {
  font: 900 22px/1 Arial;
  color: #9a1530;
}
.wallet-note p {
  margin: 0;
}
.wallet-note b {
  display: block;
  font-size: 10.5px;
}
.wallet-note small {
  display: block;
  margin-top: 4px;
  color: #7b8e98;
  font-size: 8.5px;
}
.en .wallet-track {
  animation-direction: reverse;
}
@keyframes walletScroll {
  to {
    transform: translateX(calc(-50% - 9px));
  }
}
@keyframes walletPulse {
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}
@keyframes walletFloat {
  50% {
    transform: translateY(7px);
  }
}
@media (max-width: 850px) {
  .wallet-section {
    padding-top: 72px;
  }
  .wallet-intro {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .wallet-copy {
    text-align: center;
  }
  .wallet-copy > p {
    margin-inline: auto;
  }
  .wallet-benefits {
    text-align: start;
  }
  .wallet-actions {
    justify-content: center;
  }
  .wallet-support-card {
    width: min(440px, 100%);
    min-height: 320px;
    margin: auto;
  }
  .wallet-note {
    grid-template-columns: auto 1fr;
  }
  .wallet-track figure {
    width: 270px;
    flex-basis: 270px;
  }
}
@media (max-width: 600px) {
  .wallet-section {
    padding: 60px 0 50px;
  }
  .wallet-copy h2 {
    font-size: 31px;
  }
  .wallet-benefits {
    grid-template-columns: 1fr;
  }
  .wallet-support-card {
    padding: 27px;
    min-height: 305px;
  }
  .wallet-marquee {
    margin-top: 46px;
  }
  .wallet-track {
    gap: 12px;
    animation-duration: 25s;
  }
  .wallet-track figure {
    width: 245px;
    height: 168px;
    flex-basis: 245px;
    padding: 10px;
  }
  .wallet-logo {
    width: 225px;
  }
  .wallet-note {
    margin-top: 28px;
    padding: 17px;
  }
  .wallet-note > span {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wallet-track,
  .wallet-kicker i,
  .wallet-orbit span,
  .wallet-orbit b {
    animation: none !important;
  }
  .wallet-copy,
  .wallet-support-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.wu-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 15% 25%,
      rgba(255, 218, 0, 0.18),
      transparent 34%
    ),
    linear-gradient(120deg, transparent 58%, rgba(255, 218, 0, 0.06));
}
.wu-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 55px;
  align-items: center;
}
.wu-copy .section-label {
  color: #ffda00;
}
.wu-copy .section-label:before {
  background: #ffda00;
}
.wu-copy h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 13px 0;
}
.wu-copy > p {
  color: #c2c6ca;
  font-size: 13px;
  line-height: 2;
}
.wu-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 218, 0, 0.42);
  border-radius: 10px;
  background: rgba(255, 218, 0, 0.08);
  margin-bottom: 14px;
}
.wu-mark {
  font:
    900 18px/1 Arial,
    sans-serif;
  letter-spacing: -1px;
  color: #ffda00;
}
.wu-badge small {
  font-size: 9px;
  color: #d9dce0;
}
.wu-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
}
.wu-point {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #d7dade;
  font-size: 10.5px;
  line-height: 1.65;
}
.wu-point i {
  font-style: normal;
  color: #ffda00;
  font-weight: 900;
}
.wu-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.wu-primary {
  background: #ffda00;
  color: #07090a;
  padding: 13px 21px;
  border-radius: 9px;
  font-weight: 900;
  font-size: 11px;
}
.wu-secondary {
  border: 1px solid #4d5156;
  color: #fff;
  padding: 13px 21px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 11px;
}
.wu-visual {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  min-height: 440px;
  background: linear-gradient(145deg, #25282c, #111315);
}
.wu-visual img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.wu-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 11, 13, 0.35), transparent 55%);
}
.wu-card {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  background: rgba(9, 11, 13, 0.88);
  backdrop-filter: blur(13px);
  border: 1px solid rgba(255, 218, 0, 0.28);
  border-radius: 15px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.en .wu-card {
  right: 22px;
  left: 22px;
}
.wu-card b {
  display: block;
  font-size: 12px;
}
.wu-card small {
  color: #aeb4b9;
  font-size: 9px;
}
.wu-card strong {
  color: #ffda00;
  font-size: 11px;
}
.admin-body {
  min-height: 100vh;
  background: linear-gradient(145deg, #eaf5fa, #fff 50%, #f7ede2);
  padding: 40px 18px;
  color: #12202d;
}
.admin-shell {
  width: min(980px, 100%);
  margin: auto;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.admin-brand {
  width: 185px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.admin-back {
  font-size: 11px;
  font-weight: 800;
  color: #8b1025;
}
.admin-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 25px 65px rgba(22, 46, 65, 0.12);
}
.login-panel {
  max-width: 470px;
  margin: 50px auto;
}
.admin-panel h1 {
  font-size: 27px;
  margin: 0 0 5px;
}
.admin-panel > p {
  color: #687783;
  font-size: 11px;
  line-height: 1.8;
}
.admin-field {
  display: grid;
  gap: 6px;
  margin: 15px 0;
}
.admin-field label {
  font-size: 10px;
  color: #687783;
  font-weight: 700;
}
.admin-field input {
  height: 50px;
  border: 1px solid #dce4e9;
  border-radius: 10px;
  padding: 0 14px;
  outline: 0;
}
.admin-field input:focus {
  border-color: #8b1025;
  box-shadow: 0 0 0 3px rgba(139, 16, 37, 0.08);
}
.admin-button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b1025, #ad1a34);
  color: #fff;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
}
.admin-button.secondary {
  background: #eef3f6;
  color: #1b2a35;
}
.admin-button.danger {
  background: #fff0f1;
  color: #9b1028;
}
.admin-message {
  min-height: 22px;
  margin-top: 11px;
  font-size: 10px;
  color: #9b1028;
}
.rate-editor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin: 24px 0;
}
.rate-edit {
  border: 1px solid #e0e7ec;
  border-radius: 13px;
  padding: 15px;
  background: #fbfcfd;
}
.rate-edit-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.rate-edit-head i {
  font-style: normal;
  font-size: 24px;
}
.rate-edit-head b {
  font-size: 12px;
}
.rate-edit-head small {
  display: block;
  color: #74828d;
  font-size: 8.5px;
}
.rate-edit input {
  width: 100%;
  height: 45px;
  border: 1px solid #dce4e9;
  border-radius: 9px;
  padding: 0 12px;
  font-weight: 800;
  color: #8b1025;
}
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.security-note {
  margin-top: 18px;
  padding: 13px;
  border: 1px solid #ecd8ac;
  background: #fff8e8;
  border-radius: 10px;
  color: #735c34;
  font-size: 9.5px;
  line-height: 1.8;
}
.admin-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e9f8f0;
  color: #168e54;
  padding: 7px 10px;
  border-radius: 20px;
  font-size: 9px;
}
.hidden {
  display: none !important;
}
@media (max-width: 850px) {
  .wu-grid {
    grid-template-columns: 1fr;
  }
  .wu-copy {
    text-align: center;
  }
  .wu-copy .section-label {
    justify-content: center;
  }
  .wu-points {
    text-align: start;
  }
  .wu-actions {
    justify-content: center;
  }
  .wu-visual {
    min-height: 350px;
  }
  .wu-visual img {
    height: 350px;
  }
}
@media (max-width: 600px) {
  .wu-section {
    padding: 65px 0;
  }
  .wu-copy h2 {
    font-size: 30px;
  }
  .wu-points,
  .rate-editor {
    grid-template-columns: 1fr;
  }
  .wu-visual {
    min-height: 300px;
  }
  .wu-visual img {
    height: 300px;
  }
  .wu-card {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
  .admin-body {
    padding: 20px 12px;
  }
  .admin-panel {
    padding: 20px;
  }
  .admin-top {
    align-items: flex-start;
  }
  .admin-brand {
    width: 145px;
    height: 65px;
  }
}
