* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #1a1b23;
  color: #e2e8f0;
  line-height: 1.5;
}

a { color: inherit; }

/* ─── TOPBAR ─────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(26, 27, 35, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #2a2b35;
  z-index: 10;
}

.topbar-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.brand-name { font-weight: 700; font-size: 16px; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn-primary { background-color: #d4a017; color: #1a1b23; }
.btn-ghost   { background-color: transparent; color: #e2e8f0; border: 1px solid #3f3f46; }
.btn-secondary { background-color: #3f3f46; color: #e2e8f0; }
.btn-small { padding: 8px 16px; font-size: 13px; }
.btn-tiny  { padding: 7px 12px; font-size: 12px; white-space: nowrap; }
.btn-full  { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #24252f 0%, #1a1b23 60%);
}

.hero-inner { max-width: 680px; margin: 0 auto; }

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #ffffff;
}

.hero-sub {
  font-size: 16px;
  color: #94a3b8;
  margin: 0 0 32px;
}

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── SECTIONS ───────────────────────────────────────────────────────────── */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 36px;
  color: #ffffff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: #20212c;
  border: 1px solid #2a2b35;
  border-radius: 12px;
  padding: 24px;
}

.card-icon { font-size: 22px; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 15px; color: #ffffff; }
.card p  { margin: 0; font-size: 13px; color: #94a3b8; }

/* ─── BUY ────────────────────────────────────────────────────────────────── */
.section-buy { background: #16171f; border-top: 1px solid #2a2b35; border-bottom: 1px solid #2a2b35; }

.buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: start;
}

.price-card { text-align: left; }

.price-tag {
  font-size: 40px;
  font-weight: 800;
  color: #d4a017;
}
.price-tag span { font-size: 18px; font-weight: 600; color: #94a3b8; }

.price-desc { font-size: 13px; color: #94a3b8; margin: 4px 0 20px; }

.steps {
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: 13px;
  color: #cbd5e1;
}
.steps li { margin-bottom: 8px; }

.wallet-box {
  background: #272935;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  padding: 16px;
}

.wallet-label { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }

.wallet-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-row code {
  flex: 1;
  font-size: 12px;
  word-break: break-all;
  background: #1a1b23;
  border-radius: 6px;
  padding: 8px 10px;
  border: 1px solid #3f3f46;
}

.wallet-warning {
  margin-top: 10px;
  font-size: 11px;
  color: #ef4444;
}

/* ─── FORM ───────────────────────────────────────────────────────────────── */
.order-form h3 { margin: 0 0 18px; font-size: 16px; color: #ffffff; }

.order-form label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.order-form input,
.order-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #3f3f46;
  background: #272935;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: #d4a017;
}

.order-status {
  margin-top: 12px;
  font-size: 13px;
  min-height: 18px;
}
.order-status.ok    { color: #10b981; }
.order-status.error { color: #ef4444; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 30px 24px;
  font-size: 12px;
  color: #5b5d6b;
}
