:root {
  --bg-0: #04070c;
  --bg-1: #07111c;
  --bg-2: #0b1b2c;
  --bg-3: #10263d;

  --panel: rgba(9, 18, 31, 0.58);
  --panel-strong: rgba(11, 22, 36, 0.74);
  --panel-soft: rgba(255, 255, 255, 0.04);

  --border: rgba(103, 196, 255, 0.14);
  --border-strong: rgba(103, 196, 255, 0.22);

  --text: #f5f9ff;
  --muted: rgba(245, 249, 255, 0.76);
  --soft: rgba(245, 249, 255, 0.52);

  --primary: #58c8ff;
  --primary-strong: #2db6ff;
  --primary-glow: rgba(88, 200, 255, 0.24);

  --white-btn: #f7fbff;
  --white-btn-text: #07111c;

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 0 1px rgba(88, 200, 255, 0.06), 0 0 32px rgba(88, 200, 255, 0.08);

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg-0);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(88, 200, 255, 0.12), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(71, 126, 255, 0.10), transparent 20%),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.03), transparent 18%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 34%, var(--bg-2) 68%, var(--bg-0) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.10));
}

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

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

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

/* Top Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(6, 13, 22, 0.62);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

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

.lang-select {
  min-width: 156px;
  height: 46px;
  padding: 0 40px 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 21, 35, 0.88);
  color: var(--text);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(88,200,255,0.96) 50%),
    linear-gradient(135deg, rgba(88,200,255,0.96) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Generic Panels */
.panel {
  background: linear-gradient(180deg, rgba(8, 17, 30, 0.70), rgba(8, 16, 28, 0.58));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

/* Hero */
.hero {
  padding: 58px 0 18px;
}

.hero-single {
  min-height: 280px;
}

.hero-copy {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 90px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: var(--text);
}

/* Sections */
.section {
  padding: 28px 0 82px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel-spaced {
  margin-top: 26px;
}

.product-card {
  padding: 28px;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.product-title {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.product-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Price module */
.price-main {
  margin: 18px 0 18px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(88, 200, 255, 0.07), rgba(88, 200, 255, 0.03)),
    rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.price-label {
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-value {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
}

/* Buttons / Inputs */
.option-row {
  display: grid;
  gap: 10px;
}

.option-btn,
.primary-btn,
.secondary-btn,
.input,
.select,
textarea {
  width: 100%;
  border-radius: var(--radius-md);
}

.option-btn,
.input,
.select,
textarea {
  border: 1px solid rgba(88, 200, 255, 0.12);
}

.option-btn {
  min-height: 50px;
  padding: 0 16px;
  text-align: left;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  cursor: pointer;
  transition: .18s ease;
}

.option-btn:hover,
.option-btn.active {
  background: rgba(88, 200, 255, 0.10);
  border-color: rgba(88, 200, 255, 0.24);
}

.form-stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.input,
.select,
textarea {
  min-height: 52px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
  backdrop-filter: blur(8px);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.input::placeholder,
textarea::placeholder {
  color: rgba(245,247,251,0.42);
}

.primary-btn {
  min-height: 52px;
  border: none;
  background: linear-gradient(90deg, var(--primary) 0%, #79d7ff 100%);
  color: #07111c;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: 0 0 0 1px rgba(88, 200, 255, 0.10), 0 10px 30px rgba(88, 200, 255, 0.16);
}

.primary-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.secondary-btn {
  min-height: 52px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  transition: .18s ease;
}

.secondary-btn:hover {
  background: rgba(255,255,255,0.10);
}

/* Query */
.query-box {
  margin-top: 8px;
}

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

#result {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

#result > div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(88, 200, 255, 0.10);
  color: var(--text);
}

/* Payment page shared blocks */
.payment-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.payment-hero {
  min-height: 220px;
}

.payment-info-list,
.payment-method-list {
  display: grid;
  gap: 12px;
}

.payment-info-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(88, 200, 255, 0.10);
}

.payment-info-key {
  color: var(--muted);
}

.payment-info-value {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.payment-order-no {
  font-size: 28px;
}

.payment-method-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(88, 200, 255, 0.10);
}

.payment-method-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.network-badge,
.token-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.network-badge.trc20 {
  background: rgba(255, 92, 92, 0.16);
  color: #ff9d9d;
  border: 1px solid rgba(255, 92, 92, 0.24);
}

.network-badge.base {
  background: rgba(82, 142, 255, 0.18);
  color: #9fc0ff;
  border: 1px solid rgba(82, 142, 255, 0.26);
}

.token-badge {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}

.payment-address {
  word-break: break-all;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
  margin-bottom: 14px;
}

.payment-copy-btn {
  width: 100%;
}

.payment-note-card,
.payment-support-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(88, 200, 255, 0.10);
}

.payment-note-title,
.payment-support-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.payment-note-list {
  display: grid;
  gap: 10px;
}

.payment-note-item {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(10px);
  background: rgba(8,16,28,0.94);
  color: #fff;
  border: 1px solid rgba(88, 200, 255, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
  z-index: 99;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.footer {
  padding: 38px 0 44px;
}

.footer-shell {
  background: linear-gradient(180deg, rgba(8,14,24,0.82), rgba(7,12,20,0.78));
  border: 1px solid rgba(88, 200, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  padding: 22px 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-left {
  display: grid;
  gap: 8px;
}

.footer-title {
  font-size: 15px;
  color: #fff;
}

.footer-copy {
  font-size: 14px;
  color: rgba(245,247,251,0.72);
  line-height: 1.7;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-right a {
  color: rgba(245,247,251,0.72);
  font-size: 14px;
  transition: .18s ease;
}

.footer-right a:hover {
  color: #fff;
}

.support-mail {
  color: #fff;
}

/* Responsive */
@media (max-width: 920px) {
  .products-grid,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .product-card {
    padding: 22px;
  }

  .hero-single {
    min-height: 220px;
  }

  .query-row {
    grid-template-columns: 1fr;
  }

  .payment-info-item {
    flex-direction: column;
  }

  .payment-info-value {
    text-align: left;
  }

  .hero {
    padding-top: 34px;
  }

  .lang-select {
    min-width: 132px;
  }

  .panel-spaced {
    margin-top: 20px;
  }
/* Payment page */
.payment-section {
  padding-top: 10px;
}

.payment-hero-panel {
  min-height: 190px;
  display: flex;
  align-items: center;
}

.payment-hero-copy {
  padding: 34px 36px;
}

.payment-hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(88, 200, 255, 0.10);
  border: 1px solid rgba(88, 200, 255, 0.18);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.payment-hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 6vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.payment-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.payment-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.payment-info-list,
.payment-method-list {
  display: grid;
  gap: 12px;
}

.payment-info-item {
  display: flex;
  justify-content: space-between;
  g
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Query page */
.query-results {
  margin-top: 16px !important;
}

.query-empty-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(88, 200, 255, 0.10);
}

.query-empty-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.query-empty-text {
  color: var(--muted);
  line-height: 1.75;
}

.query-order-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(88, 200, 255, 0.10);
}

.query-order-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.query-order-no {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  word-break: break-all;
}

.query-order-status {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(88, 200, 255, 0.10);
  border: 1px solid rgba(88, 200, 255, 0.18);
  color: 
/* ADMIN */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.admin-card {
  padding: 20px;
}

.admin-title {
  color: var(--muted);
  margin-bottom: 10px;
}

.admin-value {
  font-size: 32px;
  font-weight: 800;
}

.admin-section {
  padding-top: 0;
}

.admin-table-panel {
  padding: 20px;
}

.admin-table-head {
  margin-bottom: 20px;
}

.admin-order-list {
  display: grid;
  gap: 14px;
}

.admin-order-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(88,200,255,0.1);
}

.admin-order-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.admin-order-id {
  font-weight: 700;
}

.admin-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.admin-status.pending {
  background: rgba(255,200,0,0.2);
}

.admin-status.completed {
  background: rgba(0,255,150,0.2);
}

.admin-order-grid {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.admin-actions {
  display: flex;
  gap: 10px;
}
