/* Design tokens mirrored from solana.com */
:root {
    --bg: #000;
    --surface: rgba(236, 228, 253, 0.12);
    --surface-solid: #1d1c22;
    --border: rgba(236, 228, 253, 0.12);
    --border-strong: rgba(236, 228, 253, 0.2);
    --text: #fafafa;
    --text-2: #848895;
    --lilac: #e4dbfb;
    --green: #14f195;
    --mint: #00ffbd;
    --purple: #9945ff;
    --amber: #e6ab09;
    --red: #e5484d;
    --orange: #ff8a3d;
    --yellow: #f5d90a;

    --sans: "Geist", "Diatype", Helvetica, Arial, system-ui, sans-serif;
    --mono: "Geist Mono", "DSemi", ui-monospace, Menlo, Consolas, monospace;

    --radius: 12px;
    --pad-x: 20px;
}

@media (min-width: 768px) {
    :root {
        --pad-x: 32px;
    }
}

@media (min-width: 1280px) {
    :root {
        --pad-x: 40px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 1280px) {
    body {
        font-size: 21px;
    }
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
p,
ul,
figure {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

b {
    font-weight: 500;
    color: var(--mint);
}

.mono {
    font-family: var(--mono);
}

.light {
    font-weight: 300;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--text);
    color: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
}

.skip:focus {
    top: 1rem;
}

:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 3px;
}

.container {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

/* Type scale */

.h1 {
    font-size: clamp(44px, 6.1vw, 88px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
}

.h2 {
    font-size: clamp(34px, 4.45vw, 64px);
    font-weight: 500;
    line-height: 1.125;
    letter-spacing: -0.04em;
}

.h3 {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.lede {
    margin-top: 1.5rem;
    max-width: 36rem;
    color: var(--text-2);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 9999px;
    font: 500 18px/1.33 var(--sans);
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn--primary {
    background: #fff;
    color: #000;
    padding: 0 8px 0 20px;
}

.btn--primary:hover {
    background: var(--lilac);
}

.btn--outline {
    border-color: var(--border-strong);
    color: var(--text);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--text);
}

.btn--sm {
    min-height: 40px;
    font-size: 16px;
    padding: 0 18px;
}

.btn__arrow {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 14px;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    height: 56px;
    padding-inline: 24px;
    max-width: none;
}

.header__links {
    display: flex;
    gap: 2rem;
    font-size: 16px;
}

.header__links a {
    color: rgba(255, 255, 255, 0.8);
}

.header__links a:hover {
    color: #fff;
}

.header__cta {
    margin-left: auto;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100svh - 56px);
    display: flex;
    align-items: center;
    padding-block: 120px 40px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
}

.hero__plug {
    position: absolute;
    right: -4%;
    top: 0;
    width: 62%;
    height: 85%;
    object-fit: cover;
    object-position: 75% 40%;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
    mask-image: radial-gradient(closest-side, #000 55%, transparent);
}

.hero__inner {
    position: relative;
    width: 100%;
}

.hero__lede {
    margin: 32px 0 48px;
    max-width: 30rem;
    color: rgba(255, 255, 255, 0.7);
}

.promo {
    display: flex;
    align-items: center;
    gap: 20px;
    width: min(100%, 504px);
    margin-top: 64px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--lilac);
    color: #000;
}

.promo__img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    background: #000;
}

.promo__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.promo__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.promo__pill {
    background: #000;
    color: #fff;
    border-radius: 9999px;
    padding: 6px 16px;
    font-size: 16px;
}

/* Logo strip */

.logos {
    border-bottom: 1px solid var(--border);
}

.logos__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px 36px;
    padding-block: 48px;
}

.logos__list img {
    height: 30px;
    width: auto;
}

/* The Three Dicks Capital artwork has a tiny wordmark inside a wide canvas */
img[src*="Three"] {
    height: 52px !important;
}

.logos__word {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #fff;
    white-space: nowrap;
}

.logos__word.mono {
    font-size: 20px;
    letter-spacing: 0;
}

.logos__word {
    display: inline-flex;
    align-items: center;
}

.logos__mark,
.logos__emoji {
    margin-right: 8px;
}

.logos__mark {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logos__emoji {
    font-size: 24px;
    letter-spacing: 0;
}

.logos__frozen {
    color: #7fd8ff;
    text-shadow: 0 0 14px rgba(127, 216, 255, 0.45);
}

/* Sections */

.section {
    padding-block: 80px;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 1280px) {
    .section {
        padding-block: 112px;
    }
}

.section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 56px;
}

/* How to get $ANAL (Gachapad machine) */

.spin__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .spin__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 80px;
    }
}

.spin__coin {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(153, 69, 255, 0.35), rgba(20, 241, 149, 0.08) 55%, transparent 70%);
}

.spin__coin .token {
    width: 62%;
}

.spin__steps {
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}

.spin__steps li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.spin__n {
    padding-top: 6px;
    font-size: 14px;
    color: var(--mint);
}

.spin__steps h3 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.spin__steps p {
    color: var(--text-2);
    font-size: 18px;
}

.split {
    margin-bottom: 40px;
}

.split__bar {
    display: flex;
    gap: 3px;
    height: 14px;
}

.split__bar span {
    width: var(--w);
    border-radius: 3px;
}

.split__bar span:nth-child(1),
.split__legend li:nth-child(1) i { background: var(--purple); }
.split__bar span:nth-child(2),
.split__legend li:nth-child(2) i { background: var(--green); }
.split__bar span:nth-child(3),
.split__legend li:nth-child(3) i { background: var(--lilac); }
.split__legend li:nth-child(4) i { background: transparent; border: 1px solid var(--text-2); }

.split__legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    color: var(--text-2);
}

.split__legend li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.split__legend i {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.split__legend b {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 600px) {
    .spin__coin {
        max-width: 260px;
        margin-inline: auto;
    }

    .split__legend {
        grid-template-columns: 1fr;
    }
}

/* Fastest + live counters */

.fastest {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
}

@media (min-width: 1024px) {
    .fastest {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    }
}

/* $ANAL token (ring mark from the logo) */

.token {
    width: 100%;
    height: auto;
}

.token--spin {
    animation: token-spin 9s linear infinite;
}

@keyframes token-spin {
    to {
        transform: rotate(360deg);
    }
}

.token--inline {
    display: inline-block;
    width: 1.05em;
    margin-right: 0.25em;
    vertical-align: -0.15em;
}

.nowrap {
    white-space: nowrap;
}

.promo__img {
    display: grid;
    place-items: center;
    padding: 18px;
}

/* Genesis Plug */

.genesis {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.genesis__kicker {
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--text-2);
    margin-bottom: 20px;
}

.genesis__stage {
    position: relative;
    margin: 56px auto 0;
    max-width: 1200px;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 55%, transparent 100%);
}

.genesis__stage {
    background: radial-gradient(ellipse 45% 55% at 50% 50%, rgba(123, 44, 255, 0.45), rgba(95, 224, 255, 0.08) 55%, transparent 75%);
    cursor: grab;
    touch-action: pan-y;
}

.genesis__stage:active {
    cursor: grabbing;
}

.genesis__stage canvas,
.genesis__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.genesis__fallback {
    object-fit: cover;
    object-position: 65% 50%;
}

.genesis__stage.is-3d .genesis__fallback {
    display: none;
}

.genesis__stamp {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%) rotate(-6deg);
    padding: 0.35em 0.6em;
    border: 3px solid #fff;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.82);
    font-size: clamp(26px, 4.6vw, 68px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.genesis__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.genesis__features li {
    padding: 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.genesis__n {
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--mint);
}

.genesis__features h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.genesis__features p {
    color: var(--text-2);
    font-size: 18px;
}

.genesis__wink {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-2);
}

.genesis__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 64px;
}

/* Manifasshole */

.manifesto {
    padding-bottom: 0;
}

.manifesto__count {
    font-size: 18px;
    color: var(--text-2);
    white-space: nowrap;
}

.manifesto__count span {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    margin-right: 6px;
}

.manifesto__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
}

@media (min-width: 1024px) {
    .manifesto__grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
        gap: 80px;
    }
}

.articles {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}

.articles li {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.articles__n {
    padding-top: 8px;
    font-size: 14px;
    color: var(--text-2);
}

.articles p {
    font-size: clamp(22px, 2.3vw, 32px);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.articles__final p {
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 300;
    line-height: 1.1;
}

.articles__final strong {
    font-weight: 600;
}

mark {
    background: var(--green);
    color: #000;
    padding: 0 0.15em;
    border-radius: 3px;
}

del {
    color: var(--text-2);
    text-decoration-color: var(--red);
    text-decoration-thickness: 3px;
}

.sign {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .sign {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}

.sign__kwon {
    align-self: flex-start;
    padding: 10px 10px 14px;
    background: #fff;
    color: #000;
    border-radius: 4px;
    transform: rotate(-4deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.sign__kwon img {
    width: 240px;
}

.sign__kwon figcaption {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
}

.tweet {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: #0b0a0e;
}

.tweet__head {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.tweet__head .token {
    width: 44px;
}

.tweet__head span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.tweet__handle {
    color: var(--text-2);
}

.tweet__text {
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.tweet__tag {
    color: var(--mint);
}

.tweet__meta {
    font-size: 13px;
    color: var(--text-2);
}

.stickers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sticker {
    padding: 8px 14px;
    border-radius: 9999px;
    font: 600 14px/1 var(--mono);
    color: #000;
}

.sticker--green { background: var(--green); transform: rotate(-3deg); }
.sticker--lilac { background: var(--lilac); transform: rotate(4deg); }
.sticker--amber { background: var(--amber); transform: rotate(-1.5deg); }

.signers {
    margin-top: 96px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.signers__track {
    display: flex;
    gap: 48px;
    width: max-content;
    padding: 22px 0;
    font-size: 15px;
    color: var(--text-2);
    animation: marquee 40s linear infinite;
}

.signers__track li::before {
    content: "✍ ";
    color: var(--mint);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Founder: free the founder */

.redact {
    background: #fff;
    color: transparent;
    border-radius: 2px;
    user-select: none;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.founder__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
}

@media (min-width: 1024px) {
    .founder__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 64px;
        align-items: start;
    }
}

.mugshot {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(160deg, #2a1208 0%, #c94a22 60%, #ff6a3d 100%);
}

.founder__aside {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    /* Title + mugshot stay put while the donation column scrolls */
    .founder__aside {
        position: sticky;
        top: 88px;
    }

    .founder .mugshot {
        aspect-ratio: auto;
        height: clamp(280px, calc(100svh - 500px), 400px);
    }

    .founder .founder__body {
        gap: 64px;
    }
}

.mugshot__chart {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 3.75%);
}

.mugshot__chart span {
    position: absolute;
    left: 20px;
    top: var(--h);
    width: calc(100% - 40px);
    padding-top: 4px;
    border-top: 2px solid rgba(255, 255, 255, 0.55);
    font: 500 14px/1 var(--mono);
    color: rgba(255, 255, 255, 0.75);
}

.mugshot img {
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 94%;
    width: auto;
    max-width: none;
    transform: translateX(-40%);
}

.mugshot__plate {
    position: absolute;
    left: 20px;
    bottom: 20px;
    transform: rotate(-1.5deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background: #000;
    border: 1px solid #fff;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-align: center;
}

.mugshot__plate strong {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.founder__body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.founder__lede {
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.charges__title {
    margin-bottom: -24px;
    font-size: 18px;
    font-weight: 500;
}

.charges {
    border-top: 1px solid var(--border);
}

.charges li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 19px;
    font-weight: 500;
}

.charges__n {
    padding-top: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--red);
}

.bail__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-2);
    font-size: 18px;
}

.bail__row strong {
    color: #fff;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 500;
}

.bail__bar {
    height: 10px;
    margin-top: 14px;
    border-radius: 9999px;
    background: var(--surface);
    overflow: hidden;
}

.bail__bar span {
    display: block;
    width: 0.6%;
    min-width: 6px;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--purple), var(--green));
}

.bail__note {
    margin-top: 12px;
    font-size: 16px;
    color: var(--text-2);
}

.tiers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
}

.tiers legend {
    margin-bottom: 14px;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
}

.tiers label {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.tiers label:hover {
    background: rgba(236, 228, 253, 0.18);
}

.tiers input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tiers label:has(input:checked) {
    background: #fff;
    color: #000;
}

.tiers label:has(input:focus-visible) {
    outline: 2px solid var(--mint);
    outline-offset: 3px;
}

.tiers__amt {
    font-size: 18px;
    font-weight: 500;
}

.tiers__what {
    font-size: 16px;
    opacity: 0.7;
}

.wallet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: #0b0a0e;
}

.wallet img {
    width: 140px;
    border-radius: 6px;
    background: #fff;
}

.wallet__info {
    flex: 1 1 16rem;
    min-width: 0;
}

.wallet__label {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--text-2);
}

.wallet__addr {
    margin: 8px 0 18px;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.wallet__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.founder__fine {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-2);
}

@media (max-width: 600px) {
    .tiers {
        grid-template-columns: 1fr;
    }

    .charges li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .mugshot__plate {
        left: 12px;
        bottom: 12px;
        padding: 8px 12px;
        font-size: 8px;
    }

    .mugshot__plate strong {
        font-size: 13px;
    }
}

/* Community / Ambassadors */

.community {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: var(--radius);
    background: #0b0a0e;
}

@media (max-width: 767px) {
    .community {
        padding: 24px 16px;
    }
}

.community__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.9;
}

.community__head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

@media (min-width: 1024px) {
    .community__head {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
}

.community__intro {
    align-self: start;
    padding-left: 24px;
    border-left: 1px solid transparent;
    border-image: linear-gradient(var(--purple), var(--green)) 1;
}

.community__status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--mint);
}

.community__status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(0, 255, 189, 0.18);
}

.community__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 4px;
}

.community__grid a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    height: 100%;
    padding: 32px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background-color 0.2s;
}

.community__grid a:hover {
    background: rgba(236, 228, 253, 0.18);
}

.icon {
    width: 36px;
    height: 36px;
    margin-bottom: 42px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.community__title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.community__text {
    font-size: 18px;
    color: var(--text-2);
}

/* Footer */

.footer {
    padding-top: 80px;
    overflow: hidden;
}

.footer .container {
    padding-inline: max(var(--pad-x), 72px);
}

@media (max-width: 767px) {
    .footer .container {
        padding-inline: var(--pad-x);
    }
}

.footer__top {
    padding-bottom: 64px;
    border-bottom: 1px solid var(--border);
}

.footer__top img {
    width: 170px;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    padding-block: 72px;
    border-bottom: 1px solid var(--border);
}

.footer__heading {
    margin-bottom: 32px;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--text-2);
}

.footer__cols li {
    font-size: 16px;
}

.footer__cols li + li {
    margin-top: 14px;
}

.footer__cols a:hover {
    color: var(--mint);
}

.footer__off {
    color: var(--text-2);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    padding-top: 32px;
}

.footer__legal {
    max-width: 70ch;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-2);
}

.socials {
    display: flex;
    gap: 20px;
}

.socials svg {
    width: 20px;
    height: 20px;
    fill: var(--text-2);
}

.socials a:hover svg {
    fill: #fff;
}

.footer__copy {
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-2);
}

/* Dome of plugs from the original "Backed by the best" banner */
.footer__dome {
    position: relative;
    margin-top: 64px;
    height: clamp(240px, 29.5vw, 640px);
    overflow: hidden;
}

.footer__dome img:first-child {
    position: absolute;
    top: 0;
    left: 50%;
    width: max(100%, 820px);
    max-width: none;
    transform: translateX(-50%);
}

.footer__dome-logo {
    position: absolute;
    left: 50%;
    top: 58%;
    width: clamp(160px, 26vw, 380px);
    transform: translate(-50%, -50%);
}

/* Plug cluster strip between sections (original site asset) */
.plugs {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

/* Big Gachapad CTA floating over the plug cluster */
.plugs__cta {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.plugs__cta:hover {
    transform: translate(-50%, -50%) scale(1.04);
}

.btn--xl {
    min-height: 84px;
    gap: 16px;
    padding: 0 14px 0 18px;
    font-size: clamp(20px, 2vw, 28px);
    letter-spacing: -0.02em;
}

.btn--xl .token {
    width: 52px;
    flex-shrink: 0;
}

.btn--xl .btn__arrow {
    width: 56px;
    height: 56px;
    font-size: 22px;
}

@media (max-width: 600px) {
    .btn--xl {
        min-height: 54px;
        gap: 8px;
        padding: 0 7px 0 9px;
        font-size: 16px;
    }

    .btn--xl .token {
        width: 30px;
    }

    .btn--xl .btn__arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

.plugs > img {
    width: 100%;
    min-width: 760px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Small screens */

@media (max-width: 900px) {
    .header nav {
        display: none;
    }

    .header__inner {
        padding-inline: var(--pad-x);
    }

    .hero {
        min-height: 0;
        padding-top: 72px;
    }

    .hero__plug {
        width: 110%;
        height: 60%;
        right: -30%;
        opacity: 0.6;
    }

    .section__head {
        flex-direction: column;
        align-items: flex-start;
    }


}

@media (max-width: 600px) {
    .articles li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .articles__n {
        padding-top: 0;
    }

    .genesis__stage {
        aspect-ratio: 4 / 3.4;
        margin-top: 32px;
    }

    .genesis__stamp {
        font-size: 22px;
        border-width: 2px;
    }


    .promo__img {
        width: 88px;
        height: 88px;
    }

    .promo__title {
        font-size: 17px;
    }


}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Mobile fixes */
@media (max-width: 600px) {
    .footer__cols a,
    .footer__cols .footer__off {
        display: inline-block;
        padding: 8px 0;
    }

    .footer__cols li + li {
        margin-top: 2px;
    }

    .socials a {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
    }


    .mugshot__plate {
        font-size: 9px;
    }

    .spin__coin {
        max-width: 200px;
    }

    .spin__grid {
        gap: 24px;
    }
}
