:root {
  color-scheme: dark;
  --bg: #050817;
  --panel: rgba(14, 17, 24, 0.82);
  --panel-strong: rgba(22, 26, 36, 0.92);
  --text: #f9fbff;
  --muted: #9aa8c7;
  --line: rgba(86, 210, 255, 0.18);
  --accent: #ff315f;
  --accent-2: #49e4ff;
  --danger: #ff6b6b;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(255, 49, 95, 0.12), transparent 28%),
    linear-gradient(250deg, rgba(73, 228, 255, 0.1), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 26%, rgba(255, 49, 95, 0.035) 50%, transparent 76%),
    linear-gradient(180deg, #050817 0%, #081228 44%, #050817 100%);
  background-size: auto, auto, 220% 100%, auto;
  animation: pageGlow 18s ease-in-out infinite;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 49, 95, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 49, 95, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
  animation: gridDrift 24s linear infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(255, 49, 95, 0.055), transparent),
    repeating-linear-gradient(90deg, transparent 0 160px, rgba(73, 228, 255, 0.035) 160px 161px, transparent 161px 320px);
  opacity: 0.72;
  transform: translateY(-35%);
  animation: scanFlow 14s ease-in-out infinite;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 34px;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 50px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 49, 95, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 109, 125, 0.34), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 49, 95, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.menu-toggle::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 46%);
  opacity: 0.65;
}

.menu-toggle-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 22px;
  gap: 6px;
}

.menu-toggle-icon span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #fff0f5;
  box-shadow: 0 0 12px rgba(255, 49, 95, 0.42);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-icon span:nth-child(2) {
  width: 14px;
  justify-self: end;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
  width: 22px;
  transform: translateY(-4px) rotate(-45deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--text);
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 49, 95, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 49, 95, 0.24), rgba(73, 228, 255, 0.09)),
    #0b1530;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 38px rgba(0, 0, 0, 0.34);
  object-fit: cover;
  padding: 2px;
  animation: markPulse 3.8s ease-in-out infinite;
}

.eyebrow,
.card-label {
  margin: 0;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  /* max-width: 680px; */
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.connect-btn,
.ghost-btn,
.segment-btn {
  min-height: 42px;
  border: 1px solid rgba(255, 49, 95, 0.36);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
}

.connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: linear-gradient(135deg, #ff6d7d, #8f38ff);
  color: #090b16;
  box-shadow: 0 16px 36px rgba(255, 49, 95, 0.18);
  white-space: nowrap;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.icon-link {
  width: 42px;
  padding: 0;
  color: #f8fbff;
}

.icon-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.deploy-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 49, 95, 0.18), transparent 34%),
    rgba(3, 5, 8, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(18px);
}

.deploy-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.deploy-modal-panel {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 49, 95, 0.28);
  border-radius: var(--radius);
  background: rgba(10, 12, 16, 0.94);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  text-align: center;
}

.deploy-orbit {
  display: grid;
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid rgba(255, 49, 95, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 49, 95, 0.18), rgba(73, 228, 255, 0.04) 58%, transparent 60%);
  animation: ringFloat 4s ease-in-out infinite;
}

.deploy-orbit span {
  font-size: 30px;
  font-weight: 900;
  color: var(--accent);
}

.deploy-modal-panel h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.deploy-modal-panel p {
  color: var(--muted);
}

.deploy-modal-address {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 49, 95, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--accent-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}

.social-link {
  min-height: 38px;
  color: #b7c5e8;
}

.top-link {
  min-height: 42px;
}

.connect-btn:hover,
.ghost-btn:hover,
.segment-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.hero-copy,
.contract-card,
.stat-card,
.panel,
.feature-card,
.showcase-panel,
.launch-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.hero-copy::before,
.contract-card::before,
.stat-card::before,
.panel::before,
.feature-card::before,
.showcase-panel::before,
.launch-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.08), transparent 42%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 0.25s ease;
}

.hero-copy:hover::before,
.contract-card:hover::before,
.stat-card:hover::before,
.panel:hover::before,
.feature-card:hover::before,
.showcase-panel:hover::before,
.launch-card:hover::before {
  opacity: 1;
  animation: surfaceSweep 1.35s ease;
}

.hero-copy {
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(255, 49, 95, 0.12), transparent 40%),
    var(--panel);
}

.hero-copy p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.showcase-panel {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 360px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 49, 95, 0.16), rgba(73, 228, 255, 0.08)),
    var(--panel-strong);
}

.showcase-ring {
  display: grid;
  width: min(100%, 238px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 49, 95, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 49, 95, 0.22), transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 42px rgba(255, 49, 95, 0.11), 0 28px 70px rgba(0, 0, 0, 0.36);
  animation: ringFloat 5s ease-in-out infinite;
}

.showcase-ring span {
  color: var(--accent);
  font-size: clamp(38px, 8vw, 68px);
  font-weight: 950;
}

.showcase-metrics,
.data-list,
.card-metrics {
  display: grid;
  gap: 10px;
  margin: 0;
}

.showcase-metrics div,
.data-list div,
.card-metrics div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.showcase-metrics dt,
.data-list dt,
.card-metrics dt,
.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.showcase-metrics dd,
.data-list dd,
.card-metrics dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  text-align: right;
}

.contract-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
}

.status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 6px rgba(155, 148, 132, 0.08);
}

.status-dot.ok {
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(73, 228, 255, 0.12);
}

.status-dot.bad {
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.14);
}

.feature-grid,
.stats-grid,
.details-grid {
  display: grid;
  gap: 14px;
}

.feature-grid,
.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.stat-card,
.panel {
  padding: 22px;
}

.feature-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.stat-card {
  min-height: 160px;
}

.stat-card strong {
  display: block;
  margin: 16px 0 12px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.05;
}

.progress-track {
  position: relative;
  height: 12px;
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 49, 95, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(255, 49, 95, 0.26);
  transition: width 0.35s ease;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-head h3 {
  margin-bottom: 0;
}

.launch-list-panel {
  margin-top: 14px;
}

.list-toolbar {
  align-items: end;
}

.segmented-control {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.segment-btn {
  min-height: 34px;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.segment-btn.active {
  background: rgba(255, 49, 95, 0.16);
  color: var(--accent);
}

.launch-card-grid {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.launch-card-grid.active {
  display: grid;
}

.launch-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.launch-card:hover,
.launch-card:focus-visible {
  border-color: rgba(255, 49, 95, 0.48);
  background: rgba(22, 26, 36, 0.96);
  transform: translateY(-3px);
  outline: none;
}

.launch-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.token-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 49, 95, 0.36);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 900;
  background: rgba(255, 49, 95, 0.1);
}

.image-avatar {
  display: block;
  object-fit: cover;
}

.launch-card h4 {
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.launch-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.status-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-badge.live {
  border-color: rgba(73, 228, 255, 0.36);
  color: var(--accent-2);
}

.status-badge.pending {
  border-color: rgba(255, 49, 95, 0.34);
  color: var(--accent);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.card-contract-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255, 49, 95, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.card-contract-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.card-contract-address {
  overflow: hidden;
  color: #f8fbff;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-token-btn.copied {
  border-color: rgba(73, 228, 255, 0.58);
  color: var(--accent-2);
  background: rgba(73, 228, 255, 0.12);
}

.text-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.card-description,
.project-description {
  margin: 0;
  color: #b7c5e8;
  font-size: 13px;
  line-height: 1.65;
}

.card-description {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.address-with-copy {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 49, 95, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--accent);
  cursor: pointer;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon-btn:hover {
  border-color: rgba(255, 49, 95, 0.6);
  background: rgba(255, 49, 95, 0.12);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
  margin-bottom: 14px;
}

.premium-launch-hero {
  grid-template-columns: 1fr;
}

.premium-launch-hero .contract-card {
  width: 100%;
}

.launch-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.launch-steps span {
  border: 1px solid rgba(255, 49, 95, 0.26);
  border-radius: var(--radius);
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.045);
  color: #b7c5e8;
  font-size: 12px;
  font-weight: 850;
}

.launch-console {
  align-items: start;
}

.flap-layout {
  display: block;
  /* width: min(860px, 100%); */
  margin: 0 auto 14px;
}

.launch-section {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 49, 95, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.028);
}

.launch-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.launch-form {
  display: grid;
  gap: 20px;
}

.launch-form-panel {
  position: relative;
  overflow: hidden;
}

.launch-form-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.72;
}

.form-section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 49, 95, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.form-section-title span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(73, 228, 255, 0.3);
  border-radius: var(--radius);
  color: var(--accent-2);
  font-weight: 900;
}

.form-section-title h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.form-section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.form-grid .full-field {
  grid-column: 1 / -1;
}

.upload-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-box {
  position: relative;
  display: grid;
  min-height: 104px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  overflow: hidden;
  border: 1px dashed rgba(73, 228, 255, 0.3);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.upload-plus,
.social-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 49, 95, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 49, 95, 0.1);
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
}

.upload-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.upload-box small {
  color: var(--muted);
  line-height: 1.45;
}

#avatar-preview {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.payment-grid,
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.time-template-field[hidden] {
  display: none !important;
}

.payment-token,
.template-card {
  border: 1px solid rgba(255, 49, 95, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.payment-token {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  cursor: pointer;
}

.payment-token.active,
.template-card.selected {
  border-color: rgba(255, 49, 95, 0.78);
  background: rgba(255, 49, 95, 0.12);
}

.payment-token:disabled,
.template-card.disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.coin-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.template-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(143, 56, 255, 0.18), rgba(255, 49, 95, 0.08)),
    rgba(255, 255, 255, 0.028);
}

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

.template-hero h3,
.template-hero p {
  margin-bottom: 0;
}

.template-hero p:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.template-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.template-card input {
  display: none;
}

.template-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.amount-input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  outline: none;
  padding: 0 14px;
}

.amount-input:focus {
  border-color: rgba(255, 49, 95, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 49, 95, 0.11);
}

.amount-input.locked {
  border-color: rgba(255, 49, 95, 0.42);
  background: rgba(255, 49, 95, 0.08);
  color: #f8fbff;
}

.textarea-input {
  min-height: 104px;
  padding-top: 13px;
  line-height: 1.55;
  resize: vertical;
}

.slider-field b {
  float: right;
  color: var(--accent);
}

input[type="range"] {
  width: 100%;
  height: 4px;
  accent-color: var(--accent);
}

.tax-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.premium-tax-box {
  background:
    linear-gradient(135deg, rgba(73, 228, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.premium-tax-box .form-grid {
  gap: 16px;
}

.tax-rate-stack {
  display: grid;
  gap: 22px;
}

.slider-field small {
  display: flex;
  justify-content: space-between;
  color: #64749f;
  font-size: 11px;
  font-style: normal;
}

.slider-field small em {
  font-style: normal;
}

.slider-field span em,
.tax-legend em {
  font-style: normal;
}

.tax-split-card {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
}

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

.tax-split-head h3 {
  margin: 0;
  font-size: 24px;
}

.tax-split-head span {
  color: #b7c5e8;
  font-size: 13px;
  font-weight: 850;
}

.tax-warning {
  margin: 0;
  border: 1px solid rgba(255, 107, 107, 0.5);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 107, 107, 0.13);
  color: #ffd3d3;
  font-size: 13px;
  font-weight: 850;
}

.tax-split-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: center;
}

.tax-chart-column,
.tax-slider-column,
.tax-legend {
  display: grid;
  gap: 14px;
}

.tax-ring {
  position: relative;
  display: grid;
  width: 174px;
  height: 174px;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: conic-gradient(#454545 0 100%);
}

.tax-ring::after {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: #0b0c10;
  content: "";
}

.tax-ring strong {
  position: relative;
  z-index: 1;
  color: #f8fbff;
  font-size: 34px;
  line-height: 1;
}

.tax-legend {
  justify-self: center;
  width: min(100%, 260px);
}

.tax-legend span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  color: #b7c5e8;
  font-size: 12px;
}

.tax-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
}

.tax-legend b {
  color: #f8fbff;
}

.tax-slider-column .slider-field {
  display: grid;
  gap: 8px;
}

.compact {
  margin-bottom: 14px;
}

.compact h3 {
  font-size: 16px;
}

.fee-pill {
  border: 1px solid rgba(255, 49, 95, 0.36);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  padding: 8px 10px;
}

.launch-side-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

.launch-side-panel h3 {
  margin-bottom: 0;
}

.launch-side-glow {
  display: grid;
  place-items: center;
  min-height: 170px;
  border: 1px solid rgba(255, 49, 95, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle, rgba(255, 49, 95, 0.2), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.launch-side-glow strong {
  color: var(--accent);
  font-size: 48px;
  line-height: 1;
}

.launch-side-glow span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.mechanism-note {
  margin: 16px 0 0;
  line-height: 1.65;
}

.submit-wide {
  width: 100%;
}

.wallet-receiver {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 49, 95, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.wallet-tab {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.wallet-tab.active {
  background: rgba(255, 49, 95, 0.2);
  color: var(--accent);
}

.social-input-list {
  display: grid;
  gap: 12px;
}

.social-input {
  display: grid;
  grid-template-columns: auto 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.detail-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-avatar {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 49, 95, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  object-fit: cover;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.project-link-btn {
  min-height: 36px;
  font-size: 13px;
}

.table-note,
.input-label {
  color: var(--muted);
  font-size: 13px;
}

.transfer-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.transfer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.action-row .connect-btn,
.action-row .ghost-btn {
  min-width: 160px;
}

.danger-btn {
  border-color: rgba(255, 107, 107, 0.42);
  color: #ffd5d5;
}

.creator-action {
  display: none;
}

.table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.stats-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.stats-table th,
.stats-table td {
  padding: 12px 10px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.stats-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stats-table td {
  color: var(--text);
  font-size: 14px;
}

.stats-table th:last-child,
.stats-table td:last-child {
  text-align: right;
}

@keyframes pageGlow {
  0%,
  100% {
    background-position: 0 0, 0 0, 0% 0, 0 0;
  }
  50% {
    background-position: 0 0, 0 0, 100% 0, 0 0;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes scanFlow {
  0%,
  100% {
    transform: translateY(-35%);
  }
  50% {
    transform: translateY(35%);
  }
}

@keyframes surfaceSweep {
  from {
    transform: translateX(-70%);
  }
  to {
    transform: translateX(70%);
  }
}

@keyframes markPulse {
  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 38px rgba(0, 0, 0, 0.34);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 44px rgba(255, 49, 95, 0.18);
  }
}

@keyframes ringFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}


/* XCLAW neon lobster cyber theme */
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(73, 228, 255, 0.20), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(255, 49, 95, 0.18), transparent 32%),
    radial-gradient(circle at 82% 14%, rgba(143, 56, 255, 0.20), transparent 30%),
    linear-gradient(135deg, rgba(73, 228, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #050817 0%, #07112b 48%, #040714 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(73, 228, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 49, 95, 0.075) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(73, 228, 255, 0.20) 1px, transparent 2px);
  background-size: 76px 76px, 76px 76px, 38px 38px;
}

body::after {
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 49, 95, 0.14) 12.2% 12.5%, transparent 12.7% 87%, rgba(143, 56, 255, 0.18) 87.2% 87.6%, transparent 87.8%),
    repeating-linear-gradient(90deg, transparent 0 150px, rgba(73, 228, 255, 0.06) 150px 151px, transparent 151px 300px),
    linear-gradient(180deg, transparent, rgba(73, 228, 255, 0.07), transparent);
}

.connect-btn {
  background: linear-gradient(135deg, #ff315f 0%, #ff6d7d 45%, #49e4ff 100%);
  color: #071020;
  text-shadow: 0 1px 0 rgba(255,255,255,.22);
  box-shadow: 0 18px 46px rgba(255, 49, 95, 0.28), 0 0 28px rgba(73, 228, 255, 0.18);
}

.ghost-btn, .segment-btn, .fee-pill, .launch-steps span {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 22px rgba(73, 228, 255, 0.06);
}

.brand-mark {
  border-radius: 16px;
  border-color: rgba(73, 228, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255,49,95,.32), 0 18px 46px rgba(255,49,95,.18), 0 0 32px rgba(73,228,255,.20);
}

.hero-copy,
.showcase-panel,
.feature-card,
.panel,
.contract-card,
.launch-card,
.stat-card {
  border-color: rgba(73, 228, 255, 0.20);
  background:
    linear-gradient(135deg, rgba(255, 49, 95, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(73, 228, 255, 0.08), transparent 36%),
    rgba(7, 13, 31, 0.84);
}

.hero-copy > *, .showcase-panel > *, .feature-card > *, .panel > *, .contract-card > *, .launch-card > *, .stat-card > * {
  position: relative;
  z-index: 1;
}

.hero-copy::after,
.feature-card::after,
.panel::after,
.contract-card::after {
  position: absolute;
  inset: auto -60px -80px auto;
  width: 180px;
  height: 180px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle, rgba(73, 228, 255, 0.18), transparent 58%),
    conic-gradient(from 90deg, transparent 0 18%, rgba(255, 49, 95, 0.30) 18% 22%, transparent 22% 58%, rgba(143, 56, 255, 0.28) 58% 62%, transparent 62% 100%);
  border-radius: 50%;
  filter: blur(.2px);
  opacity: .72;
}

.xclaw-hero .hero-copy {
  min-height: 360px;
}

.showcase-panel {
  min-height: 390px;
}

.showcase-panel::after {
  position: absolute;
  inset: 14px;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: url('../images/xclaw-logo.jpg') center / cover no-repeat;
  border-radius: inherit;
  opacity: .20;
  mix-blend-mode: screen;
  filter: saturate(1.18) contrast(1.08);
}

.showcase-ring {
  position: relative;
  isolation: isolate;
  border-color: rgba(73, 228, 255, 0.48);
  background:
    radial-gradient(circle at center, rgba(73, 228, 255, 0.24), transparent 58%),
    conic-gradient(from 0deg, rgba(255,49,95,.18), rgba(73,228,255,.26), rgba(143,56,255,.20), rgba(255,49,95,.18));
  box-shadow: inset 0 0 54px rgba(73,228,255,.16), 0 28px 78px rgba(255,49,95,.20);
}

.showcase-ring::before,
.deploy-orbit::before {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px dashed rgba(73, 228, 255, 0.38);
  border-radius: 50%;
  animation: spinGlow 12s linear infinite;
}

.showcase-ring span,
.deploy-orbit span {
  color: #f9fbff;
  text-shadow: 0 0 16px rgba(255,49,95,.72), 0 0 26px rgba(73,228,255,.58);
}

.feature-card h3,
.panel-head h3,
.hero-copy h2 {
  text-shadow: 0 0 26px rgba(73,228,255,.10);
}

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

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .stats-grid,
  .details-grid,
  .launch-grid,
  .form-grid,
  .launch-card-grid {
    grid-template-columns: 1fr;
  }

  .showcase-panel {
    min-height: auto;
  }

  .payment-grid,
  .template-grid,
  .tax-split-layout {
    grid-template-columns: 1fr;
  }

  .social-input {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .social-input input {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .app-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 14px;
  }

  .topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
  }

  .brand {
    align-items: center;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: 26px;
  }

  .menu-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .top-actions {
    position: absolute;
    top: calc(100% - 10px);
    right: 0;
    z-index: 10;
    display: grid;
    width: min(260px, calc(100vw - 28px));
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 49, 95, 0.26);
    border-radius: var(--radius);
    background: rgba(10, 12, 16, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(18px);
  }

  .top-actions.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .top-actions .connect-btn,
  .top-actions .ghost-btn {
    width: 100%;
    min-height: 46px;
    padding: 0 10px;
    font-size: 15px;
  }

  .top-actions .icon-link {
    min-height: 52px;
    padding: 0;
  }

  .top-actions .icon-link svg {
    width: 21px;
    height: 21px;
  }

  .top-actions .text-link,
  .top-actions .top-link {
    grid-column: 1 / -1;
  }

  h2 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(36px, 10.8vw, 44px);
    line-height: 1.08;
  }

  .hero-copy,
  .panel,
  .feature-card,
  .stat-card {
    padding: 20px;
  }

  .hero {
    gap: 12px;
    margin-bottom: 12px;
  }

  .hero-copy p:last-child {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-actions .connect-btn,
  .hero-actions .ghost-btn {
    min-height: 46px;
    padding: 0 10px;
    font-size: 15px;
  }

  .launch-section {
    padding: 14px;
  }

  .template-hero,
  .detail-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .tax-split-card {
    padding: 16px;
  }

  .tax-split-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tax-ring {
    width: 150px;
    height: 150px;
  }

  .tax-ring::after {
    inset: 43px;
  }

  .detail-avatar {
    width: 62px;
    height: 62px;
  }

  .showcase-panel {
    padding: 18px;
  }

  .showcase-ring {
    width: min(72vw, 210px);
  }

  .showcase-metrics div,
  .data-list div,
  .card-metrics div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .showcase-metrics dd,
  .data-list dd,
  .card-metrics dd {
    text-align: left;
  }

  .transfer-row {
    grid-template-columns: 1fr;
  }

  .launch-card-head {
    grid-template-columns: auto minmax(0, 1fr);
    padding-right: 74px;
  }

  .launch-card .status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .segmented-control {
    /* width: 100%; */
  }
}

@media (max-width: 430px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: clamp(30px, 10vw, 38px);
  }
}
