.sub-navbar::before {
    content: "Bitcoin Testnet is used for testing. Funds have no value!";
    position: fixed;
    top: 14px;
    right: -58px;
    width: 280px;
    height: auto;
    margin-top: 0;
    padding: 9px 0;
    background: linear-gradient(135deg, #ba042a 0%, #84102c 100%);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transform: rotate(38deg);
    transform-origin: center;
    z-index: 1000;
    pointer-events: none;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0;
    min-height: 54px;
}

.navbar-brand::before {
    width: 42px;
    height: 42px;
    background: url(img/photonbolt-logo.svg) center/contain no-repeat;
    display: inline-block;
    content: "";
    flex: 0 0 42px;
}

.navbar-brand::after {
    content: "PhotonBolt RegTest Bitcoin Network";
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-transform: none;
    max-width: 280px;
}

.sub-nav-container {
    margin-top: 0;
}

@media (max-width: 768px) {
    .navbar-brand {
        gap: 10px;
        min-height: 40px;
    }

    .navbar-brand::before {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .navbar-brand::after {
        font-size: 12px;
        max-width: 170px;
    }

    .sub-navbar::before {
        top: 10px;
        right: -74px;
        width: 240px;
        font-size: 10px;
        padding: 8px 0;
    }
}
