:root {
  --navy: #102a43;
  --navy-2: #163f70;
  --blue: #3568ff;
  --blue-dark: #2452d6;
  --blue-soft: #edf3ff;
  --mint: #16c79a;
  --mint-soft: #e8fbf6;
  --amber: #f59e0b;
  --amber-soft: #fff7e6;
  --red: #ef476f;
  --red-soft: #fff0f3;
  --ink: #162338;
  --muted: #68778c;
  --line: #dfe7f0;
  --line-2: #edf1f6;
  --canvas: #f5f8fc;
  --white: #fff;
  --shadow-sm: 0 5px 18px rgba(24, 55, 94, 0.07);
  --shadow-md: 0 18px 55px rgba(24, 55, 94, 0.12);
  --radius-sm: 10px;
  --radius: 15px;
  --radius-lg: 22px;
  --sidebar: 246px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(223, 231, 240, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand img {
  width: 154px;
  height: auto;
  object-fit: contain;
}

.brand strong {
  font-size: 19px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: #506078;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(53, 104, 255, 0.2);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

.btn-outline:hover {
  border-color: #a9bde8;
  color: var(--blue);
}

.btn-danger {
  color: #fff;
  background: var(--red);
}

.btn-sm {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 76px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: #edf3ff;
  filter: blur(1px);
}

.hero::before {
  width: 470px;
  height: 470px;
  top: -220px;
  right: -130px;
}

.hero::after {
  width: 230px;
  height: 230px;
  left: -90px;
  bottom: -90px;
  background: #eafbf6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(22, 199, 154, 0.14);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 27px;
  color: #55677c;
  font-size: 13px;
  font-weight: 650;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points .icon {
  color: var(--mint);
}

.network-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.network-card-head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}

.network-card-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -0.035em;
}

.network-card-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.network-list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.network-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
}

.coin {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(16, 42, 67, 0.14);
}

.coin.trc20 {
  background: #ef2348;
}

.coin.bep20 {
  color: #231f10;
  background: #f3ba2f;
}

.coin.binance_pay {
  color: #f3ba2f;
  background: #151515;
}

.network-name {
  display: block;
  color: var(--navy);
  font-weight: 800;
}

.network-status {
  color: var(--mint);
  font-size: 13px;
  font-weight: 750;
}

.network-fee {
  color: #6173ff;
  font-size: 17px;
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--canvas);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.price-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
}

.feature-card h3,
.price-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 19px;
}

.feature-card p,
.price-card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 58px;
  counter-increment: steps;
}

.step::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  content: counter(steps);
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
  font-weight: 850;
}

.step h3 {
  margin: 0 0 7px;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 48px;
  border: 1px solid #cbd9ff;
  border-radius: var(--radius-lg);
  background: var(--blue-soft);
}

.cta-box h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 30px;
}

.cta-box p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.page-hero {
  padding: 70px 0 48px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 44px;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
}

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

.price-value {
  margin: 22px 0;
  color: var(--blue);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price-value small {
  font-size: 16px;
  letter-spacing: 0;
}

.doc-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 34px;
}

.doc-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.doc-toc a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 650;
}

.doc-toc a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.doc-content h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: 28px;
}

.doc-content section {
  margin-bottom: 42px;
  scroll-margin-top: 100px;
}

pre {
  overflow: auto;
  padding: 20px;
  border: 1px solid #243f60;
  border-radius: 12px;
  color: #dbeafe;
  background: #102a43;
  font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #264e9c;
  background: var(--blue-soft);
  font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre code {
  padding: 0;
  color: inherit;
  background: none;
}

.auth-page {
  min-height: calc(100vh - 75px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background: var(--canvas);
}

.auth-card {
  width: min(470px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 29px;
  letter-spacing: -0.04em;
}

.auth-card > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  color: #34475d;
  font-size: 13px;
  font-weight: 750;
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #cfdae7;
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: 0.15s ease;
}

textarea.form-control {
  min-height: 95px;
  resize: vertical;
}

.form-control:focus {
  border-color: #7798fa;
  box-shadow: 0 0 0 3px rgba(53, 104, 255, 0.11);
}

.form-help {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.alert-success {
  color: #08785d;
  border-color: #a5ead8;
  background: var(--mint-soft);
}

.alert-error {
  color: #b32249;
  border-color: #ffc2d1;
  background: var(--red-soft);
}

.auth-foot {
  margin-top: 20px;
  color: var(--muted);
  text-align: center;
}

.auth-foot a {
  color: var(--blue);
  font-weight: 750;
}

.app-body {
  background: var(--canvas);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.sidebar {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 23px 17px 18px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.sidebar .brand {
  padding: 0 8px 23px;
}

.sidebar-user {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
}

.sidebar-user strong,
.sidebar-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user strong {
  color: var(--navy);
  font-size: 14px;
}

.sidebar-user span {
  color: var(--muted);
  font-size: 12px;
}

.side-label {
  margin: 9px 10px 6px;
  color: #9aa8b8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-nav {
  display: grid;
  gap: 3px;
}

.side-nav a,
.side-logout {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  color: #5d6e82;
  background: transparent;
  font-weight: 680;
  cursor: pointer;
}

.side-nav a:hover,
.side-nav a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}

.side-spacer {
  flex: 1;
}

.side-balance {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #cbd9ff;
  border-radius: 12px;
  background: var(--blue-soft);
}

.side-balance span,
.side-balance strong {
  display: block;
}

.side-balance span {
  color: var(--muted);
  font-size: 11px;
}

.side-balance strong {
  margin-top: 2px;
  color: var(--navy);
  font-size: 17px;
}

.app-main {
  grid-column: 2;
  min-width: 0;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.menu-toggle {
  display: none;
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.topbar-title {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.025em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.app-content {
  padding: 28px 30px 50px;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.page-head h1 {
  margin: 0;
  color: var(--navy);
  font-size: 29px;
  letter-spacing: -0.04em;
}

.page-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.stat-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--blue);
  background: var(--blue-soft);
}

.stat-value {
  display: block;
  margin-top: 13px;
  color: var(--navy);
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 20px;
  margin-bottom: 20px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.panel-head {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-2);
}

.panel-head h2,
.panel-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.panel-body {
  padding: 20px;
}

.chart-bars {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 12px 8px 0;
  border-bottom: 1px solid var(--line);
}

.bar-set {
  min-width: 28px;
  flex: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  height: 100%;
}

.bar {
  width: 9px;
  min-height: 4px;
  border-radius: 5px 5px 0 0;
  background: var(--blue);
}

.bar.mint {
  background: var(--mint);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  padding-top: 9px;
  color: #91a0b2;
  font-size: 11px;
}

.mini-network {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}

.mini-network:last-child {
  border-bottom: 0;
}

.mini-network .coin {
  width: 37px;
  height: 37px;
  font-size: 10px;
}

.mini-network div:nth-child(2) {
  flex: 1;
}

.mini-network strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.mini-network span {
  color: var(--mint);
  font-size: 12px;
}

.mini-network b {
  color: var(--blue);
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
  text-align: left;
  white-space: nowrap;
}

th {
  color: #8491a4;
  background: #fbfcfe;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: #43546a;
  font-size: 13px;
}

tr:last-child td {
  border-bottom: 0;
}

.table-link {
  color: var(--blue);
  font-weight: 750;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.badge-success {
  color: #08785d;
  background: var(--mint-soft);
}

.badge-warning {
  color: #a66700;
  background: var(--amber-soft);
}

.badge-danger {
  color: #b32249;
  background: var(--red-soft);
}

.badge-neutral {
  color: #5f7083;
  background: #eef2f6;
}

.empty {
  padding: 52px 20px;
  color: var(--muted);
  text-align: center;
}

.empty strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.store-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.store-card h3 {
  margin: 0 0 5px;
  color: var(--navy);
}

.store-card p {
  min-height: 24px;
  margin: 0 0 18px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: #718195;
  font-size: 12px;
}

.credential-box {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid #f1d38e;
  border-radius: 12px;
  background: var(--amber-soft);
}

.credential-box h3 {
  margin: 0 0 5px;
  color: #835500;
}

.copy-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.copy-value {
  min-width: 0;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid #e2cf9e;
  border-radius: 8px;
  color: #4e452f;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-stack {
  display: grid;
  gap: 16px;
}

.wallet-form {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.wallet-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.wallet-title .coin {
  width: 40px;
  height: 40px;
  font-size: 10px;
}

.wallet-title h3,
.wallet-title p {
  margin: 0;
}

.wallet-title h3 {
  color: var(--navy);
}

.wallet-title p {
  color: var(--muted);
  font-size: 12px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

.detail-item {
  padding: 15px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fbfcfe;
}

.detail-item span,
.detail-item strong {
  display: block;
}

.detail-item span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-item strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 14px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.filter-row a.is-active {
  border-color: #b8c9ff;
  color: var(--blue);
  background: var(--blue-soft);
}

.mobile-overlay {
  display: none;
}

.payment-body {
  min-height: 100vh;
  background: #fff;
}

.pay-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.pay-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.pay-main {
  padding: 46px 0 60px;
}

.pay-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.pay-left,
.pay-summary {
  padding: 34px;
}

.pay-summary {
  border-left: 1px solid var(--line);
  background: #fafcff;
}

.merchant-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.merchant-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.merchant-line strong,
.merchant-line span {
  display: block;
}

.merchant-line strong {
  color: var(--navy);
}

.merchant-line span {
  color: var(--muted);
  font-size: 12px;
}

.pay-title {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
  letter-spacing: -0.035em;
}

.pay-subtitle {
  margin: 5px 0 24px;
  color: var(--muted);
}

.method-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.method-option {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: inherit;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.method-option:hover,
.method-option.is-selected {
  border-color: #8ba6ff;
  background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(53, 104, 255, 0.08);
}

.method-option .coin {
  width: 39px;
  height: 39px;
  font-size: 10px;
}

.method-option strong,
.method-option span {
  display: block;
}

.method-option strong {
  color: var(--navy);
  font-size: 14px;
}

.method-option span {
  color: var(--muted);
  font-size: 11px;
}

.method-check {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 1px solid #bdc9d9;
  border-radius: 50%;
  color: transparent;
}

.method-option.is-selected .method-check {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.payment-box {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

#qrcode {
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
}

#qrcode img,
#qrcode canvas {
  max-width: 100%;
  height: auto !important;
}

.amount-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.amount-value {
  display: block;
  margin: 3px 0 13px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.address-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.address-value {
  overflow-wrap: anywhere;
  color: #2e4560;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.copy-address {
  margin-top: 10px;
}

.pay-warning {
  margin-top: 15px;
  padding: 11px 13px;
  border-radius: 9px;
  color: #875900;
  background: var(--amber-soft);
  font-size: 12px;
}

.summary-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.summary-head span {
  color: var(--muted);
  font-size: 12px;
}

.summary-head strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--navy);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong {
  color: var(--navy);
  text-align: right;
}

.countdown-box {
  margin: 22px 0;
  padding: 17px;
  border: 1px solid #f6d58b;
  border-radius: 12px;
  background: var(--amber-soft);
  text-align: center;
}

.countdown-box span {
  display: block;
  color: #8c681c;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.countdown-box strong {
  display: block;
  margin-top: 3px;
  color: #9a6100;
  font: 900 30px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.timeline {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 11px;
}

.timeline-item:not(:last-child)::after {
  position: absolute;
  top: 23px;
  bottom: -20px;
  left: 11px;
  width: 2px;
  content: "";
  background: var(--line);
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: #fff;
}

.timeline-item.is-active .timeline-dot {
  border-color: var(--mint);
  background: var(--mint);
}

.timeline-item.is-current .timeline-dot {
  border-color: var(--amber);
  background: var(--amber);
}

.timeline-item strong,
.timeline-item span {
  display: block;
}

.timeline-item strong {
  color: var(--navy);
  font-size: 13px;
}

.timeline-item span {
  color: var(--muted);
  font-size: 11px;
}

.pay-status {
  margin-top: 18px;
  padding: 12px;
  border-radius: 10px;
  color: #875900;
  background: var(--amber-soft);
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}

.pay-status.completed {
  color: #08785d;
  background: var(--mint-soft);
}

.pay-status.expired {
  color: #b32249;
  background: var(--red-soft);
}

.error-page {
  min-height: calc(100vh - 75px);
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
}

.error-page strong {
  display: block;
  color: var(--blue);
  font-size: 74px;
  line-height: 1;
}

.error-page h1 {
  margin: 12px 0 7px;
  color: var(--navy);
}

.error-page p {
  margin: 0 0 22px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .hero-grid {
    gap: 42px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pay-card {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 680px);
  }

  .nav-wrap {
    min-height: 65px;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .hero {
    padding: 65px 0;
  }

  .hero-grid,
  .feature-grid,
  .steps,
  .price-grid,
  .doc-layout,
  .pay-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 45px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .network-card {
    padding: 22px;
  }

  .cta-box,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .doc-toc {
    position: static;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    transform: translateX(-101%);
    transition: transform 0.22s ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .mobile-overlay.is-open {
    position: fixed;
    z-index: 55;
    inset: 0;
    display: block;
    background: rgba(16, 42, 67, 0.42);
  }

  .app-main {
    width: 100%;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .topbar {
    padding: 0 18px;
  }

  .app-content {
    padding: 22px 16px 40px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .pay-summary {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 580px) {
  .brand img {
    width: 132px;
  }

  .nav-actions .btn {
    min-height: 37px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .network-row {
    grid-template-columns: 42px 1fr auto;
  }

  .network-fee {
    font-size: 14px;
  }

  .section {
    padding: 62px 0;
  }

  .cta-box {
    padding: 29px 24px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .form-row,
  .stat-grid,
  .store-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .page-head {
    flex-direction: column;
  }

  .page-head .btn {
    width: 100%;
  }

  .topbar-title {
    font-size: 17px;
  }

  .topbar-right .btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }

  .payment-box {
    grid-template-columns: 1fr;
  }

  #qrcode {
    margin: 0 auto;
  }

  .pay-left,
  .pay-summary {
    padding: 23px 19px;
  }

  .pay-main {
    padding: 25px 0 40px;
  }

  .secure-note span {
    display: none;
  }

  .copy-field {
    grid-template-columns: minmax(0, 1fr);
  }
}
