/* =========================================
   REMOVE ORIGINAL FOOTER
========================================= */
footer > div {
    display: none !important;
}

.css-1cl5utq:root .css-1cl5utq,
.light .css-1cl5utq {
    background: radial-gradient(
        110.03% 108.03% at 4% 11%, 
        rgba(255, 195, 0, 0.6) 0%,   /* strong yellow */
        rgba(26, 23, 23, 0.95) 110%  /* dark gray */
    ) !important;
    background-color: #1A1A1A !important; /* fallback solid color */
}
/* =========================================
   MAIN FOOTER (Your Custom Footer)
========================================= */
footer {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 5px 5px 5px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 1px solid rgba(212,175,55,0.18);
    background:
        radial-gradient(circle at top left,
        rgba(212,175,55,0.06),
        transparent 24%),
        radial-gradient(circle at bottom right,
        rgba(37,99,235,0.08),
        transparent 28%),
        linear-gradient(
        135deg,
        #020617 0%,
        #071427 45%,
        #0a1d3f 100%
    ) !important;
}

footer::before {
    content: "";
    width: 190px;
    height: 70px;
    display: block;
    margin-bottom: 20px;
    background-image: url('https://rpc.felixexplorer.com/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
}

footer::after {
    content: "Enterprise-grade blockchain explorer for the Felix Smart Chain ecosystem. Track transactions, wallets, smart contracts, blocks and token activities through a secure, scalable and high-performance infrastructure.\A\A Powered by Felix Smart Chain Infrastructure\A\A © 2026 Felix Network. All Rights Reserved.";
    white-space: pre-line;
    position: relative;
    z-index: 2;
    max-width: 920px;
    color: #f8fafc;
    font-size: 12px;
    line-height: 20px;
    font-weight: 300;
    letter-spacing: 0.1px;
    text-align: center;
}

/* =========================================
   REPLACE BLOCKSCOUT LOGO
========================================= */

.css-1nrwvu6 {

    background-image:
        url('https://rpc.felixexplorer.com/logo.png') !important;

    background-repeat: no-repeat !important;

    background-position: center !important;

    background-size: contain !important;

    width: 170px !important;

    height: 60px !important;

    display: block !important;
}

/* Hide original image/text inside */

.css-1nrwvu6 img,
.css-1nrwvu6 svg,
.css-1nrwvu6 span {

    opacity: 0 !important;
}

/* Mobile */

@media(max-width:768px){

    .css-1nrwvu6 {

        width: 140px !important;

        height: 50px !important;
    }
}