@import url("../../css/mr-future.css");

:root {
  --bg: #030308;
  --card: rgba(8, 12, 28, 0.75);
  --border: rgba(120, 160, 255, 0.14);
  --border-bright: rgba(77, 232, 255, 0.4);
  --text: #eef1fb;
  --muted: #8b95b5;
  --cyan: #4de8ff;
  --gold: #ffd166;
  --purple: #9b6dff;
  --pink: #fb57ff;
  --font: "Space Grotesk", system-ui, sans-serif;
  --display: "Orbitron", var(--font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

/* Launchpad product — visually separate from main RUSH token site */
body.lp-site {
  --bg: #050510;
}

.lp-site-banner {
  position: relative;
  z-index: 50;
  padding: 0.45rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(77, 232, 255, 0.06);
  border-bottom: 1px solid rgba(77, 232, 255, 0.12);
}

.lp-site-banner strong {
  color: var(--gold);
  font-weight: 600;
}

.lp-site-banner a {
  margin-left: 0.75rem;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
}

.lp-site-banner a:hover {
  text-decoration: underline;
}

#space-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nebula {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.nebula-1 {
  background: radial-gradient(ellipse 80% 50% at 15% 5%, rgba(77, 232, 255, 0.1), transparent 60%);
}

.nebula-2 {
  background: radial-gradient(ellipse 70% 45% at 90% 90%, rgba(251, 87, 255, 0.08), transparent 55%);
}

a {
  color: var(--cyan);
}

/* Header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(3, 3, 8, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.lp-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}

.lp-brand em {
  font-style: normal;
  color: var(--gold);
}

.lp-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  margin-right: 1rem;
}

.lp-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.lp-nav a:hover {
  color: var(--cyan);
}

.lp-nav a.active-nav {
  color: var(--gold);
}

/* Buttons */
.btn {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn:hover:not(:disabled) {
  border-color: var(--border-bright);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(77, 232, 255, 0.2), rgba(155, 109, 255, 0.2));
  border-color: var(--border-bright);
}

.btn-glow:hover:not(:disabled) {
  box-shadow: 0 0 24px rgba(77, 232, 255, 0.25);
}

.btn-ghost {
  background: transparent;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* Main */
.lp-main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.lp-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--pink);
  font-weight: 600;
}

.lp-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin: 0.5rem 0;
  line-height: 1.15;
}

.lp-hero h1 span {
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 1.25rem;
  font-size: 1.05rem;
}

.lead strong {
  color: var(--gold);
}

.lp-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-align: center;
}

.stat-card h3 {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.stat-card p {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--cyan);
}

/* Wizard */
.wizard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
}

.wizard-steps {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.step-tab {
  flex: 1;
  min-width: 100px;
  padding: 1rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.step-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  background: rgba(77, 232, 255, 0.04);
}

.wizard-panel {
  display: none;
  padding: 1.75rem;
}

.wizard-panel.active {
  display: block;
}

.wizard-panel h2 {
  font-family: var(--display);
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.panel-hint {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

/* Chain / type grids */
.chain-grid,
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.pick-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.pick-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.pick-card.selected {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(77, 232, 255, 0.15);
}

.pick-card .icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.35rem;
}

.pick-card h4 {
  margin: 0;
  font-size: 0.95rem;
}

.pick-card p {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.pick-card .fee {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

/* Form */
.token-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.token-form input {
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.token-form input:focus {
  outline: none;
  border-color: var(--cyan);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metadata-fields {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.ownership-fields {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.renounce-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin: 0;
}

.renounce-option input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--cyan);
  flex-shrink: 0;
}

.renounce-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.renounce-copy strong {
  font-size: 0.95rem;
}

.renounce-warning {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.35);
  color: var(--gold);
  font-size: 0.85rem;
  line-height: 1.45;
}

.metadata-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: var(--display);
  color: var(--cyan);
}

.token-form textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  width: 100%;
  resize: vertical;
  min-height: 4.5rem;
}

.logo-upload-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.logo-preview {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #111;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.wizard-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.review-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  font-size: 0.9rem;
}

.review-box dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.review-box dt {
  color: var(--muted);
  font-weight: 600;
}

.review-box dd {
  margin: 0;
  word-break: break-all;
}

.fee-note {
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.fee-note strong {
  color: var(--gold);
}

.disclaimer-box {
  margin: 1.25rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  background: rgba(255, 209, 102, 0.06);
}

.disclaimer-box h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--gold);
}

.disclaimer-box p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--text);
}

.disclaimer-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.disclaimer-check input {
  margin-top: 0.2rem;
}

.success-box {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(77, 232, 255, 0.35);
  background: rgba(77, 232, 255, 0.06);
}

.status-line {
  min-height: 1.25rem;
  margin: 0.75rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.review-dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.review-dl dt {
  color: var(--muted);
  font-weight: 600;
}

.review-dl dd {
  margin: 0;
  word-break: break-all;
}

.launch-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(77, 232, 255, 0.06);
  border-radius: 12px;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.launch-success {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(77, 232, 255, 0.35);
  background: rgba(77, 232, 255, 0.08);
}

.launch-success a {
  font-weight: 600;
}

/* Recent */
.recent-section h2 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recent-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
}

.recent-item .sym {
  font-weight: 700;
  color: var(--gold);
}

.recent-item .chain-tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(77, 232, 255, 0.1);
  color: var(--cyan);
}

.muted {
  color: var(--muted);
}

/* Wallet modal — PinkSale-style dark popup */
.wallet-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 420px;
  width: calc(100% - 1.5rem);
  margin: auto;
  color: #fff;
}

.wallet-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-modal::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.wallet-modal-panel {
  width: 100%;
  background: #0c0c0c;
  border: 1px solid #262626;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  animation: walletModalIn 0.22s ease-out;
}

@keyframes walletModalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.wallet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.35rem 0;
  gap: 1rem;
}

.wallet-modal-header h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.wallet-modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: #1a1a1a;
  color: #888;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.wallet-modal-close:hover {
  background: #262626;
  color: #fff;
}

.wallet-modal-subtitle {
  margin: 0.35rem 1.35rem 0;
  font-size: 0.88rem;
  color: #737373;
}

.wallet-modal-body {
  padding: 1rem 1.35rem 0.5rem;
  max-height: min(70vh, 480px);
  overflow-y: auto;
}

.wallet-modal-section + .wallet-modal-section {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #1f1f1f;
}

.wallet-modal-section-title {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #525252;
}

.wallet-chain-grid {
  margin-bottom: 0.5rem;
}

.wallet-chain-grid .pick-card {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
}

.wallet-chain-grid .pick-card:hover {
  border-color: var(--cyan);
}
  margin: 0;
  padding: 0.85rem 1.35rem 1.25rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #525252;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}

.wallet-list,
.wallet-list-shell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #222;
  border-radius: 14px;
  background: #141414;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.wallet-option:hover {
  background: #1c1c1c;
  border-color: #333;
}

.wallet-option:active {
  transform: scale(0.99);
}

.wallet-option--loading {
  opacity: 0.65;
  pointer-events: none;
}

.wallet-option-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  padding: 3px;
  background: #1a1a1a;
  box-sizing: border-box;
}

.wallet-option-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wallet-option-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f5f5f5;
  line-height: 1.2;
}

.wallet-option-status {
  font-size: 0.75rem;
  font-weight: 500;
}

.wallet-option-status--ok {
  color: #4ade80;
}

.wallet-option-status--off {
  color: #737373;
}

.wallet-option-chevron {
  flex-shrink: 0;
  color: #404040;
  display: flex;
  align-items: center;
}

.wallet-option:hover .wallet-option-chevron {
  color: #737373;
}

/* Legacy modal classes (admin etc.) */
.modal-inner {
  background: #0c0c0c;
  border: 1px solid #262626;
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-inner h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
}

.modal-hint {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.modal-section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.api-status-banner {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 180, 80, 0.35);
  background: rgba(255, 140, 40, 0.08);
  font-size: 0.88rem;
  line-height: 1.5;
}

.api-status-banner code {
  font-size: 0.78rem;
  color: var(--gold);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #0f1528;
  border: 1px solid var(--border-bright);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  z-index: 100;
  transition: transform 0.3s;
  font-size: 0.9rem;
}

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

.lp-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.lp-footer a {
  color: var(--cyan);
}

.lp-footer-links {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .lp-nav {
    display: none;
  }
}

.sol-tax-manage {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.sol-tax-manage h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.tax-admin-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.tax-admin-grid .form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.tax-admin-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tax-admin-btns .btn {
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
}

.tax-admin-status {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  word-break: break-all;
}
