* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --yellow: #FFDD00; --dark: #0a0a0f; --card: rgba(12, 12, 20, 0.85);
  --border: rgba(255,255,255,0.12); --text: #f0f0f5; --muted: #b0b0c0;
  --green: #00d26a; --red: #CE1126;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text); line-height: 1.6; overflow-x: hidden; min-height: 100vh;
  background: #0a0a0f url('assets/sky.jpg') no-repeat center center fixed;
  background-size: cover;
}
body::before {
  content: ""; position: fixed; inset: 0;
  background: rgba(5, 8, 20, 0.55); z-index: -1; pointer-events: none;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* TICKER */
.ticker-bar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8, 10, 18, 0.95); border-bottom: 1px solid var(--border);
  height: 48px; overflow: hidden; backdrop-filter: blur(8px);
}
.ticker-track {
  display: flex; width: max-content; animation: ticker-scroll 50s linear infinite;
  height: 100%; align-items: center;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 26px;
  font-size: 0.84rem; white-space: nowrap; color: var(--muted);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.ticker-logo {
  width: 22px; height: 22px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: rgba(255,255,255,0.06);
}
.ticker-item .sym { font-weight: 700; color: var(--text); }
.ticker-item .price { color: var(--text); }
.ticker-item .up { color: var(--green); }
.ticker-item .down { color: #ff6b7a; }

/* NAVBAR */
.navbar {
  position: sticky; top: 48px; z-index: 100;
  background: rgba(8, 10, 18, 0.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); padding: 10px 0;
}
.nav-content { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.logo-img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--yellow); background: #111;
}
.logo small { font-size: 0.7rem; color: var(--yellow); font-weight: 600; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--yellow); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Language flags box */
.lang-switch {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 10px; padding: 3px 5px;
}
.lang-btn {
  background: transparent; border: none; cursor: pointer; padding: 2px;
  border-radius: 6px; line-height: 0; opacity: 0.55; transition: opacity 0.2s, transform 0.15s;
}
.lang-btn:hover { opacity: 0.9; }
.lang-btn.active { opacity: 1; transform: scale(1.08); }
.lang-btn img {
  width: 26px; height: 18px; object-fit: cover; border-radius: 3px;
  display: block; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06); color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.social-btn:hover { background: rgba(255,221,0,0.15); color: var(--yellow); }
.btn-connect {
  background: linear-gradient(135deg, var(--yellow), #f0c000); color: #111;
  border: none; padding: 9px 18px; border-radius: 11px; font-weight: 700;
  cursor: pointer; font-size: 0.88rem; transition: transform 0.15s, box-shadow 0.15s;
}
.btn-connect:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,221,0,0.35); }
.btn-connect.connected { background: #1a1a28; color: var(--green); border: 1px solid var(--green); }

/* HERO */
.hero { padding: 70px 0 50px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-text h1 {
  font-family: 'Orbitron', sans-serif; font-size: 3rem; font-weight: 700;
  line-height: 1.1; margin-bottom: 10px; text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-text h1 span { color: var(--yellow); }
.subtitle {
  font-size: 1.2rem; color: var(--yellow); font-weight: 600; margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.okx-connect-box { margin-bottom: 22px; max-width: 520px; }
.okx-hint { margin-bottom: 12px; font-size: 0.95rem; line-height: 1.45; }
.okx-link-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; }
.okx-link-row code { color: var(--yellow); font-size: 0.92rem; word-break: break-all; flex: 1; }
.btn-copy-link { background: var(--yellow); color: #111; border: none; border-radius: 10px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-size: 0.85rem; white-space: nowrap; }
.btn-copy-link:hover { filter: brightness(1.05); }
.desc {
  color: rgba(255,255,255,0.85); margin-bottom: 26px; max-width: 460px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-buttons { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #f0c000); color: #111;
  padding: 13px 26px; border-radius: 12px; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; display: inline-block; transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,221,0,0.4); }
.btn-secondary {
  background: rgba(255,255,255,0.08); color: var(--text); padding: 13px 26px;
  border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--border);
  backdrop-filter: blur(6px); transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--yellow); background: rgba(255,221,0,0.1); }
.stats-row { display: flex; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 1.35rem; font-weight: 800; color: var(--yellow); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.hero-coin { position: relative; display: flex; justify-content: center; align-items: center; }
.coin-glow {
  position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,221,0,0.3), transparent 70%);
  border-radius: 50%; filter: blur(18px);
}
.coin-img {
  width: 320px; height: 320px; object-fit: contain; position: relative; z-index: 2;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.55));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* PROGRESS */
.progress-section {
  padding: 45px 0; background: var(--card); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center;
}
.progress-section h2 { font-size: 1.7rem; margin-bottom: 8px; }
.progress-section p { color: var(--muted); margin-bottom: 24px; }
.progress-bar-container {
  height: 16px; background: rgba(0,0,0,0.35); border-radius: 20px; overflow: hidden;
  max-width: 580px; margin: 0 auto 12px; border: 1px solid var(--border);
}
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--yellow), #ffaa00); border-radius: 20px; transition: width 0.6s ease; }
.progress-info { display: flex; justify-content: space-between; max-width: 580px; margin: 0 auto 18px; font-size: 0.88rem; color: var(--muted); }
.status-badge { display: inline-block; padding: 8px 18px; border-radius: 30px; font-weight: 600; font-size: 0.88rem; }
.status-badge.locked { background: rgba(206,17,38,0.2); color: #ff8a95; border: 1px solid rgba(206,17,38,0.35); }
.status-badge.unlocked { background: rgba(0,210,106,0.15); color: var(--green); border: 1px solid rgba(0,210,106,0.3); }

/* BUY */
.buy-section { padding: 70px 0; }
.buy-section h2, .staking-section h2, .tokens-section h2, .roadmap-section h2 {
  text-align: center; font-size: 1.9rem; margin-bottom: 8px; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.section-desc { text-align: center; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.buy-card {
  background: var(--card); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 20px; padding: 30px; max-width: 460px; margin: 0 auto;
}
.token-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.token-icon { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--yellow); object-fit: cover; }
.token-title-wrap { display:flex; align-items:center; flex-wrap:wrap; gap:9px; min-width:0; }
.token-header strong { font-size: 1.1rem; display: block; }
.okx-dex-label { font-size:1.12rem; font-weight:900; letter-spacing:.04em; color:var(--yellow); white-space:nowrap; }
.ca-small { font-size: 0.68rem; color: var(--muted); word-break: break-all; font-family: monospace; margin-top: 2px; }
.price-box { background: rgba(0,0,0,0.3); border-radius: 12px; padding: 14px; margin-bottom: 18px; }
.price-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.93rem; }
.price-row strong { color: var(--yellow); }
.input-group { margin-bottom: 4px; }
.input-group label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.input-group input {
  width: 100%; background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; color: var(--text); font-size: 1rem; outline: none;
}
.input-group input:focus { border-color: var(--yellow); }
.percent-buttons { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:9px; }
.percent-buttons button { background:rgba(255,221,0,.10); color:var(--yellow); border:1px solid rgba(255,221,0,.32); border-radius:8px; padding:8px 4px; font:inherit; font-size:.82rem; font-weight:800; cursor:pointer; }
.percent-buttons button:hover { background:rgba(255,221,0,.22); }
.input-with-btn { position: relative; }
.input-with-btn input { padding-right: 68px; }
.max-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: rgba(255,221,0,0.18); color: var(--yellow); border: none;
  padding: 5px 11px; border-radius: 8px; font-weight: 700; font-size: 0.78rem; cursor: pointer;
}
.receive-box {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,221,0,0.08); border: 1px solid rgba(255,221,0,0.25);
  border-radius: 12px; padding: 14px; margin: 18px 0;
}
.receive-box strong { font-size: 1.15rem; color: var(--yellow); }
.btn-buy {
  width: 100%; padding: 15px; background: linear-gradient(135deg, var(--yellow), #f0c000);
  color: #111; border: none; border-radius: 13px; font-weight: 800; font-size: 1.02rem; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-buy:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,221,0,0.4); }
.btn-buy:disabled { opacity: 0.55; cursor: not-allowed; }
.ca-box {
  margin-top: 16px; background: rgba(0,0,0,0.25); border-radius: 10px; padding: 12px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8rem;
}
.ca-box span { color: var(--muted); width: 100%; }
.ca-box code { font-family: monospace; font-size: 0.72rem; word-break: break-all; flex: 1; color: var(--text); }
.copy-btn {
  background: rgba(255,221,0,0.12); color: var(--yellow); border: 1px solid rgba(255,221,0,0.3);
  padding: 5px 12px; border-radius: 7px; font-weight: 600; font-size: 0.78rem; cursor: pointer;
}
.disclaimer { margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; line-height: 1.5; }

/* STAKING */
.staking-section { padding: 70px 0; background: var(--card); backdrop-filter: blur(12px); border-top: 1px solid var(--border); }
.stake-header { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; }
.stake-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.stake-header h2 { margin: 0; }
.staking-content { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.stake-empty {
  text-align: center; background: rgba(0,0,0,0.3); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 24px; color: var(--muted);
}
.stake-empty .stake-hint { margin-top: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.stake-card {
  background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px;
}
.stake-status {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.3px;
  padding: 6px 12px; border-radius: 999px; width: fit-content;
}
.stake-status.active {
  background: rgba(0,210,106,0.15); color: var(--green); border: 1px solid rgba(0,210,106,0.35);
}
.stake-status.ready {
  background: rgba(255,221,0,0.15); color: var(--yellow); border: 1px solid rgba(255,221,0,0.4);
}
.stake-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 0.92rem;
}
.stake-row span { color: var(--muted); }
.stake-row code { font-family: monospace; font-size: 0.85rem; color: var(--text); }
.stake-row strong { color: var(--text); }
.stake-row .reward { color: var(--yellow); }
.stake-row .countdown { font-family: 'Orbitron', monospace; font-size: 0.95rem; color: var(--yellow); }
.btn-withdraw {
  width: 100%; margin-top: 6px; padding: 13px; border: none; border-radius: 12px;
  font-weight: 800; font-size: 0.95rem; cursor: pointer;
  background: linear-gradient(135deg, var(--yellow), #f0c000); color: #111;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn-withdraw:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,221,0,0.35); }
.btn-withdraw.locked, .btn-withdraw:disabled {
  background: rgba(255,255,255,0.08); color: var(--muted); cursor: not-allowed;
  box-shadow: none; transform: none; opacity: 0.85;
}
.stake-note-small { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 4px; line-height: 1.4; }
.coming-soon-card {
  max-width: 420px; margin: 0 auto; text-align: center;
  background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 20px; padding: 48px 30px;
}
.coming-soon-icon { font-size: 3rem; margin-bottom: 12px; }
.coming-soon-card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.coming-soon-card p { color: var(--muted); margin-bottom: 8px; }
.coming-soon-card .highlight {
  font-size: 1.3rem; font-weight: 800; color: var(--yellow); margin: 16px 0 24px; letter-spacing: 1px;
}

/* TOKEN */
.tokens-section { padding: 70px 0; }
.token-single {
  max-width: 360px; margin: 0 auto; text-align: center;
  background: var(--card); backdrop-filter: blur(12px);
  border: 1px solid var(--yellow); border-radius: 20px; padding: 36px 24px;
  box-shadow: 0 0 40px rgba(255,221,0,0.1);
}
.token-single img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: 3px solid var(--yellow); }
.token-single h3 { font-size: 1.25rem; margin-bottom: 4px; }
.ticker { color: var(--yellow); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.ca { font-size: 0.72rem; color: var(--muted); word-break: break-all; margin-bottom: 18px; font-family: monospace; }
.token-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.token-actions button {
  background: rgba(255,221,0,0.12); color: var(--yellow); border: 1px solid rgba(255,221,0,0.3);
  padding: 9px 20px; border-radius: 9px; font-weight: 600; font-size: 0.88rem; cursor: pointer;
}
.token-actions button:hover { background: rgba(255,221,0,0.22); }
.solscan { color: var(--muted); font-size: 0.88rem; text-decoration: none; }
.solscan:hover { color: var(--yellow); }

/* ROADMAP */
.roadmap-section { padding: 70px 0; background: var(--card); backdrop-filter: blur(12px); border-top: 1px solid var(--border); }
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.phase { background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 18px; padding: 26px 20px; }
.phase.done { border-color: rgba(0,210,106,0.4); }
.phase.current { border-color: var(--yellow); box-shadow: 0 0 25px rgba(255,221,0,0.12); }
.phase-num {
  width: 34px; height: 34px; background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.phase.done .phase-num { background: var(--green); color: #111; }
.phase.current .phase-num { background: var(--yellow); color: #111; }
.phase h3 { margin-bottom: 12px; font-size: 1.1rem; }
.phase ul { list-style: none; }
.phase li { padding: 5px 0; font-size: 0.88rem; color: var(--muted); padding-left: 16px; position: relative; }
.phase li::before { content: "•"; position: absolute; left: 0; color: var(--yellow); }

.roadmap-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.roadmap-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: #000;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: 1 / 1;
  display: flex;
}
.roadmap-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}
.roadmap-card.current {
  box-shadow: 0 0 28px rgba(255, 221, 0, 0.2), 0 12px 36px rgba(0,0,0,0.45);
}
.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}
@media (max-width: 900px) {
  .roadmap-images {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 20px;
  }
}

/* FOOTER */
footer { padding: 45px 0 28px; border-top: 1px solid var(--border); text-align: center; background: rgba(5,8,15,0.7); }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; font-weight: 700; font-size: 1.05rem; }
.footer-logo img { width: 34px; height: 34px; border-radius: 50%; }
.footer-socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; }
.footer-socials a { color: var(--yellow); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.footer-socials a:hover { text-decoration: underline; }
footer p { color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }
.warning { color: #ff8a95 !important; font-size: 0.78rem !important; max-width: 480px; margin: 14px auto 0; }

/* TOAST */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: #1a1a28; color: var(--text); padding: 13px 26px; border-radius: 12px;
  border: 1px solid var(--border); font-weight: 600; z-index: 1000; opacity: 0;
  transition: all 0.3s ease; box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.3rem; }
  .okx-connect-box { margin-bottom: 22px; max-width: 520px; }
.okx-hint { margin-bottom: 12px; font-size: 0.95rem; line-height: 1.45; }
.okx-link-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; }
.okx-link-row code { color: var(--yellow); font-size: 0.92rem; word-break: break-all; flex: 1; }
.btn-copy-link { background: var(--yellow); color: #111; border: none; border-radius: 10px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-size: 0.85rem; white-space: nowrap; }
.btn-copy-link:hover { filter: brightness(1.05); }
.desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .stats-row { justify-content: center; }
  .coin-img { width: 250px; height: 250px; }
  .roadmap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 500px) {
  .hero-text h1 { font-size: 1.85rem; }
  .buy-card { padding: 22px; }
  .nav-right .social-btn { display: none; }
  .lang-btn img { width: 22px; height: 15px; }
}


/* SUPPORT FORM */
.support-section { padding: 70px 0; background: rgba(5,8,15,0.58); border-top: 1px solid var(--border); }
.support-card { max-width: 760px; margin: 30px auto 0; padding: 28px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 18px 55px rgba(0,0,0,0.25); }
.support-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.support-card .input-group { margin-bottom: 18px; }
.support-card label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.92rem; }
.support-card input, .support-card select, .support-card textarea { width: 100%; color: var(--text); background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font: inherit; outline: none; }
.support-card select option { background: #10101a; color: var(--text); }
.support-card input:focus, .support-card select:focus, .support-card textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,221,0,0.1); }
.support-card textarea { resize: vertical; min-height: 120px; }
.support-submit { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.support-submit:disabled { opacity: 0.65; cursor: wait; }
.support-status { min-height: 1.5em; margin-top: 12px; font-size: 0.92rem; }
.support-status.success { color: var(--green); }
.support-status.error { color: #ff8a95; }
.support-privacy { color: var(--muted); font-size: 0.78rem; margin-top: 12px; }
.support-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .support-card { padding: 20px; } .support-fields { grid-template-columns: 1fr; gap: 0; } }


/* Connected wallet address */
.wallet-address-row { align-items: flex-start; gap: 12px; }
.wallet-address-row strong { max-width: 68%; text-align: right; overflow-wrap: anywhere; font-family: monospace; font-size: 0.72rem; color: var(--text); }

/* Wallet balance panel inspired by the OKX-DEX-SWAP reference */
.wallet-balances-head { display:flex; align-items:center; gap:8px; margin: 2px 0 8px; color:#9aa8bd; font-size:.72rem; letter-spacing:.04em; }
.refresh-balances { border:1px solid rgba(255,255,255,.12); border-radius:7px; padding:3px 8px; background:rgba(255,255,255,.04); color:#00d4b0; font-size:.7rem; cursor:pointer; }
.refresh-balances:hover { background:rgba(0,212,176,.10); }
.wallet-asset-row { display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:10px; padding:10px 2px; border-bottom:1px solid rgba(255,255,255,.10); }
.wallet-asset-row:last-of-type { border-bottom:0; margin-bottom:4px; }
.asset-icon { width:29px; height:29px; display:flex; align-items:center; justify-content:center; border-radius:50%; font-size:1.35rem; font-weight:900; line-height:1; }
.solana-icon { color:#b5a2ff; background:linear-gradient(145deg,#16e2b7,#8d5cff); -webkit-background-clip:text; background-clip:text; }
.usdc-icon { background:#2775ca; color:#fff; font-size:1.05rem; border:1px solid rgba(255,255,255,.22); }
.asset-label,.asset-values { display:flex; flex-direction:column; gap:3px; min-width:0; }
.asset-label strong { font-size:.83rem; color:var(--text); }
.asset-label small,.asset-values small { font-size:.72rem; color:#94a3b8; }
.asset-values { align-items:flex-end; text-align:right; }
.asset-values strong { font-size:.86rem; color:var(--text); overflow-wrap:anywhere; }
.price-box { padding:14px 12px; }
.price-row.wallet-address-row { margin-top:8px; padding-top:10px; border-top:1px solid rgba(255,255,255,.08); }
@media (max-width:500px) {
  .wallet-asset-row { grid-template-columns:28px minmax(0,1fr) auto; gap:8px; }
  .asset-values strong { font-size:.78rem; }
  .asset-values small { font-size:.68rem; }
  .btn-connect { padding:8px 10px; font-size:.78rem; white-space:nowrap; }
}

/* Approximate USD value for the selected SOL purchase amount */
.sol-spend-usd { display:block; margin-top:7px; color:#94a3b8; font-size:.76rem; text-align:right; }
.wallet-address-row strong { font-family:inherit; font-size:.82rem; letter-spacing:.03em; color:#00d4b0; }

/* Connected wallet provider initials plus public address */
.price-row.wallet-address-row strong { max-width: 72%; text-align: right; overflow-wrap: anywhere; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; line-height: 1.45; color: #00d4b0; }

/* ===== NEW SWAP CARD DESIGN ===== */
.swap-card {
  background: rgba(12, 14, 28, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
  max-width: 420px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.wallet-status-bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0, 210, 106, 0.12);
  border: 1px solid rgba(0, 210, 106, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: #00d26a;
}
.wallet-status-bar.disconnected {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: #b0b0c0;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00d26a;
  box-shadow: 0 0 8px #00d26a;
}
.wallet-status-bar.disconnected .status-dot { background: #888; box-shadow: none; }
.btn-disconnect {
  width: 100%; background: #8b1e2d; color: #fff; border: none;
  padding: 10px; border-radius: 12px; font-weight: 600; cursor: pointer;
  margin-bottom: 16px; font-size: 0.9rem;
}
.btn-disconnect:hover { background: #a5283a; }

.balances-section { margin-bottom: 14px; }
.balances-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; letter-spacing: 0.5px; color: #888; margin-bottom: 8px;
}
.btn-refresh {
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
  color: #ccc; padding: 3px 10px; border-radius: 8px; font-size: 0.75rem; cursor: pointer;
}
.asset-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.token-logo { width: 36px; height: 36px; border-radius: 50%; }
.asset-info { flex: 1; }
.asset-info strong { display: block; font-size: 0.95rem; }
.asset-info small { color: #888; font-size: 0.75rem; }
.asset-amounts { text-align: right; }
.asset-amounts strong { display: block; font-size: 0.95rem; }
.asset-amounts small { color: #888; font-size: 0.75rem; }

.percent-buttons {
  display: flex; gap: 8px; margin: 12px 0;
}
.percent-buttons button {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #eee; padding: 8px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.85rem;
}
.percent-buttons button:hover { background: rgba(255,255,255,0.12); }

.swap-box {
  background: rgba(0,0,0,0.35); border-radius: 14px; padding: 14px; margin: 8px 0;
}
.swap-box-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #aaa; margin-bottom: 6px;
}
.token-dropdown {
  position: relative;
}
.token-select {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); padding: 4px 10px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
  border: none; color: inherit; font-family: inherit; cursor: pointer;
}
.token-select.selectable {
  cursor: pointer;
  transition: background 0.15s;
}
.token-select.selectable:hover,
.token-select.selectable[aria-expanded="true"] {
  background: rgba(255,255,255,0.16);
}
.token-select .chevron {
  opacity: 0.7;
  margin-left: 2px;
  transition: transform 0.15s;
}
.token-select[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.token-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: rgba(18, 20, 36, 0.98);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 6px;
  z-index: 50;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
}
.token-menu[hidden] { display: none !important; }
.token-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.12s;
}
.token-option:hover,
.token-option.active {
  background: rgba(255,255,255,0.1);
}
.token-option-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.token-option-text strong {
  font-size: 0.9rem;
  font-weight: 700;
}
.token-option-text small {
  font-size: 0.72rem;
  color: #999;
  font-weight: 500;
}
.token-option .mini-logo {
  width: 28px;
  height: 28px;
}
.mini-logo { width: 20px; height: 20px; border-radius: 50%; }
.swap-input-row { display: flex; justify-content: space-between; align-items: baseline; }
.swap-input-row input {
  background: transparent; border: none; color: #fff; font-size: 1.6rem; font-weight: 600;
  width: 60%; outline: none;
}
.swap-input-row strong { font-size: 1.6rem; font-weight: 600; }
.swap-input-row small { color: #888; font-size: 0.85rem; }
.pay-balance-hint {
  font-size: 0.75rem;
  color: #888;
  margin-top: 6px;
  padding-left: 2px;
}
.btn-test-telegram {
  width: 100%;
  margin-top: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.25);
  color: #aaa;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-test-telegram:hover {
  background: rgba(0, 194, 168, 0.15);
  color: #00d4aa;
  border-color: rgba(0, 194, 168, 0.4);
}

.swap-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -4px auto;
  width: 40px;
  height: 40px;
  color: #00d4aa;
  cursor: pointer;
  z-index: 2;
  position: relative;
}
.swap-arrow svg {
  background: rgba(12, 18, 32, 0.95);
  border-radius: 50%;
  padding: 8px;
  border: 2px solid rgba(0, 212, 170, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.12), 0 4px 14px rgba(0,0,0,0.35);
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.swap-arrow:hover svg {
  background: rgba(0, 212, 170, 0.18);
  border-color: #00d4aa;
  transform: scale(1.08);
}
.swap-arrow:active svg {
  transform: scale(0.96);
}

.slippage-row {
  display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 0.85rem; color: #aaa;
}
.slippage-buttons { display: flex; gap: 6px; }
.slippage-buttons button {
  background: rgba(255,255,255,0.06); border: 1px solid transparent; color: #ccc;
  padding: 5px 10px; border-radius: 8px; cursor: pointer; font-size: 0.8rem;
}
.slippage-buttons button.active { background: #00c2a8; color: #fff; border-color: #00c2a8; }

.btn-swap {
  width: 100%; background: linear-gradient(135deg, #00d4aa, #00b894);
  color: #fff; border: none; padding: 16px; border-radius: 14px;
  font-size: 1.05rem; font-weight: 700; cursor: pointer; margin-top: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-swap:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(0,212,170,0.35); }
.btn-swap:disabled { opacity: 0.5; cursor: not-allowed; }

.bottom-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; font-size: 0.82rem; color: #00d26a;
}
.bottom-status.disconnected { color: #888; }
.bottom-status .status-dot { background: currentColor; }

.ca-box {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem; color: #888; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.ca-box code { color: #ccc; word-break: break-all; flex: 1; }
.copy-btn { background: #333; color: #fff; border: none; padding: 4px 10px; border-radius: 6px; cursor: pointer; font-size: 0.75rem; }

/* Transaction Review & Detector */
.tx-review, .balance-detector {
  max-width: 420px; margin: 20px auto 0;
  background: rgba(12, 14, 28, 0.85); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 16px;
}
.tx-review h3, .balance-detector h3 { margin-bottom: 10px; font-size: 1rem; color: #FFDD00; }
.detector-header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 8px;
}
.detector-header h3 { margin: 0; }
.btn-reset-history {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #aaa;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.btn-reset-history:hover {
  background: rgba(255,80,80,0.2);
  color: #ff8a8a;
  border-color: rgba(255,80,80,0.4);
}
#txReviewContent, #detectorLog { font-size: 0.85rem; line-height: 1.5; }
.detector-entry { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.detector-entry .time { color: #888; font-size: 0.75rem; }
.detector-entry.buy { border-left: 3px solid #00d4aa; padding-left: 8px; }
.detector-entry.sell { border-left: 3px solid #ff9f43; padding-left: 8px; }
.last-tx-info {
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0 12px;
  font-size: 0.8rem;
  line-height: 1.45;
}
.last-tx-info a { color: #00d4aa; word-break: break-all; }

/* Wallet selector modal */
.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.wallet-modal[hidden] { display: none !important; }
.wallet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}
.wallet-modal-panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #12141f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 1;
}
.wallet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.wallet-modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
}
.wallet-modal-close {
  background: rgba(255,255,255,0.08);
  border: none;
  color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.wallet-modal-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.wallet-modal-hint {
  color: #888;
  font-size: 0.82rem;
  margin: 0 0 14px;
  line-height: 1.4;
}
.wallet-modal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 60vh;
  overflow-y: auto;
}
.wallet-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}
.wallet-option:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.35);
}
.wallet-option:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.wallet-option-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.wallet-option-text {
  flex: 1;
  min-width: 0;
}
.wallet-option-text strong {
  display: block;
  font-size: 0.95rem;
}
.wallet-option-text small {
  display: block;
  color: #888;
  font-size: 0.75rem;
  margin-top: 2px;
}
.wallet-option-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  white-space: nowrap;
}
.wallet-option-badge.missing {
  background: rgba(255,255,255,0.06);
  color: #888;
}
