* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

button, a, svg, i {
  outline: none;
  border: none;
  -webkit-tap-highlight-color: transparent; /* mobile tap glow remove */
}



body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8f9fa;
  max-width: 414px;
  margin: 0 auto;
  min-height: 100vh;
}

body {
  overflow-x: hidden !important;
}

body.scrolled {
  padding-top: 60px;
}

.main-content {
  padding: 15px 20px 80px;
  background: white;
  position: relative;
  transform: all 5s ease-in-out;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  /* background: linear-gradient(135deg, #5f27cd 0%, #341f97 100%); */
  background: #020754;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}

.help-icon {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}


.top-bar.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: white;
  max-width: 414px;
  color: black;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar.fixed>.help-icon {
  width: 30px;
  height: 30px;
  border: 2px solid black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 18px;
  font-weight: bold;
}


.header {
  background: linear-gradient(135deg, #5f27cd 0%, #341f97 100%);
  padding: 20px;
  color: white;
  position: relative;
  min-height: 200px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* .logo {
  width: 50px;
  height: 50px;
  background: #ffd32a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #5f27cd;
  font-size: 14px;
} */



.promo-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
  margin-top: 43px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateY(0);
}

.header.scrolled {
  min-height: 80px;
  padding: 10px 20px;
}

.header.scrolled .promo-content {
  opacity: 0;
  transform: translateY(-20px);
}

.promo-text {
  font-size: 16px;
  margin-bottom: 8px;
  opacity: 0.9;
  color: #9e9e9e;
}

.cashback-text {
  font-size: 28px;
  margin-bottom: 3px;
}

.try-now-btn {
  background: transparent;
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.promo-illustration {
  position: absolute;
  bottom: -16px;
  left: 37%;
  transform: translateX(-50%);
  width: 335px;
  height: 133px;
  background: url("assets/images/backgound-preview.png") center / contain no-repeat;
}

.tc-apply {
  position: absolute;
  bottom: 11px;
  right: 6px;
  color: rgb(154 154 154 / 70%);
  font-size: 12px;
  z-index: 2;
}


.section {
  margin-bottom: 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin: 10px 0;
}

.view-all {
  color: #5f27cd;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.money-transfers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  padding: 11px;
}

.transfer-item {
  text-align: center;
  position: relative;
}

.transfer-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #670fc3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: white;
  font-size: 24px;
}

.transfer-icon-after {
  content: "";
  position: absolute;
  top: 1px;
  right: 10px;
  width: 16px;
  height: 16px;
  background: #00d084;
  border-radius: 50%;
  border: 2px solid white;
}

.transfer-text {
  font-size: 12px;
  color: #2c3e50;
  line-height: 1.3;
}

.recharge-bills {
  background: #f6f6f6;
  border-radius: 16px;
  padding: 11px;
  margin-bottom: 20px;
  border: 1px solid #ebe6e6;
}

.bills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bill-item {
  text-align: center;
}

.bill-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #5f27cd;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bill-text {
  font-size: 12px;
  color: #2c3e50;
  line-height: 1.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.service-card {
  background: #f6f6f6;
  border-radius: 16px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid #ebe6e6;
}

.service-card.travel {
  grid-row: span 2;
}

.service-title {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
}

.service-subtitle {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 15px;
}

.service-tag {
  background: #e8f4fd;
  color: #5f27cd;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.service-tag.offer {
  background: #e5ccff;
  color: #5f3880;
}

.service-tag.sale {
  background: #e5ccff;
  color: #5f3880;
}

.service-illustration {
  position: absolute;
  bottom: -3px;
  right: 0px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 414px;
  background: white;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  z-index: 9999;
}




.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #7f8c8d;
  position: relative;
}

.nav-item.active {
  color: #3d3d3d;
}

.nav-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.qr-scanner {
  background: #5f27cd;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  top: -20px;
}

.nav-text {
  font-size: 12px;
  /* font-weight: 400; */
  font-weight: 600;
}

.nav-text:active {
  color: #000;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #00d084;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-banner {
  margin: 10px 0;
  background: #220542;
  border-radius: 16px;
  padding: 5px 13px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.promo-banner2 {
  background: #002329;
  border-radius: 16px;
  padding: 0px 13px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
}

.promo-banner2 h3,
.promo-banner h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-banner2 p,
.promo-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}



.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}

.dot.active {
  background: #333;
  width: 20px;
  border-radius: 10px;
}

.qr-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  border-top: 1px solid #e8e5e5;
}

.qr-separator {
  width: 1px;
  height: 20px;
  background-color: #e0e0e0;
  margin: 0 8px;
}

.qr-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.upi-id {
  font-size: 14px;
  color: #666;
  /* filter: blur(1px); */
  /* filter: blur(4px); */
}

.qr-icon {
  /* width: 24px;
  height: 24px; */
  background: #f0f0f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

.app-store-section {
  background: #220542;
  padding: 0px 24px;
  color: white;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.app-store-section h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

.app-store-btn {
  background: #e1cafa;
  color: #5d318c;
  padding: 10px 9px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  font-size: 13px;
}

/* History Page */

.container {
  margin: 0 auto;
  background: white;
  min-height: 100vh;
  position: relative;
}

.history-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px 16px;
  background: white;
}

.history-header h1 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
}

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

.help-icon2 {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}



.statements-btn {
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.clock-icon {
  width: 16px;
  height: 16px;
  border: 1px solid #666;
  border-radius: 50%;
  position: relative;
}

.clock-icon::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 1px;
  height: 5px;
  background: #666;
  transform: translateX(-50%);
}

.clock-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 4px;
  height: 1px;
  background: #666;
  transform: translateY(-50%);
}

.search-container {
  padding: 0 16px 16px;
  background: white;
  border-bottom: 1px solid #ebeaea;
}

.search-icon-main {
  border-left: 1px solid #dadada;
  padding: 0px 4px;
  width: 32px;
  height: 25px;
}

.search-bar {
  background: #f5f0fa;
  border-radius: 35px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  box-shadow: none;
}

.search-icon {
  width: 20px;
  height: 20px;
  border: 2px solid #888;
  border-radius: 50%;
  position: relative;
  opacity: 0.7;
}

.search-icon::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 6px;
  height: 2px;
  background: #888;
  transform: rotate(45deg);
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  font-size: 16px;
  color: #999;
  outline: none;
}

.search-input::placeholder {
  color: #aaa;
  font-weight: 400;
}

.filter-icon {
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.filter-line {
  background: #888;
  border-radius: 1px;
  height: 2px;
}

.filter-line:nth-child(1) {
  width: 16px;
  position: relative;
}

.filter-line:nth-child(1)::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 0;
  width: 2px;
  height: 2px;
  background: #888;
  border-radius: 50%;
}

.filter-line:nth-child(2) {
  width: 12px;
  position: relative;
}

.filter-line:nth-child(2)::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 0;
  width: 2px;
  height: 2px;
  background: #888;
  border-radius: 50%;
}

.filter-line:nth-child(3) {
  width: 8px;
  position: relative;
}

.filter-line:nth-child(3)::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 0;
  width: 2px;
  height: 2px;
  background: #888;
  border-radius: 50%;
}

.transaction-list {
  padding: 0 16px;
  padding-bottom: 80px;
}

.transaction-item {
  display: flex;
  align-items: center;
}

.transaction-item .column {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.transaction-item.column:last-child {
  border-bottom: none;
}

.transaction-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  margin-bottom: 19px;
}

.arrow-icon {
  background: white;
  border-radius: 61px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 14px;
  padding: 2px 9px;
}

/* .arrow-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 12px;
  height: 2px;
  background: #333;
  transform: translateY(-50%);
}

.arrow-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 2px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(-45deg);
} */

.transaction-details {
  flex: 1;
}

.transaction-type {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.transaction-name {
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.transaction-time {
  font-size: 12px;
  color: #999;
}

.transaction-amount {
  text-align: right;
  margin-top: 20px;
}

.amount {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.transaction-status {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  font-size: 12px;
}

.status-success {
  color: #b0b0b0;
}

.status-failed {
  color: #ababab;
}

.jio-logo {
  width: 16px;
  height: 16px;
  background: #edad3e;
  border-radius: 50%;
  color: white;
  font-size: 8px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-icon {
  width: 16px;
  height: 16px;
  background: #d13532;
  border-radius: 50%;
  color: white;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Splash Screen Page

.logo-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.logo {
  position: relative;
  width: 80px;
  height: 80px;
  background: #6710c4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.logo2 {

  position: relative;
  width: 80px;
  height: 80px;
  background: #c494f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  animation: logo 1.5s ease-out;

}

.logo2 img,
.logo img {
  width: 46px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.logo-text {
  color: #5f2eea;
  font-size: 32px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}


.logo-container .oval-top {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #6710c4;
  border-radius: 50%;
  bottom: 100px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

}

.logo-container .oval-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 76px;
  background: #c494f7;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: moveLogoUp 1s ease-in-out 0.5s forwards;
  transition: all 0.7s ease-in-out;
}

.logo-brand-name {
  color: #62269e;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
  position: relative;
  bottom: 51px;
}

.oval-bottom img {
  width: 80px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  z-index: 99;
}

.security-badges {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  align-items: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.pci-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid #10b981;
}

.secure-badge {
  background: #10b981;
  color: white;
  font-size: 10px;
  padding: 6px 10px;
}

.iso-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid #10b981;
}

.badge-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(-27px);
  }
}

@keyframes moveLogoUp {
  0% {
    transform: translateY(-12px);
    opacity: 0;
    background: transparent;
  }

  100% {
    transform: translateY(-24px);
    opacity: 1;
    background: transparent;
    z-index: 99;
  }
} */

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .logo {
    width: 70px;
    height: 70px;
  }

  .logo-text {
    font-size: 28px;
  }

  .brand-name {
    font-size: 28px;
  }

  .security-badges {
    bottom: 40px;
    gap: 15px;
  }

  .badge {
    padding: 6px 10px;
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .logo-text {
    font-size: 24px;
  }

  .brand-name {
    font-size: 24px;
  }

  .security-badges {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .badge {
    padding: 5px 8px;
    font-size: 9px;
  }
}

/* Animation */
/* .logo {
  animation: pulse 2s infinite;
} */

/* Animation */
@keyframes slideInFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes logoEntrance {
  0% {
    transform: translateY(50px) scale(0.5);
    opacity: 0;
  }

  60% {
    transform: translateY(0) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  }
}


@media screen and (max-width: 414px) and (orientation: portrait) {
  body {
    width: 100%;
  }
}