:root {
  --ink: #020409;
  --panel: #080c14;
  --panel-2: #0c1220;
  --line: rgba(127, 195, 255, .18);
  --line-strong: rgba(127, 214, 255, .45);
  --text: #f1f7ff;
  --muted: #8996a8;
  --blue: #00b7ff;
  --blue-2: #176cff;
  --violet: #9b4dff;
  --gold: #e6bb42;
  --danger: #ff536d;
  --success: #55f1b4;
  --head: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--text); font: 16px/1.55 var(--body); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 12%, rgba(0, 115, 255, .13), transparent 30%), radial-gradient(circle at 85% 65%, rgba(132, 32, 255, .09), transparent 34%); z-index: -2; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.page-noise { position: fixed; inset: 0; opacity: .12; pointer-events: none; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 30; height: 94px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 76px); border-bottom: 1px solid rgba(255,255,255,.1); transition: background .25s; }
.site-header.compact { position: relative; background: rgba(2,4,9,.9); }
.brand { display: inline-flex; align-items: center; gap: 13px; font: 800 18px/1 var(--head); letter-spacing: .12em; }
.brand img { width: 43px; height: 48px; object-fit: contain; }
.brand b { color: var(--blue); }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 44px); align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav a:not(.nav-cta), .back-link { color: #c9d3df; transition: color .2s; }
.site-header nav a:hover, .back-link:hover { color: var(--blue); }
.nav-cta { border: 1px solid var(--line-strong); padding: 12px 20px; background: rgba(0,183,255,.07); }

.hero { position: relative; min-height: min(900px, 100svh); display: grid; align-items: center; padding: 130px clamp(24px, 7vw, 110px) 145px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: saturate(.9) contrast(1.2); animation: heroDrift 18s ease-in-out infinite alternate; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,4,9,.98) 0%, rgba(2,4,9,.76) 43%, rgba(2,4,9,.28) 73%, rgba(2,4,9,.82) 100%), linear-gradient(0deg, var(--ink), transparent 35%); }
.hero-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(53,161,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(53,161,255,.2) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
@keyframes heroDrift { to { transform: scale(1.06) translate3d(1.2%, -.8%, 0); } }
.hero-copy { max-width: 730px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 11px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .21em; text-transform: uppercase; }
.eyebrow span { width: 38px; height: 1px; background: currentColor; box-shadow: 0 0 9px currentColor; }
h1, h2, h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: -.025em; margin-top: 0; }
.hero h1 { margin-bottom: 26px; font-size: clamp(72px, 10.2vw, 166px); line-height: .76; font-weight: 900; text-shadow: 0 12px 40px rgba(0,0,0,.7); }
.hero h1 em { color: transparent; -webkit-text-stroke: 1px #67ccff; font-style: normal; text-shadow: 0 0 30px rgba(0,183,255,.25); }
.hero-lede { max-width: 630px; color: #b8c5d5; font-size: clamp(17px, 1.4vw, 21px); }
.hero-actions { display: flex; gap: 30px; align-items: center; margin-top: 38px; }
.button { min-height: 48px; border: 1px solid var(--line-strong); background: rgba(15,26,43,.72); padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; transition: transform .2s, border-color .2s, background .2s, opacity .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--blue); }
.button:disabled { opacity: .42; cursor: not-allowed; }
.button-primary { color: #00101b; border-color: var(--blue); background: linear-gradient(135deg, #8be0ff, var(--blue)); box-shadow: 0 0 32px rgba(0,183,255,.25); }
.button-small { min-height: 38px; padding: 9px 15px; font-size: 11px; }
.text-link { appearance: none; border: 0; background: none; cursor: pointer; color: #d9e7f7; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { color: var(--blue); margin-left: 5px; }
.hero-stat-panel { position: absolute; z-index: 3; right: clamp(20px, 5vw, 76px); bottom: 34px; display: flex; border: 1px solid var(--line); backdrop-filter: blur(14px); background: rgba(3,7,14,.56); }
.hero-stat-panel div { min-width: 152px; padding: 17px 22px; border-right: 1px solid var(--line); }
.hero-stat-panel div:last-child { border: 0; }
.hero-stat-panel strong { display: block; color: #fff; font: 800 24px var(--head); }
.hero-stat-panel span { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-marker { position: absolute; left: 5vw; bottom: 38px; height: 58px; width: 1px; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-marker span { display: block; width: 1px; height: 22px; background: var(--blue); animation: scanDown 1.8s infinite; }
@keyframes scanDown { from { transform: translateY(-24px); } to { transform: translateY(62px); } }

.signal-strip { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.signal-strip div { padding: 27px clamp(12px,2vw,30px); border-left: 1px solid var(--line); }
.signal-strip div:last-child { border-right: 1px solid var(--line); }
.signal-strip span, .signal-strip b { display: block; }
.signal-strip span { color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.signal-strip b { margin-top: 4px; color: var(--blue); font: 700 13px var(--head); letter-spacing: .08em; }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 165px) clamp(24px, 5vw, 74px); }
.section-heading h2 { margin-bottom: 23px; font-size: clamp(44px, 6vw, 86px); line-height: .93; }
.section-heading > p:last-child { color: var(--muted); max-width: 630px; font-size: 18px; }
.protocol-layout { display: grid; grid-template-columns: minmax(340px, .95fr) minmax(420px, 1.05fr); gap: clamp(60px, 9vw, 140px); align-items: center; margin-top: 78px; }
.nft-orbit { position: relative; min-height: 580px; }
.orbit-ring { position: absolute; border: 1px solid rgba(0,183,255,.2); border-radius: 50%; animation: rotate 24s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px var(--blue); }
.ring-one { width: 500px; height: 500px; left: -80px; top: 30px; }
.ring-one::before { top: 40px; right: 85px; }
.ring-two { width: 390px; height: 390px; left: -25px; top: 85px; animation-direction: reverse; animation-duration: 17s; }
.ring-two::before { bottom: 15px; left: 120px; background: var(--violet); }
@keyframes rotate { to { transform: rotate(360deg); } }
.image-stack { position: absolute; width: min(70%, 380px); aspect-ratio: 1; padding: 9px; background: #08101d; border: 1px solid var(--line-strong); box-shadow: 0 25px 70px rgba(0,0,0,.65); }
.image-stack img { width: 100%; height: 100%; object-fit: cover; }
.image-stack-back { left: 22%; top: 5%; opacity: .52; transform: rotate(7deg); }
.image-stack-front { left: 1%; top: 20%; transform: rotate(-3deg); }
.orbit-label { position: absolute; right: 8%; bottom: 55px; color: var(--blue); font: 700 11px var(--head); letter-spacing: .18em; }
.protocol-step { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.protocol-step:last-child { border-bottom: 1px solid var(--line); }
.protocol-step > span { color: var(--blue); font: 700 13px var(--head); }
.protocol-step h3 { margin-bottom: 8px; font-size: 25px; }
.protocol-step p { margin: 0; color: var(--muted); }
.rewards { position: relative; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(15,25,42,.72), rgba(4,6,11,.78)); overflow: hidden; }
.reward-glow { position: absolute; width: 650px; height: 650px; right: -300px; top: -300px; border-radius: 50%; background: rgba(129,55,255,.13); filter: blur(45px); }
.rarity-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 70px; border: 1px solid var(--line); }
.rarity-grid div { min-height: 160px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: rgba(255,255,255,.015); }
.rarity-grid div:last-child { border: 0; }
.rarity-grid span { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .15em; }
.rarity-grid strong { color: var(--blue); font: 800 clamp(27px,3vw,42px) var(--head); }
.rarity-grid div:nth-child(3) strong { color: #a884ff; }.rarity-grid div:nth-child(4) strong { color: #df72ff; }.rarity-grid div:nth-child(5) strong { color: var(--gold); }
.reward-example { margin-top: 28px; padding: 30px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 30px; border-left: 2px solid var(--blue); background: rgba(0,183,255,.055); }
.reward-example > span { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .15em; }
.reward-example > strong { grid-row: span 2; font: 800 clamp(25px,3vw,42px) var(--head); }
.reward-example small { color: var(--blue); font-size: .55em; }
.reward-example p { margin: 0; color: var(--muted); }
.final-cta { display: grid; grid-template-columns: 110px 1fr auto; gap: 35px; align-items: center; }
.cta-logo { max-height: 110px; object-fit: contain; }
.final-cta h2 { margin: 0; font-size: clamp(37px,5vw,70px); line-height: 1; }
footer { max-width: var(--max); margin: 0 auto; padding: 30px clamp(24px,5vw,74px); display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Staking workspace */
.staking-shell { max-width: var(--max); min-height: calc(100vh - 94px); margin: 0 auto; padding: 58px clamp(20px, 4vw, 62px) 90px; }
.staking-topbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.staking-topbar h1 { margin: 0; font-size: clamp(36px, 5vw, 68px); line-height: .9; }
.wallet-button { border: 1px solid var(--line-strong); background: rgba(8,16,29,.75); padding: 13px 18px; cursor: pointer; display: flex; align-items: center; gap: 10px; max-width: 310px; }
.wallet-button b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wallet-led { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 4px rgba(255,255,255,.04); }
.wallet-button.connected .wallet-led { background: var(--success); box-shadow: 0 0 12px var(--success); }
.notice { margin-top: 22px; padding: 15px 18px; color: #dbe9f7; background: rgba(0,183,255,.08); border: 1px solid var(--line-strong); }
.notice.error { background: rgba(255,83,109,.08); border-color: rgba(255,83,109,.5); }
.connect-panel { min-height: 570px; display: grid; grid-template-columns: minmax(320px, .85fr) 1fr; align-items: center; gap: clamp(45px, 8vw, 120px); padding: 65px 3vw; }
.connect-visual { position: relative; max-width: 520px; padding: 12px; border: 1px solid var(--line-strong); background: #070e19; overflow: hidden; }
.connect-visual img { width: 100%; opacity: .65; filter: grayscale(.1) contrast(1.15); }
.connect-visual::after { content: ""; position: absolute; inset: 12px; background: linear-gradient(transparent, rgba(0,183,255,.08), transparent); }
.connect-visual > span { position: absolute; left: 28px; bottom: 27px; color: var(--blue); font: 800 11px var(--head); letter-spacing: .18em; }
.scanner { position: absolute; z-index: 3; left: 12px; right: 12px; height: 2px; top: 12px; background: var(--blue); box-shadow: 0 0 18px 3px var(--blue); animation: scanner 4s ease-in-out infinite; }
@keyframes scanner { 50% { transform: translateY(470px); } }
.connect-copy { max-width: 530px; }
.panel-index { color: var(--muted); font: 700 11px var(--head); letter-spacing: .15em; }
.connect-copy h2 { font-size: clamp(45px, 5.5vw, 78px); line-height: .92; margin: 22px 0; }
.connect-copy p { color: var(--muted); font-size: 18px; }
.connect-copy .button { margin: 20px 0; }
.connect-copy small { display: block; color: #687789; }
.status-ribbon { margin: 34px 0 46px; display: grid; grid-template-columns: 1.35fr repeat(2, .7fr) 1.25fr auto; border: 1px solid var(--line); background: rgba(8,13,23,.75); }
.status-ribbon > div { min-width: 0; padding: 17px 20px; border-right: 1px solid var(--line); }
.status-ribbon span, .status-ribbon strong { display: block; }
.status-ribbon span { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.status-ribbon strong { margin-top: 4px; font: 700 16px var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-ribbon .reward-total strong { color: var(--gold); }
.status-ribbon small { font-size: 10px; }
.status-ribbon .wallet-identity { display: flex; align-items: center; gap: 12px; }
.status-ribbon .wallet-identity > span { min-width: 0; flex: 1; }
.status-ribbon .wallet-identity small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.disconnect-icon { width: 34px; height: 34px; padding: 7px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,83,109,.48); border-radius: 50%; background: rgba(255,83,109,.08); color: #ff536d; cursor: pointer; transition: color .2s, border-color .2s, background .2s, box-shadow .2s; }
.disconnect-icon svg { width: 18px; height: 18px; fill: currentColor; }
.disconnect-icon:hover { color: #ff8b9d; border-color: rgba(255,83,109,.8); background: rgba(255,83,109,.15); box-shadow: 0 0 16px rgba(255,83,109,.2); }
.icon-button { width: 55px; border: 0; background: transparent; color: var(--blue); font-size: 23px; cursor: pointer; }
.staking-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { position: relative; border: 0; background: transparent; padding: 12px 19px; color: var(--muted); cursor: pointer; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.tabs button.active { color: #fff; }
.tabs button.active::after { content: ""; position: absolute; height: 2px; left: 12px; right: 12px; bottom: -1px; background: var(--blue); box-shadow: 0 0 9px var(--blue); }
.bulk-actions { display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 12px; }
.protocol-paused { margin-bottom: 20px; padding: 14px 18px; display: flex; gap: 12px; background: rgba(230,187,66,.08); border-left: 2px solid var(--gold); color: #e8d9ae; }
.nft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nft-card { position: relative; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: transform .22s, border-color .22s; }
.nft-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.nft-card.selected { border-color: var(--blue); box-shadow: 0 0 0 1px rgba(0,183,255,.2), 0 14px 40px rgba(0,129,255,.13); }
.nft-card.staked { border-color: rgba(230,187,66,.4); }
.nft-media { position: relative; aspect-ratio: 1; background: #050913; overflow: hidden; }
.nft-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nft-card:hover .nft-media img { transform: scale(1.025); }
.nft-badge { position: absolute; left: 11px; top: 11px; padding: 6px 9px; background: rgba(2,4,9,.8); border: 1px solid var(--line); backdrop-filter: blur(8px); color: #d6eaff; font: 700 10px var(--head); letter-spacing: .1em; text-transform: uppercase; }
.nft-select { position: absolute; right: 11px; top: 11px; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); background: rgba(2,4,9,.75); cursor: pointer; }
.nft-card.selected .nft-select { color: #001018; background: var(--blue); border-color: var(--blue); }
.nft-details { padding: 16px; }
.nft-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nft-title h3 { margin: 0; font-size: 20px; }
.nft-title span { color: var(--gold); font-size: 10px; text-transform: uppercase; }
.traits { margin: 12px 0 14px; display: flex; gap: 5px; flex-wrap: wrap; }
.traits span { padding: 4px 7px; color: var(--muted); background: rgba(255,255,255,.035); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.nft-reward { padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.nft-reward strong { color: var(--blue); }
.unstake-button { width: 100%; margin-top: 13px; min-height: 34px; border: 1px solid rgba(230,187,66,.35); background: rgba(230,187,66,.07); color: var(--gold); cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.empty-state { padding: 90px 20px; text-align: center; border: 1px dashed var(--line); }
.empty-state img { width: 90px; margin: auto; opacity: .45; }.empty-state h2 { margin: 15px 0 4px; }.empty-state p { color: var(--muted); }
.reward-ledger { margin-top: 80px; padding: 38px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 1px solid var(--line); background: linear-gradient(130deg, rgba(0,107,255,.1), rgba(112,39,213,.06)); }
.reward-ledger h2 { margin-bottom: 7px; font-size: 37px; }.reward-ledger p { color: var(--muted); margin: 0; }
.ledger-balances { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 12px; min-width: min(100%, 470px); }
.ledger-balances > div { padding: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.16); }
.ledger-balances span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.ledger-balances strong { display: block; color: var(--gold); font: 800 clamp(22px,3vw,34px) var(--head); }
.ledger-balances small { font-size: .38em; }
.ledger-balances .button { grid-column: 1 / -1; }
.ledger-balances .processing-balance { grid-column: 1 / -1; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-align: right; text-transform: uppercase; }.ledger-balances .processing-balance b { color: #fff; }.ledger-balances .processing-balance i { font-style: normal; }
.payout-panel { margin-top: 22px; padding: 34px 38px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; border: 1px solid var(--line); background: rgba(8,13,23,.72); }
.payout-panel h2 { margin: 7px 0; font-size: 31px; }.payout-panel p { color: var(--muted); }
.payout-panel label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.payout-input { display: flex; gap: 9px; }.payout-input input { min-width: 0; flex: 1; padding: 13px 14px; border: 1px solid var(--line-strong); background: #050a12; color: #fff; font: 13px var(--mono); outline: none; }.payout-input input:focus { border-color: var(--blue); }
.payout-panel .address-warning { margin: 10px 0; color: #e4c876; font-size: 11px; }
.payout-balances { display: flex; gap: 20px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }.payout-balances b { color: #fff; }.payout-balances i { color: inherit; font-style: normal; }
.solana-dialog { width: min(560px, calc(100% - 32px)); padding: 0; color: var(--text); border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(12,20,34,.99), rgba(4,7,13,.99)); box-shadow: 0 35px 120px rgba(0,0,0,.82), 0 0 50px rgba(0,142,255,.12); }
.solana-dialog::backdrop { background: rgba(0,3,8,.84); backdrop-filter: blur(10px); }
.solana-dialog form { padding: 28px; }
.solana-dialog-kicker { margin: 0 0 8px; color: var(--blue); font: 800 10px var(--head); letter-spacing: .17em; text-transform: uppercase; }
.solana-dialog h2 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 40px); line-height: 1; }
.solana-dialog form > p:not(.solana-dialog-kicker):not(.solana-dialog-warning) { margin: 0 0 14px; color: var(--muted); }
.solana-dialog code { display: block; padding: 14px 15px; overflow-wrap: anywhere; border: 1px solid var(--line-strong); background: #050a12; color: #fff; font: 13px/1.55 var(--mono); }
.solana-dialog-warning { margin: 14px 0 0; padding: 12px 14px; border-left: 2px solid #e4c876; background: rgba(228,200,118,.07); color: #e4c876; font-size: 12px; line-height: 1.5; }
.solana-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.toast-region { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: grid; gap: 10px; }
.toast { max-width: 360px; padding: 14px 17px; background: #0d1725; border: 1px solid var(--line-strong); box-shadow: 0 16px 50px rgba(0,0,0,.5); animation: toastIn .25s ease; }
.toast.error { border-color: rgba(255,83,109,.55); }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } }

/* Shared wallet selector */
.wallet-dialog { width: min(610px, calc(100% - 32px)); padding: 0; color: var(--text); border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(12,20,34,.99), rgba(4,7,13,.99)); box-shadow: 0 35px 120px rgba(0,0,0,.8), 0 0 50px rgba(0,142,255,.12); }
.wallet-dialog::backdrop { background: rgba(0,3,8,.82); backdrop-filter: blur(10px); }
.wallet-dialog-head { padding: 25px 27px 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 1px solid var(--line); }
.wallet-dialog-head span { color: var(--blue); font: 800 10px var(--head); letter-spacing: .17em; }
.wallet-dialog-head h2 { margin: 5px 0 0; font-size: clamp(28px,5vw,42px); line-height: 1; }
.wallet-dialog-head button { width: 38px; height: 38px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--muted); cursor: pointer; font-size: 23px; line-height: 1; }
.wallet-dialog-head button:hover { color: #fff; border-color: var(--blue); }
.wallet-dialog-copy { margin: 0; padding: 20px 27px 8px; color: var(--muted); font-size: 14px; }
.wallet-options { padding: 12px 27px 18px; display: grid; gap: 11px; }
.wallet-option { width: 100%; min-height: 91px; padding: 14px 17px; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 16px; color: var(--text); text-align: left; border: 1px solid var(--line); background: rgba(255,255,255,.025); cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.wallet-option:hover, .wallet-option:focus-visible { transform: translateX(4px); border-color: var(--blue); background: rgba(0,183,255,.065); outline: none; }
.wallet-option-logo { width: 58px; height: 58px; display: grid; place-items: center; background: radial-gradient(circle, rgba(75,144,255,.16), transparent 68%); }
.wallet-option-logo img { width: 56px; height: 56px; object-fit: contain; }
.wallet-option strong, .wallet-option small { display: block; }
.wallet-option strong { font: 800 19px var(--head); letter-spacing: .02em; text-transform: uppercase; }
.wallet-option small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.wallet-option i { color: var(--muted); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.wallet-option.detected i { color: var(--success); }
.wallet-option.detected i::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; vertical-align: 1px; }
.wallet-dialog-foot { margin: 0; padding: 15px 27px 20px; color: #647589; border-top: 1px solid var(--line); font-size: 11px; }

/* Admin login */
.admin-login-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(0,106,255,.18), transparent 38%), #020409; }
.admin-gate { width: min(680px, calc(100% - 38px)); padding: 45px; border: 1px solid var(--line); background: rgba(6,11,19,.88); box-shadow: 0 28px 100px #000; }
.admin-gate > section { margin: 75px 0; }
.admin-gate h1 { margin-bottom: 18px; font-size: clamp(53px,9vw,92px); line-height: .85; }
.admin-gate section > p:not(.eyebrow) { color: var(--muted); max-width: 520px; font-size: 17px; }
.admin-gate small { color: #687789; }

@media (max-width: 1000px) {
  .hero-stat-panel { right: 20px; }.hero-stat-panel div { min-width: 125px; padding: 14px; }
  .protocol-layout { grid-template-columns: 1fr; }.nft-orbit { min-height: 520px; max-width: 590px; }.rarity-grid { grid-template-columns: repeat(3, 1fr); }.rarity-grid div { border-bottom: 1px solid var(--line); }
  .nft-grid { grid-template-columns: repeat(3, 1fr); }.status-ribbon { grid-template-columns: repeat(2, 1fr) auto; }.status-ribbon .reward-total { grid-column: span 2; }.icon-button { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 720px) {
  .site-header { height: 76px; padding: 0 18px; }.site-header nav a:not(.nav-cta) { display: none; }.brand { font-size: 14px; }.brand img { width: 35px; height: 40px; }
  .hero { min-height: 800px; padding: 130px 22px 200px; align-items: start; }.hero h1 { font-size: clamp(66px, 22vw, 100px); margin-top: 50px; }.hero-lede { font-size: 16px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-stat-panel { left: 20px; right: 20px; bottom: 28px; }.hero-stat-panel div { min-width: 0; flex: 1; padding: 12px 10px; }.hero-stat-panel strong { font-size: 19px; }.hero-stat-panel span { font-size: 8px; }.scroll-marker { display: none; }
  .signal-strip { grid-template-columns: 1fr 1fr; }.signal-strip div:nth-child(2) { border-right: 1px solid var(--line); }
  .section { padding: 80px 22px; }.section-heading h2 { font-size: 45px; }.protocol-layout { margin-top: 40px; }.nft-orbit { min-height: 390px; }.ring-one { width: 350px; height: 350px; }.ring-two { width: 280px; height: 280px; }.image-stack { width: 67%; }.orbit-label { bottom: 20px; }
  .rarity-grid { grid-template-columns: 1fr 1fr; }.rarity-grid div { min-height: 115px; }.reward-example { grid-template-columns: 1fr; }.reward-example > strong { grid-row: auto; }.final-cta { grid-template-columns: 70px 1fr; }.final-cta .button { grid-column: 1 / -1; }.final-cta h2 { font-size: 37px; }
  .staking-shell { padding: 38px 16px 70px; }.staking-topbar { align-items: flex-start; flex-direction: column; }.wallet-button { width: 100%; max-width: none; }.connect-panel { grid-template-columns: 1fr; padding: 40px 0; }.connect-visual { max-width: 390px; }.connect-copy h2 { font-size: 48px; }
  .status-ribbon { grid-template-columns: 1fr 1fr; }.status-ribbon .reward-total { grid-column: 1 / -1; }.icon-button { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }.staking-controls { align-items: stretch; flex-direction: column; }.tabs { overflow-x: auto; }.bulk-actions { justify-content: space-between; }.nft-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }.nft-details { padding: 12px; }.nft-title h3 { font-size: 16px; }.reward-ledger { flex-direction: column; align-items: flex-start; padding: 24px; }.ledger-balances { width: 100%; min-width: 0; }.payout-panel { grid-template-columns: 1fr; padding: 24px; gap: 20px; }.payout-input { flex-direction: column; }
  .wallet-dialog-head { padding: 21px 20px 17px; }.wallet-dialog-copy { padding: 17px 20px 7px; }.wallet-options { padding: 10px 20px 16px; }.wallet-option { min-height: 80px; grid-template-columns: 50px 1fr; gap: 12px; padding: 12px; }.wallet-option-logo,.wallet-option-logo img { width: 48px; height: 48px; }.wallet-option i { grid-column: 2; }.wallet-dialog-foot { padding: 14px 20px 18px; }
}
@media (max-width: 440px) { .nft-grid { grid-template-columns: 1fr; }.rarity-grid { grid-template-columns: 1fr; }.admin-gate { padding: 28px; }.admin-gate > section { margin: 55px 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }.reveal { opacity: 1; transform: none; } }
