/* ====== base ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #e5e7ff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.phone {
  width: 420px;
  max-width: 100%;
  background: #f6f6ff;
  border-radius: 32px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;

  /* NEW: fixed phone-height like real mobile */
  height: 680px;
  max-height: 100vh;
}


.screen {
  padding: 16px 16px 24px;
  background: linear-gradient(to bottom, #f3f0ff 0%, #f9faff 40%, #f5f5ff 100%);

  /* NEW: full height + scroll */
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}


/* top bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #7a7a90;
  margin-bottom: 10px;
  gap: 8px;
}

.top-left span:first-child {
  color: #4a4a4a;
  margin-right: 4px;
}

.token-amount {
  color: #00b35b;
  font-weight: 600;
}

.withdraw-btn {
  background: #ff9f1c;
  border-radius: 18px;
  padding: 4px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.support {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

/* banner */
.pill-banner {
  margin: 4px 0 16px;
  background: #222;
  color: #fff;
  border-radius: 14px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 6px;
}

.pill-banner strong {
  color: #ffed4a;
}

.banner-btn {
  background: #2f7cf3;
  border: none;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

/* TP header */
.tp-header {
  text-align: center;
  margin-bottom: 18px;
}

.tp-label {
  font-size: 15px;
  color: #777;
  margin-bottom: 4px;
}

.tp-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 4px;
  border-radius: 14px;
  
}

.tp-value {
  font-size: 32px;
  font-weight: 700;
  margin-top: 4px;
}

.daily-earn {
  text-align: center;
  font-size: 15px;
  margin-bottom: 6px;
  color: #888;
}

.daily-earn .value {
  color: #000;
  font-weight: 600;
}

.daily-earn .percent {
  color: #24c36b;
  font-weight: 600;
  margin-left: 4px;
}

.history-link {
  margin-left: 6px;
  font-size: 13px;
  color: #9c9cbc;
  text-decoration: underline;
  cursor: pointer;
}

.settlement-wrap {
  text-align: center;
}

.settlement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 20px;
  background: #ecebfd;
  font-size: 14px;
  color: #666;
  gap: 6px;
  margin: 4px auto 18px;
}

/* buttons row */
.btn-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  flex: 1;
  border-radius: 22px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: #53c41a;
  color: #fff;
}

.btn-secondary {
  background: #e4ddff;
  color: #5b1dd9;
}

.badge {
  background: #ff4d4f;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  padding: 2px 7px;
}

/* ROI card */
.roi-card {
  background: #fff;
  border-radius: 24px;
  padding: 18px 16px 10px;
  box-shadow: 0 8px 20px rgba(32, 27, 90, 0.12);
}

.roi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.roi-title {
  text-align: center;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #6a57ff;
}

.ribbon {
  background: #ff7a45;
  color: #fff;
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 8px 0 0 8px;
  align-self: flex-start;
  text-transform: uppercase;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th {
  text-align: left;
  padding-bottom: 8px;
  color: #888;
  font-weight: 500;
  font-size: 14px;
}

td {
  padding: 6px 0;
  border-top: 1px solid #f0f0ff;
}

td:last-child {
  text-align: right;
}

.tp-range {
  color: #4a77ff;
  font-weight: 500;
  font-size: 14px;
}

.tp-range.hot {
  color: #ff4d4f;
}

.percent-green {
  color: #35b46b;
  font-weight: 600;
  font-size: 14px;
}

/* section + card */
.section {
  margin-top: 16px;
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 12px 16px 10px;
  box-shadow: 0 8px 18px rgba(32, 27, 90, 0.1);
}

/* tabs */
.tab-header {
  display: flex;
  gap: 20px;
  font-size: 13px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ebe7ff;
}

.tab-header button {
  background: none;
  border: none;
  padding: 8px 0 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #a0a0c0;
  position: relative;
}

.tab-header button.active {
  color: #7850ff;
}

.tab-header button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 999px;
  background: #7850ff;
}

.tab-body {
  display: none;
  padding-top: 4px;
}

.tab-body.active {
  display: block;
}

/* trading rows */
.trade-row {
  padding: 10px 0;
  border-top: 1px solid #f2f2ff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
}

.trade-left {
  flex: 1;
  padding-right: 6px;
}

.trade-pair-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.trade-main {
  font-weight: 600;
  color: #444;
}

.trade-tags {
  display: inline-flex;
  gap: 4px;
}

.tag {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.2;
  background: #f4f4f9;
  color: #777;
}

.tag-type.long {
  background: #e8f9f1;
  color: #39b471;
}

.tag-type.short {
  background: #fef2f2;
  color: #f0524f;
}

.tag-lev {
  background: #f3f2ff;
  color: #7c74ff;
}

.trade-meta {
  font-size: 11px;
  color: #999;
  line-height: 1.3;
}

.trade-meta strong {
  color: #555;
  font-weight: 600;
}

.trade-right {
  text-align: right;
  min-width: 92px;
}

.trade-date {
  font-size: 11px;
  color: #aaa;
  margin-bottom: 3px;
}

.trade-date span {
  display: block;
}

.trade-gain {
  font-size: 14px;
  font-weight: 700;
  color: #32b768;
}

.view-more-btn {
  margin: 8px 0 4px;
  width: 100%;
  border-radius: 16px;
  padding: 7px 0;
  border: none;
  background: #f0edff;
  color: #7a63ff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

/* my trade power */
.power-card {
  margin-top: 10px;
  background: #f7f3ff;
  border-radius: 22px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.power-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #e2ddff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 11px;
  color: #999;
}

.power-circle .num {
  font-size: 18px;
  font-weight: 700;
  color: #777;
  line-height: 1.1;
}

.power-center {
  flex: 1;
  margin: 0 18px;
}

.power-status {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}

.power-time {
  font-size: 11px;
  color: #999;
}

.power-right {
  text-align: right;
}

.power-amount {
  font-size: 16px;
  font-weight: 700;
  color: #35b46b;
  margin-bottom: 4px;
}

.tp-icon-small {
 /* width: 26px;
  height: 26px;*/
  border-radius: 9px;
  /*background: #000;*/
  margin-left: auto;
}

/* bottom nav */
.bottom-nav {
  margin-top: 18px;
  background: #fff;
  border-radius: 24px;
  padding: 8px;
  display: flex;
  justify-content: space-around;
  font-size: 11px;
  box-shadow: 0 8px 18px rgba(32, 27, 90, 0.12);

  /* NEW: fix to bottom inside phone */
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
}


.bottom-nav .item {
  text-align: center;
  flex: 1;
  cursor: pointer;
  user-select: none;
}

.bottom-nav .item span {
  display: block;
  margin-top: 4px;
}

.bottom-nav .item.active span {
  color: #ff4d4f;
  font-weight: 600;
}

.icon-circle {
  /*width: 22px;
  height: 22px;*/
  border-radius: 7px;
  /*background: #222;*/
  margin: 0 auto;
}

/* bottom sheet */
.sheet-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 40%);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  z-index: 30;
  padding: 0 12px 12px;
}

.sheet-overlay.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.buy-card {
  background: #fff;
  border-radius: 24px;
  padding: 18px 16px 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  font-size: 13px;
  width: 33%;
}

.buy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
}

.close-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #e5e5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  color: #aaa;
}

.amount-box {
  border-radius: 18px;
  border: 1px solid #ececf5;
  padding: 14px;
  text-align: center;
  color: #bbb;
  margin-bottom: 12px;
}

.tp-total {
  margin-top: 10px;
  font-size: 13px;
}

.tp-total span {
  font-weight: 600;
}

.estimates-label {
  margin-top: 16px;
  font-size: 13px;
  margin-bottom: 4px;
}

.estimates {
  display: flex;
  gap: 10px;
  margin: 4px 0 18px;
}

.estimate-box {
  flex: 1;
  border-radius: 16px;
  border: 1px solid #f0f0f8;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  color: #777;
}

.estimate-box .value {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.continue-btn {
  width: 100%;
  border: none;
  border-radius: 24px;
  padding: 12px 0;
  background: #53c41a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* overlay common */
.page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #f2e9ff, #f4f2ff);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease-out, opacity 0.35s ease-out;
  z-index: 25;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 20px;
}

.page-overlay.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.friends-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.back-link {
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.friends-title {
  font-weight: 600;
  font-size: 16px;
}

/* friends page top */
.friends-top {
  background: linear-gradient(160deg, #8037ff, #da31ff);
  border-radius: 24px;
  padding: 16px;
  color: #fff;
  margin-bottom: 12px;
}

.friends-top h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.ref-box {
  border: 1px dashed rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 10px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ref-url {
  word-break: break-all;
  font-size: 12px;
}

.copy-btn {
  background: #fff;
  color: #7a2cff;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

.ref-bonus-box {
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.claim-btn {
  background: #d6d3f9;
  border: none;
  border-radius: 18px;
  padding: 6px 16px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
}

/* friends table */
.friends-table {
  background: #fff;
  border-radius: 24px;
  padding: 14px 12px;
  box-shadow: 0 8px 20px rgba(32, 27, 90, 0.12);
  font-size: 11px;
  margin-bottom: 10px;
  overflow: auto;
}

.friends-table table {
  width: 100%;
  border-collapse: collapse;
}

.friends-table table th {
  color: #000;
  font-weight: 500;
  text-align: left;
  padding-bottom: 6px;
}

.friends-table table td {
  border-top: 1px solid #f3f1ff;
  padding: 7px 0;
  font-size: 13px;
}

.friends-table table td:last-child {
  color: #35b46b;
  font-weight: 600;
  text-align: right;
}

.bottom-nav--friends {
  margin-top: 4px;
}

/* intro page */
.intro-body {
  overflow: auto;
  margin-bottom: 10px;
}

.intro-hero {
  background: #fff;
  border-radius: 24px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 18px rgba(32, 27, 90, 0.12);
}

.intro-hero h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #6a57ff;
}

.intro-hero p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.intro-images {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.intro-img {
  flex: 1;
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffe0f0, #ffd4a8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #aa4b22;
}

.intro-text {
  margin-top: 14px;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

.intro-text ul {
  margin-left: 18px;
  margin-top: 6px;
}

/* history page */
.history-body {
  margin-top: 8px;
  margin-bottom: 12px;
}

.history-card {
  background: #fff;
  border-radius: 24px;
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(32, 27, 90, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.history-left {
  max-width: 65%;
}

.history-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8ffeb;
  color: #36b35f;
  font-size: 10px;
  margin-left: 6px;
  text-transform: lowercase;
}

.history-time {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.history-amount {
  font-size: 16px;
  font-weight: 700;
  color: #35b46b;
}

/* withdraw page */
.withdraw-body {
  overflow: auto;
  margin-bottom: 8px;
}

.withdraw-main {
  background: #fff;
  border-radius: 24px;
  padding: 18px 16px 18px;
  box-shadow: 0 8px 20px rgba(32, 27, 90, 0.12);
  margin-bottom: 16px;
  font-size: 12px;
}

.withdraw-balance-label {
  font-size: 12px;
  color: #777;
  text-align: center;
}

.withdraw-balance {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 10px;
}

.withdraw-exchange-btn {
  width: 100%;
  border-radius: 22px;
  border: none;
  padding: 10px 0;
  background: #1f7cff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  cursor: pointer;
}

.withdraw-input-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.withdraw-input {
  border-radius: 22px;
  border: 1px solid #ececf5;
  padding: 10px 14px;
  font-size: 12px;
  margin-bottom: 12px;
  background: #fafaff;
}

.withdraw-input::placeholder {
  color: #c0c0d0;
}

.withdraw-note {
  font-size: 11px;
  color: #999;
  margin-bottom: 10px;
}

.withdraw-continue-btn {
  width: 100%;
  border-radius: 22px;
  border: none;
  padding: 11px 0;
  background: #53c41a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.withdraw-list-title {
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

.withdraw-list-card {
  background: #fff;
  border-radius: 24px;
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(32, 27, 90, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.withdraw-amount {
  font-size: 18px;
  font-weight: 700;
  color: #2ecc71;
  margin-bottom: 4px;
}

.withdraw-meta {
  font-size: 11px;
  color: #777;
  line-height: 1.4;
}

.withdraw-link-icon {
  font-size: 16px;
  color: #4c7dff;
  margin-left: 6px;
}

/* earn 30% dark page */
.earn-overlay {
  background: #050505;
  color: #fff;
  padding-top: 12px;
}

.earn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.earn-back {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #dddddd;
  cursor: pointer;
}

.earn-title {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f5;
}

.earn-hero {
  text-align: center;
  margin: 8px 0 18px;
}

.earn-hero-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffe45e, #ff9f1c);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8);
}

.earn-hero-icon::before,
.earn-hero-icon::after {
  content: "$";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffd15c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #a35a00;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.earn-hero-icon::before {
  left: -18px;
  top: 20px;
}

.earn-hero-icon::after {
  right: -18px;
  top: 20px;
}

.earn-main-text {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.earn-main-text .green-arrow {
  color: #11d36b;
}

.earn-sub-banner {
  margin-top: 6px;
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.earn-tag {
  background: #ff1f7a;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.earn-sub {
  color: #d3d3d3;
  font-size: 12px;
}

.earn-main-card {
  background: #101010;
  border-radius: 28px 28px 0 0;
  padding: 20px 16px 18px;
  margin-top: 10px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.7);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.earn-label {
  font-size: 13px;
  color: #e0e0e0;
  margin-bottom: 4px;
}

.earn-window {
  font-size: 18px;
  font-weight: 600;
  color: #2fa0ff;
}

.earn-input {
  margin-top: 6px;
  border-radius: 20px;
  border: 1px solid #2a2a2a;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #ffffff;
  background: #151515;
}

.earn-input-icon {
  font-size: 14px;
  color: #3dc6ff;
}

.earn-receive {
  margin-top: 6px;
  background: #202020;
  border-radius: 18px;
  padding: 10px 14px;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
}

.earn-btn {
  width: 100%;
  margin-top: 22px;
  border: none;
  border-radius: 22px;
  padding: 12px 0;
  background: #1f7cff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* reduce extra blank stretch */
.friends-table,
.intro-body,
.history-body,
.withdraw-body {
  flex: 0 0 auto;
}

/* responsive */
@media (max-width: 480px) {
  body {
    padding: 8px;
  }
  .phone {
    width: 100%;
    height: 100vh;          /* NEW */
    border-radius: 24px;
  }
  .buy-card {
    width: 100%;
    max-width: 36%;
    border-radius: 24px 24px 0 0;
  }
}



@media (min-width: 900px) {
  body {
    padding: 32px 0;
  }
  .phone {
    width: 480px;
  }
}

/* View more details blocks */
.more-block {
  display: none;
  margin-top: 4px;
}

.more-block.open {
  display: block;
}

/* ===== Payment sheet (Investment Now) ===== */

.pay-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 18px 18px 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  width: 100%;
  max-width: 420px;
}

.pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pay-count {
  font-size: 13px;
  color: #666;
}

.pay-count-value {
  margin-left: 4px;
  color: #ff9f1c;
  font-weight: 600;
}

.pay-cap {
  font-size: 18px;
  font-weight: 600;
  margin-top: 4px;
  text-align: center;
}

.pay-cap span {
  color: #333;
}

.pay-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

.pay-qr-box {
  margin: 14px 0 12px;
  display: flex;
  justify-content: center;
}

.pay-qr {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  background:
    linear-gradient(45deg, #000 25%, transparent 25%, transparent 50%, #000 50%, #000 75%, transparent 75%, transparent) 0 0 / 16px 16px,
    linear-gradient(45deg, #000 25%, #fff 25%, #fff 50%, #000 50%, #000 75%, #fff 75%, #fff) 8px 8px / 16px 16px;
  background-color: #fff;
}

/* address + copy button row */

.pay-address-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  background: #f7f7fb;
  border-radius: 22px;
  padding: 8px 10px;
}

.pay-address {
  flex: 1;
  font-size: 12px;
  color: #333;
  word-break: break-all;
}

.pay-copy-btn {
  border: none;
  background: #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

/* small “two papers” icon */
.copy-icon {
  position: relative;
  width: 14px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid #5865f2;
  background: #ffffff;
}

.copy-icon::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid #5865f2;
  background: #ffffff;
  top: -4px;
  left: 4px;
}

.pay-network {
  margin-top: 4px;
  font-size: 12px;
  text-align: center;
  color: #777;
}

.pay-network-tag {
  margin-left: 4px;
  font-weight: 600;
  color: #f4b000;
}

.pay-note {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin-top: 2px;
}

.pay-bottom-text {
  margin-top: 18px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

.pay-confirm-btn {
  margin-top: 12px;
  width: 100%;
  border-radius: 24px;
  border: none;
  padding: 12px 0;
  background: #2b63ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* मोबाइल पे card फुल width */
@media (max-width: 480px) {
  .pay-card {
    /*max-width: 10%;*/
    border-radius: 24px 24px 0 0;
  }
}

.token-amount {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* icon aur amount ke beech thoda space */
}

.usdt-icon {
    width: 15px;
    height: 15px;
}

.usdt-icon2 {
    width: 35px;
    height: 35px;
}

.usdt-icon3 {
    width: 8px;
    height: 9px;
}

.usdt-icon4 {
    width: 18px;
 }

.earn-input-icon i {
  color: #007bff;       /* blue color */
  cursor: pointer;
  font-size: 18px;      /* size apne hisaab se badha sakte ho */
}

/* click par ek baar ghoomne wali class */
.rotate-once {
  animation: rotateOnce 0.6s linear;
}

@keyframes rotateOnce {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#usdtIcon {
  color: #007bff;
  font-size: 18px;
}
