/* Games Topup Nepal - Homepage Styles */
:root {
  --bg: #0B1120;
  --card: #111A30;
  --card2: #17223F;
  --line: #25304D;
  --ink: #F2F5FF;
  --mut: #8D98B5;
  --y: #FFC400;
  --yt: #FFC400;
  --on-y: #1A1400;
  --or: #FF6B3D;
  --glow: rgba(255, 196, 0, .18);
  --f: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F5F6FA;
  --card: #FFFFFF;
  --card2: #F0F2F8;
  --line: #E2E5EF;
  --ink: #0F1629;
  --mut: #5C667F;
  --yt: #A87400;
  --glow: rgba(255, 196, 0, .28);
  color-scheme: light;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  height: auto !important;
  min-height: 100%;
}

body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  height: auto !important;
  overflow-x: hidden;
  overflow-y: auto !important;
  padding-bottom: 112px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--y);
  outline-offset: 3px;
  border-radius: 10px;
}

svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: min(1320px, 100% - clamp(24px, 4vw, 64px));
  margin-inline: auto;
}

/* ===== header ===== */
.hd {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.hd .r1 {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 68px;
}

.hb {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 14px;
}

.hb i {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--y);
  transition: transform .3s, opacity .2s;
}

.hb.on i:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hb.on i:nth-child(2) {
  opacity: 0;
}

.hb.on i:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.brand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

@media (min-width: 900px) {
  .brand-logo-img {
    height: 44px;
    max-width: 200px;
  }
}

.brand b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--y);
  color: var(--on-y);
  box-shadow: 0 8px 18px -8px var(--glow);
}

.brand svg {
  width: 20px;
  height: 20px;
  fill: var(--on-y);
  stroke: none;
}

.bt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.bt strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.bt small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 4.6px;
  color: var(--yt);
  margin-top: 3px;
}

.h-acts {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.acc-btn {
  display: none !important;
}

.wal {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  font-size: 14.5px;
  padding: 0 8px 0 6px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--y) 55%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--y) 18%, var(--card)), var(--card) 65%);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 20px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: border-color .2s, transform .2s;
}

.wal:hover {
  border-color: var(--y);
}

.wal:active {
  transform: scale(.97);
}

.wal i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--y);
  color: var(--on-y);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.links {
  display: none;
}

/* ===== drawer ===== */
.ov {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(3, 6, 14, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.ov.on {
  opacity: 1;
  pointer-events: auto;
}

.dr {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  width: min(320px, 86vw);
  background: var(--bg);
  border-right: 1px solid var(--line);
  transform: translateX(-102%);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1);
  display: flex;
  flex-direction: column;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 18px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.dr.on {
  transform: none;
}

.dr .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dr .x {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.dr .x svg {
  width: 18px;
  height: 18px;
}

.wc {
  padding: 16px;
  border-radius: 18px;
  color: var(--on-y);
  background: linear-gradient(145deg, #FFD84A, #FFB000);
  box-shadow: 0 18px 30px -18px var(--glow);
}

.wc small {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  opacity: .75;
}

.wc b {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.wc a {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--on-y);
  color: var(--y);
  font-weight: 800;
  font-size: 13.5px;
}

.dr nav {
  margin-top: 18px;
  display: grid;
  gap: 4px;
}

.dr nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  border-radius: 14px;
  font-weight: 700;
  transition: background-color .2s;
}

.dr nav a:hover,
.dr nav a.on {
  background: var(--card);
}

.dr nav a svg {
  width: 22px;
  height: 22px;
  color: var(--yt);
}

.th {
  margin-top: auto;
  margin-bottom: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.sw {
  width: 50px;
  height: 28px;
  border-radius: 14px;
  background: var(--line);
  position: relative;
  transition: background-color .25s;
}

.sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform .25s;
}

:root[data-theme="light"] .sw {
  background: var(--y);
}

:root[data-theme="light"] .sw::after {
  transform: translateX(22px);
}

/* ===== banners ===== */
.bnr {
  margin-top: 20px;
}

.slides {
  position: relative;
  aspect-ratio: 2.35/1;
  min-height: 150px;
}

.sl {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px var(--glow), 0 24px 40px -26px var(--glow);
  opacity: 0;
  transform: scale(.985);
  transition: opacity .55s, transform .55s;
  pointer-events: none;
}

.sl.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.sl img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl h3 {
  position: relative;
  font-size: clamp(22px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 10em;
}

.sl p {
  position: relative;
  margin-top: 6px;
  font-size: clamp(12.5px, 2.4vw, 16px);
  opacity: .9;
  max-width: 20em;
}

.sl .big {
  position: absolute;
  right: -8px;
  bottom: -30px;
  font-size: clamp(110px, 26vw, 220px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  opacity: .16;
  pointer-events: none;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: all .25s;
}

.dots button[aria-current="true"] {
  width: 26px;
  border-radius: 6px;
  background: var(--y);
}

/* ===== tabs (hidden per user request) ===== */
.tabs {
  display: none !important;
}

.tab {
  min-height: 46px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 700;
  font-size: 13.5px;
  transition: all .2s;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.tab:hover {
  border-color: var(--y);
}

.tab[aria-pressed="true"] {
  background: var(--y);
  border-color: var(--y);
  color: var(--on-y);
  box-shadow: 0 10px 20px -12px var(--glow);
}

/* ===== flash sale ===== */
.fs {
  position: relative;
  margin-top: 26px;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 1px solid color-mix(in srgb, var(--y) 40%, var(--line));
  box-shadow: 0 0 0 1px var(--glow), 0 24px 44px -28px var(--glow);
  overflow: hidden;
}

.fs::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
}

.fs>* {
  position: relative;
}

.fh {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bolt {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--y);
  color: var(--on-y);
  display: grid;
  place-items: center;
  animation: zap 1.8s infinite;
}

.bolt svg {
  width: 22px;
  height: 22px;
  fill: var(--on-y);
  stroke: none;
}

@keyframes zap {

  0%,
  70%,
  100% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.14) rotate(-8deg);
  }
}

.fh h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.fh small {
  color: var(--mut);
  font-size: 12.5px;
  font-weight: 600;
}

.fh .live {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--or);
  color: #fff;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 1px;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 61, .55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(255, 107, 61, 0);
  }
}

.fg2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.sk {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  transition: transform .2s, border-color .2s;
}

.sk:hover {
  transform: translateY(-3px);
  border-color: var(--y);
}

.sk .cv {
  aspect-ratio: 1;
}

.sk div.b {
  padding: 10px 12px 12px;
}

.sk b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sk .pr {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 3px;
}

.sk .pr strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--yt);
}

.sk .pr s {
  font-size: 12px;
  color: var(--mut);
}

.off {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--or);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

.tm {
  margin-top: 20px;
  text-align: center;
}

.tm>span {
  display: block;
  color: var(--mut);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cd {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  max-width: 100%;
}

.cu {
  text-align: center;
}

.dgs {
  display: inline-flex;
  gap: 3px;
}

.dg {
  --w: clamp(24px, 7.6vw, 32px);
  position: relative;
  display: block;
  width: var(--w);
  height: calc(var(--w) * 1.5);
  perspective: 320px;
  border-radius: 7px;
  font-weight: 800;
  font-size: calc(var(--w) * .98);
  color: #FFC400;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px rgba(255, 196, 0, .3), 0 10px 16px -8px rgba(0, 0, 0, .85);
}

.dg>span {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  background: #10172B;
  backface-visibility: hidden;
}

.dg>span i {
  position: absolute;
  left: 0;
  right: 0;
  height: 200%;
  display: grid;
  place-items: center;
  font-style: normal;
  line-height: 1;
}

.dg .u,
.dg .fu {
  top: 0;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(#18213D, #10172B);
  transform-origin: 50% 100%;
}

.dg .u i,
.dg .fu i {
  top: 0;
}

.dg .l,
.dg .fl {
  bottom: 0;
  border-radius: 0 0 7px 7px;
  background: linear-gradient(#0A0F1F, #121A33);
  transform-origin: 50% 0;
}

.dg .l i,
.dg .fl i {
  bottom: 0;
}

.dg .fu,
.dg .fl {
  visibility: hidden;
  z-index: 3;
}

.dg.flip .fu {
  visibility: visible;
  animation: fuf .26s ease-in forwards;
}

.dg.flip .fl {
  visibility: visible;
  transform: rotateX(90deg);
  animation: flf .3s .26s cubic-bezier(.2, 1.25, .4, 1) both;
}

@keyframes fuf {
  to {
    transform: rotateX(-90deg);
    filter: brightness(.55);
  }
}

@keyframes flf {
  from {
    transform: rotateX(90deg);
    filter: brightness(.55);
  }

  to {
    transform: rotateX(0);
  }
}

.dg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  background: rgba(0, 0, 0, .75);
  z-index: 5;
}

.dg::before {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  left: -1px;
  width: 3px;
  height: 6px;
  border-radius: 0 2px 2px 0;
  background: #05080f;
  z-index: 6;
}

.lb {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--mut);
  margin-top: 8px;
}

.co {
  display: block;
  font-weight: 800;
  font-size: 22px;
  line-height: calc(clamp(24px, 7.6vw, 32px) * 1.5);
  width: 8px;
  text-align: center;
  color: #FFC400;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: .25;
  }
}

.ends {
  margin-top: 12px;
  font-size: 12px;
  color: var(--mut);
  font-weight: 600;
}

/* ===== flash sale: light theme fix ===== */
:root[data-theme="light"] .dg {
  color: #A87400;
  box-shadow: 0 0 0 1px rgba(168, 116, 0, .35), 0 10px 16px -10px rgba(15, 22, 41, .28);
}

:root[data-theme="light"] .dg>span {
  background: #EDF0F7;
}

:root[data-theme="light"] .dg .u,
:root[data-theme="light"] .dg .fu {
  background: linear-gradient(#FFFFFF, #EDF0F7);
}

:root[data-theme="light"] .dg .l,
:root[data-theme="light"] .dg .fl {
  background: linear-gradient(#E3E8F2, #F8F9FC);
}

:root[data-theme="light"] .dg::after {
  background: rgba(15, 22, 41, .16);
}

:root[data-theme="light"] .dg::before {
  background: #C9CFDD;
}

:root[data-theme="light"] .co {
  color: #A87400;
}

/* ===== product sections ===== */
.sec {
  margin-top: 38px;
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

.sec[hidden] {
  display: none;
}

.sh {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.sh h2 {
  font-size: clamp(22px, 4.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.sh span {
  color: var(--yt);
  font-weight: 800;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pc {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  animation: up .5s both;
  animation-delay: calc(var(--n, 0) * 30ms);
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.pc:hover {
  transform: translateY(-4px);
  border-color: var(--y);
  box-shadow: 0 18px 30px -20px var(--glow);
}

.pc:active {
  transform: scale(.97);
}

.pc.maint {
  border-color: rgba(245, 158, 11, 0.4);
}

.pc.maint:hover {
  border-color: #F59E0B;
  box-shadow: 0 18px 30px -20px rgba(245, 158, 11, 0.35);
}

.pc-maint-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #D97706;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: .3px;
}

.cv {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c, #1E3A5F) 80%, #fff), var(--c, #1E3A5F) 55%, color-mix(in srgb, var(--c, #1E3A5F) 55%, #000));
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  overflow: hidden;
}

.cv img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.pc:hover .cv img,
.sk:hover .cv img {
  transform: scale(1.06);
}

.cv.has {
  color: transparent;
  background: var(--card2);
}

.pc .bd {
  padding: 10px 11px 12px;
}

.pc h3 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  min-height: 38px;
}

.pc .ty {
  display: none !important;
}

.pc .pb {
  font-size: 12.5px;
  font-weight: 800;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc .off {
  top: 8px;
  left: 8px;
}

.none {
  margin-top: 30px;
  padding: 40px 16px;
  text-align: center;
  color: var(--mut);
  font-weight: 700;
  border-radius: 18px;
  border: 1px dashed var(--line);
}

.none[hidden] {
  display: none;
}

/* ===== why ===== */
.why {
  margin-top: 52px;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.why h2 {
  text-align: center;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.why h2 span {
  color: var(--yt);
}

.why>.wrap>p {
  text-align: center;
  color: var(--mut);
  margin: 8px auto 22px;
  max-width: 32em;
}

.fg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ft {
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}

.ft:hover {
  transform: translateY(-3px);
  border-color: var(--y);
}

.ft i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--glow);
  color: var(--yt);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.ft svg {
  width: 23px;
  height: 23px;
}

.ft h3 {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.2;
}

.ft p {
  font-size: 13px;
  color: var(--mut);
  margin-top: 5px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  padding: 20px 6px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--y) 40%, var(--line));
  background: linear-gradient(160deg, var(--card2), var(--card));
}

.stats div {
  text-align: center;
  padding: 0 4px;
}

.stats div+div {
  border-left: 1px solid var(--line);
}

.stats b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--yt);
  font-variant-numeric: tabular-nums;
}

.stats span {
  font-size: 12px;
  font-weight: 700;
  color: var(--mut);
}

/* ===== footer ===== */
.foot {
  margin-top: 48px;
  padding: 34px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--card);
}

.foot .brand {
  justify-self: start;
  margin-bottom: 20px;
}

.fc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.fc h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--yt);
  letter-spacing: .8px;
  margin-bottom: 8px;
}

.fc a {
  display: block;
  padding: 5px 0;
  color: var(--mut);
  font-weight: 600;
  font-size: 14.5px;
}

.fc a:hover {
  color: var(--ink);
}

.copy {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--mut);
}

/* ===== floating dock & widgets ===== */
.dock {
  display: none !important;
}

/* ================= BOTTOM NAVBAR (Modern Mobile Bar) ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: #ffffff;
  border-top: 1px solid #e8ecf3;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(30, 58, 138, 0.06);
  -webkit-tap-highlight-color: transparent;
}

:root[data-theme="dark"] .bottom-nav {
  background: #0B1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5);
}

/* ================= NAV ITEM ================= */
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: #8b97b0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 8px 4px;
  position: relative;
  transition: color 0.25s ease;
  height: 100%;
  border-radius: 14px;
  box-sizing: border-box;
}

.nav-item svg {
  width: 23px;
  height: 23px;
  stroke: #8b97b0;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item.active,
.nav-item[aria-current="page"] {
  color: #1e3a8a;
}

:root[data-theme="dark"] .nav-item.active,
:root[data-theme="dark"] .nav-item[aria-current="page"] {
  color: #ffd700;
}

.nav-item.active svg,
.nav-item[aria-current="page"] svg {
  stroke: #1e3a8a;
  transform: translateY(-2px) scale(1.08);
}

:root[data-theme="dark"] .nav-item.active svg,
:root[data-theme="dark"] .nav-item[aria-current="page"] svg {
  stroke: #ffd700;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 22px;
  height: 3px;
  background: #ffd700;
  border-radius: 0 0 4px 4px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.nav-item.active::before,
.nav-item[aria-current="page"]::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-item:active svg {
  transform: scale(0.88);
}

/* ================= CENTER BUTTON ================= */
.nav-item.center {
  flex: 0 0 84px;
  position: relative;
  overflow: visible;
}

.center-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #f5b800 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -32px;
  position: relative;
  box-shadow:
    0 0 0 5px #ffffff,
    0 6px 16px rgba(245, 184, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

:root[data-theme="dark"] .center-btn {
  box-shadow:
    0 0 0 5px #0B1120,
    0 6px 16px rgba(245, 184, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.3);
}

.center-btn:active {
  transform: scale(0.92);
}

:root:not([data-theme="dark"]) .center-btn:active {
  box-shadow:
    0 0 0 5px #ffffff,
    0 3px 10px rgba(245, 184, 0, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.06);
}

:root[data-theme="dark"] .center-btn:active {
  box-shadow:
    0 0 0 5px #0B1120,
    0 3px 10px rgba(245, 184, 0, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.2);
}

.center-btn svg {
  width: 26px;
  height: 26px;
  stroke: #1e3a8a;
  stroke-width: 2.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.center-btn:active svg {
  transform: rotate(90deg) scale(0.9);
}

.center-label {
  margin-top: 3px;
  font-size: 9.5px;
  color: #1e3a8a;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
}

:root[data-theme="dark"] .center-label {
  color: #ffd700;
}

.nav-item.center.active .center-label,
.nav-item.center[aria-current="page"] .center-label {
  color: #f5b800;
}

/* ================= RIPPLE ================= */
.nav-item .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.12);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (min-width: 900px) {
  .bottom-nav {
    display: none !important;
  }
}

.wa {
  position: fixed;
  right: 14px;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  animation: up .6s .8s both;
}

.wa a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 26px -10px rgba(37, 211, 102, .8);
}

.wa a svg {
  width: 30px;
  height: 30px;
  stroke: none;
  fill: #fff;
}

.wa button {
  position: absolute;
  top: -8px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2a2f3d;
  color: #fff;
  display: grid;
  place-items: center;
  border: 1px solid #444a5c;
}

.wa button svg {
  width: 11px;
  height: 11px;
  stroke-width: 3;
}


.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* ===== fluid layout: phone -> tablet -> desktop ===== */
@media (min-width: 560px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }

  .slides {
    aspect-ratio: 2.8/1;
    max-height: 380px;
  }

  .tabs {
    max-width: 560px;
  }

  .fg2 {
    max-width: 540px;
    margin-inline: auto;
  }

  .fg {
    gap: 16px;
  }
}

@media (min-width: 700px) {
  .fg {
    grid-template-columns: repeat(4, 1fr);
  }

  .fc {
    grid-template-columns: repeat(4, 1fr);
  }

  .slides {
    aspect-ratio: 3/1;
  }

  .fs {
    padding: 24px 28px;
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .app {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .app>.main {
    width: 100% !important;
  }

  .dock {
    display: none;
  }

  .wa {
    bottom: 24px;
  }

  .hb {
    display: none;
  }

  .hd .wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 76px;
  }

  .hd .r1 {
    display: contents;
  }

  .brand {
    justify-self: start;
  }

  .links {
    display: flex;
    gap: 4px;
    margin-left: 10px;
  }

  .links a {
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--mut);
    transition: all .2s;
  }

  .links a:hover,
  .links a.on {
    color: var(--ink);
    background: var(--card);
  }

  .h-acts {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    order: 1;
  }

  .acc-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    background: var(--card);
    border: 1px solid var(--line);
    text-decoration: none;
    box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .25);
    transition: all .2s;
  }

  .acc-btn:hover,
  .acc-btn.on {
    border-color: var(--y);
    color: var(--y);
    background: var(--card2);
  }

  .acc-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .wal {
    order: 1;
  }

  .bnr {
    margin-top: 28px;
  }

  .fs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "h g" "t g";
    gap: 14px 40px;
    align-items: center;
    padding: 28px 32px;
  }

  .fs .fh {
    grid-area: h;
  }

  .fs .fg2 {
    grid-area: g;
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .fs .tm {
    grid-area: t;
    text-align: left;
  }

  .fs .cd {
    justify-content: flex-start;
  }

  .fs .dg {
    --w: 34px;
  }

  .fs .co {
    line-height: 51px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1200px) {
  .fs .dg {
    --w: 44px;
  }

  .fs .co {
    line-height: 66px;
  }

  .slides {
    max-height: 420px;
  }
}

/* ===== PC banner: center me chhota banner (min(480px, 44vw)), dono side aadhe peek ===== */
@media (min-width: 900px) {
  .bnr {
    --bw: min(480px, 44vw);
    --bh: calc(var(--bw) / 2.35);
    margin-top: 28px;
    margin-bottom: 24px;
    overflow: hidden;
  }

  .slides {
    position: relative;
    width: 100%;
    height: var(--bh);
    aspect-ratio: auto;
    max-height: none;
    overflow: visible;
  }

  .sl {
    position: absolute;
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: var(--bw);
    height: var(--bh);
    transform: translate(-50%, -50%) scale(.8);
    opacity: 0;
    filter: brightness(.8);
    z-index: 1;
    pointer-events: none;
    transition: transform .45s cubic-bezier(.2, .9, .3, 1), opacity .45s, filter .45s;
  }

  .sl.on {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: brightness(1);
    z-index: 3;
    pointer-events: auto;
  }

  /* Peek logic applies when there are at least 2 slides */
  .slides:has(> .sl:nth-child(2))>.sl:has(+ .sl.on),
  .slides:has(> .sl:nth-child(2)):has(> .sl.on:first-child)>.sl:last-child {
    transform: translate(calc(-50% - var(--bw) * .56), -50%) scale(.88);
    opacity: .55;
    pointer-events: auto;
    z-index: 2;
    cursor: pointer;
    filter: brightness(.8);
  }

  .slides:has(> .sl:nth-child(2))>.sl.on+.sl,
  .slides:has(> .sl:nth-child(2)):has(> .sl.on:last-child)>.sl:first-child {
    transform: translate(calc(-50% + var(--bw) * .56), -50%) scale(.88);
    opacity: .55;
    pointer-events: auto;
    z-index: 2;
    cursor: pointer;
    filter: brightness(.8);
  }

  .slides:has(> .sl:nth-child(2))>.sl:has(+ .sl.on):hover,
  .slides:has(> .sl:nth-child(2))>.sl.on+.sl:hover,
  .slides:has(> .sl:nth-child(2)):has(> .sl.on:first-child)>.sl:last-child:hover,
  .slides:has(> .sl:nth-child(2)):has(> .sl.on:last-child)>.sl:first-child:hover {
    opacity: .85;
    filter: brightness(.95);
  }

  .dots:empty {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .fs {
    padding: 16px 12px;
  }

  .bt strong {
    font-size: 15.5px;
  }

  .bt small {
    letter-spacing: 3.6px;
  }

  .tab {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }
}

/* Mobile App Install Banner */
#appInstallBanner,
.app-banner {
  display: none;
}

@media (max-width: 768px) {
  #appInstallBanner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: fixed;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 410px;
    box-sizing: border-box;
    background: color-mix(in srgb, var(--card) 95%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--y) 40%, var(--line));
    border-radius: 12px;
    padding: 9px 12px;
    box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.45);
    z-index: 55;
    animation: abSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  #appInstallBanner.ab-hiding {
    animation: abSlideDown 0.25s ease forwards;
  }

  .ab-content {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex: 1;
  }

  .ab-icon-svg {
    color: var(--yt);
    flex-shrink: 0;
  }

  .ab-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
  }

  .ab-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .ab-sub {
    font-size: 11px;
    color: var(--mut);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .ab-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD54F, #FFC400 60%, #E5A800);
    color: var(--on-y) !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 999px;
    box-shadow: 0 4px 12px -2px var(--glow);
    transition: transform 0.15s;
  }

  .ab-btn:active {
    transform: scale(0.96);
  }

  .ab-close {
    background: transparent;
    border: none;
    color: var(--mut);
    cursor: pointer;
    padding: 4px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: color 0.15s;
  }

  .ab-close:hover {
    color: var(--ink);
  }

  @keyframes abSlideUp {
    from {
      opacity: 0;
      transform: translate(-50%, 20px);
    }

    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }

  @keyframes abSlideDown {
    from {
      opacity: 1;
      transform: translate(-50%, 0);
    }

    to {
      opacity: 0;
      transform: translate(-50%, 20px);
    }
  }
}

@media (min-width: 769px) {

  #appInstallBanner,
  .app-banner {
    display: none !important;
  }
}

/* Unified Page Content Layout */
.main {
  width: 100%;
  min-height: calc(100vh - 76px - 260px);
  padding: 36px 0 64px;
  overflow: visible !important;
}

.sup,
.page {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}

@media (max-width: 899px) {
  .main {
    padding: 16px 0 90px;
  }

  .sup,
  .page {
    padding: 0 4px;
  }
}

.app {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: none !important;
  background: transparent !important;
}

/* ================= Supported Payment Trust Bar ================= */
.pay-trust-bar {
  margin-top: 36px;
  padding: 24px 20px 20px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--y) 4%, var(--card)), var(--card));
  border: 1px solid color-mix(in srgb, var(--y) 22%, var(--line));
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.4);
}

.pt-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--y);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.pt-label svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.pt-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pt-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--card2, #17223F);
  border: 1px solid var(--line, #25304D);
  color: var(--ink, #F2F5FF);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.pt-item:hover {
  transform: translateY(-2px);
  border-color: var(--y);
  box-shadow: 0 6px 16px -6px rgba(255, 196, 0, 0.25);
}

.pt-logo {
  height: 22px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  display: block;
}

.pt-logo.pt-bank {
  height: 18px;
  max-width: 70px;
}

:root[data-theme="light"] .pt-logo.pt-bank,
:root:not([data-theme="dark"]) .pt-logo.pt-bank {
  filter: invert(1) brightness(0.15);
}

:root[data-theme="dark"] .pt-logo.pt-bank {
  filter: none;
}

.pt-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--mut);
  font-weight: 500;
  margin: 4px auto 0;
}

.pt-note svg {
  width: 15px;
  height: 15px;
  stroke: var(--y);
  fill: none;
  stroke-width: 2;
  flex: none;
}