:root {
  --bg: #06110c;
  --bg-elevated: #0c1c15;
  --bg-card: rgba(10, 32, 23, 0.9);
  --border: rgba(212, 175, 90, 0.22);
  --text: #f6f1e4;
  --muted: #9aab9a;
  --accent: #e4c56a;
  --accent-2: #1f9a58;
  --emerald: #127a45;
  --emerald-deep: #0b3d26;
  --gold: #e4c56a;
  --gold-deep: #8d6a1e;
  --danger: #e07a6e;
  --warning: #e4c56a;
  --ok: #3dce7a;
  --ink: #07140e;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
  --radius: 18px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(20, 120, 68, 0.35), transparent 60%),
    radial-gradient(700px 480px at 92% 8%, rgba(212, 175, 90, 0.14), transparent 55%),
    radial-gradient(800px 600px at 70% 110%, rgba(10, 70, 42, 0.45), transparent 60%),
    var(--bg);
  line-height: 1.5;
}

img {
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-glow {
  position: fixed;
  inset: auto auto -20% -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(18, 122, 69, 0.28), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(228, 197, 106, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 197, 106, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 20%, black 10%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.header,
main,
footer {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(6, 17, 12, 0.78);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 197, 106, 0.7), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-word {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.mark-svg {
  width: 46px;
  height: 46px;
  overflow: visible;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.ring-gold {
  fill: none;
  stroke: #f0d48a;
  stroke-width: 1.6;
}

.ring-emerald {
  fill: none;
  stroke: #14884a;
  stroke-width: 6.5;
}

.ring-core {
  fill: #0f6e3e;
  stroke: #8fd9ae;
  stroke-width: 0.6;
}

.ring-shine {
  fill: #e9fff3;
  opacity: 0.85;
}

.leaf {
  fill: #e4c56a;
}

.accent {
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 1.4rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.68rem 1.1rem;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, #1ea25a 0%, #0d6a3a 55%, #0a5230 100%);
  color: #f8f3e6;
  border-color: rgba(228, 197, 106, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px rgba(8, 50, 28, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: rgba(228, 197, 106, 0.04);
  border-color: rgba(228, 197, 106, 0.28);
  color: #efe6cf;
}

.btn-xl {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3rem;
  align-items: center;
  padding: 4.2rem 0 2.2rem;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(228, 197, 106, 0.08);
  border: 1px solid rgba(228, 197, 106, 0.28);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.1rem, 5.2vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.lead {
  margin: 1.25rem 0 1.7rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 7.2rem;
  padding: 0.75rem 0.9rem 0.7rem;
  border-radius: 14px;
  background: rgba(12, 36, 24, 0.7);
  border: 1px solid rgba(228, 197, 106, 0.18);
}

.hero-stats strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.78rem;
}

.exchange-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 244, 214, 0.05), transparent 28%),
    linear-gradient(160deg, rgba(18, 92, 54, 0.55), rgba(7, 28, 19, 0.92) 42%, rgba(8, 22, 16, 0.95));
  border: 1px solid rgba(228, 197, 106, 0.48);
  border-radius: 28px;
  padding: 1.15rem;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 244, 210, 0.16);
  backdrop-filter: blur(16px);
}

.exchange-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  border: 1px solid rgba(228, 197, 106, 0.16);
  pointer-events: none;
}

.rate-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: rgba(6, 20, 14, 0.45);
  border: 1px solid rgba(228, 197, 106, 0.2);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.rate-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dce7a;
  box-shadow: 0 0 0 4px rgba(61, 206, 122, 0.16);
  flex-shrink: 0;
}

.rate-source {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-block {
  background: rgba(4, 14, 10, 0.55);
  border: 1px solid rgba(228, 197, 106, 0.16);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.field-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.amount-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amount-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.amount-row input::-webkit-outer-spin-button,
.amount-row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.amount-row input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.asset-select {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(228, 197, 106, 0.35);
  background: linear-gradient(180deg, rgba(228, 197, 106, 0.14), rgba(228, 197, 106, 0.05));
  border-radius: 999px;
  padding: 0.42rem 0.75rem 0.42rem 0.42rem;
  cursor: pointer;
  font-weight: 800;
  color: #f8f1dc;
}

.asset-select img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(228, 197, 106, 0.35);
}

.chevron {
  color: var(--gold);
  font-size: 0.8rem;
}

.swap-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -0.55rem auto;
  border-radius: 50%;
  border: 1px solid rgba(228, 197, 106, 0.7);
  background: radial-gradient(circle at 35% 30%, #1c8f4e, #0b3d26 70%);
  color: var(--gold);
  cursor: pointer;
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.swap-btn:hover {
  filter: brightness(1.12);
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(4, 14, 10, 0.4);
  border: 1px solid rgba(228, 197, 106, 0.14);
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.address-field input {
  border: 1px solid rgba(228, 197, 106, 0.22);
  background: rgba(4, 14, 10, 0.62);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  outline: none;
  color: var(--text);
}

.address-field input:focus {
  border-color: rgba(228, 197, 106, 0.7);
  box-shadow: 0 0 0 3px rgba(228, 197, 106, 0.12);
}

.disclaimer {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  padding: 2.8rem 0 0.6rem;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.rate-card {
  background: linear-gradient(180deg, rgba(18, 58, 38, 0.45), rgba(8, 22, 16, 0.9));
  border: 1px solid rgba(228, 197, 106, 0.16);
  border-radius: 16px;
  padding: 1rem 1rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.rate-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.rate-card:hover {
  border-color: rgba(228, 197, 106, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.rate-card-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.rate-card-top img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.pair-name {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pair-sub {
  color: var(--muted);
  font-size: 0.78rem;
}

.rate-price {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.rate-change {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.rate-change.up {
  color: var(--ok);
}

.rate-change.down {
  color: var(--danger);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}

.step {
  background: rgba(10, 28, 20, 0.72);
  border: 1px solid rgba(228, 197, 106, 0.16);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.35rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1c8f4e, #0b3d26);
  border: 1px solid rgba(228, 197, 106, 0.65);
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.orders-table-wrap {
  overflow: auto;
  border: 1px solid rgba(228, 197, 106, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 22, 16, 0.8);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.orders-table th,
.orders-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(228, 197, 106, 0.1);
}

.orders-table th {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.orders-table tr:last-child td {
  border-bottom: 0;
}

.empty-row td {
  text-align: center !important;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.status.pending {
  background: rgba(228, 197, 106, 0.14);
  color: var(--gold);
}

.status.done {
  background: rgba(61, 206, 122, 0.14);
  color: var(--ok);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  background: rgba(8, 22, 16, 0.78);
  border: 1px solid rgba(228, 197, 106, 0.16);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list summary:hover {
  color: var(--gold);
}

.faq-list p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.footer {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(228, 197, 106, 0.2);
  padding: 1.6rem 0 2.2rem;
  background: linear-gradient(180deg, rgba(228, 197, 106, 0.05), transparent 40%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.tg-icon {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  display: block;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.support-link:hover {
  color: #f6e7b8;
}

.support-link-header {
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 197, 106, 0.35);
  background: rgba(228, 197, 106, 0.08);
  font-size: 0.88rem;
}

.support-link-header:hover {
  background: rgba(228, 197, 106, 0.16);
}

.support-link-footer {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 197, 106, 0.28);
  background: rgba(228, 197, 106, 0.06);
}

.support-link-inline {
  margin-left: 0.25rem;
  vertical-align: middle;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 7, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 50;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  width: min(440px, 100%);
  background:
    linear-gradient(180deg, rgba(255, 244, 214, 0.05), transparent 24%),
    #0d1f17;
  border: 1px solid rgba(228, 197, 106, 0.38);
  border-radius: 22px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.modal-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 1.1rem;
}

.search {
  width: 100%;
  border: 1px solid rgba(228, 197, 106, 0.22);
  background: rgba(4, 14, 10, 0.7);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  outline: none;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.search:focus {
  border-color: rgba(228, 197, 106, 0.65);
}

.asset-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow: auto;
}

.asset-group {
  padding: 0.65rem 0.45rem 0.35rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.asset-list li button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.45rem;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
}

.asset-list li button:hover {
  background: rgba(228, 197, 106, 0.08);
}

.asset-list li button.asset-offline,
.asset-list li button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.asset-list li button.asset-offline:hover {
  background: transparent;
}

.asset-icon-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.asset-list img,
.asset-icon-wrap img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
}

.asset-offline .asset-icon-wrap img,
.rate-card-offline .asset-icon-wrap img {
  filter: grayscale(1) brightness(0.85);
}

.asset-badge {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.18rem 0.28rem;
  border-radius: 999px;
  color: #1a1200;
  background: var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.rate-card-offline {
  opacity: 0.78;
  cursor: not-allowed;
}

.rate-card .asset-icon-wrap {
  width: 36px;
  height: 36px;
}

.rate-card .asset-icon-wrap img {
  width: 36px;
  height: 36px;
}

.asset-meta {
  display: flex;
  flex-direction: column;
}

.asset-meta strong {
  font-size: 0.95rem;
}

.asset-meta span {
  color: var(--muted);
  font-size: 0.8rem;
}

.order-modal {
  text-align: center;
}

.success-badge {
  width: 58px;
  height: 58px;
  margin: 0.25rem auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #1c8f4e, #0b3d26);
  border: 1px solid rgba(228, 197, 106, 0.7);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 800;
}

.deposit-box {
  margin: 1rem 0 1.2rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(4, 14, 10, 0.45);
  border: 1px solid rgba(228, 197, 106, 0.18);
  text-align: left;
}

.deposit-box code {
  display: block;
  margin: 0.45rem 0 0.7rem;
  word-break: break-all;
  font-size: 0.85rem;
  color: var(--gold);
}

.order-timer {
  margin: 0.35rem 0 0.8rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.order-status-line {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.fiat-methods {
  margin: 0 0 1rem;
}

.fiat-methods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.fiat-method-btn {
  border: 1px solid rgba(228, 197, 106, 0.22);
  background: rgba(4, 14, 10, 0.35);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
}

.fiat-method-btn.active {
  border-color: rgba(228, 197, 106, 0.7);
  background: rgba(18, 122, 69, 0.35);
  color: var(--gold);
}

.fiat-extra {
  margin: 0.35rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: left;
  line-height: 1.45;
}

.auth-user {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-hint {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.85rem;
  text-align: center;
}

.auth-hint[hidden] {
  display: none;
}

.auth-modal .address-field {
  margin-bottom: 0.75rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(4, 14, 10, 0.7);
  border: 1px solid rgba(228, 197, 106, 0.18);
}

.auth-tabs .tab {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.auth-tabs .tab:hover {
  color: var(--text);
}

.auth-tabs .tab.active {
  background: linear-gradient(180deg, #1ea25a, #0d6a3a);
  color: #f8f3e6;
  border: 1px solid rgba(228, 197, 106, 0.45);
}

.auth-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
}

.receipt-box {
  margin: 1rem 0;
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(228, 197, 106, 0.08);
  border: 1px solid rgba(228, 197, 106, 0.28);
  text-align: left;
}

.receipt-box input[type="file"] {
  width: 100%;
  margin: 0.45rem 0 0.55rem;
  color: var(--muted);
}

.receipt-file-name {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: #10281c;
  border: 1px solid rgba(228, 197, 106, 0.4);
  color: var(--text);
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  z-index: 60;
  box-shadow: var(--shadow);
}

.toast[hidden] {
  display: none;
}

@media (max-width: 920px) {
  .auth-user {
    display: none;
  }

  .nav {
    display: none;
  }

  .hero,
  .rates-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .rates-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .header-actions .btn-ghost {
    display: none;
  }

  .support-link-header span {
    display: none;
  }

  .support-link-header {
    padding: 0.5rem;
  }

  .support-link-header .tg-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .meta-row,
  .rates-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .amount-row input {
    font-size: 1.7rem;
  }
}
