:root {
    --bg: #050713;
    --bg-soft: #090d1b;
    --panel: rgba(10, 15, 31, 0.78);
    --panel-strong: #0b1021;
    --line: rgba(139, 169, 255, 0.18);
    --line-bright: rgba(125, 229, 255, 0.42);
    --text: #f5f7ff;
    --muted: #939db5;
    --cyan: #57f5e1;
    --blue: #4c9cff;
    --purple: #9964ff;
    --pink: #de5cff;
    --green: #56f0ae;
    --danger: #ff718b;
    --font-display: "Space Grotesk", "Inter", sans-serif;
    --font-body: "Inter", sans-serif;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 18%, rgba(40, 83, 182, 0.12), transparent 34rem),
        radial-gradient(circle at 80% 70%, rgba(129, 64, 255, 0.09), transparent 38rem),
        var(--bg);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, rgba(2, 4, 13, 0.72), transparent);
}

.header-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}

.brand {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    filter: drop-shadow(0 0 16px rgba(85, 208, 255, 0.34));
}

.brand-mark::before {
    position: absolute;
    inset: 1px;
    content: "";
    border: 1px solid rgba(115, 235, 255, 0.35);
    border-radius: 18px 8px 18px 8px;
    background: linear-gradient(145deg, rgba(128, 73, 255, 0.14), rgba(42, 207, 255, 0.08));
    transform: rotate(8deg);
}

.brand-mark svg {
    position: relative;
    z-index: 1;
    width: 42px;
    fill: rgba(8, 13, 29, 0.96);
    stroke: url("#logoGradient");
    stroke: #6ddcff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font: 700 24px/1 var(--font-display);
    letter-spacing: -1px;
}

.brand-copy strong span {
    background: linear-gradient(100deg, #7ef9de, #729dff 48%, #b66cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy small {
    margin-top: 6px;
    color: #828ba1;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 3px;
}

.network-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.network-pill {
    height: 35px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    color: #a8b1c8;
    border: 1px solid rgba(117, 149, 228, 0.26);
    border-radius: 999px;
    outline: none;
    background: rgba(7, 11, 25, 0.48);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 180ms ease;
    backdrop-filter: blur(12px);
}

.network-pill:hover {
    color: #fff;
    border-color: rgba(116, 195, 255, 0.54);
    transform: translateY(-1px);
}

.network-pill.is-live {
    color: #dcfff7;
    border-color: rgba(80, 240, 197, 0.54);
    box-shadow: inset 0 0 16px rgba(55, 245, 195, 0.08), 0 0 20px rgba(49, 226, 184, 0.07);
}

.network-pill > svg {
    width: 13px;
    height: 13px;
    fill: #a68aff;
}

.network-pill small {
    padding: 2px 5px;
    color: #7d859a;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.solana-logo {
    width: 14px;
    display: grid;
    gap: 2px;
}

.solana-logo i {
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #70ffd1, #7d85ff);
    transform: skewX(-25deg);
}

.live-dot {
    width: 5px;
    height: 5px;
    margin-left: 1px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.base-symbol {
    position: relative;
    width: 13px;
    height: 13px;
    border: 3px solid #568cff;
    border-radius: 50%;
}

.base-symbol::after {
    position: absolute;
    top: 2px;
    right: -3px;
    width: 8px;
    height: 3px;
    content: "";
    background: #070b19;
}

.header-trust {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px 7px 8px;
    border: 1px solid rgba(139, 124, 255, 0.32);
    border-radius: 999px;
    background: rgba(7, 10, 24, 0.52);
    transition: 180ms ease;
    backdrop-filter: blur(12px);
}

.header-trust:hover {
    border-color: rgba(111, 219, 255, 0.5);
}

.trust-avatars {
    display: flex;
    padding-left: 5px;
}

.trust-avatars i {
    width: 25px;
    height: 25px;
    display: grid;
    margin-left: -5px;
    place-items: center;
    color: #d5dcff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: linear-gradient(145deg, #28335b, #11172b);
    font: 600 8px/1 var(--font-display);
    font-style: normal;
    box-shadow: 0 0 0 2px #080b18;
}

.header-trust > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.header-trust strong {
    color: #e9ecf9;
    font-size: 10px;
    line-height: 1.4;
}

.header-trust small {
    color: #707a92;
    font-size: 8px;
}

.header-trust > svg {
    width: 14px;
    fill: none;
    stroke: #aab3ca;
    stroke-width: 1.7;
}

.hero {
    position: relative;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(104, 144, 216, 0.11);
}

.hero-art {
    position: absolute;
    z-index: -3;
    inset: 0;
    background: #030712 url("drophound-hero-bg.webp") center top / cover no-repeat;
    transform: scale(1.015);
}

.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.34) 0%, rgba(3, 7, 18, 0.1) 42%, rgba(3, 7, 18, 0.04) 72%, rgba(3, 7, 18, 0.28) 100%),
        linear-gradient(180deg, rgba(2, 5, 15, 0.08) 45%, #050814 100%);
}

.hero::after {
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 230px;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(3, 6, 17, 0.92) 70%, #050814);
    pointer-events: none;
}

.hero-grid-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(111, 146, 218, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 146, 218, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, #000 50%, transparent);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    flex: 1;
    min-height: 610px;
    padding-top: 164px;
}

.hero-copy {
    position: relative;
    z-index: 5;
    width: min(585px, 53%);
}

.eyebrow {
    display: flex;
    align-items: center;
    margin: 0 0 14px;
    color: #8d98b1;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3.5px;
}

.eyebrow > span {
    width: 22px;
    height: 1px;
    margin-right: 10px;
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.hero h1 {
    max-width: 590px;
    margin: 0;
    font: 700 clamp(48px, 5.5vw, 76px)/0.96 var(--font-display);
    letter-spacing: -4.6px;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.hero h1 > span,
.section-heading h2 > span {
    display: inline-block;
    color: transparent;
    background: linear-gradient(93deg, #62f3c8 2%, #63e8de 32%, #609ffb 64%, #bb62ff 98%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 22px rgba(90, 183, 255, 0.16));
}

.hero-description {
    max-width: 515px;
    margin: 20px 0 24px;
    color: #a7afc3;
    font-size: 13px;
    line-height: 1.7;
}

.wallet-form {
    position: relative;
    width: min(100%, 585px);
}

.address-field {
    position: relative;
    height: 58px;
    display: flex;
    align-items: center;
    padding: 5px;
    border: 1px solid rgba(137, 161, 227, 0.38);
    border-radius: 11px;
    background: rgba(6, 10, 23, 0.78);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), inset 0 0 24px rgba(112, 136, 220, 0.025);
    backdrop-filter: blur(18px);
    transition: 180ms ease;
}

.address-field:focus-within {
    border-color: rgba(91, 237, 215, 0.66);
    box-shadow: 0 0 0 3px rgba(71, 218, 201, 0.08), 0 16px 44px rgba(0, 0, 0, 0.34);
}

.address-icon {
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    color: #71809c;
}

.address-icon svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
}

.address-field input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 12px 0 0;
    color: #eff5ff;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 12px;
}

.address-field input::placeholder {
    color: #656f85;
}

.scan-button {
    position: relative;
    height: 46px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 0 19px;
    color: #061019;
    border: 0;
    border-radius: 9px;
    outline: 0;
    overflow: hidden;
    background: linear-gradient(100deg, #6cf7d5, #64e4ee 48%, #8d65ff 100%);
    box-shadow: 0 0 28px rgba(88, 229, 227, 0.2), inset 0 1px rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 180ms ease;
}

.scan-button::before {
    position: absolute;
    top: -40%;
    left: -55%;
    width: 35%;
    height: 180%;
    content: "";
    background: rgba(255, 255, 255, 0.45);
    filter: blur(8px);
    transform: rotate(18deg);
    transition: 450ms ease;
}

.scan-button:hover {
    box-shadow: 0 0 38px rgba(88, 229, 227, 0.32), inset 0 1px rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.scan-button:hover::before {
    left: 125%;
}

.scan-button svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.scan-button i {
    font-style: normal;
    font-size: 17px;
}

.form-message {
    min-height: 18px;
    margin: 7px 6px 0;
    color: var(--danger);
    font-size: 10px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 4px;
}

.how-link {
    height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    color: #c4cad9;
    border: 1px solid rgba(143, 163, 212, 0.28);
    border-radius: 999px;
    background: rgba(6, 10, 24, 0.44);
    font-size: 10px;
    transition: 180ms ease;
}

.how-link:hover {
    color: #fff;
    border-color: rgba(101, 228, 225, 0.48);
}

.how-link span {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border: 1px solid #74819d;
    border-radius: 50%;
    font-size: 5px;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 9px;
}

.privacy-note > svg {
    width: 18px;
    fill: none;
    stroke: #bc86dc;
    stroke-width: 1.35;
}

.privacy-note > span {
    display: flex;
    flex-direction: column;
}

.privacy-note strong {
    color: #c5cada;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.5;
}

.privacy-note small {
    color: #687288;
    font-size: 8px;
}

.claim-beacon {
    position: absolute;
    z-index: 3;
    top: 194px;
    right: 0;
    width: 108px;
    height: 140px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 15px;
    border: 1px solid rgba(143, 119, 255, 0.25);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(10, 12, 29, 0.68), rgba(11, 14, 29, 0.12));
    box-shadow: inset 0 0 26px rgba(123, 78, 255, 0.06);
    transform: perspective(450px) rotateY(-5deg);
    backdrop-filter: blur(5px);
}

.claim-beacon span,
.claim-beacon small {
    color: #d8d0ff;
    font-size: 7px;
    line-height: 1.5;
    letter-spacing: 0.6px;
}

.claim-beacon small {
    font-size: 6px;
}

.claim-beacon > i {
    margin-top: 3px;
    color: #b6b2d8;
    font-size: 10px;
    font-style: normal;
}

.beacon-chest {
    position: relative;
    width: 45px;
    height: 28px;
    margin-top: 10px;
    border: 1px solid #c89553;
    border-radius: 4px 4px 7px 7px;
    background: linear-gradient(#56472c, #211811);
    box-shadow: 0 0 24px rgba(255, 187, 76, 0.65), 0 -8px 25px rgba(255, 209, 119, 0.35);
}

.beacon-chest::before {
    position: absolute;
    top: -9px;
    left: 2px;
    width: 39px;
    height: 13px;
    content: "";
    border: 1px solid #d8aa68;
    border-radius: 9px 9px 2px 2px;
    background: #382719;
}

.beacon-chest b {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 18px;
    width: 8px;
    height: 10px;
    border: 1px solid #f4d27f;
    border-radius: 2px;
    background: #a97732;
    box-shadow: 0 0 10px #ffc96d;
}

.hero-side-note {
    position: absolute;
    bottom: 115px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 10px;
    color: rgba(127, 158, 237, 0.64);
    border: 1px solid rgba(99, 130, 211, 0.18);
    border-radius: 6px;
    background: rgba(5, 9, 23, 0.44);
    font-size: 7px;
    letter-spacing: 1.4px;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.hero-side-note i {
    width: 25px;
    height: 2px;
    margin-top: 3px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    box-shadow: 0 0 8px var(--cyan);
}

.note-left {
    left: -125px;
    transform: rotate(-2deg);
}

.note-right {
    right: -130px;
    transform: rotate(4deg);
}

.stats-wrap {
    position: relative;
    z-index: 5;
    padding-bottom: 31px;
}

.stats-grid {
    width: min(700px, 72%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-inline: auto;
}

.stat-card {
    position: relative;
    min-height: 83px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 19px 15px;
    overflow: hidden;
    border: 1px solid rgba(121, 154, 218, 0.26);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(12, 19, 38, 0.9), rgba(7, 12, 25, 0.75));
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.25), inset 0 0 30px rgba(81, 112, 194, 0.03);
    backdrop-filter: blur(12px);
}

.stat-icon {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.stat-icon.cyan {
    color: #5cf0dc;
    background: rgba(49, 228, 204, 0.1);
    box-shadow: 0 0 20px rgba(49, 228, 204, 0.08);
}

.stat-icon.purple {
    color: #aa6cff;
    background: rgba(147, 76, 255, 0.12);
}

.stat-icon.blue {
    color: #6e83ff;
    background: rgba(81, 102, 255, 0.12);
}

.stat-icon svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.stat-card > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.stat-card strong {
    color: #f2f5ff;
    font: 600 14px/1.2 var(--font-display);
}

.stat-card span {
    margin-top: 4px;
    color: #7e879c;
    font-size: 8px;
}

.spark {
    position: absolute;
    right: 10px;
    bottom: 7px;
    width: 88px;
    height: 22px;
    overflow: visible;
    fill: none;
    stroke-width: 1.4;
    filter: drop-shadow(0 0 4px currentColor);
    opacity: 0.8;
}

.cyan-spark { color: #52efcf; stroke: #52efcf; }
.purple-spark { color: #9b55f5; stroke: #9b55f5; }
.blue-spark { color: #4b9cff; stroke: #4b9cff; }

.more-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
    color: #525c73;
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 3.5px;
}

.more-divider i {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #556079);
}

.more-divider i:last-child {
    background: linear-gradient(90deg, #556079, transparent);
}

.how-section {
    position: relative;
    padding: 100px 0 110px;
    background:
        radial-gradient(circle at 50% 0%, rgba(81, 77, 179, 0.11), transparent 38rem),
        linear-gradient(180deg, #050814, #070a16);
}

.how-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.14;
    background-image: radial-gradient(rgba(125, 165, 255, 0.48) 0.7px, transparent 0.7px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
    pointer-events: none;
}

.section-heading {
    position: relative;
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading .eyebrow {
    justify-content: center;
}

.section-heading h2 {
    margin: 0;
    font: 700 clamp(34px, 4vw, 52px)/1.05 var(--font-display);
    letter-spacing: -2.5px;
}

.section-heading > p:last-child {
    max-width: 560px;
    margin: 17px auto 0;
    color: #8690a8;
    font-size: 13px;
    line-height: 1.7;
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step-card {
    position: relative;
    min-height: 270px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13, 19, 38, 0.8), rgba(8, 12, 26, 0.62));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.step-card::before {
    position: absolute;
    top: -90px;
    left: 15%;
    width: 220px;
    height: 150px;
    content: "";
    border-radius: 50%;
    background: rgba(86, 112, 255, 0.12);
    filter: blur(45px);
}

.step-card.featured {
    border-color: rgba(82, 232, 211, 0.32);
    transform: translateY(-12px);
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.04);
}

.step-card.featured::before {
    background: rgba(68, 236, 208, 0.13);
}

.step-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: rgba(125, 145, 190, 0.24);
    font: 700 38px/1 var(--font-display);
}

.step-icon {
    width: 50px;
    height: 50px;
    display: grid;
    margin-bottom: 38px;
    place-items: center;
    color: #67e8dc;
    border: 1px solid rgba(93, 234, 223, 0.28);
    border-radius: 13px;
    background: rgba(73, 216, 207, 0.07);
    box-shadow: 0 0 28px rgba(73, 216, 207, 0.07);
}

.step-icon svg {
    width: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.step-card h3 {
    margin: 0 0 11px;
    font: 600 20px/1.2 var(--font-display);
}

.step-card p {
    margin: 0;
    color: #808aa2;
    font-size: 12px;
    line-height: 1.7;
}

.prototype-note {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 30px;
    padding: 20px 24px;
    border: 1px solid rgba(125, 116, 255, 0.22);
    border-radius: 13px;
    background: rgba(17, 16, 41, 0.58);
}

.prototype-icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: #b7a5ff;
    border: 1px solid rgba(166, 137, 255, 0.5);
    border-radius: 50%;
    font: 600 12px/1 var(--font-display);
}

.prototype-note strong {
    display: block;
    color: #d9d9ec;
    font-size: 12px;
}

.prototype-note p {
    margin: 5px 0 0;
    color: #7f829a;
    font-size: 10px;
    line-height: 1.6;
}

.site-footer {
    padding: 28px 0;
    border-top: 1px solid rgba(108, 134, 193, 0.12);
    background: #050712;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #596278;
    font-size: 9px;
}

.brand-small .brand-mark {
    width: 37px;
    height: 37px;
}

.brand-small .brand-mark svg {
    width: 30px;
}

.brand-small .brand-copy strong {
    font-size: 16px;
    letter-spacing: -0.5px;
}

.brand-small .brand-copy small {
    margin-top: 4px;
    font-size: 5px;
    letter-spacing: 2px;
}

/* Scan modal */
.scan-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    padding: 24px;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.scan-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.scan-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 3, 11, 0.82);
    backdrop-filter: blur(15px);
}

.scan-dialog {
    position: relative;
    width: min(1010px, 100%);
    max-height: min(840px, calc(100vh - 48px));
    min-height: 570px;
    overflow: auto;
    border: 1px solid rgba(118, 167, 248, 0.25);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% -20%, rgba(79, 117, 220, 0.21), transparent 35rem),
        linear-gradient(145deg, rgba(12, 18, 37, 0.98), rgba(6, 10, 24, 0.99));
    box-shadow: 0 35px 120px rgba(0, 0, 0, 0.65), inset 0 1px rgba(255, 255, 255, 0.04);
    transform: translateY(14px) scale(0.985);
    transition: transform 240ms ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(112, 142, 207, 0.35) transparent;
}

.scan-modal.is-open .scan-dialog {
    transform: none;
}

.scan-dialog::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(99, 134, 208, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 134, 208, 0.08) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: radial-gradient(circle at 50% 30%, #000, transparent 70%);
    pointer-events: none;
}

.modal-x {
    position: sticky;
    z-index: 10;
    top: 18px;
    left: calc(100% - 54px);
    width: 36px;
    height: 36px;
    display: grid;
    margin-bottom: -36px;
    place-items: center;
    color: #8c97b1;
    border: 1px solid rgba(132, 154, 205, 0.22);
    border-radius: 50%;
    outline: 0;
    background: rgba(9, 14, 29, 0.82);
    cursor: pointer;
    transition: 170ms ease;
    backdrop-filter: blur(8px);
}

.modal-x:hover {
    color: #fff;
    border-color: rgba(102, 231, 223, 0.54);
    transform: rotate(4deg);
}

.modal-x svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.scan-view {
    position: relative;
    z-index: 2;
    display: none;
}

.scan-view.is-active {
    display: flex;
}

#scanningView {
    min-height: 568px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 55px 30px 45px;
    text-align: center;
}

.scan-visual {
    position: relative;
    width: 205px;
    height: 205px;
    display: grid;
    margin-bottom: 26px;
    place-items: center;
}

.scan-core {
    position: relative;
    z-index: 3;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(96, 240, 225, 0.7);
    border-radius: 30px 16px 30px 16px;
    background:
        radial-gradient(circle at 35% 30%, rgba(96, 248, 225, 0.2), transparent 55%),
        linear-gradient(145deg, #101b38, #090d20);
    box-shadow: 0 0 28px rgba(71, 227, 214, 0.25), 0 0 65px rgba(99, 93, 255, 0.18), inset 0 0 25px rgba(99, 222, 255, 0.08);
    transform: rotate(7deg);
}

.scan-core svg {
    width: 63px;
    fill: rgba(4, 9, 23, 0.68);
    stroke: #72eedd;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(-7deg);
    filter: drop-shadow(0 0 8px rgba(74, 239, 218, 0.55));
}

.orbit {
    position: absolute;
    border: 1px solid rgba(99, 191, 255, 0.32);
    border-radius: 50%;
}

.orbit::before {
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    content: "";
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 13px var(--cyan);
}

.orbit-one {
    inset: 22px;
    border-top-color: rgba(93, 244, 222, 0.85);
    border-right-color: transparent;
    animation: spin 2.7s linear infinite;
}

.orbit-two {
    inset: 2px;
    border-bottom-color: rgba(158, 91, 255, 0.8);
    border-left-color: transparent;
    animation: spinReverse 4.2s linear infinite;
}

.scanner-beam {
    position: absolute;
    z-index: 4;
    left: 43px;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #69ffe1, transparent);
    box-shadow: 0 0 10px #55f2de, 0 0 26px rgba(93, 223, 255, 0.7);
    animation: beam 2s ease-in-out infinite;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a567ff;
    box-shadow: 0 0 8px currentColor;
    animation: pulse 1.8s ease-in-out infinite alternate;
}

.p1 { top: 14px; left: 38px; animation-delay: -0.4s; }
.p2 { top: 56px; right: 4px; background: #61f4df; animation-delay: -1.1s; }
.p3 { bottom: 23px; left: 13px; background: #5faaff; animation-delay: -0.8s; }
.p4 { right: 31px; bottom: 8px; animation-delay: -1.5s; }

.modal-eyebrow {
    margin: 0 0 10px;
    color: #76d9d2;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3.5px;
}

#scanningView h2,
#errorView h2 {
    margin: 0;
    font: 700 34px/1.15 var(--font-display);
    letter-spacing: -1.4px;
}

.scan-status {
    min-height: 20px;
    margin: 14px 0 24px;
    color: #9aa5bc;
    font-size: 12px;
}

.progress-track {
    width: min(420px, 85%);
    height: 4px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(122, 153, 211, 0.13);
}

.progress-track span {
    width: 3%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), #6d9cff, var(--purple));
    box-shadow: 0 0 13px rgba(87, 234, 225, 0.75);
    transition: width 350ms ease;
}

.scan-stage-list {
    width: min(440px, 92%);
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
}

.scan-stage-list span {
    position: relative;
    color: #4f5970;
    font-size: 8px;
    transition: 200ms ease;
}

.scan-stage-list span.is-current,
.scan-stage-list span.is-complete {
    color: #99e7de;
}

.scan-address {
    max-width: 85%;
    margin: 28px 0 0;
    overflow: hidden;
    color: #58637b;
    font: 9px/1.5 monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#resultsView {
    min-height: 568px;
    flex-direction: column;
    padding: 46px 46px 42px;
}

.results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 20px;
    padding-right: 32px;
}

.results-header h2 {
    margin: 0;
    font: 700 30px/1.12 var(--font-display);
    letter-spacing: -1.2px;
}

.results-header > div:first-child > p:last-child {
    max-width: 430px;
    margin: 8px 0 0;
    overflow: hidden;
    color: #68748c;
    font: 9px/1.4 monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.complete-dot {
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 9px var(--green);
}

.results-summary {
    display: flex;
    gap: 10px;
}

.results-summary > span {
    min-width: 118px;
    display: flex;
    flex-direction: column;
    padding: 11px 15px;
    border: 1px solid rgba(111, 145, 213, 0.16);
    border-radius: 10px;
    background: rgba(12, 18, 37, 0.6);
}

.results-summary strong {
    font: 600 17px/1 var(--font-display);
}

.results-summary small {
    margin-top: 5px;
    color: #68748b;
    font-size: 8px;
}

.preview-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 13px;
    color: #9994ad;
    border: 1px solid rgba(166, 116, 255, 0.18);
    border-radius: 9px;
    background: rgba(94, 61, 151, 0.08);
    font-size: 9px;
}

.preview-banner span {
    padding: 3px 6px;
    color: #d5c5ff;
    border: 1px solid rgba(190, 149, 255, 0.3);
    border-radius: 4px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
}

.drop-results {
    display: grid;
    gap: 11px;
}

.drop-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(200px, 1.4fr) minmax(150px, 0.8fr) auto;
    align-items: center;
    gap: 20px;
    padding: 17px 18px;
    overflow: hidden;
    border: 1px solid rgba(105, 143, 208, 0.18);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(15, 23, 45, 0.82), rgba(9, 14, 29, 0.78));
}

.drop-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    content: "";
    background: #69738c;
}

.drop-card.is-active {
    border-color: rgba(72, 235, 197, 0.31);
    background:
        radial-gradient(circle at 5% 50%, rgba(58, 228, 196, 0.08), transparent 25rem),
        linear-gradient(135deg, rgba(14, 27, 45, 0.9), rgba(8, 16, 31, 0.82));
    box-shadow: inset 0 0 30px rgba(52, 218, 190, 0.025);
}

.drop-card.is-active::before {
    background: linear-gradient(var(--cyan), #608eff);
    box-shadow: 0 0 13px var(--cyan);
}

.drop-asset {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.token-image {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    overflow: hidden;
    place-items: center;
    color: #b7c8e9;
    border: 1px solid rgba(126, 165, 228, 0.28);
    border-radius: 50%;
    background: linear-gradient(145deg, #202d4a, #0b1224);
    font: 600 14px/1 var(--font-display);
    box-shadow: 0 0 18px rgba(82, 143, 221, 0.12);
}

.token-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drop-asset-copy {
    min-width: 0;
}

.drop-asset-copy h3 {
    margin: 0;
    overflow: hidden;
    font: 600 15px/1.2 var(--font-display);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-asset-copy h3 span {
    margin-left: 5px;
    color: #7a849c;
    font-size: 10px;
}

.drop-asset-copy p {
    margin: 5px 0 0;
    color: #758096;
    font-size: 9px;
}

.drop-asset-copy p strong {
    color: #b7c0d4;
    font-weight: 600;
}

.drop-campaign {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.drop-campaign > span {
    color: #6d788e;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drop-campaign strong {
    font: 600 13px/1.2 var(--font-display);
}

.drop-campaign small {
    color: #717b91;
    font-size: 8px;
}

.drop-action {
    min-width: 148px;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    color: #818ba2;
    border: 1px solid rgba(117, 132, 165, 0.2);
    border-radius: 999px;
    background: rgba(99, 111, 139, 0.07);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.status-badge::before {
    width: 5px;
    height: 5px;
    content: "";
    border-radius: 50%;
    background: currentColor;
}

.drop-card.is-active .status-badge {
    color: #5eedbb;
    border-color: rgba(69, 234, 176, 0.25);
    background: rgba(49, 203, 148, 0.08);
}

.drop-card.is-active .status-badge::before {
    box-shadow: 0 0 7px currentColor;
}

.project-link {
    height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    color: #06131a;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(100deg, #69efd2, #6ea1f6);
    font-size: 9px;
    font-weight: 700;
    transition: 170ms ease;
}

.project-link:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.project-link svg {
    width: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.project-link.is-disabled {
    color: #777f91;
    background: rgba(121, 132, 157, 0.1);
    pointer-events: none;
}

.token-mint {
    max-width: 146px;
    overflow: hidden;
    color: #505a70;
    font: 7px/1.2 monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-results {
    display: flex;
    min-height: 320px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.no-results[hidden] {
    display: none;
}

.no-results-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: #71d7d1;
    border: 1px solid rgba(101, 218, 211, 0.25);
    border-radius: 50%;
    background: rgba(64, 191, 185, 0.06);
}

.no-results-icon svg {
    width: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.no-results h3 {
    margin: 18px 0 7px;
    font: 600 20px/1.2 var(--font-display);
}

.no-results p {
    max-width: 420px;
    margin: 0;
    color: #778198;
    font-size: 11px;
    line-height: 1.6;
}

#errorView {
    min-height: 568px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 55px 30px;
    text-align: center;
}

.error-icon {
    width: 80px;
    height: 80px;
    display: grid;
    margin-bottom: 25px;
    place-items: center;
    color: #ff8ba1;
    border: 1px solid rgba(255, 113, 139, 0.4);
    border-radius: 50%;
    background: rgba(255, 87, 117, 0.08);
    box-shadow: 0 0 35px rgba(255, 87, 117, 0.1);
    font: 500 32px/1 var(--font-display);
}

#errorView > p:not(.modal-eyebrow) {
    max-width: 480px;
    margin: 15px 0 25px;
    color: #8893aa;
    font-size: 12px;
    line-height: 1.6;
}

.retry-button {
    height: 40px;
    padding: 0 20px;
    color: #08141b;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(100deg, var(--cyan), #79a2ff);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.maintenance-toast {
    position: fixed;
    z-index: 120;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    visibility: hidden;
    opacity: 0;
    border: 1px solid rgba(139, 151, 204, 0.25);
    border-radius: 12px;
    background: rgba(10, 15, 31, 0.93);
    box-shadow: var(--shadow);
    transform: translateY(15px);
    transition: 200ms ease;
    backdrop-filter: blur(14px);
}

.maintenance-toast.is-visible {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.maintenance-toast > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #a98cff;
    border-radius: 9px;
    background: rgba(153, 100, 255, 0.1);
}

.maintenance-toast svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.maintenance-toast > div {
    display: flex;
    flex-direction: column;
}

.maintenance-toast strong {
    font-size: 11px;
}

.maintenance-toast small {
    margin-top: 4px;
    color: #707a90;
    font-size: 9px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes beam {
    0%, 100% { top: 54px; opacity: 0.4; }
    50% { top: 151px; opacity: 1; }
}

@keyframes pulse {
    from { opacity: 0.25; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1.35); }
}

@media (max-width: 1120px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .network-nav {
        order: 3;
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: -18px;
        padding-bottom: 13px;
    }

    .site-header {
        background: rgba(3, 6, 16, 0.56);
        backdrop-filter: blur(8px);
    }

    .hero-inner {
        padding-top: 184px;
    }

    .claim-beacon,
    .hero-side-note {
        display: none;
    }
}

@media (max-width: 880px) {
    .container {
        width: min(100% - 32px, 680px);
    }

    .hero {
        min-height: 900px;
    }

    .hero-art {
        background-position: 60% top;
    }

    .hero::before {
        background:
            linear-gradient(90deg, rgba(3, 7, 18, 0.68), rgba(3, 7, 18, 0.2)),
            linear-gradient(180deg, rgba(3, 7, 18, 0.14) 25%, rgba(3, 7, 18, 0.72) 67%, #050814 90%);
    }

    .hero-inner {
        min-height: 650px;
        padding-top: 190px;
    }

    .hero-copy {
        width: min(100%, 585px);
    }

    .hero h1 {
        font-size: clamp(46px, 10.5vw, 68px);
    }

    .stats-grid {
        width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: 230px;
    }

    .step-card.featured {
        transform: none;
    }

    .drop-card {
        grid-template-columns: 1fr auto;
    }

    .drop-campaign {
        grid-row: 2;
        grid-column: 1;
        padding-left: 62px;
    }

    .drop-action {
        grid-row: 1 / 3;
        grid-column: 2;
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 26px);
    }

    .header-inner {
        min-height: 76px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
    }

    .brand-mark svg {
        width: 34px;
    }

    .brand-copy strong {
        font-size: 21px;
    }

    .brand-copy small {
        font-size: 5.5px;
        letter-spacing: 2.3px;
    }

    .header-trust {
        padding: 6px 9px;
    }

    .header-trust > span:nth-child(2) {
        display: none;
    }

    .trust-avatars i {
        width: 22px;
        height: 22px;
    }

    .network-nav {
        width: 100%;
        gap: 6px;
        margin-top: -10px;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .network-nav::-webkit-scrollbar {
        display: none;
    }

    .network-pill {
        flex: 0 0 auto;
        height: 31px;
        padding: 0 11px;
        font-size: 9px;
    }

    .hero {
        min-height: 1000px;
    }

    .hero-art {
        background-position: 62% top;
    }

    .hero::before {
        background:
            linear-gradient(90deg, rgba(3, 7, 18, 0.74), rgba(3, 7, 18, 0.18)),
            linear-gradient(180deg, rgba(3, 7, 18, 0.04) 18%, rgba(3, 7, 18, 0.83) 58%, #050814 81%);
    }

    .hero-inner {
        min-height: 720px;
        padding-top: 190px;
    }

    .eyebrow {
        font-size: 6.5px;
        letter-spacing: 2.4px;
    }

    .hero h1 {
        max-width: 440px;
        font-size: clamp(42px, 13vw, 58px);
        letter-spacing: -3px;
    }

    .hero-description {
        max-width: 450px;
        font-size: 11px;
    }

    .address-field {
        height: auto;
        align-items: stretch;
        flex-wrap: wrap;
        padding: 5px;
    }

    .address-icon {
        height: 45px;
    }

    .address-field input {
        height: 45px;
        width: calc(100% - 46px);
        flex: auto;
    }

    .scan-button {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 76px;
    }

    .more-divider {
        margin-top: 16px;
    }

    .how-section {
        padding: 76px 0;
    }

    .section-heading h2 {
        font-size: 36px;
        letter-spacing: -1.8px;
    }

    .prototype-note {
        padding: 17px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner > p {
        display: none;
    }

    .scan-modal {
        padding: 8px;
    }

    .scan-dialog {
        max-height: calc(100vh - 16px);
        min-height: 520px;
        border-radius: 16px;
    }

    #scanningView,
    #errorView {
        min-height: 520px;
        padding-inline: 18px;
    }

    .scan-visual {
        width: 174px;
        height: 174px;
    }

    .scanner-beam {
        left: 29px;
    }

    #scanningView h2,
    #errorView h2 {
        font-size: 27px;
    }

    #resultsView {
        min-height: 520px;
        padding: 53px 16px 24px;
    }

    .results-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding-right: 0;
    }

    .results-header h2 {
        font-size: 25px;
    }

    .results-summary {
        width: 100%;
    }

    .results-summary > span {
        min-width: 0;
        flex: 1;
    }

    .preview-banner {
        align-items: flex-start;
        line-height: 1.45;
    }

    .drop-card {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        padding: 15px;
    }

    .drop-campaign {
        padding-left: 62px;
    }

    .drop-action {
        width: 100%;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        padding-left: 62px;
    }

    .token-mint {
        display: none;
    }

    .maintenance-toast {
        right: 13px;
        bottom: 13px;
        left: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   x402 fidelity pass — reference-sized desktop hero and dialogs
   ============================================================ */

html,
body {
    background: #030611;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    height: 78px;
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(2, 5, 15, 0.76), rgba(2, 5, 15, 0.04));
}

.x402-header-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(145px, 1fr) auto minmax(190px, 1fr);
    align-items: center;
    gap: 22px;
}

.x402-brand {
    width: 178px;
    display: block;
    filter: drop-shadow(0 0 13px rgba(124, 72, 255, 0.24));
}

.x402-brand img {
    width: 100%;
    height: auto;
    display: block;
}

.x402-header-inner .network-nav {
    order: initial;
    grid-column: auto;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.x402-header-inner .network-pill {
    min-width: 83px;
    height: 30px;
    justify-content: center;
    padding: 0 12px;
    color: #aeb8d6;
    border-color: rgba(106, 123, 221, 0.4);
    background: rgba(7, 11, 29, 0.56);
    font-size: 9px;
    cursor: pointer;
}

.x402-header-inner .network-pill.is-live {
    color: #d7fff4;
    border-color: rgba(65, 237, 185, 0.62);
    box-shadow: inset 0 0 14px rgba(57, 238, 191, 0.1), 0 0 18px rgba(57, 238, 191, 0.08);
}

.x402-header-inner .network-pill.is-robinhood {
    color: #73f29d;
    border-color: rgba(72, 215, 112, 0.42);
}

.x402-header-inner .network-pill.is-robinhood svg {
    fill: currentColor;
}

.x402-header-inner .x-profile-card {
    justify-self: end;
    min-width: 190px;
    min-height: 42px;
    padding: 5px 11px;
    gap: 8px;
    font-family: var(--font-body);
}

.x402-header-inner .x-profile-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
}

.x402-header-inner .x-profile-icon svg {
    width: 14px;
    height: 14px;
}

.x402-header-inner .x-profile-name {
    font-size: 9px;
}

.x402-header-inner .x-profile-followers {
    font-size: 7px;
}

.hero {
    height: max(576px, 100vh);
    min-height: 576px;
    padding: 0;
    align-items: stretch;
    background: #030611 url("fon/fon2.webp") center center / cover no-repeat;
}

.hero::before {
    z-index: 0;
    display: block;
    inset: 0;
    width: auto;
    height: auto;
    background:
        linear-gradient(90deg, rgba(2, 5, 15, 0.12) 0%, rgba(2, 5, 15, 0.01) 58%, rgba(2, 5, 15, 0.08) 100%),
        linear-gradient(180deg, rgba(2, 5, 15, 0.04) 55%, rgba(2, 5, 15, 0.7) 100%);
    animation: none;
}

.hero::after {
    z-index: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(180deg, transparent, rgba(2, 5, 15, 0.76));
}

.hero-inner {
    z-index: 2;
    min-height: 0;
    padding-top: clamp(108px, 17vh, 145px);
}

.hero-copy {
    width: 520px;
    margin-left: 8.5%;
}

.hero .eyebrow {
    margin-bottom: 11px;
    font-size: 6px;
    letter-spacing: 3px;
}

.hero h1 {
    max-width: 540px;
    font-size: clamp(48px, 5.2vw, 64px);
    line-height: 0.94;
    letter-spacing: -4px;
}

.hero-description {
    max-width: 450px;
    margin: 15px 0 18px;
    color: #a9b2ca;
    font-size: 11px;
    line-height: 1.55;
}

.wallet-form {
    width: 480px;
}

.address-field {
    height: 48px;
    border-radius: 8px;
}

.address-icon {
    flex-basis: 39px;
}

.address-icon svg {
    width: 16px;
}

.address-field input {
    font-size: 9px;
}

.scan-button {
    height: 38px;
    padding: 0 16px;
    border-radius: 7px;
    font-size: 10px;
}

.scan-button svg {
    width: 15px;
}

.form-message {
    min-height: 12px;
    margin-top: 4px;
    font-size: 8px;
}

.hero-actions {
    gap: 110px;
    margin-top: 1px;
}

.how-link {
    height: 29px;
    flex: 0 0 auto;
    color: #c8cfe0;
    background: rgba(6, 10, 24, 0.45);
    font-size: 8px;
    cursor: pointer;
}

.privacy-note strong {
    font-size: 8px;
}

.privacy-note small {
    font-size: 7px;
}

.privacy-note > svg {
    width: 16px;
}

.stats-wrap {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 20px;
    left: 0;
    padding: 0;
}

.stats-grid {
    width: 590px;
    gap: 9px;
}

.stat-card {
    min-height: 75px;
    gap: 11px;
    padding: 15px 13px;
    border-radius: 7px;
}

.stat-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
}

.stat-icon svg {
    width: 18px;
}

.stat-card strong {
    font-size: 13px;
}

.stat-card span {
    font-size: 7px;
}

.spark {
    width: 72px;
    height: 18px;
}

.more-divider {
    margin-top: 15px;
    font-size: 5px;
}

.hero-side-note {
    bottom: 165px;
}

.note-left {
    left: -12px;
}

.note-right {
    right: -17px;
}

/* Exact old intro/loading structure, rebranded only */
.x-brand-logo,
.loading-brand-mark {
    width: 220px;
    height: 120px;
    border-radius: 0;
}

.x-logo {
    display: block;
    margin-inline: auto;
}

.x-brand-logo img,
.loading-brand-mark img {
    border-radius: 0;
}

.x-brand-logo::before,
.loading-brand-mark::before {
    inset: 20% 14%;
}

.loading-title {
    font-family: var(--font-display);
    background: linear-gradient(100deg, #68f0d0, #6f8cff 55%, #a762ff);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Scanner from reference image 2 */
.scan-modal {
    padding: 14px;
}

.scan-dialog {
    width: min(620px, calc(100vw - 28px));
    min-height: 0;
    max-height: calc(100vh - 28px);
    border-radius: 12px;
    border-color: rgba(84, 133, 211, 0.52);
    background:
        radial-gradient(circle at 50% -12%, rgba(55, 106, 213, 0.22), transparent 330px),
        linear-gradient(145deg, rgba(11, 22, 48, 0.99), rgba(7, 13, 31, 0.99));
}

.scan-dialog::before {
    opacity: 0.22;
    background-size: 38px 38px;
}

.modal-x {
    top: 12px;
    left: calc(100% - 40px);
    width: 28px;
    height: 28px;
    margin-bottom: -28px;
}

.modal-x svg {
    width: 14px;
}

#scanningView {
    min-height: 514px;
    padding: 17px 30px 14px;
}

.scan-orbit {
    position: relative;
    width: 184px;
    height: 150px;
    flex: 0 0 auto;
    margin-bottom: 1px;
}

.orbit-line {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(89, 150, 255, 0.34);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-a {
    width: 72px;
    height: 72px;
    border-top-color: #61c9ff;
    animation: spin 5s linear infinite;
}

.orbit-b {
    width: 112px;
    height: 112px;
    border-right-color: #8c6dff;
    border-left-style: dashed;
    animation: spinReverse 8s linear infinite;
}

.orbit-c {
    width: 155px;
    height: 130px;
    border-color: rgba(85, 119, 219, 0.18);
    border-top-style: dashed;
    animation: spin 13s linear infinite;
}

.orbit-core {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(116, 130, 255, 0.7);
    border-radius: 50%;
    background: radial-gradient(circle, #29316e, #101738 68%);
    box-shadow: 0 0 24px rgba(93, 104, 255, 0.5), inset 0 0 15px rgba(90, 229, 255, 0.12);
    transform: translate(-50%, -50%);
}

.orbit-core img {
    width: 48px;
    height: auto;
}

.orbit-node {
    position: absolute;
    z-index: 4;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(126, 159, 245, 0.48);
    border-radius: 50%;
    background: #111a38;
    box-shadow: 0 0 15px rgba(90, 143, 255, 0.3);
}

.node-sol {
    top: 35px;
    right: 12px;
    gap: 2px;
    padding: 7px;
}

.node-sol i {
    width: 13px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #61ffd4, #8f67ff);
    transform: skewX(-24deg);
}

.node-drop {
    top: 18px;
    left: 18px;
    color: #a9b4ff;
    font-size: 11px;
}

#scanningView .modal-eyebrow {
    margin-bottom: 3px;
    font-size: 5px;
    letter-spacing: 2.5px;
}

#scanningView h2 {
    font-size: 25px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.scan-description {
    margin: 4px 0 6px;
    color: #8b97b3;
    font-size: 7px;
}

.scan-address-chip {
    height: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 220px;
    margin-bottom: 10px;
    padding: 0 9px;
    color: #aeb9d4;
    border: 1px solid rgba(107, 132, 198, 0.22);
    border-radius: 999px;
    outline: 0;
    background: rgba(30, 40, 74, 0.76);
    font: 6px/1 monospace;
    cursor: pointer;
}

.scan-address-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scan-address-chip svg {
    width: 10px;
    flex: 0 0 10px;
    fill: none;
    stroke: #8c9cc2;
    stroke-width: 1.5;
}

.scan-progress-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
}

.scan-progress-row .progress-track {
    width: auto;
    height: 5px;
    flex: 1;
}

.scan-progress-row > strong {
    width: 28px;
    color: #8ab6ff;
    font-size: 8px;
    text-align: right;
}

.scan-stage-list {
    width: 100%;
    align-items: center;
    margin: 9px 0 10px;
}

.scan-stage-list span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #636f8a;
    font-size: 6px;
}

.scan-stage-list span i {
    width: 13px;
    height: 13px;
    display: grid;
    place-items: center;
    border: 1px solid #55617a;
    border-radius: 50%;
    color: transparent;
    font-size: 7px;
    font-style: normal;
}

.scan-stage-list span.is-current,
.scan-stage-list span.is-complete {
    color: #d9e2f4;
}

.scan-stage-list span.is-current i,
.scan-stage-list span.is-complete i {
    color: #67e8df;
    border-color: #4fe3d6;
    box-shadow: 0 0 8px rgba(74, 228, 214, 0.26);
}

.scan-stage-list b {
    height: 1px;
    flex: 1;
    margin: 0 8px;
    background: linear-gradient(90deg, rgba(69, 225, 218, 0.5), rgba(98, 91, 220, 0.55));
}

.scan-panels {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 9px;
}

.activity-panel,
.summary-panel {
    min-height: 130px;
    padding: 10px 12px;
    border: 1px solid rgba(103, 131, 191, 0.2);
    border-radius: 8px;
    background: rgba(10, 18, 38, 0.68);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.activity-panel h3,
.summary-panel h3 {
    margin: 0 0 8px;
    color: #d6def0;
    font: 600 7px/1 var(--font-body);
}

.activity-panel h3 i {
    width: 5px;
    height: 5px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 50%;
    background: #4eedad;
    box-shadow: 0 0 7px #4eedad;
}

.activity-panel ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.activity-panel li {
    display: grid;
    grid-template-columns: 15px 1fr auto 10px;
    align-items: center;
    color: #a6b0c8;
    font-size: 6px;
}

.activity-panel li > span {
    color: #8d9bbd;
    font-size: 9px;
}

.activity-panel li em {
    color: #65718b;
    font-size: 5.5px;
    font-style: normal;
}

.activity-panel li b {
    width: 8px;
    height: 8px;
    display: grid;
    margin-left: 4px;
    place-items: center;
    color: transparent;
    border: 1px dashed #697693;
    border-radius: 50%;
    font-size: 5px;
}

.activity-panel li.is-complete em {
    color: #4adfa7;
}

.activity-panel li.is-complete b {
    color: #07182a;
    border-style: solid;
    border-color: #4ee5a8;
    background: #4ee5a8;
}

.activity-panel li.is-current em {
    color: #71aaff;
}

.activity-panel li.is-current b {
    border-color: #7887ff;
    animation: spin 1.2s linear infinite;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.summary-grid > div {
    position: relative;
    height: 48px;
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    padding: 6px 8px;
    border: 1px solid rgba(109, 128, 190, 0.13);
    border-radius: 6px;
    background: rgba(27, 38, 73, 0.54);
}

.summary-grid > div > span {
    grid-row: 1 / 3;
    color: #8ab9ff;
    font-size: 13px;
}

.summary-grid small {
    align-self: end;
    color: #73809d;
    font-size: 5px;
}

.summary-grid strong {
    align-self: start;
    color: #f0f4ff;
    font-size: 8px;
}

.summary-grid strong.read-only {
    color: #4ce3a4;
}

.scan-network {
    height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 0 12px;
    color: #b8c3db;
    border: 1px solid rgba(111, 134, 195, 0.2);
    border-radius: 999px;
    background: rgba(15, 24, 49, 0.76);
    font-size: 6px;
}

.scan-network .solana-logo {
    width: 14px;
}

.scan-network b {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4fe1a4;
    box-shadow: 0 0 7px #4fe1a4;
}

.scan-safe-note {
    margin: 7px 0 0;
    color: #61708e;
    font-size: 5.5px;
}

/* Results from reference image 3 */
.scan-modal.is-results .scan-dialog {
    width: min(920px, calc(100vw - 40px));
}

#resultsView {
    min-height: 520px;
    padding: 42px 42px 34px;
}

.results-header {
    align-items: flex-start;
    margin-bottom: 20px;
    padding-right: 25px;
}

.results-header h2 {
    font-size: 27px;
}

.results-header > div:first-child > p:last-child {
    font-size: 7px;
}

.results-summary > span {
    min-width: 108px;
    padding: 11px 14px;
}

.results-summary strong {
    font-size: 17px;
}

.preview-banner {
    min-height: 34px;
    margin-bottom: 16px;
    border-radius: 6px;
}

.drop-results {
    gap: 12px;
}

.drop-card {
    min-height: 94px;
    grid-template-columns: minmax(210px, 1.5fr) minmax(175px, 1.2fr) minmax(120px, 0.75fr) 138px;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 11px;
}

.drop-card.is-active {
    border-color: #48dff0;
    box-shadow: 0 0 20px rgba(38, 208, 236, 0.2), inset 0 0 28px rgba(43, 187, 222, 0.05);
}

.drop-asset {
    grid-column: 1;
    padding-right: 16px;
    border-right: 1px solid rgba(103, 126, 180, 0.16);
}

.token-image {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-width: 2px;
}

.drop-asset-copy h3 {
    font-size: 17px;
}

.drop-asset-copy h3 span {
    display: none;
}

.token-network {
    width: fit-content;
    height: 23px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    padding: 0 10px;
    color: #a8b6d1;
    border: 1px solid rgba(105, 131, 196, 0.18);
    border-radius: 999px;
    background: rgba(23, 38, 69, 0.7);
    font-size: 7px;
}

.token-network .solana-logo {
    width: 13px;
}

.drop-status {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.drop-status small {
    color: #8b96ad;
    font-size: 8px;
}

.drop-card.is-active .status-badge {
    padding: 7px 15px;
    color: #64ebc4;
    font-size: 8px;
}

.drop-value {
    grid-column: 3;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.drop-value strong {
    font: 600 20px/1 var(--font-display);
}

.drop-value small {
    margin-top: 6px;
    color: #6f7b95;
    font-size: 7px;
}

.drop-action {
    grid-column: 4;
    min-width: 0;
    align-items: stretch;
}

.project-link {
    height: 42px;
    justify-content: center;
    color: white;
    border: 1px solid rgba(117, 233, 255, 0.65);
    border-radius: 9px;
    background: linear-gradient(110deg, #497cf4, #7548ff);
    box-shadow: 0 0 18px rgba(76, 108, 255, 0.3), inset 0 1px rgba(255, 255, 255, 0.34);
    font-size: 9px;
}

.project-link.is-disabled {
    color: #5f6880;
    border-color: rgba(103, 119, 155, 0.14);
    background: rgba(75, 88, 118, 0.07);
    box-shadow: none;
}

.token-mint {
    display: none;
}

#errorView {
    min-height: 514px;
}

@media (max-width: 1100px) {
    .x402-header-inner {
        grid-template-columns: 150px auto 180px;
        gap: 12px;
    }

    .x402-brand {
        width: 145px;
    }

    .x402-header-inner .network-pill {
        min-width: 76px;
        padding-inline: 9px;
    }

    .x402-header-inner .x-profile-card {
        min-width: 175px;
    }
}

@media (max-width: 820px) {
    .site-header {
        height: auto;
        min-height: 72px;
        background: rgba(2, 5, 15, 0.7);
        backdrop-filter: blur(9px);
    }

    .x402-header-inner {
        min-height: 72px;
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr) 142px;
        gap: 6px;
    }

    .x402-brand {
        width: 102px;
    }

    .x402-header-inner .x-profile-card {
        min-width: 138px;
        width: 138px;
        padding-inline: 7px;
        gap: 5px;
    }

    .x402-header-inner .network-nav {
        grid-column: auto;
        width: 100%;
        justify-content: center;
        gap: 3px;
        overflow: visible;
        padding-bottom: 0;
        scrollbar-width: none;
    }

    .x402-header-inner .network-pill {
        min-width: 0;
        height: 26px;
        padding-inline: 5px;
        gap: 4px;
        font-size: 6px;
    }

    .x402-header-inner .network-pill svg,
    .x402-header-inner .network-pill .solana-logo,
    .x402-header-inner .network-pill .base-symbol {
        width: 12px;
        height: 12px;
    }

    .hero {
        height: auto;
        min-height: 780px;
        background-position: 60% center;
    }

    .hero::before {
        background:
            linear-gradient(90deg, rgba(2, 5, 15, 0.62), rgba(2, 5, 15, 0.1)),
            linear-gradient(180deg, transparent 35%, rgba(2, 5, 15, 0.78) 72%, #030611 100%);
    }

    .hero-inner {
        padding-top: 150px;
    }

    .hero-copy {
        width: min(100%, 520px);
        margin-left: 0;
    }

    .stats-wrap {
        position: relative;
        bottom: auto;
        margin-top: 35px;
        padding-bottom: 20px;
    }

    .stats-grid {
        width: 100%;
    }

    .hero-side-note {
        display: none;
    }
}

@media (max-width: 680px) {
    .x-verification-content {
        padding-inline: 18px;
    }

    .x-brand-logo,
    .loading-brand-mark {
        width: 180px;
        height: 90px;
    }

    .x402-header-inner .x-profile-copy {
        display: flex;
    }

    .hero {
        height: max(680px, 100vh);
        min-height: 680px;
        background-position: 61% top;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .wallet-form {
        width: 100%;
    }

    .address-field {
        height: 48px;
        flex-wrap: nowrap;
        padding: 4px;
    }

    .address-field input {
        min-width: 0;
    }

    .scan-button {
        width: auto;
        flex: 0 0 auto;
        padding-inline: 13px;
    }

    .hero-actions {
        gap: 18px;
    }

    .stats-wrap {
        position: absolute;
        bottom: 18px;
        margin-top: 0;
        padding-bottom: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stat-card {
        gap: 7px;
        padding-inline: 9px;
    }

    .spark {
        display: none;
    }

    #scanningView {
        min-height: 514px;
        padding: 25px 15px 18px;
    }

    .scan-orbit {
        width: 165px;
        height: 138px;
    }

    .scan-panels {
        grid-template-columns: 1.1fr 1fr;
    }

    .activity-panel,
    .summary-panel {
        min-height: 122px;
    }

    .scan-stage-list b {
        margin-inline: 3px;
    }

    .scan-stage-list span {
        font-size: 5px;
    }

    #resultsView {
        padding: 38px 15px 22px;
    }

    .results-header {
        align-items: flex-start;
        flex-direction: row;
        gap: 12px;
    }

    .results-header h2 {
        font-size: 21px;
    }

    .results-summary {
        width: auto;
        grid-template-columns: repeat(2, minmax(82px, 1fr));
    }

    .results-summary > span {
        min-width: 0;
        padding: 9px 10px;
    }

    .drop-card {
        display: grid;
        min-height: 88px;
        grid-template-columns: minmax(130px, 1.4fr) minmax(105px, 1fr) minmax(85px, 0.75fr) 105px;
        gap: 8px;
        padding: 13px 12px;
    }

    .drop-asset {
        grid-column: 1;
        padding-right: 8px;
        border-right: 1px solid rgba(103, 126, 180, 0.16);
    }

    .token-image {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .drop-asset-copy h3 {
        font-size: 13px;
    }

    .drop-card.is-active .status-badge {
        padding-inline: 10px;
    }

    .drop-value strong {
        font-size: 15px;
    }

    .drop-status,
    .drop-value {
        justify-content: flex-start;
    }

    .drop-action {
        grid-column: 4;
        padding: 0;
    }
}

@media (max-width: 540px) {
    .x402-header-inner {
        grid-template-columns: 1fr auto;
    }

    .x402-header-inner .network-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 9px;
    }

    .x402-header-inner .network-pill {
        min-width: 77px;
    }

    .hero {
        height: auto;
        min-height: 940px;
    }

    .stats-wrap {
        position: relative;
        bottom: auto;
        margin-top: 35px;
        padding-bottom: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
    }

    #scanningView {
        min-height: 600px;
    }

    .scan-panels {
        grid-template-columns: 1fr;
    }

    .results-summary {
        width: 100%;
    }

    .drop-card {
        grid-template-columns: 1fr 1fr;
        gap: 13px;
    }

    .drop-asset {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .drop-status {
        grid-column: 1;
    }

    .drop-value {
        grid-column: 2;
    }

    .drop-action {
        grid-column: 1 / -1;
    }
}
