/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary: rgb(14, 165, 233);
  --secondary: rgb(3, 105, 161);
  --gradient: linear-gradient(135deg, rgb(3, 105, 161) 0%, rgb(14, 165, 233) 100%);
  --bg: rgb(248, 250, 252);
  /* Default fallback */
  --card: #FFFFFF;
  --success: #0EA5E9;
  --danger: #EF4444;
  --text-dark: #1E1B4B;
  --text-gray: #6B7280;
  --shadow: 0 4px 20px rgba(14, 165, 233, 0.12);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(168, 85, 247, 0.1) 50%, rgba(14, 165, 233, 0.1) 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 700;
}

.main-header {
  background: var(--gradient);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  position: sticky;
  top: 0;
  z-index: 2000;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
}

.main-header .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-header .logo-area i {
  font-size: 24px;
}

.main-header .app-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

.main-header .header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.main-header .header-right i {
  font-size: 20px;
  cursor: pointer;
}

/* Auth Pages */
.auth-container {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: white;
}

.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-header h1 {
  font-size: 32px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.auth-card {
  width: 100%;
  background: white;
  padding: 24px;
  border-radius: var(--radius);
}

.auth-card h2 {
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 20px;
}

.input-group .toggle-password {
  position: absolute;
  left: auto;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  cursor: pointer;
  font-size: 20px;
}

/* Purchase Page Redesign (Match Screenshot) */
.order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #F8FAFC;
}

.order-card-new {
  background: white;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #F1F5F9;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-amount-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.currency-circle {
  width: 44px;
  height: 44px;
  background: #F5F3FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.amount-text-main {
  font-size: 18px;
  font-weight: 700;
  color: #1E1B4B;
}

.bank-tag {
  background: #EEF2FF;
  color: var(--primary);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
  display: inline-block;
}

.order-buy-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.order-card-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 8px;
}

.info-col-label {
  font-size: 11px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.info-col-value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1E1B4B;
}

.info-col-sub {
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
}

.coin-icon-small {
  width: 14px;
  height: 14px;
  color: #FBBF24;
}

/* Order Cards */
.order-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  padding: 16px;
}

.order-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #F1F5F9;
  position: relative;
  transition: transform 0.2s;
}

.order-card:active {
  transform: scale(0.95);
}

.order-card .amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.order-card .reward {
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 4px;
}

.order-card .bonus-text {
  font-size: 11px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.order-card .diamond {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.order-card .qty-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #F3F4F6;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  color: var(--text-gray);
  font-weight: 600;
}

/* UPI Popup */
.upi-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: flex-end;
  z-index: 4000;
}

.upi-popup {
  background: white;
  width: 100%;
  max-width: 500px;
  border-radius: 32px 32px 0 0;
  padding: 24px;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.upi-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #F8FAFC;
  margin-bottom: 12px;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.2s;
}

.upi-item.selected {
  border-color: var(--primary);
  background: #EEF2FF;
}

.upi-item input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
}

.input-field {
  width: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 16px 14px 48px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: all 0.3s;
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.btn-gradient {
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s, opacity 0.2s;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-gradient:active {
  transform: scale(0.98);
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 412px;
  height: 65px;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 5px;
  padding-bottom: env(safe-area-inset-bottom, 5px);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
  z-index: 4000;
  border-radius: 20px 20px 0 0;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #94A3B8;
  height: 60px;
  transition: all 0.2s;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item i {
  font-size: 20px;
}

.nav-item span {
  font-size: 11px;
  font-weight: 600;
}

.nav-item-center {
  position: relative;
  width: 70px;
  height: 65px; /* Match bar height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Align label to bottom */
  text-decoration: none;
  z-index: 4001;
  padding-bottom: 8px;
}

.nav-item-center .plus-circle {
  position: absolute;
  top: -32px; /* Exactly halfway out (64px total height) */
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
  border: 5px solid white;
  transition: transform 0.2s;
}

.nav-item-center:active .plus-circle {
  transform: scale(0.9) translateY(5px);
}

.nav-item-center span {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-gray);
  text-decoration: none;
  flex: 1;
  position: relative;
}

.nav-item i {
  font-size: 19px;
}

.nav-item span {
  font-size: 10px;
  font-weight: 500;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active i {
  color: var(--primary);
  font-size: 26px;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
  transform: translateY(-4px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
background: #F8FAFC;
  margin-bottom: 12px;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.2s;
}

.upi-item.selected {
  border-color: var(--primary);
  background: #EEF2FF;
}

.upi-item input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
}

.input-field {
  width: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 16px 14px 48px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: all 0.3s;
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.btn-gradient {
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s, opacity 0.2s;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-gradient:active {
  transform: scale(0.98);
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 412px;
  height: 65px;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 5px;
  padding-bottom: env(safe-area-inset-bottom, 5px);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
  z-index: 4000;
  border-radius: 20px 20px 0 0;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #94A3B8;
  height: 60px;
  transition: all 0.2s;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item i {
  font-size: 20px;
}

.nav-item span {
  font-size: 11px;
  font-weight: 600;
}

.nav-item-center {
  position: relative;
  width: 70px;
  height: 65px; /* Match bar height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Align label to bottom */
  text-decoration: none;
  z-index: 4001;
  padding-bottom: 8px;
}

.nav-item-center .plus-circle {
  position: absolute;
  top: -32px; /* Exactly halfway out (64px total height) */
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
  border: 5px solid white;
  transition: transform 0.2s;
}

.nav-item-center:active .plus-circle {
  transform: scale(0.9) translateY(5px);
}

.nav-item-center span {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-gray);
  text-decoration: none;
  flex: 1;
  position: relative;
}

.nav-item i {
  font-size: 19px;
}

.nav-item span {
  font-size: 10px;
  font-weight: 500;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active i {
  color: var(--primary);
  font-size: 26px;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 20px rgba(14, 165, 233, 0.9), 0 0 40px rgba(14, 165, 233, 0.4);
  transform: translateY(-6px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: navGlow 2s infinite alternate;
}

@keyframes navGlow {
  from {
    opacity: 0.5;
    transform: translateX(-50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}


/* Profile Page Styles */
.profile-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
  margin: 15px auto 25px;
  background: linear-gradient(135deg, #0EA5E9 0%, #7DD3FC 100%);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  width: 388px;
  height: 120px;
  color: white;
}

.avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #E2E8F0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.balance-card-premium {
  background: linear-gradient(135deg, rgb(14, 165, 233), rgb(109, 40, 217));
  margin: 15px auto 25px;
  padding: 20px;
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
  width: 370px;
  height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(5px);
}

.today-earnings {
  background: rgba(255, 255, 255, 0.15);
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.withdraw-section {
  background: linear-gradient(135deg, rgb(14, 165, 233) 0%, rgb(109, 40, 217) 100%);
  margin: 0 auto 15px;
  padding: 16px 20px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
  width: 370px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
}

.withdraw-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.withdraw-label-pill {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.withdraw-section #pendingWithdraw {
  color: white !important;
}

.withdraw-section .stat-lab {
  color: rgba(255, 255, 255, 0.9) !important;
}

.withdraw-section .stat-val {
  color: white !important;
}

.withdraw-section .withdraw-stats {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.manage-btn {
  background: #F5F3FF;
  color: rgb(14, 165, 233);
  border: 1px solid #DDD6FE;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.withdraw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #F8FAFC;
  padding: 10px 12px;
  border-radius: 15px;
}

.stat-box {
  text-align: center;
}

.stat-lab {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 4px;
}

.stat-val {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 0 20px;
  margin-bottom: 30px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1E293B;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 32px;
  height: 32px;
}

.grid-item span {
  font-size: 13px;
  font-weight: 600;
}

.list-header {
  font-size: 16px;
  font-weight: 800;
  margin: 10px 20px 15px;
  color: #1E293B;
  text-align: left;
}

.other-functions {
  background: white;
  margin: 15px 16px 160px;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1.5px solid #F8FAFC;
  overflow: hidden;
}

.func-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.func-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.2s;
  background: white;
  width: 100%;
  text-align: left;
}

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

.func-item:active {
  background: #F1F5F9;
  transform: scale(0.98);
}

.func-item svg, .func-item i:not(.fa-chevron-right) {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.func-item span {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  flex: 1;
  text-align: left;
  margin-left: 4px; /* Slight gap from icon */
}

.func-item i.fa-chevron-right {
  margin-left: auto;
  color: #CBD5E1;
  font-size: 12px;
}

/* Team Page Styles */
.team-stats-card {
  background: white;
  margin: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
  overflow: hidden;
}

.header-stats {
  background: #EEF2FF;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.team-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
}

.big-val {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 5px;
}

.big-num {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
}

.invite-box {
  background: white;
  margin: 0 20px 20px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.copy-input {
  background: #F1F5F9;
  border-radius: 30px;
  padding: 5px 5px 5px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-detail-card {
  background: white;
  margin: 0 20px 100px;
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.social-grid {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  margin-bottom: 30px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

.social-item i {
  font-size: 36px;
}

.tool-fab-container {
  position: relative;
  top: -20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tool-fab {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), 0 0 12px rgba(16, 185, 129, 0.3);
  margin-bottom: 4px;
  text-decoration: none;
  filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.2));
}

/* Layout Parts */
.app-container {
  padding-bottom: 100px;
}

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

.section-header h2 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-header .see-all {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* Home Components */
.banner-slider {
  padding: 0 16px;
  margin-bottom: 20px;
}

.banner-card {
  width: 100%;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selling-status {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  margin: 0 16px 16px;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--success);
}

input:checked+.slider:before {
  transform: translateX(24px);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  padding: 12px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  background: transparent !important;
}

.stat-icon::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  filter: blur(8px);
  z-index: 0;
}

.stat-icon img,
.stat-icon i {
  position: relative;
  z-index: 1;
}

.purchase-card {
  background: white !important;
  color: var(--text-dark) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.purchase-card .label {
  color: var(--text-gray) !important;
}

.sell-card {
  background: white !important;
  color: var(--text-dark) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sell-card .label {
  color: var(--text-gray) !important;
}

.stat-info .value {
  font-weight: 700;
  font-size: 14px;
}

.stat-info .label {
  font-size: 10px;
  color: var(--text-gray);
}

.reward-card {
  background: linear-gradient(135deg, #3B82F6 0%, #0369A1 100%);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  color: white;
  margin: 0 16px 20px;
  padding: 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 15px rgba(14, 165, 233, 0.2), 0 0 10px rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.price-card {
  background: linear-gradient(135deg, #c9c494 0%, #aa8c05 100%);
  margin: 0 16px 20px;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tabs */
.tab-bar {
  display: flex;
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tab.active {
  color: var(--text-dark);
  border-bottom-color: var(--primary);
}

/* Floating Support */
#supportBtn {
  position: fixed;
  bottom: 110px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  cursor: grab;
  transition: transform 0.2s;
  touch-action: none;
}

#supportBtn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Utils */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-primary {
  color: var(--primary);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.mt-2 {
  margin-top: 8px;
}

.mb-2 {
  margin-bottom: 8px;
}

/* Loader */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Custom Popup */
.custom-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 3000;
  width: 90%;
  max-width: 320px;
  text-align: center;
  display: none;
  animation: fadeIn 0.3s ease-out;
}

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

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

.custom-popup p {
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--text-dark);
}

.custom-popup button {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* Global Warning Ticker */
.warning-ticker {
  background: white;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4000;
  position: relative;
  overflow: hidden;
}

.welcome-marquee {
  color: #EF4444;
  /* Red text */
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: marquee-scroll 10s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.fixed-top-section {
  position: relative;
  width: 100%;
  z-index: 100;
  background: white;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.scrollable-content {
  padding-bottom: 100px;
  overflow-y: auto;
}

.main-header-new {
  top: 0 !important;
  /* Override previous sticky behavior */
  animation: none !important;
  /* User wants it stable now */
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

/* Splash Screen Loader */
.splash-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #09090b 0%, #17171e 100%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

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

.splash-text {
  font-size: 40px;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.8), 0 0 40px rgba(16, 185, 129, 0.4);
  animation: textGlow 1.5s ease-in-out infinite alternate;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.splash-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #6C3EF4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3);
  }

  to {
    text-shadow: 0 0 25px rgba(16, 185, 129, 1), 0 0 50px rgba(16, 185, 129, 0.8), 0 0 70px rgba(16, 185, 129, 0.6);
  }
}

.splash-hidden {
  opacity: 0;
  visibility: hidden;
}

/* --- NEW HOME DASHBOARD STYLES --- */
.main-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: white;
  position: sticky;
  top: -60px;
  /* Hidden initially for animation */
  z-index: 2000;
  animation: slideHeaderDown 0.6s ease forwards;
}

@keyframes slideHeaderDown {
  from {
    top: -60px;
  }

  to {
    top: 0;
  }
}

.user-greeting h1 {
  font-size: 20px;
  font-weight: 800;
  color: #1E293B;
}

.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header-actions i {
  font-size: 18px;
  color: #1E293B;
  cursor: pointer;
}

.top-dashboard {
  background: white;
  padding: 10px 20px 20px;
  margin-bottom: 20px;
}

.balance-label {
  font-size: 13px;
  color: #94A3B8;
  font-weight: 500;
  margin-bottom: 5px;
}

.balance-main {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
}

.balance-main .coin-icon {
  width: 32px;
  height: 32px;
}

.balance-value {
  font-size: 36px;
  font-weight: 800;
  color: #1E293B;
}

.bill-details-btn {
  margin-left: auto;
  border: 1px solid rgb(14, 165, 233);
  color: rgb(14, 165, 233);
  background: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

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

.stat-box-new {
  background: #F0FDF4;
  padding: 12px 15px;
  border-radius: 12px;
}

.stat-box-new .stat-label {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 8px;
}

.stat-box-new .est {
  color: #94A3B8;
}

.stat-value-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
}

.stat-value-container i {
  font-size: 14px;
  color: #1E293B;
}

.stat-value-container .currency {
  font-size: 14px;
  margin-right: 2px;
}

.action-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  margin-bottom: 20px;
}

.action-item {
  width: 183px;
  height: 73px;
  background: rgb(14, 165, 233);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
  transition: transform 0.2s;
}

.action-item:active {
  transform: scale(0.96);
}

.action-item i {
  font-size: 22px;
  color: white;
}

.action-item span {
  font-size: 18px;
  font-weight: 800;
  color: white;
}

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

.home-section-header h2 {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
}

.home-section-header .learn-how {
  font-size: 11px;
  color: rgb(14, 165, 233);
  text-decoration: underline;
}

.home-section-header .go-link {
  font-size: 11px;
  font-weight: 700;
  color: rgb(14, 165, 233);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.profit-info-card {
  background: white;
  margin: 0 20px 20px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.profit-percentage {
  font-size: 32px;
  font-weight: 900;
  color: rgb(14, 165, 233);
  font-style: italic;
  margin-bottom: 10px;
  display: block;
}

.profit-text {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
}

.price-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #F1F5F9;
}

.price-box {
  text-align: center;
}

.price-box:first-child {
  border-right: 1px solid #F1F5F9;
}

.price-label {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.price-val {
  font-size: 20px;
  font-weight: 900;
  color: #1E293B;
}

.more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 0 20px;
  margin-top: 15px;
}

.more-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.more-card i {
  font-size: 28px;
  color: rgb(14, 165, 233);
}

/* Animations */
.nav-item i {
  transition: transform 0.3s;
}

.nav-item:active i {
  transform: translateY(-5px);
}

.splash-title-premium {
  animation: fadeInDown 0.8s ease backwards;
}

/* Premium Ticker Styles */
.warning-ticker {
  background: white;
  padding: 10px 18px;
  display: none;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  z-index: 10;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.ticker-icon {
  font-size: 16px;
  flex-shrink: 0;
  color: #EF4444;
  animation: pulseTicker 1.5s infinite;
}

@keyframes pulseTicker {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }

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

.welcome-marquee {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
}

.ticker-text {
  font-size: 13px;
  font-weight: 800;
  color: #EF4444;
  animation: tickerScroll 20s linear infinite;
  padding-left: 100%;
  display: inline-block;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes pulse-red {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

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

/* Premium Animated Loader Overlay */
.loader-overlay.splash-screen {
  background: #FFFFFF !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-container-premium {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.loader-ring-p {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
}

.ring-p1 {
  width: 100px;
  height: 100px;
  border-top-color: #0EA5E9;
  animation: rotateRingPremium 1.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.ring-p2 {
  width: 80px;
  height: 80px;
  border-top-color: #EC4899;
  animation: rotateRingPremium 1.4s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
}

.ring-p3 {
  width: 60px;
  height: 60px;
  border-top-color: #14B8A6;
  animation: rotateRingPremium 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes rotateRingPremium {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.splash-title-premium-new {
  font-size: 32px;
  font-weight: 900;
  color: #1E293B;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 20px;
  animation: premiumTextAnim 2s ease-in-out infinite;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@keyframes premiumTextAnim {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.95);
    letter-spacing: 4px;
  }

  50% {
    opacity: 1;
    transform: scale(1);
    letter-spacing: 10px;
  }
}

/* Purchase Page Styles */
:root {
    --primary: rgb(14, 165, 233);
    --secondary: rgb(109, 40, 217);
    --gradient: linear-gradient(135deg, rgb(14, 165, 233), rgb(109, 40, 217));
    --bg: #F5F7FF;
    --text-dark: #1E1B4B;
    --text-gray: #6B7280;
}

.tab-bar {
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tab {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    padding: 8px 16px;
    position: relative;
}

.tab.active {
    color: var(--text-dark);
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}

.order-card-new {
    background: white;
    margin: 10px 18px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.icon-circle {
    width: 40px;
    height: 40px;
    background: #F0FDF4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0EA5E9;
    font-size: 18px;
}

.amt-val {
    font-size: 20px;
    font-weight: 800;
    color: #1E293B;
}

.currency-label {
    font-size: 11px;
    color: #64748B;
    margin-left: 4px;
    font-weight: 600;
}

.range-pill {
    padding: 8px 20px;
    border-radius: 20px;
    background: #E5E7EB;
    color: #64748B;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.range-pill.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    border-color: rgba(255,255,255,0.2);
}

.type-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    color: #64748B;
    transition: all 0.2s;
}

.type-tab.active {
    background: var(--gradient);
    color: white !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.btn-buy {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.2);
}

.card-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
}

.info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.label-text {
    font-size: 11px;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
}

.val-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
}

.coin-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.formula {
    font-size: 10px;
    color: #94A3B8;
    font-weight: 500;
    margin-left: 4px;
}

.upi-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.upi-popup {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 24px;
    text-align: center;
}

.upi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #F8FAFC;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.upi-item.selected {
    border-color: #0EA5E9;
    background: #F0F9FF;
}

.upi-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.upi-app-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.upi-id-info {
    display: flex;
    flex-direction: column;
}

.upi-app-name {
    font-size: 14px;
    font-weight: 800;
    color: #1E293B;
}

.upi-id-label {
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E1;
    border-radius: 50%;
    position: relative;
}

.upi-item.selected .radio-circle {
    border-color: #0EA5E9;
    background: #0EA5E9;
}

.upi-item.selected .radio-circle::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Tool & Add Tool Styles */
.balance-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    margin: 0 16px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #F1F5F9;
}
.balance-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.balance-label {
    font-size: 14px;
    color: #64748B;
    font-weight: 600;
}
.balance-value {
    font-size: 24px;
    font-weight: 800;
    color: #1E293B;
}
.min-withdrawal {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 500;
}
.desc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.desc-modal {
    background: white;
    width: 100%;
    max-width: 320px;
    padding: 24px;
    border-radius: 20px;
    text-align: center;
}
.platform-list {
    padding: 15px;
    background: #F1F5F9;
    min-height: calc(100vh - 100px);
}
.platform-card {
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
}
.badge {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: lowercase;
}
.badge.buy { background: #E2E8F0; color: #64748B; }
.badge.sell { background: rgb(14, 165, 233); color: white; }
.platform-logo-img { width: 100px; height: auto; max-height: 40px; object-fit: contain; }
.step-indicator { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; padding: 0 10px; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.step-label { font-size: 12px; color: #64748B; }
.step-label.active { color: rgb(14, 165, 233); }
.step-dot { width: 8px; height: 8px; background: #CBD5E1; border-radius: 50%; }
.step-dot.active { background: rgb(14, 165, 233); }
.indicator-line { position: absolute; top: 25px; left: 10%; width: 80%; height: 1px; background: #E2E8F0; z-index: 1; }
.auth-input-field { width: 100%; height: 54px; border: 1px solid #E2E8F0; border-radius: 8px; padding: 0 16px; font-size: 16px; margin-bottom: 24px; box-sizing: border-box; }
.pin-container { display: flex; gap: 10px; margin-bottom: 40px; }
.pin-box { flex: 1; height: 54px; border: 1px solid #F1F5F9; background: #F8FAFC; border-radius: 8px; text-align: center; font-size: 20px; font-weight: 700; }
.btn-next { width: 100%; height: 54px; background: rgb(14, 165, 233); color: white; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 20px; }

/* UPI Card Styles */
.upi-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin: 0 16px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #F1F5F9;
}

.upi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.upi-id-text {
    font-size: 18px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 4px;
}

.upi-uid-phone {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 600;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #F8FAFC;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.status-dot.online { background: #10B981; box-shadow: 0 0 8px #10B981; }
.status-dot.offline { background: #EF4444; }

.platform-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px dashed #E2E8F0;
    border-bottom: 1px dashed #E2E8F0;
    margin-bottom: 15px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #E2E8F0;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #10B981;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.warning-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.warning-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #EF4444;
    font-size: 11px;
    font-weight: 600;
    max-width: 80%;
}

/* New Splash Screen Styles */
.splash-screen {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    position: fixed;
    inset: 0;
}

.splash-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.splash-svg {
    width: 150px;
    height: auto;
    margin-bottom: 5px;
}

.m-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawPath 2s ease-out forwards;
}

.w-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawPath 2.5s ease-out 0.5s forwards;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

.splash-brand {
    text-align: center;
    margin-bottom: 20px;
}

.brand-name {
    font-size: 32px;
    font-weight: 900;
    color: rgb(14, 165, 233);
    letter-spacing: 4px;
    margin: 0;
    animation: splashFadeIn 1s ease-out 1s both;
}

.splash-progress-container {
    width: 180px;
    height: 4px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.splash-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
    border-radius: 10px;
    position: relative;
    animation: fillBar 2s ease-in-out forwards;
}

.splash-progress-glow {
    position: absolute;
    right: -5px;
    top: -5px;
    width: 14px;
    height: 14px;
    background: #60a5fa;
    border-radius: 50%;
    filter: blur(4px);
    box-shadow: 0 0 15px #3b82f6;
}

@keyframes fillBar {
    to { width: 100%; }
}

@keyframes splashFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ringing-bell {
  0% { transform: rotate(0); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(5deg); }
  60% { transform: rotate(-5deg); }
  70% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

.ringing-bell {
  animation: ringing-bell 2s infinite ease-in-out;
  transform-origin: top center;
}
