/* $ALON presale - dark minimal premium */

:root {
  --bg: #08080c;
  --bg-elevated: #101016;
  --bg-surface: #141419;
  --border: rgba(255, 255, 255, 0.06);
  --border-active: rgba(255, 255, 255, 0.12);
  --text: #e8e8ec;
  --text-secondary: #6b6b7b;
  --text-muted: #44444f;
  --accent: #00e87b;
  --accent-dim: rgba(0, 232, 123, 0.12);
  --accent-glow: rgba(0, 232, 123, 0.06);
  --purple: #9945ff;
  --purple-dim: rgba(153, 69, 255, 0.08);
  --font: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", "SF Mono", monospace;
  --wrap: min(480px, 90vw);
  --header-h: 56px;
  --sticky-h: 60px;
  --radius: 14px;
  --radius-sm: 10px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  height: 100%;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--safe-bottom);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

body:has(.sticky-cta.visible) {
  padding-bottom: calc(var(--sticky-h) + var(--safe-bottom));
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

main { flex: 1 0 auto; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
  padding-inline: 16px;
}

.wrap.narrow { width: min(480px, 90vw); }

.hidden { display: none !important; }

/* ===== FLOATING BACKGROUND LOGOS ===== */
.bg-floats {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-float {
  position: absolute;
  opacity: 0.055;
  will-change: transform;
}

.bg-float img {
  display: block;
}

.bg-float--1 { top: 8%; left: 12%; animation: float-drift-1 25s linear infinite; }
.bg-float--2 { top: 22%; right: 18%; animation: float-drift-2 29s linear infinite; }
.bg-float--3 { top: 45%; left: 5%; animation: float-drift-3 34s linear infinite; }
.bg-float--4 { top: 65%; right: 8%; animation: float-drift-4 23s linear infinite; }
.bg-float--5 { top: 80%; left: 28%; animation: float-drift-5 31s linear infinite; }
.bg-float--6 { top: 15%; left: 72%; animation: float-drift-6 27s linear infinite; }
.bg-float--7 { top: 55%; right: 25%; animation: float-drift-7 36s linear infinite; }
.bg-float--8 { top: 35%; left: 38%; animation: float-drift-8 22s linear infinite; }
.bg-float--9 { top: 72%; right: 35%; animation: float-drift-9 30s linear infinite; }
.bg-float--10 { top: 90%; left: 60%; animation: float-drift-10 26s linear infinite; }
.bg-float--11 { top: 5%; left: 50%; animation: float-drift-11 32s linear infinite; }
.bg-float--12 { top: 40%; right: 5%; animation: float-drift-12 38s linear infinite; }

@keyframes float-drift-1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(8deg); }
  50% { transform: translate(-15px, -60px) rotate(-4deg); }
  75% { transform: translate(10px, -30px) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-25px, 20px) rotate(-6deg); }
  50% { transform: translate(10px, 45px) rotate(10deg); }
  75% { transform: translate(-15px, 20px) rotate(-3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-3 {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -25px) rotate(12deg); }
  66% { transform: translate(-20px, 15px) rotate(-8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-4 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-35px, -40px) rotate(-10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-5 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, 25px) rotate(5deg); }
  50% { transform: translate(-25px, -10px) rotate(-7deg); }
  75% { transform: translate(20px, -20px) rotate(9deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-6 {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-18px, 35px) rotate(-5deg); }
  66% { transform: translate(22px, -15px) rotate(7deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-7 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(28px, 30px) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-8 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-12px, -18px) rotate(-4deg); }
  75% { transform: translate(18px, 12px) rotate(8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-9 {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(22px, -28px) rotate(10deg); }
  66% { transform: translate(-16px, 20px) rotate(-6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-10 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, -22px) rotate(-8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-11 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(16px, 30px) rotate(4deg); }
  50% { transform: translate(-10px, 50px) rotate(-3deg); }
  75% { transform: translate(20px, 25px) rotate(7deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-drift-12 {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, -35px) rotate(-9deg); }
  66% { transform: translate(15px, 18px) rotate(5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-float { animation: none !important; }
}

/* ===== AMBIENT GLOW ===== */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.bg-ambient__orb--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  background: rgba(0, 232, 123, 0.03);
}

.bg-ambient__orb--2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -150px;
  background: rgba(153, 69, 255, 0.02);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.header-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Wallet bar */
.wvg-header-wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 10px;
  height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-width: min(340px, 78vw);
}

.wvg-hw-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 12px;
  border-right: 1px solid var(--border);
}

.wvg-hw-sol-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.wvg-hw-token-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: #9ca3af;
  overflow: hidden;
}

.wvg-hw-token-icon svg { width: 100%; height: 100%; display: block; }

.wvg-hw-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.wvg-hw-bal-num {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: -0.01em;
}

.wvg-hw-balance-unit {
  font-size: 10px;
  font-weight: 400;
  color: #8b8b9a;
  margin-top: 1px;
}

.wvg-hw-right {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.wvg-hw-addr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 2px 4px;
  border-radius: 6px;
  transition: background 0.15s;
}

.wvg-hw-addr:hover { background: rgba(255, 255, 255, 0.04); }
.wvg-hw-addr svg { color: var(--text-muted); flex-shrink: 0; }

.wvg-hw-menu-wrap { position: relative; flex-shrink: 0; }

.wvg-hw-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}

.wvg-hw-chevron:hover { background: rgba(255, 255, 255, 0.05); }

.wvg-hw-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 120;
}

.wvg-hw-menu li {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #ef4444;
  cursor: pointer;
}

.wvg-hw-menu li:hover { background: rgba(239, 68, 68, 0.08); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: transform 0.12s, box-shadow 0.2s, opacity 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: -0.01em;
}

button.btn-sol,
a.btn-sol {
  background: var(--accent);
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(0, 232, 123, 0.2), 0 4px 16px rgba(0, 232, 123, 0.15);
}

button.btn-sol:hover,
a.btn-sol:hover {
  box-shadow: 0 0 0 1px rgba(0, 232, 123, 0.3), 0 8px 28px rgba(0, 232, 123, 0.2);
}

button.btn-sol.btn-sm,
#wvg-header-connect {
  min-height: 36px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
}

.btn-sticky {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  min-height: 42px;
  white-space: nowrap;
}

/* ===== HERO ===== */
.hero {
  padding: 48px 0 36px;
  position: relative;
  z-index: 1;
}

.hero-stack {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.hero-top {
  text-align: center;
  margin-bottom: 28px;
}

.origin-line {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.origin-line strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-title {
  font-family: "Outfit", var(--font);
  font-size: clamp(3.5rem, 12vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin-bottom: 14px;
  color: var(--text);
}

.hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 32ch;
  margin-inline: auto;
}

/* ===== PRESALE PANEL ===== */
.presale-panel {
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border);
}

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

.panel-status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 232, 123, 0.15);
  animation: pulse-live 3s ease-in-out infinite;
}

.live-badge.is-ended {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  animation: none;
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 232, 123, 0.12); }
  50% { box-shadow: 0 0 0 6px rgba(0, 232, 123, 0); }
}

.stage-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
  background: var(--purple-dim);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(153, 69, 255, 0.15);
}

.stage-badge.hidden { display: none !important; }

.panel-ends {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.panel-ends strong { color: var(--text); font-weight: 600; }

.panel-ends #countdownStageLabel { color: var(--purple); font-weight: 500; }
.panel-ends .countdown-stage-sep { color: var(--text-muted); }
.panel-ends #countdownStageLabel.hidden,
.panel-ends #countdownStageSep.hidden { display: none; }

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.cd {
  text-align: center;
  padding: 14px 4px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.cd span {
  display: block;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cd em {
  display: block;
  font-size: 9px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 6px;
  font-family: var(--mono);
}

/* Raise block */
.raise-block { margin-bottom: 18px; }

.raise-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

.raise-head span:first-child { color: var(--text-secondary); }
.raise-head span:last-child {
  font-weight: 600;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.raise-track {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.raise-fill {
  height: 100%;
  width: 68%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(0, 232, 123, 0.3);
}

.raise-pct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Quick buy */
.quick-buy {
  margin-top: 4px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.quick-buy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
}

.quick-input-wrap {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.quick-input-wrap:focus-within {
  border-color: rgba(0, 232, 123, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 232, 123, 0.06);
}

.quick-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  min-width: 0;
  width: 100%;
  background: transparent;
  color: var(--text);
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.quick-input-wrap input::placeholder { color: var(--text-muted); }

.quick-unit {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 8px;
}

button.btn-sol.btn-buy {
  flex-shrink: 0;
  min-width: 0;
  width: auto;
  max-width: 110px;
  min-height: 48px;
  padding: 0 14px;
  font-size: 13px;
  white-space: nowrap;
}

.quick-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.quick-preset {
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.quick-preset:hover {
  border-color: var(--border-active);
  color: var(--text);
}

.quick-preset.active {
  border-color: rgba(0, 232, 123, 0.25);
  background: var(--accent-dim);
  color: var(--accent);
}

.quick-estimate {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.quick-estimate strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== FAQ ===== */
.section { padding: 48px 0; position: relative; z-index: 1; }
.section-compact { padding: 24px 0 48px; }

.h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.h2.center { text-align: center; }

.faq-list { display: grid; gap: 6px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item:hover { border-color: var(--border-active); }

.faq-item summary {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.15s;
}

.faq-item[open] summary::after {
  content: "-";
  color: var(--accent);
}

.faq-item p {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 20px 0 max(16px, var(--safe-bottom));
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: border-color 0.15s, color 0.15s, transform 0.12s;
  text-decoration: none;
}

.footer-x:hover {
  color: var(--text);
  border-color: var(--border-active);
  transform: translateY(-1px);
}

.footer-x-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + var(--safe-bottom));
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.visible { transform: translateY(0); }

@media (min-width: 768px) { .sticky-cta { display: none; } }

.sticky-timer {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: calc(var(--sticky-h) + 16px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 18px;
  background: var(--bg-surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 300;
  max-width: 90vw;
  text-align: center;
}

@media (min-width: 768px) { .toast { bottom: 24px; } }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 520px) {
  .hero { padding: 32px 0 28px; }
  .hero-title { font-size: clamp(3rem, 14vw, 4rem); }

  button.btn-sol.btn-buy {
    max-width: 100px;
    padding: 0 10px;
    font-size: 12px;
  }

  .quick-buy-row { gap: 6px; }
  .quick-input-wrap { padding: 0 10px; }
  .quick-input-wrap input { font-size: 15px; }
  .countdown { gap: 6px; }
  .cd { padding: 10px 2px; }
  .cd span { font-size: 1.2rem; }

  .wvg-header-wallet {
    max-width: min(280px, 70vw);
    height: 34px;
    padding: 0 8px;
    gap: 8px;
  }
  .wvg-hw-left { padding-right: 8px; }
  .wvg-hw-bal-num { font-size: 11px; }
  .wvg-hw-balance-unit { font-size: 9px; }
  .wvg-hw-addr { font-size: 11px; gap: 4px; }
}

@media (max-width: 380px) {
  .wvg-header-wallet { max-width: min(220px, 62vw); }
  .brand span { font-size: 0.9rem; }
}

/* ===== WALLET CONNECTED STATE ===== */
body.wallet-on .quick-buy {
  border-color: rgba(0, 232, 123, 0.12);
}

body.wallet-on .presale-panel {
  border-color: rgba(0, 232, 123, 0.08);
}
