/* Create-token page based on the supplied visual reference */
.home-page .launch-section { display: none; }
.launch-page .hero,
.launch-page .mechanics,
.launch-page .cta,
.launch-page footer { display: none; }
.launch-page main { min-height: calc(100vh - 100px); }
.launch-page .launch-section { display: block; }

.launch-section {
  font-family: "Inter", sans-serif;
  width: 100%;
  max-width: none;
  padding: 36px max(28px, calc((100vw - 1320px) / 2)) 112px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at -4% 18%, rgba(102, 64, 255, .24), transparent 19%),
    radial-gradient(circle at 103% 83%, rgba(112, 72, 255, .28), transparent 22%),
    linear-gradient(rgba(117, 93, 231, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 93, 231, .045) 1px, transparent 1px),
    #060812;
  background-size: auto, auto, 52px 52px, 52px 52px, auto;
}

.launch-section::before,
.launch-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(142, 103, 255, .26);
  box-shadow: inset 0 0 70px rgba(92, 50, 255, .35), 0 0 90px rgba(68, 32, 255, .3);
  pointer-events: none;
}

.launch-section::before { left: -330px; top: 390px; transform: rotate(15deg); }
.launch-section::after { right: -230px; bottom: -40px; transform: rotate(-13deg); }

.create-section-heading { display: none; }

.launch-grid {
  max-width: 1320px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.launch-form.panel,
.token-preview.panel,
.launch-receipt.panel {
  border: 1px solid rgba(131, 122, 196, .48);
  background: linear-gradient(145deg, rgba(14, 17, 32, .98), rgba(8, 11, 22, .97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 24px 70px rgba(0, 0, 0, .32);
}

.launch-form {
  padding: 42px 48px 30px;
  border-radius: 24px;
}

.form-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}

.form-hero h2 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(44px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}

.form-hero h2 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, #ca72ff 0%, #8755ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 24px rgba(163, 88, 255, .35);
}

.form-hero p {
  margin: 12px 0 0;
  color: #aeb3cc;
  font-size: 17px;
}

.deployment-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(137, 116, 226, .66);
  border-radius: 12px;
  padding: 10px 14px;
  color: #aeb4cb;
  font-size: 12px;
  background: rgba(14, 17, 33, .82);
}

.deployment-chip i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(123, 76, 255, .2);
  color: #c58cff;
  font-style: normal;
}

.deployment-chip b { color: #9b72ff; }

.form-row { grid-template-columns: 190px 1fr; gap: 28px; }
.upload-box { min-height: 178px; border-color: #a768ff; border-width: 1.5px; box-shadow: 8px 6px 14px -10px #d47cff; }
.upload-box input[type="file"] { display: none !important; }
.upload-box strong { font-size: 14px; }
.upload-box small { font-size: 10px !important; line-height: 1.6; }
.upload-icon { color: #9c6dff !important; }
.stacked-fields { gap: 14px; }

.launch-form input,
.launch-form textarea {
  min-height: 55px;
  border-color: #444961;
  border-radius: 18px;
  background: rgba(8, 11, 22, .72);
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

.launch-form textarea { min-height: 96px; }
.counted-field { position: relative; }
.counted-field > i {
  position: absolute;
  right: 17px;
  bottom: 17px;
  color: #878da8;
  font: normal 9px "JetBrains Mono", monospace;
}
.counted-field input { padding-right: 58px; }
.ticker-input b {
  top: calc(50% + 4px);
  left: 20px;
  line-height: 1;
  transform: translateY(-50%);
}
.ticker-input input { padding-left: 34px; }

.advanced-toggle {
  min-height: 50px;
  padding: 0 14px;
  margin-top: 18px;
  border: 1px solid #353a50;
  border-radius: 16px;
  background: rgba(255, 255, 255, .015);
  font-size: 14px;
}

.advanced-toggle span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #8b5cff;
  border-radius: 50%;
  color: #bf77ff;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), background .25s ease, box-shadow .25s ease;
}

.advanced-toggle b {
  transition: transform .32s cubic-bezier(.2,.8,.2,1), color .25s ease;
  transform-origin: center;
}

.advanced-toggle.is-open span {
  transform: rotate(45deg);
  background: rgba(126, 78, 255, .2);
  box-shadow: 0 0 16px rgba(126, 78, 255, .3);
}

.advanced-toggle.is-open b {
  transform: rotate(180deg);
  color: #c58bff;
}

.advanced-fields {
  display: grid;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(.985);
  transform-origin: top;
  transition: max-height .42s cubic-bezier(.2,.8,.2,1), opacity .28s ease, transform .42s cubic-bezier(.2,.8,.2,1), margin-top .42s ease;
}

.advanced-fields.open {
  display: grid;
  max-height: 280px;
  margin-top: 16px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.launch-form fieldset { border-top: 0; padding-top: 16px; margin-top: 10px; }
.info-dot {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-left: 5px;
  border: 1px solid #906aff;
  border-radius: 50%;
  color: #a784ff;
  font: normal 700 10px "Inter", sans-serif;
  cursor: help;
}
.choice-card { min-height: 106px; border-color: #40465e; border-radius: 18px; padding: 20px; }
.choice-card strong { font-size: 16px; }
.choice-card small { font-size: 13px !important; line-height: 1.55 !important; }
.choice-card.active { border-color: #a455ff; box-shadow: inset 0 0 26px rgba(118, 71, 255, .12), 0 0 16px rgba(131, 74, 255, .18); }
.choice-icon { width: 56px; height: 56px; border-radius: 50%; font-size: 23px; background: rgba(102, 65, 232, .08); }
.choice-icon {
  overflow: visible;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(126, 67, 255, .42));
}
.choice-icon img {
  width: 58px;
  height: 58px;
  max-width: none;
  display: block;
  object-fit: contain;
  transform: translate(-1px, -1px);
}
.choice-card.active .choice-icon {
  filter: drop-shadow(0 0 14px rgba(177, 94, 255, .7));
}
.choice-card { grid-template-columns: 58px 1fr; align-items: center; }

.buy-control { grid-template-columns: 1fr 250px; gap: 12px; }
.buy-control input { margin-top: 13px; padding-right: 16px; }
.unit-switch { position: static; margin-top: 13px; height: 55px; padding: 4px; border: 1px solid #41475e; background: #090c17; border-radius: 18px; }
.unit-switch button { flex: 1; border-radius: 14px; font-size: 12px; }
.unit-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}
.unit-switch button img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}
.unit-switch button[data-unit="ELYS"] img {
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(39, 193, 214, .34);
}
.unit-switch button[data-unit="SOL"] img {
  filter: drop-shadow(0 0 6px rgba(128, 93, 255, .35));
}
.unit-switch button.active { background: linear-gradient(135deg, #372079, #5c35b8); box-shadow: inset 0 0 0 1px #9a68ff, 0 0 14px rgba(115, 61, 255, .28); }
.balance-row { padding: 0 8px; font-size: 10px; }
.balance-row { font-size: 13px; }
.balance-row button { color: #c05dff; font-weight: 800; }

.transaction-note {
  min-height: 72px;
  border-color: rgba(50, 122, 255, .48);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(79, 42, 220, .25), rgba(25, 65, 160, .12));
  align-items: center;
}
.transaction-note span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(125, 77, 255, .28); color: white; font-size: 20px; }
.transaction-note p { font-size: 13px; }
.transaction-note strong { font-size: 14px; }
.launch-btn { height: 67px; margin-top: 16px; background: linear-gradient(100deg, #d55bea 0%, #6a48ff 48%, #5435ff 100%); font-size: 17px; box-shadow: 0 0 25px rgba(132, 65, 255, .42); }
.launch-btn {
  border-radius: 22px;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.launch-btn:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(132, 65, 255, .52);
}
.launch-btn:disabled,
.launch-btn[aria-busy="true"] {
  cursor: not-allowed;
  filter: grayscale(.25) brightness(.72);
  box-shadow: none;
}

.preview-column { gap: 14px; top: 20px; }
.token-preview,
.launch-receipt { border-radius: 24px; padding: 28px; }
.token-preview { min-height: 500px; }
.preview-label { margin-bottom: 22px; }
.preview-label span,
.preview-label i { font-size: 11px; }
.preview-label i { color: #ffc84b; }
.token-avatar { width: 68px; height: 68px; border-radius: 18px; border-color: #484b6d; background: linear-gradient(140deg, #24263f, #141628); font-size: 28px; }
.token-card-head h3 { font-size: 21px; }
.token-card-head p { font-size: 11px; }
.curve-badge { color: #51f6ca; background: rgba(36, 211, 167, .12); padding: 8px 15px; }
.mini-chart { height: 210px; margin: 18px 0 8px; background-image: linear-gradient(rgba(129, 98, 219, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(129, 98, 219, .055) 1px, transparent 1px); background-size: 30px 30px; }
.mini-chart .line { stroke: #d2a1ff; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(173, 99, 255, .8)); }
.mini-chart stop:first-child { stop-color: #9c5dff; stop-opacity: .42; }
.preview-stats div { padding: 18px 0; }
.preview-stats span { font-size: 11px; }
.preview-stats span { font-size: 13px; }
.preview-stats strong { font-size: 16px; }

.launch-receipt { padding: 27px 28px; }
.receipt-head h3 { font-size: 20px; }
.receipt-head span { color: #a77aff; }
.receipt-row { padding: 12px 0; font-size: 14px; }
.receipt-fee { border-top: 1px solid #292e3b; margin-top: 7px; padding-top: 18px; }
.receipt-total { padding-top: 18px; font-size: 14px; }
.receipt-total strong { color: #d668ff; font-size: 19px; }
#networkFee { max-width: 150px; text-align: right; font-size: 10px; }
#networkFee { font-size: 12px; }
.proto-note { border: 1px solid #444966; border-radius: 22px; padding: 18px 22px; text-align: left; background: rgba(10, 13, 25, .86); line-height: 1.55; }
.proto-note { font-size: 12px; }

.launch-page .launch-form label,
.launch-page .launch-form legend { font-size: 14px; }
.launch-page .launch-form label small,
.launch-page .launch-form legend small { font-size: 10px; }
.launch-page .legal { font-size: 11px !important; }

@media (max-width: 1040px) {
  .launch-grid { grid-template-columns: 1fr; }
  .preview-column { display: grid; grid-template-columns: 1fr 1fr; }
  .proto-note { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .launch-section { padding: 28px 14px 90px; }
  .launch-form { padding: 26px 18px; }
  .form-hero { align-items: flex-start; flex-direction: column; }
  .form-hero h2 { font-size: 38px; }
  .form-row { grid-template-columns: 1fr; }
  .upload-box { min-height: 180px; }
  .choice-grid, .preview-column { grid-template-columns: 1fr; }
  .buy-control { grid-template-columns: 1fr; }
  .unit-switch { margin-top: 0; }
  .proto-note { grid-column: auto; }
}
.fee-note{margin:10px 4px 0;color:#858b9d;font-size:12px;line-height:1.5}.fee-note strong{color:#cbd0dc}
