@font-face {
    font-family: "BBH Sans Bartle";
    src: url("assets/fonts/BBH Sans Bartle.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Orbitron";
    src: url(assets/fonts/Orbitron.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Beleren";
    src: url(assets/fonts/Beleren2016-Bold.woff) format("woff")
}

:root {
    --background-color: hsla(230, 55%, 4%, 1);
    --background-color-section2: #fff;
    --line-color: hsla(230, 25%, 15%, 0.75);
    --dot-color: hsla(230, 25%, 90%, 1);
    --text-color-top: hsla(240, 60%, 90%, 1);
    --text-color-bottom: hsla(240, 60%, 95%, 1);
    --text-color-circle: hsla(240, 60%, 95%, 1);
    --text-shadow-color: #ffffff66;
    --svg-color: #000;
    font-family: "Instrument Sans", sans-serif;
    --pharaoh-color-main: #d03a2c;
    --pharaoh-color-light: #ff9999;
    --ramses-color-main: #9efcfd;
    --ramses-color-light: #d4fbfc;
    --spookyswap-color-main: #d59efd;
    --spookyswap-color-light: #e9d4fc;
    --nile-color-main: #c8ff00;
    --nile-color-light: #e6ff66;
    --abacus-color-main: #9efcfd;
    --abacus-color-light: #d4fbfc;
    --mclb-color-main: #aaccff;
    --mclb-color-light: #bfc9ff;
    --x: 50%;
    --y: 50%;
    --sprite-image-1: url("assets/sprit-01.avif");
    --sprite-image-2: url("assets/sprit-02.avif");
    --sprite-image-3: url("assets/sprit-03.avif");
    --spring-easing: linear(0, 0.024, 0.068 1%, 0.22 2.2%, 0.968 6.1%, 1.221 7.7%, 1.314, 1.383, 1.426 10%, 1.438, 1.445, 1.447, 1.445 11.4%, 1.432, 1.405, 1.365 13.4%, 1.272 14.6%, 1.004 17.7%, 0.892 19.3%, 0.855, 0.828, 0.811, 0.802, 0.802, 0.808, 0.819, 0.837 24.8%, 0.879 26.1%, 0.998 29.1%, 1.048 30.8%, 1.076 32.2%, 1.084, 1.088 33.6%, 1.086, 1.077, 1.059 37.2%, 1.006 40.3%, 0.984 41.7%, 0.968 43.4%, 0.963, 0.961 45%, 0.962, 0.966 47.3%, 1.007 53.2%, 1.014, 1.017 56.4%, 1.015 58.8%, 0.997 64.6%, 0.992 67.8%, 0.993 70.2%, 1.001 75.9%, 1.003 78.9%, 0.999 90.2%, 1);

}

body {
    font-family: "Instrument Sans", sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: var(--background-color);
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0
}

a {
    color: #000;
    text-decoration: none;
    -webkit-text-fill-color: initial;
}

a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
}

.bbh-sans-bartle-regular {
    font-family: "BBH Sans Bartle", sans-serif;
    font-weight: 400;
    font-style: normal
}

.orbitron {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal
}

.name {
    margin-top: 0;
    font-size: 48px;
    font-family: "BBH Sans Bartle", sans-serif;
    text-align: start;
    margin-left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;

    @media screen and (max-width:800px) {
        font-size: 36px
    }

    @media screen and (max-width:500px) {
        font-size: 22px
    }
}

.name .letter {
    display: inline-block;
    background: linear-gradient(180deg, var(--text-color-top), var(--text-color-bottom));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #fff0;
    will-change: transform, opacity
}

.profession {
    margin-bottom: 0;
    font-size: 40px;
    font-family: "Orbitron";
    text-align: end;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-end;

    @media screen and (max-width:500px) {
        font-size: 22px
    }
}

.profession .letter {
    display: inline-block;
    background: linear-gradient(180deg, var(--text-color-top), var(--text-color-bottom));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #fff0;
    will-change: transform, opacity
}

.avatar-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center
}

.outer-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    opacity: .3
}

.inner-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    background: var(--background-color);
    z-index: 2
}

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

.text-path-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    animation: rotate 10s linear infinite
}

.section01-container {
    min-height: 100dvh;
    width: 100%;
    overflow: hidden;
    position: relative
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
}

.random-letter {
    position: absolute;
    font-size: 36px;
    font-weight: 700;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, var(--text-color-top), var(--text-color-bottom));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #fff0;
    will-change: transform, opacity;
    opacity: 0;

    @media screen and (max-width:480px) {
        font-size: 28px
    }
}

.section02-container {
    min-height: 100dvh;
    background-color: #fff
}

.circular-text {
    fill: var(--text-color-circle);
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase
}

@keyframes rotate {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.header {
    margin-top: 20vh;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;

    @media screen and (max-height:700px) {
        margin-top: 10vh
    }
}

.connect-actions {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
    color: var(--text-color-bottom);
    position: relative;
    z-index: 1;
}

.connect-actions>p {
    color: #fff
}

.description {
    font-size: 1.2em;
    margin: 10px 0
}




.call-to-action {
    display: grid;
    max-width: fit-content;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0
}

.button-wrapper {
    position: relative;
    display: inline-block
}

.call-to-action button {
    min-width: 160px;
    padding: 12px 32px;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: .5px;
    border: 1.5px solid #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;

    @media screen and (max-width:480px) {
        min-width: 140px;
        padding: 10px 24px;
        font-size: .9em
    }
}

.call-to-action button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: left 0.3s cubic-bezier(.4, 0, .2, 1);
    z-index: 1
}

.call-to-action button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(255 255 255 / .15)
}

.call-to-action button:hover::before {
    left: 0
}

.call-to-action button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgb(255 255 255 / .1)
}

.call-to-action button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgb(255 255 255 / .1)
}

.button-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 1;
    transition: all 0.4s cubic-bezier(.68, -.55, .265, 1.55);
    pointer-events: none;
    color: var(--svg-color);
    fill: currentColor
}

.button-wrapper:hover .button-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1
}

.button-wrapper #linkedin-icon {
    position: absolute;
    width: 40px;
    height: 40px
}

.web3-card {
    width: calc(100% - 15px);
    max-width: 450px;
    height: 700px;
    border-radius: 20px;
    z-index: 1;
    background-color: #000 !important;
    box-shadow: 0 0 0 14px #000, var(--shadow-x, 0) var(--shadow-y, 0) var(--shadow-blur, 20px) calc(var(--shadow-spread, 5px) + 14px) rgb(0 0 0 / .3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    view-timeline-name: --reveal;
    animation-name: show;
    animation-fill-mode: both;
    animation-timeline: --reveal;
    animation-range: entry 10% cover 10%
}

.web3-card-title-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgb(139 90 43 / .2);

    h3 {
        margin: 0;
        font-size: 1.5em;
        color: var(--text-color-bottom);
        text-shadow: 0 1px 2px rgb(0 0 0 / .3);
        font-weight: 700
    }

    h4 {
        margin: 0;
        font-size: 1em;
        color: var(--text-color-bottom);
        font-weight: 400;
        text-shadow: 0 1px 1px rgb(0 0 0 / .2)
    }
}

.position {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.duration {
    font-size: 0.85em !important;
    color: rgb(42 36 25 / .7) !important;
    font-style: italic;
    font-weight: 500 !important
}

.web3-card-title {
    font-family: "Beleren", serif;
    letter-spacing: .5px
}

.pastWorks-title {
    display: flex;
    align-items: end;
    gap: 10px;
    color: var(--text-color-top);
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 0;
    text-transform: uppercase
}

.slideshow {
    width: 100vw;
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-bottom);
    overflow: hidden
}

.title-section {
    position: absolute;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-section-container {
    display: flex;
    flex-direction: column;
    max-width: 1080px;
    width: 100%;
    position: relative;
}

.github {
    padding: 8px 32px;
    width: 100%
}

.github-anchor {
    text-decoration: none;
    color: var(--text-color-bottom);
    font-weight: 500;
    position: relative;
    display: inline-block;
    width: 100%
}

.github-anchor:hover {
    color: #7ed0ec
}

button.github #github-icon {
    position: absolute;
    width: 180px;
    height: 180px;
    left: 50%;
    top: -80px;
    transform: translateX(-50%) translateY(0) rotate(180deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(.68, -.55, .265, 1.55);
    pointer-events: none;
    z-index: 10
}

button.github:hover #github-icon {
    transform: translateX(-50%) translateY(47px) rotate(180deg);
    opacity: 1
}

button.github:hover {
    overflow: visible
}

button.github::before {
    left: 0;
    visibility: hidden;
    background-color: #7ed0ec
}

button.github:hover::before {
    visibility: inherit;
    left: 0;
    background-color: #7ed0ec
}

.github-wrapper {
    grid-column-start: 1;
    grid-column-end: 3;
    max-width: 500px;
    width: 100%
}

@keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px
    }
}

.sticky-panties {
    width: 100%;
    min-height: 100vh;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABnSURBVHja7M5RDYAwDEXRDgmvEocnlrQS2SwUFST9uEfBGWs9c97nbGtDcquqiKhOImLs/UpuzVzWEi1atGjRokWLFi1atGjRokWLFi1atGjRokWLFi1af7Ukz8xWp8z8AAAA//8DAJ4LoEAAlL1nAAAAAElFTkSuQmCC) repeat 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    animation: bg-scrolling-reverse 0.92s infinite linear
}

/* --- Projects Section Enhancement --- */
.projects-title-container {
    padding: 40px;
    margin-bottom: 120px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    filter: drop-shadow(15px 15px 0px #000);
}

.projects-title {
    position: relative;
    padding: 30px 60px;
    background-color: #ffde03;
    border: 8px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(-1.5deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Noise/Grain Texture */
.projects-title::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.projects-title-container:hover .projects-title {
    transform: rotate(0deg) scale(1.03);
    background-color: #fff01f;
}

.title-line {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    color: #000;
    display: block;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.title-line-1 {
    transform: translateX(-10px);
}

.title-line-2 {
    transform: translateX(10px);
    color: transparent;
    -webkit-text-stroke: 2px #000;
}

/* Decorative Shapes */
.shape-rect,
.shape-circle,
.shape-x {
    position: absolute;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.shape-rect {
    width: 60px;
    height: 60px;
    background-color: #ff00ff;
    border: 4px solid #000;
    top: -20px;
    left: -10px;
    transform: rotate(15deg);
}

.shape-circle {
    width: 80px;
    height: 80px;
    background-color: #00ffff;
    border: 4px solid #000;
    border-radius: 50%;
    bottom: -30px;
    right: -20px;
    animation-delay: -2s;
}

.shape-x {
    font-family: "Orbitron", sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: #00ff00;
    -webkit-text-stroke: 3px #000;
    top: 50%;
    left: -80px;
    animation-delay: -4s;
    user-select: none;
}

.title-sticker {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: #fff;
    border: 3px solid #000;
    padding: 5px 15px;
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    transform: rotate(10deg);
    z-index: 25;
    box-shadow: 4px 4px 0px #000;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(10px, -15px) rotate(5deg);
    }

    66% {
        transform: translate(-5px, 10px) rotate(-3deg);
    }
}

/* Reveal Animation */
.projects-title-container {
    view-timeline-name: --title-scroll;
    animation-name: title-reveal;
    animation-fill-mode: both;
    animation-timeline: --title-scroll;
    animation-range: entry 20% cover 40%;
}

@keyframes title-reveal {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media screen and (max-width: 768px) {
    .projects-title-container {
        margin-bottom: 60px;
        padding: 20px;
    }

    .projects-title {
        padding: 20px 40px;
        border-width: 6px;
    }

    .shape-x {
        display: none;
    }
}

.project-logo-container {
    width: calc(100% - 10px);
    max-height: 330px;
    object-fit: fill;
    box-shadow: -4px 0 2px rgb(3 3 3 / .79), inset 5px 5px 1px #030303, inset -5px -5px 1px #030303;
    border: 3.69px solid var(--pharaoh-color-main);
    overflow: hidden;
    padding: 1.99px;
    margin-top: -3px
}

.project-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: fill
}

#card-type {
    margin-top: -6px
}

.web3-card-header {
    width: calc(100% + 15px);
    height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    padding: 0 15px;
    box-sizing: border-box;
    color: #000000d4;
    font-family: "Beleren";
    box-shadow: -3px 0 3px rgb(3 3 3 / .69), inset 0 0 1.5px 1.5px black, inset 0 1px 0 0 black, inset 2.5px 0 0 0 grey, inset 4px 0 0 0 rgb(0 0 0 / .42), inset 0 -4px 0 0 rgb(0 0 0 / .42);
    border-radius: 10.69px;
    z-index: 4;
    position: relative;
    overflow: hidden;
    background-color: #e0cdadde
}

.web3-card-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 1.69px, rgb(0 0 0 / .08) 1px, rgb(236 0 0 / .04) 2px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgb(255 0 0 / .04) 8px, rgb(0 0 0 / .08) 2px);
    z-index: 1
}

.web3-card-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4' seed='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: .35;
    mix-blend-mode: darken;
    z-index: 1;
    background-size: 150px 150px
}

.web3-card-header-title {
    width: 100%;
    height: 29.12px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: relative;
    z-index: 2;
    opacity: .89
}

.semicircle-left,
.semicircle-right {
    width: 20px;
    height: 40px;
    position: relative;
    z-index: 2
}

.semicircle-left::before,
.semicircle-right::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgb(0 0 0 / .3);
    top: 50%;
    transform: translateY(-50%)
}

.semicircle-left::before {
    right: 0;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%)
}

.semicircle-right::before {
    left: 0;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%)
}

.stats-tvl {
    display: flex;
    align-items: center;
    font-size: .9em;
    gap: 5px;
    position: relative;
    z-index: 2
}

.web3-card-header>* {
    position: relative;
    z-index: 2
}

.led {
    width: 10px;
    height: 10px;
    background-color: var(--dot-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--dot-color)
}

.web3-card-body {
    width: 100%;
    height: 250px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
    border: 4.69px solid red;
    box-shadow: -3px 0 3px rgb(3 3 3 / .69), inset 0 0 40px rgb(0 0 0 / .08), inset 0 2px 1px rgb(255 255 255 / .5);
    margin-top: -2px;
    z-index: 3;
    position: relative
}

.web3-card-body::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1.5px solid rgb(139 90 43 / .3);
    border-radius: 8px;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgb(139 90 43 / .03) 2px, rgb(139 90 43 / .03) 4px)
}

.web3-card-body::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' seed='1'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.15'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: .3;
    mix-blend-mode: multiply
}

.card-inner {
    position: relative;
    height: calc(100% - 50px);
    margin: 16px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3
}

.card-footer {
    position: absolute;
    background-color: #000;
    height: 200px;
    width: 101%;
    margin-bottom: 16px;
    bottom: -10px;
    z-index: 1;
    clip-path: url(#footer-clip);
    display: flex;
    justify-content: center;
    align-items: flex-end
}

.verify-stats {
    font-family: "Orbitron", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    background: linear-gradient(90deg, #8a8a8a 0%, #d4d4d4 20%, #f0f0f0 40%, #ffffff 50%, #f0f0f0 60%, #d4d4d4 80%, #8a8a8a 100%);
    background-size: 100% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #fff0;
    filter: drop-shadow(0 0 2px rgb(255 255 255 / .5));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2
}

#pharaoh {
    position: sticky;
    top: 40px;
    z-index: 10;
    margin-left: auto;
    filter: drop-shadow(0 5px 6px var(--pharaoh-color-main));
    margin-right: auto;
    background-size: cover;
    background-position: center;

    @media screen and (max-height:700px) {
        top: 20px
    }

    &:hover {
        filter: drop-shadow(0 10px 10px var(--pharaoh-color-main));

        .led {
            background-color: var(--pharaoh-color-main);
            box-shadow: 0 0 12px var(--pharaoh-color-main)
        }

        .web3-card-link {
            color: var(--pharaoh-color-main);
            font-weight: bolder
        }
    }

    .web3-card-title {
        color: var(--pharaoh-color-main);
        filter: brightness(.85)
    }

    .web3-card-link {
        color: var(--pharaoh-color-main)
    }

    .web3-card-header,
    .project-logo-container,
    .web3-card-body {
        border: 4.69px solid var(--pharaoh-color-main)
    }
}

.web3-card-description {
    margin-top: 0;
    margin-bottom: 0;
    font-size: .95em;
    line-height: 1.5;
    color: #2a2419;
    font-style: italic;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 1px rgb(255 255 255 / .5);
    font-weight: 500
}

.web3-card-link {
    font-family: "Beleren", serif;
    font-size: .95em;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    padding: 6px 12px;
    border: 2px solid currentColor;
    border-radius: 4px;
    background: rgb(255 255 255 / .4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: .5px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgb(0 0 0 / .15)
}

.web3-card-link:hover {
    background: rgb(255 255 255 / .7);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgb(0 0 0 / .2)
}

#ramses {
    position: sticky;
    top: 50px;
    background-size: cover;
    background-position: center;
    z-index: 20;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--background-color);
    filter: drop-shadow(0 5px 6px var(--ramses-color-main));

    @media screen and (max-height:700px) {
        top: 20px
    }

    &:hover {
        filter: drop-shadow(0 10px 10px var(--ramses-color-main));

        .led {
            background-color: var(--ramses-color-main);
            box-shadow: 0 0 12px var(--ramses-color-main)
        }

        .web3-card-link {
            color: var(--ramses-color-main);
            font-weight: bolder
        }
    }

    .web3-card-title {
        color: var(--ramses-color-main);
        filter: brightness(.7)
    }

    .web3-card-link {
        color: var(--ramses-color-main);
        filter: brightness(.7)
    }

    .web3-card-header,
    .project-logo-container,
    .web3-card-body {
        border: 4.69px solid var(--ramses-color-main)
    }
}

#spookyswap {
    position: sticky;
    top: 55px;
    background-size: cover;
    background-position: center;
    z-index: 30;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--background-color);
    filter: drop-shadow(0 5px 6px var(--spookyswap-color-main));

    @media screen and (max-height:700px) {
        top: 20px
    }

    &:hover {
        filter: drop-shadow(0 10px 10px var(--spookyswap-color-main));

        .led {
            background-color: var(--spookyswap-color-main);
            box-shadow: 0 0 12px var(--spookyswap-color-main)
        }

        .web3-card-link {
            color: var(--spookyswap-color-main);
            font-weight: bolder
        }
    }

    .web3-card-title {
        color: var(--spookyswap-color-main);
        filter: brightness(.7)
    }

    .web3-card-link {
        color: var(--spookyswap-color-main);
        filter: brightness(.7)
    }

    .web3-card-header,
    .project-logo-container,
    .web3-card-body {
        border: 4.69px solid var(--spookyswap-color-main)
    }
}

#nile {
    position: sticky;
    top: 60px;
    background-color: var(--background-color);
    z-index: 40;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 5px 6px var(--nile-color-main));

    @media screen and (max-height:700px) {
        top: 20px
    }

    &:hover {
        filter: drop-shadow(0 10px 10px var(--nile-color-main));

        .led {
            background-color: var(--nile-color-main);
            box-shadow: 0 0 12px var(--nile-color-main)
        }

        .web3-card-link {
            color: var(--nile-color-main);
            font-weight: bolder
        }
    }

    .web3-card-title {
        color: var(--nile-color-main);
        filter: brightness(.6)
    }

    .web3-card-link {
        color: var(--nile-color-main);
        filter: brightness(.6)
    }

    .web3-card-header,
    .project-logo-container,
    .web3-card-body {
        border: 4.69px solid var(--nile-color-main)
    }
}

#abacus {
    position: sticky;
    top: 65px;
    background-size: cover;
    background-position: center;
    z-index: 50;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--background-color);
    filter: drop-shadow(0 5px 6px var(--abacus-color-main));

    @media screen and (max-height:700px) {
        top: 20px
    }

    &:hover {
        filter: drop-shadow(0 10px 10px var(--abacus-color-main));

        .led {
            background-color: var(--abacus-color-main);
            box-shadow: 0 0 12px var(--abacus-color-main)
        }

        .web3-card-link {
            color: var(--abacus-color-main);
            font-weight: bolder
        }
    }

    .web3-card-title {
        color: var(--abacus-color-main);
        filter: brightness(.7)
    }

    .web3-card-link {
        color: var(--abacus-color-main);
        filter: brightness(.7)
    }

    .web3-card-header,
    .project-logo-container,
    .web3-card-body {
        border: 4.69px solid var(--abacus-color-main)
    }
}

#mclb {
    position: sticky;
    top: 90px;
    background-size: cover;
    background-position: center;
    z-index: 60;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--background-color);
    filter: drop-shadow(0 5px 6px var(--mclb-color-main));

    @media screen and (max-height:700px) {
        top: 20px
    }

    &:hover {
        filter: drop-shadow(0 10px 10px var(--mclb-color-main));

        .led {
            background-color: var(--mclb-color-main);
            box-shadow: 0 0 12px var(--mclb-color-main)
        }

        .web3-card-link {
            color: var(--mclb-color-main);
            font-weight: bolder
        }
    }

    .web3-card-title {
        color: var(--mclb-color-main);
        filter: brightness(.8)
    }

    .web3-card-link {
        color: var(--mclb-color-main);
        filter: brightness(.8)
    }

    .web3-card-header,
    .project-logo-container,
    .web3-card-body {
        border: 4.69px solid var(--mclb-color-main)
    }
}

@keyframes freeze-wobble {
    0% {
        transform: rotate(0deg) scale(1)
    }

    30% {
        transform: rotate(var(--freeze-rotation, 0deg)) scale(1.05)
    }

    60% {
        transform: rotate(var(--freeze-rotation, 0deg)) scale(.98)
    }

    100% {
        transform: rotate(var(--freeze-rotation, 0deg)) scale(1)
    }
}

.stake {
    animation: freeze-wobble 0.5s cubic-bezier(.68, -.55, .265, 1.55) forwards;
    will-change: transform;
    transform: rotate(var(--freeze-rotation, 0deg)) scale(1)
}

@keyframes unstack-wobble {
    0% {
        transform: rotate(var(--freeze-rotation, 0deg)) scale(1)
    }

    50% {
        transform: rotate(0deg) scale(1.02)
    }

    100% {
        transform: rotate(0deg) scale(1)
    }
}

.unstack-animation {
    animation: unstack-wobble 0.4s cubic-bezier(.68, -.55, .265, 1.55) forwards;
    will-change: transform
}

.spacer {
    height: 200px
}

.calendar {
    height: 100dvh;
    width: 100%;
    z-index: 70
}

.card-background {
    position: absolute;
    top: -105px;
    z-index: -1;
    filter: contrast(120%)
}

.card-header-icon {
    top: -2px;
    border-radius: 50%;
    filter: grayscale(40%);
    height: 70%;
    width: auto;
    box-shadow: -1px 2px 0 #00000092
}

/* ─── Menta Stats — "Exploded Collage" Rework ─── */

.menta-stats {
    background-color: rgb(255, 244, 244);
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 160px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* ─── Organic SVG Background Blobs ─── */
.stat-bg-blob-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.stat-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    opacity: 0.12;
    filter: blur(50px);
    transition: transform 0.8s ease-out;
    animation: blob-float 20s ease-in-out infinite;
}

@keyframes blob-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(100px, -50px) scale(1.1) rotate(5deg);
    }

    66% {
        transform: translate(-50px, 80px) scale(0.9) rotate(-3deg);
    }
}

.blob-1 {
    top: -10%;
    left: -10%;
    fill: #ffde03;
    /* Yellow */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -15%;
    fill: #00ffff;
    /* Cyan */
    animation-delay: -5s;
    width: 1000px;
    height: 1000px;
}

.blob-3 {
    top: 20%;
    right: 10%;
    fill: #ff00ff;
    /* Magenta */
    animation-delay: -10s;
    width: 700px;
    height: 700px;
    opacity: 0.08;
}

.stats-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ─── Exploded Grid ─── */
.stats-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 60px 40px;
}

/* ─── Layered Card Construction ─── */
.stat-card {
    position: relative;
    overflow: visible;
    perspective: 1000px;
}

.stat-layer-shadow {
    position: absolute;
    inset: 0;
    background-color: #000;
    transform: translate(15px, 15px);
    z-index: 1;
}

.stat-layer-bg {
    position: absolute;
    inset: 0;
    background-color: #fff;
    border: 6px solid #000;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card-inner {
    position: relative;
    z-index: 5;
    padding: 50px 35px;
    height: 100%;
    min-height: 200px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    pointer-events: none;
}

/* Hover Dynamics */
.stat-card:hover .stat-layer-bg {
    transform: translate(-10px, -10px);
}

.stat-card:hover .stat-layer-shadow {
    transform: translate(25px, 25px);
}

/* ─── Typography & Multi-Layers ─── */
.stat-number-wrapper {
    position: relative;
    display: inline-block;
}

.stat-number {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.85;
    color: #000;
    letter-spacing: -4px;
    position: relative;
    z-index: 2;
}

.stat-number.hollow {
    position: absolute;
    top: -5px;
    left: 5px;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.stat-label {
    font-family: "Orbitron", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #000;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    padding: 4px 10px;
    align-self: flex-start;
    margin-top: 10px;
}

.stat-prefix {
    font-family: "Orbitron", sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    margin-right: 10px;
}

/* ─── Floating Bits & Stickers ─── */
.stat-shapes-container {
    position: absolute;
    inset: -20px;
    pointer-events: none;
    z-index: 6;
}

.stat-shape {
    position: absolute;
    border: 3px solid #000;
    animation: stat-float 4s ease-in-out infinite;
}

@keyframes stat-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-10px, -15px) rotate(10deg);
    }
}

.shape-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    bottom: 10px;
    right: 10px;
    background: #00ffff;
}

.shape-rect {
    width: 30px;
    height: 30px;
    top: -10px;
    right: 20px;
    background: #ff00ff;
}

.shape-x {
    border: none;
    font-family: "Orbitron", sans-serif;
    font-size: 40px;
    font-weight: 900;
    top: 20%;
    left: -20px;
    color: #00ff00;
    -webkit-text-stroke: 2px #000;
}

.stat-sticker {
    position: absolute;
    background-color: #ffffff;
    top: -15px;
    right: -10px;
    border: 3px solid #000;
    padding: 5px 12px;
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    font-size: 12px;
    transform: rotate(8deg);
    z-index: 10;
    box-shadow: 4px 4px 0 #000;
}

/* ─── High Contrast Palette ─── */

.stat-hero {
    grid-column: 2 / 5;
    align-self: start;
}

.stat-hero .stat-layer-bg {
    background-color: #ffde03;
}

.stat-hero .stat-number.hollow {
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.4);
}

.stat-years {
    grid-column: 1 / 3;
    transform: rotate(-2deg);
    margin-top: 20px;
}

.stat-years .stat-layer-bg {
    background-color: #00ffff;
}

.stat-protocols {
    grid-column: 3 / 5;
    transform: rotate(1.5deg);
    margin-top: -30px;
}

.stat-protocols .stat-layer-bg {
    background-color: #00ff00;
}

.stat-visual {
    grid-column: 1 / 2;
    align-self: start;
}

.stat-visual .stat-layer-bg {
    background-color: #ff00ff;
}

.stat-visual-inner {
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.stat-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    display: block;
}

/* ─── Hero Waves ─── */
.stat-hero-decoration {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    mix-blend-mode: multiply;
}

.wave-path {
    fill: none;
    stroke: #000;
    stroke-width: 4;
}

/* ─── Responsive ─── */
@media screen and (max-width: 1000px) {
    .stats-bento {
        grid-template-columns: 1fr 1fr;
        gap: 50px 30px;
    }

    .stat-hero,
    .stat-years,
    .stat-protocols,
    .stat-visual {
        grid-column: span 1;
        transform: rotate(0deg) !important;
        margin: 0 !important;
    }

    .stat-hero {
        grid-column: span 2;
    }
}

@media screen and (max-width: 600px) {
    .stats-bento {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-hero,
    .stat-years,
    .stat-protocols,
    .stat-visual {
        grid-column: 1;
    }

    .stat-layer-shadow {
        transform: translate(10px, 10px);
    }

    .stat-card-inner {
        padding: 40px 25px;
    }
}

/* Sprite Animation Integration */
.stat-img::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-size: 500% 400%;
    background-repeat: no-repeat;
    animation-timeline: scroll(root);
    animation-name: play-sprite;
    animation-fill-mode: both;
    animation-timing-function: step-end;
}

.stat-01-img::before {
    background-image: var(--sprite-image-2);
    animation-range: entry 0% cover 20%;
}

@keyframes play-sprite {
    0% {
        background-position: 0% 0%;
    }

    5% {
        background-position: 25% 0%;
    }

    10% {
        background-position: 50% 0%;
    }

    15% {
        background-position: 75% 0%;
    }

    20% {
        background-position: 100% 0%;
    }

    25% {
        background-position: 0% 33.333%;
    }

    30% {
        background-position: 25% 33.333%;
    }

    35% {
        background-position: 50% 33.333%;
    }

    40% {
        background-position: 75% 33.333%;
    }

    45% {
        background-position: 100% 33.333%;
    }

    50% {
        background-position: 0% 66.666%;
    }

    55% {
        background-position: 25% 66.666%;
    }

    60% {
        background-position: 50% 66.666%;
    }

    65% {
        background-position: 75% 66.666%;
    }

    70% {
        background-position: 100% 66.666%;
    }

    75% {
        background-position: 0% 100%;
    }

    80% {
        background-position: 25% 100%;
    }

    85% {
        background-position: 50% 100%;
    }

    90% {
        background-position: 75% 100%;
    }

    95% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.delayed-link {
    text-decoration: none;
    color: var(--text-color-bottom);
    font-weight: 600;
}