:root{
  --bg:#070a10;--panel:#111722;--panel2:#0a0f17;--text:#f7f9fc;--muted:#8490a3;
  --line:rgba(255,255,255,.09);--purple:#8257f6;--purple2:#6754f5;--green:#14f195;
  --danger:#ff7586;--shadow:0 28px 90px rgba(0,0,0,.42)
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{overflow-x:hidden}
button,input{font:inherit}
button{cursor:pointer}
.glow{position:fixed;border-radius:999px;filter:blur(120px);pointer-events:none}
.glow-a{width:460px;height:460px;left:-170px;top:-180px;background:#6d28d9;opacity:.21}
.glow-b{width:440px;height:440px;right:-210px;bottom:-240px;background:#14f195;opacity:.075}
.page{width:min(1120px,calc(100% - 40px));margin:auto;min-height:100vh}
.nav{height:82px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.brand strong{font-size:14px}
.logo{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;font-weight:900;color:#07110d;background:linear-gradient(135deg,var(--purple),var(--green))}
.network{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:8px 11px;font-size:11px;color:#a8b1c0;background:rgba(255,255,255,.025)}
.network i{display:block;width:7px;height:7px;border-radius:50%;background:var(--green)}
.hero{width:min(570px,100%);margin:76px auto 80px;text-align:center}
.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:#9d84ff}
h1{font-size:clamp(44px,7vw,67px);letter-spacing:-.055em;line-height:.91;margin:20px 0 0}
.intro{max-width:530px;margin:24px auto 30px;color:var(--muted);font-size:15px;line-height:1.65}
.card{margin-top:17px;padding:24px;text-align:left;border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,rgba(20,26,39,.9),rgba(12,16,25,.95));box-shadow:var(--shadow);backdrop-filter:blur(18px)}
.check-card{margin-top:0}
label{display:block;margin-bottom:10px;font-size:13px;font-weight:650;color:#c7cfda}
.input-row{position:relative}
.input-row input,.ref-copy input{width:100%;height:58px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:#090e17;color:#fff;padding:0 78px 0 16px;outline:none}
.input-row input:focus{border-color:rgba(130,87,246,.78);box-shadow:0 0 0 4px rgba(130,87,246,.1)}
input::placeholder{color:#5f6a7c}
.paste-btn{position:absolute;right:9px;top:9px;height:40px;padding:0 12px;border:0;border-radius:10px;background:#171e2b;color:#bbc4d1;font-size:12px;font-weight:700}
.primary,.claim{width:100%;height:56px;margin-top:14px;border:0;border-radius:15px;font-weight:800;transition:filter .15s,transform .15s}
.primary{color:#fff;background:linear-gradient(135deg,var(--purple),var(--purple2));box-shadow:0 12px 30px rgba(104,83,245,.22)}
.claim{color:#04150e;background:linear-gradient(135deg,var(--green),#7cf1c2);box-shadow:0 12px 30px rgba(20,241,149,.13)}
.primary:hover,.claim:hover{filter:brightness(1.05)}
.primary:active,.claim:active{transform:translateY(1px)}
button:disabled{opacity:.45;cursor:not-allowed}
.micro{text-align:center;margin:13px 0 0;font-size:11px;color:#626e81}
.notice{margin-top:14px;padding:12px 14px;border-radius:12px;font-size:12px;line-height:1.5;word-break:break-word}
.error{color:#ff9bab;background:rgba(255,117,134,.08);border:1px solid rgba(255,117,134,.18)}
.status{color:#9ff5d0;background:rgba(20,241,149,.07);border:1px solid rgba(20,241,149,.15)}
.warn{color:#f0d49c;background:rgba(238,178,76,.07);border:1px solid rgba(238,178,76,.16)}
.result-card{text-align:center}
.checkmark{width:36px;height:36px;margin:0 auto 15px;border-radius:50%;display:grid;place-items:center;color:var(--green);background:rgba(20,241,149,.11);font-weight:900}
.result-label{margin:0 0 8px;font-size:14px;color:#acb5c4}
.usd{font-size:clamp(56px,11vw,78px);line-height:1;font-weight:850;letter-spacing:-.055em;background:linear-gradient(#fff,#dbe3ee);-webkit-background-clip:text;background-clip:text;color:transparent}
.sol{margin-top:10px;font-size:15px;font-weight:650;color:#8b96a7}
.caption{margin:8px 0 18px;font-size:11px;color:#626e80}
.connected{display:flex;align-items:center;justify-content:space-between;text-align:left;margin-top:14px;padding:12px 14px;border:1px solid rgba(20,241,149,.15);border-radius:14px;background:rgba(20,241,149,.05)}
.connected div{display:flex;flex-direction:column;gap:4px;min-width:0}
.connected span{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6d798c}
.connected strong{font-size:13px;max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.connected b{color:var(--green)}
.details-toggle{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;color:#7c8799;padding:18px 0 3px;font-size:12px}
.details{margin-top:9px;padding-top:10px;border-top:1px solid var(--line)}
.details>div,.confirm-rows>div{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font-size:12px;color:#7e899b;text-align:left}
.details strong,.confirm-rows strong{color:#c8d0dc;font-weight:650;text-align:right}
.referral-card{padding:22px}
.ref-tag{font-size:10px;letter-spacing:.16em;font-weight:800;color:#9d84ff}
.referral-card h2{margin:10px 0 8px;font-size:21px;letter-spacing:-.025em}
.referral-card p{margin:0;color:#7d899b;font-size:12px;line-height:1.6}
.ref-copy{display:flex;gap:8px;margin-top:16px}
.ref-copy input{height:48px;padding:0 12px;font-size:11px;color:#bcc5d2}
.ref-copy button{width:82px;border:0;border-radius:12px;background:#202737;color:#fff;font-weight:750}
.referral-card small{display:block;margin-top:10px;color:#657185;font-size:10px}
.trust{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px;color:#566175;font-size:11px}
.trust i{font-style:normal}
.modal{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.66);backdrop-filter:blur(7px)}
.sheet{width:min(440px,100%);padding:22px;border:1px solid var(--line);border-radius:24px;background:#0f141e;box-shadow:var(--shadow)}
.drag{display:none}
.sheet header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.sheet h2{margin:0 0 5px;font-size:20px}
.sheet header p{margin:0;color:#758093;font-size:12px}
.close{width:36px;height:36px;border:1px solid var(--line);border-radius:11px;background:#161c27;color:#a0a9b8;font-size:23px}
.wallet-list{display:flex;flex-direction:column;gap:9px}
.wallet-option{width:100%;height:60px;display:flex;align-items:center;gap:12px;text-align:left;padding:0 14px;border:1px solid var(--line);border-radius:14px;background:#121925;color:#fff}
.wallet-option:hover{background:#151c29;border-color:rgba(130,87,246,.45)}
.wallet-option.disabled{opacity:.68}
.wallet-logo{width:36px;height:36px;border-radius:10px;object-fit:cover;background:#20293a}
.wallet-fallback{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#20293a;font-size:11px;font-weight:850}
.wallet-meta{display:flex;flex-direction:column;gap:2px}
.wallet-meta strong{font-size:13px}
.wallet-meta span{font-size:10px;color:#717d90}
.sheet-note{margin:15px 2px 0;color:#657184;font-size:10px;line-height:1.5}
.confirm-amount{text-align:center;padding:18px;border:1px solid var(--line);border-radius:16px;background:#090e16}
.confirm-amount span{display:block;color:#778295;font-size:11px}
.confirm-amount strong{display:block;margin-top:4px;font-size:35px;letter-spacing:-.04em}
.confirm-amount small{display:block;margin-top:4px;color:#7d889a}
.confirm-rows{padding:10px 2px 0}
.spinner{display:inline-block;width:18px;height:18px;border:2px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}
.hidden{display:none!important}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:640px){
  .page{width:min(100% - 28px,1120px)}
  .nav{height:66px}
  .hero{margin:46px auto 58px}
  .intro{margin:18px auto 24px;font-size:14px}
  .card{padding:18px;border-radius:20px}
  .modal{place-items:end center;padding:0}
  .sheet{width:100%;padding:12px 18px max(22px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0}
  .drag{display:block;width:42px;height:4px;margin:0 auto 16px;border-radius:999px;background:#303847}
  .connected strong{max-width:240px}
}
