:root {
  --navy-950: #020712;
  --navy-900: #03111f;
  --navy-850: #06192b;
  --navy-800: #09233a;
  --navy-700: #0d314e;
  --gold-700: #a96f20;
  --gold-500: #d6a03b;
  --gold-300: #f5d77f;
  --champagne: #fff0b7;
  --text-soft: #aeb9c8;
  --line-soft: rgba(245, 215, 127, 0.22);
  --app-shell-height: auto;
  --app-shell-min-height: 1320px;
  --app-shell-max-height: none;
}

body[data-page="deposit"],
body[data-page="accounts"],
body[data-page="overview"],
body[data-page="referrals"],
body[data-page="success"],
body[data-page="withdraw"] {
  --app-shell-height: min(1250px, calc(100dvh - 24px));
  --app-shell-min-height: 980px;
  --app-shell-max-height: 1280px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
}

body {
  min-height: 100dvh;
  margin: 0;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 8%, rgba(245, 215, 127, 0.12), transparent 28rem),
    radial-gradient(circle at 15% 78%, rgba(13, 49, 78, 0.32), transparent 24rem),
    radial-gradient(circle at 88% 46%, rgba(214, 160, 59, 0.08), transparent 22rem),
    linear-gradient(135deg, #02040a 0%, #071423 48%, #020711 100%);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button {
  cursor: pointer;
}

.particle-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 215, 127, 0.06), transparent 2px),
    radial-gradient(circle at 78% 14%, rgba(255, 240, 183, 0.04), transparent 2px),
    radial-gradient(circle at 64% 78%, rgba(13, 49, 78, 0.18), transparent 3px);
}

.particle {
  position: absolute;
  top: var(--start-y);
  left: var(--start-x);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  opacity: 0;
  background: var(--particle-color);
  box-shadow: 0 0 10px var(--particle-glow);
  animation: particle-drift var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes particle-drift {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.8);
  }

  12%,
  78% {
    opacity: var(--opacity);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--move-x), var(--move-y), 0) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .particle {
    animation: none;
    opacity: 0.28;
  }
}

.page-stage {
  display: grid;
  min-height: 100dvh;
  width: 100%;
  place-items: start center;
  padding: 8px;
  position: relative;
  z-index: 1;
}

.app-shell {
  --screen-x: 18px;
  width: 420px;
  max-width: 430px;
  height: var(--app-shell-height);
  min-height: var(--app-shell-min-height);
  max-height: var(--app-shell-max-height);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 240, 183, 0.28);
  border-radius: 34px;
  background:
    linear-gradient(168deg, rgba(8, 35, 59, 0.18) 0%, rgba(2, 7, 18, 0.24) 42%, rgba(3, 17, 31, 0.4) 100%),
    linear-gradient(180deg, #03101e 0%, #06192b 52%, #020712 100%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@media (max-width: 480px) {
  body[data-page="deposit"],
  body[data-page="accounts"],
  body[data-page="overview"],
  body[data-page="referrals"],
  body[data-page="success"],
  body[data-page="withdraw"] {
    --app-shell-height: min(1180px, calc(100dvh - 12px));
    --app-shell-min-height: 860px;
    --app-shell-max-height: 1180px;
  }
}

@media (max-width: 480px) and (max-height: 900px) {
  body[data-page="deposit"],
  body[data-page="accounts"],
  body[data-page="overview"],
  body[data-page="referrals"],
  body[data-page="success"],
  body[data-page="withdraw"] {
    --app-shell-height: calc(100dvh - 12px);
    --app-shell-min-height: 0;
  }
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(255, 240, 183, 0.12), transparent 18%);
  opacity: 0.5;
}

.app-content {
  position: relative;
  z-index: 1;
  height: auto;
  overflow: visible;
  padding: 26px var(--screen-x) 300px;
}

.auth-stage {
  display: grid;
  min-height: 100dvh;
  width: 100%;
  place-items: center;
  padding: 24px 16px;
  position: relative;
  z-index: 1;
}

.auth-shell {
  width: 100%;
  max-width: 430px;
  border: 1px solid rgba(255, 240, 183, 0.26);
  border-radius: 34px;
  padding: 28px 20px;
  background:
    linear-gradient(168deg, rgba(8, 35, 59, 0.22), rgba(2, 7, 18, 0.32)),
    linear-gradient(180deg, #03101e 0%, #06192b 54%, #020712 100%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.metal-text {
  color: transparent;
  background: linear-gradient(180deg, #fff8cf 0%, #f5d77f 24%, #c68b2f 57%, #fff0b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 24px rgba(214, 160, 59, 0.22);
}

.app-page-logo {
  display: block;
  width: min(112px, 30vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(214, 160, 59, 0.16));
}

@media (max-width: 360px) {
  .app-page-logo {
    width: min(96px, 28vw);
  }
}

.gold-border {
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(7, 29, 49, 0.94), rgba(2, 9, 18, 0.94)) padding-box,
    linear-gradient(140deg, rgba(255, 240, 183, 0.95), rgba(214, 160, 59, 0.44), rgba(255, 240, 183, 0.18)) border-box;
}

.dark-panel,
.page-card,
.metric-card,
.setting-row,
.asset-row,
.notice-card {
  border: 1px solid rgba(245, 215, 127, 0.2);
  background: linear-gradient(145deg, rgba(8, 32, 54, 0.88), rgba(3, 13, 25, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.22);
}

.page-card,
.notice-card {
  border-radius: 26px;
  padding: 18px;
}

.metric-card {
  border-radius: 22px;
  padding: 16px;
}

.balance-card {
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.34),
    0 0 44px rgba(214, 160, 59, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.balance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 240, 183, 0.14), transparent 8.5rem),
    radial-gradient(circle at 76% 24%, rgba(214, 160, 59, 0.1), transparent 8rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 52%);
  opacity: 0.78;
}

.balance-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  box-shadow: 0 0 16px rgba(255, 240, 183, 0.8);
}

.growth-badge {
  border: 1px solid rgba(128, 210, 82, 0.42);
  background: rgba(34, 91, 38, 0.3);
  color: #d9ffb5;
  box-shadow: 0 0 18px rgba(128, 210, 82, 0.12);
}

.wallet-summary-card {
  border: 1px solid rgba(255, 240, 183, 0.3);
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 240, 183, 0.12), transparent 11rem),
    radial-gradient(circle at 92% 18%, rgba(214, 160, 59, 0.16), transparent 9rem),
    linear-gradient(145deg, rgba(13, 49, 78, 0.98) 0%, rgba(8, 31, 54, 0.98) 44%, rgba(28, 21, 58, 0.92) 100%);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(214, 160, 59, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wallet-summary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 38%),
    linear-gradient(180deg, transparent 0%, rgba(2, 7, 18, 0.12) 100%);
}

.wallet-summary-card::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -24px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(214, 160, 59, 0.18), transparent 66%);
  filter: blur(2px);
}

.wallet-icon-box {
  border: 1px solid rgba(255, 240, 183, 0.26);
  background: linear-gradient(145deg, rgba(245, 215, 127, 0.2), rgba(7, 29, 49, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 22px rgba(0, 0, 0, 0.22);
}

.earnings-pill {
  border: 1px solid rgba(121, 242, 188, 0.42);
  background: rgba(21, 107, 125, 0.56);
  color: #aafad7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 18px rgba(121, 242, 188, 0.1);
}

.deposit-strip {
  color: inherit;
  border: 1px solid rgba(255, 207, 95, 0.28);
  background: linear-gradient(135deg, rgba(195, 106, 25, 0.84), rgba(99, 54, 30, 0.86) 50%, rgba(151, 95, 27, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(214, 160, 59, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.deposit-strip:hover {
  border-color: rgba(255, 240, 183, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 30px rgba(0, 0, 0, 0.24),
    0 0 26px rgba(214, 160, 59, 0.24);
}

.deposit-strip:active {
  transform: scale(0.985);
}

.deposit-icon {
  background: linear-gradient(145deg, #ffe48e, #d99a1f 55%, #8d5d1c);
  box-shadow: 0 8px 20px rgba(214, 160, 59, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.deposit-mode-button {
  border: 1px solid rgba(255, 240, 183, 0.14);
  background: rgba(3, 10, 20, 0.62);
  color: rgba(174, 185, 200, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.deposit-mode-button.active,
.deposit-mode-button:not(.is-unavailable):not([aria-disabled="true"]):hover {
  border-color: rgba(255, 240, 183, 0.5);
  background: linear-gradient(145deg, #ffe28b 0%, #d6a03b 43%, #8d5d1c 100%);
  color: #fff8cf;
  box-shadow: 0 16px 36px rgba(214, 160, 59, 0.24), inset 0 2px 0 rgba(255, 255, 255, 0.26);
}

.deposit-mode-button:not([aria-disabled="true"]):active {
  transform: translateY(1px) scale(0.985);
}

.deposit-mode-button[aria-disabled="true"] {
  cursor: not-allowed;
}

.deposit-mode-button:focus-visible,
.deposit-method-card:focus-within,
.deposit-quick-chip:focus-visible,
.deposit-submit-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(3, 17, 31, 0.95),
    0 0 0 5px rgba(245, 215, 127, 0.56);
}

.deposit-payment-card {
  border: 1px solid rgba(255, 240, 183, 0.3);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 240, 183, 0.13), transparent 11rem),
    radial-gradient(circle at 96% 18%, rgba(214, 160, 59, 0.17), transparent 9rem),
    linear-gradient(145deg, rgba(13, 49, 78, 0.98) 0%, rgba(8, 31, 54, 0.98) 42%, rgba(28, 21, 58, 0.92) 100%);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.36),
    0 0 42px rgba(214, 160, 59, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.deposit-payment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 38%),
    linear-gradient(180deg, transparent 0%, rgba(2, 7, 18, 0.14) 100%);
}

.deposit-payment-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -24px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(214, 160, 59, 0.18), transparent 66%);
  filter: blur(2px);
}

.deposit-method-card {
  border: 1px solid rgba(245, 215, 127, 0.22);
  background: rgba(3, 17, 31, 0.58);
  color: #fff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.deposit-method-card:hover,
.deposit-method-card.is-selected {
  border-color: rgba(255, 240, 183, 0.64);
  background: rgba(255, 240, 183, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24), 0 0 20px rgba(214, 160, 59, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.deposit-method-card.is-selected {
  background: #fff8e9;
  color: #1b1530;
}

.deposit-method-card:active {
  transform: scale(0.985);
}

.deposit-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.deposit-amount-input {
  width: 100%;
  border: 1px solid rgba(245, 215, 127, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.deposit-amount-input::-webkit-outer-spin-button,
.deposit-amount-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.deposit-amount-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.deposit-amount-input::placeholder {
  color: rgba(255, 240, 183, 0.42);
}

.deposit-amount-input:focus {
  border-color: rgba(255, 240, 183, 0.66);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 3px rgba(214, 160, 59, 0.14);
}

.deposit-amount-input.is-invalid {
  border-color: rgba(255, 104, 98, 0.72);
  background: rgba(113, 23, 28, 0.22);
  box-shadow: 0 0 0 3px rgba(255, 104, 98, 0.16);
}

.deposit-quick-chip {
  border: 1px solid rgba(245, 215, 127, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.deposit-quick-chip:not(:disabled):hover,
.deposit-quick-chip.active {
  border-color: rgba(255, 240, 183, 0.62);
  background: rgba(255, 240, 183, 0.14);
  color: #fff8cf;
}

.deposit-quick-chip:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.deposit-submit-button {
  border: 1px solid rgba(255, 240, 183, 0.48);
  color: #fff8cf;
  background: linear-gradient(145deg, #ffe28b 0%, #d6a03b 43%, #8d5d1c 100%);
  box-shadow: 0 18px 40px rgba(214, 160, 59, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.deposit-submit-button:not(:disabled):hover {
  box-shadow: 0 20px 42px rgba(214, 160, 59, 0.38), 0 0 26px rgba(245, 215, 127, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.36);
}

.deposit-submit-button:not(:disabled):active {
  transform: translateY(1px) scale(0.992);
}

.deposit-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.deposit-note {
  border: 1px solid rgba(121, 242, 188, 0.22);
  background: rgba(21, 107, 125, 0.38);
  color: #d5ffe9;
}

.wallet-stat {
  min-width: 0;
}

.stat-icon {
  border: 1px solid currentColor;
  background: rgba(3, 17, 31, 0.46);
}

.stat-icon-in {
  color: #51e3b1;
  box-shadow: 0 0 18px rgba(81, 227, 177, 0.12);
}

.stat-icon-out {
  color: #ff78b5;
  box-shadow: 0 0 18px rgba(255, 120, 181, 0.1);
}

.plan-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 215, 127, 0.22);
  border-radius: 24px;
  padding: 16px;
  text-align: left;
  background:
    radial-gradient(circle at 86% 12%, rgba(214, 160, 59, 0.12), transparent 7rem),
    linear-gradient(145deg, rgba(8, 32, 54, 0.9), rgba(3, 13, 25, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 30px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.plan-card:hover {
  border-color: rgba(255, 240, 183, 0.58);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26), 0 0 24px rgba(214, 160, 59, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.plan-card:active {
  transform: scale(0.985);
}

.plan-card.active {
  border-color: rgba(255, 240, 183, 0.84);
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 240, 183, 0.16), transparent 7rem),
    linear-gradient(145deg, rgba(112, 73, 21, 0.58), rgba(6, 25, 43, 0.96));
  box-shadow: 0 0 28px rgba(214, 160, 59, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.plan-card.active::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  box-shadow: 0 0 16px rgba(255, 240, 183, 0.72);
}

.plan-check {
  border: 1px solid rgba(245, 215, 127, 0.22);
  background: rgba(3, 17, 31, 0.56);
  color: #91a0b2;
}

.plan-card.active .plan-check {
  border-color: rgba(255, 240, 183, 0.7);
  background: linear-gradient(145deg, #ffe28b, #d6a03b 54%, #8d5d1c);
  color: #fff8cf;
}

.action-button,
.secondary-button,
.icon-pill,
.choice-card,
.amount-chip {
  border: 1px solid rgba(214, 160, 59, 0.5);
  background: linear-gradient(145deg, rgba(9, 35, 58, 0.84), rgba(2, 10, 20, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 28px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.action-button:hover,
.secondary-button:hover,
.icon-pill:hover,
.choice-card:hover,
.amount-chip:hover {
  border-color: rgba(255, 240, 183, 0.72);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24), 0 0 22px rgba(214, 160, 59, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.action-button:active,
.primary-button:active,
.secondary-button:active,
.icon-pill:active,
.choice-card:active,
.amount-chip:active {
  transform: translateY(1px) scale(0.98);
}

.choice-card.active,
.amount-chip.active {
  color: var(--gold-300);
  border-color: rgba(255, 240, 183, 0.76);
  background: linear-gradient(145deg, rgba(120, 80, 19, 0.42), rgba(5, 20, 34, 0.94));
  box-shadow: 0 0 22px rgba(214, 160, 59, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.primary-button {
  border: 1px solid rgba(255, 240, 183, 0.62);
  color: #fff8cf;
  background: linear-gradient(145deg, #ffe28b 0%, #d6a03b 43%, #8d5d1c 100%);
  box-shadow: 0 18px 40px rgba(214, 160, 59, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  box-shadow: 0 20px 42px rgba(214, 160, 59, 0.38), 0 0 26px rgba(245, 215, 127, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.36);
}

.secondary-button {
  color: var(--gold-300);
}

.tab-button {
  position: relative;
  color: var(--text-soft);
  transition: color 180ms ease;
}

.tab-button::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -13px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-300), var(--gold-500), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 200ms ease, transform 200ms ease;
  box-shadow: 0 0 14px rgba(245, 215, 127, 0.8);
}

.tab-button.active {
  color: var(--gold-300);
}

.tab-button.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.feed-area {
  min-height: 500px;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  transition: opacity 180ms ease, transform 180ms ease;
}

.feed-area.is-changing {
  opacity: 0;
  transform: translateY(6px);
}

.status-received {
  color: #d9ffb5;
  border-color: rgba(128, 210, 82, 0.46);
  background: rgba(42, 97, 35, 0.34);
}

.status-pending {
  color: #ffd66f;
  border-color: rgba(214, 160, 59, 0.5);
  background: rgba(120, 80, 19, 0.34);
}

.status-rejected {
  color: #ff827b;
  border-color: rgba(255, 82, 82, 0.5);
  background: rgba(113, 23, 28, 0.34);
}

.filter-chip {
  border: 1px solid rgba(245, 215, 127, 0.16);
  background: rgba(3, 17, 31, 0.58);
  color: #aeb9c8;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--gold-300);
  border-color: rgba(245, 215, 127, 0.56);
  background: rgba(120, 80, 19, 0.24);
}

.filter-chip:active {
  transform: scale(0.97);
}

.form-input {
  width: 100%;
  border: 1px solid rgba(245, 215, 127, 0.18);
  border-radius: 18px;
  background: rgba(3, 17, 31, 0.66);
  padding: 13px 14px;
  color: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-input::placeholder {
  color: rgba(174, 185, 200, 0.72);
}

.form-input:focus {
  border-color: rgba(245, 215, 127, 0.58);
  box-shadow: 0 0 0 3px rgba(214, 160, 59, 0.14);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #aeb9c8;
  font-size: 13px;
  font-weight: 700;
}

.copy-code {
  border: 1px dashed rgba(245, 215, 127, 0.36);
  border-radius: 18px;
  background: rgba(3, 17, 31, 0.58);
  color: var(--champagne);
}

.asset-row,
.setting-row {
  border-radius: 22px;
  padding: 15px;
}

.bottom-nav {
  position: fixed;
  z-index: 3;
  left: 50%;
  right: auto;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: min(calc(100vw - 36px), 384px);
  min-height: 94px;
  transform: translateX(-50%);
  border: 1px solid rgba(245, 215, 127, 0.22);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(7, 28, 47, 0.78), rgba(2, 9, 18, 0.84));
  box-shadow: 0 -20px 46px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body[data-page="overview"] .bottom-nav,
body[data-page="success"] .bottom-nav {
  position: absolute;
  bottom: 18px;
}

.nav-item {
  color: #91a0b2;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-item.active {
  color: var(--gold-300);
  text-shadow: 0 0 14px rgba(245, 215, 127, 0.6);
}

.nav-item:active {
  transform: translateY(1px);
}

.plus-button {
  width: 72px;
  height: 72px;
  margin-top: -36px;
  border: 2px solid rgba(255, 240, 183, 0.7);
  background: linear-gradient(145deg, #ffe28b 0%, #d6a03b 43%, #8d5d1c 100%);
  box-shadow: 0 18px 40px rgba(214, 160, 59, 0.44), 0 0 26px rgba(245, 215, 127, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.38);
}

.plus-button.active {
  box-shadow: 0 18px 44px rgba(245, 215, 127, 0.56), 0 0 30px rgba(245, 215, 127, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.42);
}

@media (max-width: 480px) {
  :root {
    --app-shell-height: auto;
    --app-shell-min-height: 100vh;
    --app-shell-max-height: none;
  }

  body {
    background: #020712;
  }

  .page-stage {
    padding: 0;
  }

  .app-shell {
    --screen-x: 14px;
    width: 100%;
    max-width: 100%;
    height: var(--app-shell-height);
    min-height: var(--app-shell-min-height);
    max-height: var(--app-shell-max-height);
    border: 0;
    border-radius: 0;
  }

  .app-content {
    padding-top: 20px;
    padding-bottom: 260px;
  }

  .feed-area {
    min-height: 482px;
    max-height: none;
  }

  .bottom-nav {
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: calc(100vw - 28px);
    min-height: 90px;
  }

  body[data-page="overview"] .bottom-nav,
  body[data-page="success"] .bottom-nav {
    bottom: 14px;
  }

  .plus-button {
    width: 68px;
    height: 68px;
  }
}
