:root {
  --bg: #08090c;
  --panel: #11151c;
  --panel-2: #171b23;
  --text: #f8fafc;
  --muted: #a3adbd;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #d9ad45;
  --gold-2: #f3d877;
  --green: #18b982;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 10%, rgba(217, 173, 69, 0.18), transparent 30%),
    linear-gradient(180deg, #0d0f14 0%, var(--bg) 42%);
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

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

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

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.lead,
.hero-card p,
.product-card p,
.specs,
.summary-row span,
.notice {
  color: var(--muted);
}

nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

nav a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 52px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 20px;
  align-items: stretch;
  padding: 34px 0 24px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.1;
}

.lead {
  max-width: 720px;
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.7;
}

.hero-card,
.product-card,
.order-form,
.summary {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.hero-card {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.hero-card span {
  color: var(--gold-2);
  font-weight: 900;
}

.hero-card strong {
  font-size: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.product-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.product-card.is-featured {
  border-color: rgba(243, 216, 119, 0.5);
  background: linear-gradient(180deg, rgba(217, 173, 69, 0.18), rgba(255, 255, 255, 0.045));
}

.tag {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(217, 173, 69, 0.15);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.specs {
  display: grid;
  gap: 8px;
  line-height: 1.45;
}

.product-card button,
.submit,
.bsc-pay button,
.node-stake button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.product-card button:hover,
.submit:hover,
.bsc-pay button:hover,
.node-stake button:hover {
  background: var(--gold-2);
}

.order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 16px;
  margin-top: 18px;
}

.order-form,
.summary {
  padding: 22px;
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-head,
.node-stake,
.bsc-pay,
.order-form label:last-of-type,
.submit {
  grid-column: 1 / -1;
}

.node-stake,
.bsc-pay {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(243, 216, 119, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(243, 216, 119, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.node-stake {
  border-color: rgba(24, 185, 130, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(24, 185, 130, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.pay-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.pay-head h3 {
  margin: 0;
  font-size: 22px;
}

.status-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.status-pill.online {
  border-color: rgba(24, 185, 130, 0.45);
  background: rgba(24, 185, 130, 0.1);
  color: #c8f7e5;
}

.pay-actions,
.pay-grid,
.node-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.node-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.node-flow div {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 9, 12, 0.42);
  color: var(--muted);
  line-height: 1.45;
}

.node-flow b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: rgba(24, 185, 130, 0.16);
  color: #c8f7e5;
}

.pay-actions button {
  border: 1px solid rgba(243, 216, 119, 0.26);
  background: rgba(217, 173, 69, 0.14);
  color: var(--gold-2);
}

.pay-submit {
  width: 100%;
}

.pay-note {
  color: var(--muted);
  line-height: 1.6;
}

label {
  display: grid;
  gap: 8px;
  color: #d7deea;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 9, 12, 0.76);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(243, 216, 119, 0.7);
}

.summary {
  position: sticky;
  top: 20px;
  align-self: start;
}

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

.summary-row strong {
  text-align: right;
}

.result {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(24, 185, 130, 0.35);
  border-radius: 14px;
  background: rgba(24, 185, 130, 0.1);
  color: #c8f7e5;
  line-height: 1.6;
}

.notice {
  margin-top: 16px;
  line-height: 1.7;
  font-size: 14px;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero,
  .product-grid,
  .order-panel,
  .order-form,
  .pay-actions,
  .pay-grid,
  .node-flow {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }
}

@media (max-width: 560px) {
  main,
  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-card strong {
    font-size: 28px;
  }
}
