/* =========================================
   PROFESSIONAL CRYPTO BLOG HEADER
   CLEAN CSS - GREEN + WHITE + RED
========================================= */

/* MAIN HEADER */
.premium-navbar {
    position: relative;
    width: 100%;
    background: #ffffff !important;
    padding: 8px 0 11px !important;
    border: none !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    z-index: 1000;
}

/* GREEN + RED BOTTOM LINE */
.premium-navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        to right,
        #078b38 0%,
        #078b38 50%,
        #dc3545 50%,
        #dc3545 100%
    );
}

/* CONTAINER - SMALL SIDE GAP */
.premium-navbar > .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin: 0 auto;
}

/* LOGO */
.premium-brand {
    display: flex;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    text-decoration: none;
}

.premium-brand img {
    display: block;
    max-height: 65px;
    max-width: 230px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* DESKTOP MENU */
.premium-menu {
    align-items: center;
    gap: 5px;
    margin-left: auto;
    margin-right: auto;
}

.premium-menu .nav-link {
    color: #172033 !important;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 17px !important;
    margin: 0 2px;
    border-radius: 7px;
    transition: all 0.25s ease;
}

.premium-menu .nav-link:hover {
    color: #078b38 !important;
    background: #eaf7ef;
}

.premium-menu .nav-link.active {
    color: #078b38 !important;
    background: #eaf7ef;
}

/* RIGHT BUTTON AREA */
.premium-navbar .d-flex.align-items-center.gap-2 {
    gap: 8px !important;
}

/* LOGIN BUTTON */
.premium-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #078b38 !important;
    color: #ffffff !important;
    border: 1px solid #078b38 !important;
    border-radius: 7px;
    padding: 9px 17px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.premium-login:hover {
    background: #056d2c !important;
    border-color: #056d2c !important;
    color: #ffffff !important;
}

/* SIGNUP BUTTON */
.premium-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #ed1c24 !important;
    color: #ffffff !important;
    border: 1px solid #ed1c24 !important;
    border-radius: 7px;
    padding: 9px 17px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.premium-signup:hover {
    background: #c81019 !important;
    border-color: #c81019 !important;
    color: #ffffff !important;
}

/* DASHBOARD BUTTON */
.premium-dashboard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #078b38 !important;
    color: #ffffff !important;
    border: 1px solid #078b38 !important;
    border-radius: 7px;
    padding: 9px 17px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.premium-dashboard:hover {
    background: #056d2c !important;
    color: #ffffff !important;
}

/* MOBILE MENU TOGGLE */
.premium-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #078b38 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    padding: 7px 10px !important;
    box-shadow: none !important;
    outline: none !important;
}

.premium-toggler:focus {
    box-shadow: 0 0 0 3px rgba(7,139,56,0.12) !important;
}

.premium-toggler .navbar-toggler-icon {
    filter: invert(39%) sepia(84%) saturate(700%)
            hue-rotate(95deg) brightness(85%);
}

/* MOBILE OFFCANVAS */
#blogMobileMenu {
    width: 300px;
    max-width: 85%;
    background: #ffffff;
    border-right: 3px solid #078b38;
}

#blogMobileMenu .offcanvas-header {
    padding: 17px 18px;
    border-bottom: 1px solid #e8eee9;
}

#blogMobileMenu .offcanvas-title {
    color: #172033;
    font-size: 18px;
    font-weight: 750;
}

#blogMobileMenu .offcanvas-body {
    padding: 18px 15px;
}

/* MOBILE LINKS */
.blog-mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.blog-mobile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e1e9e3;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-mobile-link i {
    width: 19px;
    text-align: center;
}

.blog-mobile-link:hover {
    color: #078b38;
    border-color: #078b38;
    background: #eaf7ef;
}

.blog-mobile-link.active {
    color: #078b38;
    background: #eaf7ef;
    border-color: #078b38;
}

.blog-mobile-link.signup-link {
    color: #ffffff;
    background: #ed1c24;
    border-color: #ed1c24;
}

.blog-mobile-link.signup-link:hover {
    background: #c81019;
    border-color: #c81019;
}

.blog-mobile-divider {
    width: 100%;
    height: 1px;
    background: #e5ebe7;
    margin: 7px 0;
}

/* TABLET */
@media (max-width: 991.98px) {

    .premium-navbar {
        padding: 7px 0 10px !important;
    }

    .premium-navbar > .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .premium-brand img {
        max-height: 55px;
        max-width: 210px;
    }

    .premium-toggler {
        margin-left: auto;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {

    .premium-navbar {
        padding: 6px 0 9px !important;
    }

    .premium-navbar > .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .premium-brand img {
        max-height: 48px;
        max-width: 185px;
    }

    .premium-toggler {
        padding: 6px 9px !important;
    }

    #blogMobileMenu {
        width: 280px;
        max-width: 85%;
    }
}

/* VERY SMALL MOBILE */
@media (max-width: 360px) {

    .premium-brand img {
        max-height: 42px;
        max-width: 160px;
    }

    .premium-navbar > .container-fluid {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

/* =========================================
   WEBSITE BRAND NAME + TAGLINE
========================================= */

.premium-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.premium-brand-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: flex-start;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.2;
    white-space: nowrap;
}

.premium-brand-name {
    display: block !important;
    color: #078b38 !important;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.7px;
    visibility: visible !important;
}

.premium-brand-name span {
    color: #ed101b !important;
}

.premium-brand-tagline {
    display: block !important;
    color: #596579 !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 3px;
    visibility: visible !important;
}

/* TABLET */
@media (max-width: 991.98px) {
    .premium-brand-name {
        font-size: 22px;
    }

    .premium-brand-tagline {
        font-size: 10px;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    .premium-brand {
        gap: 8px;
    }

    .premium-brand-name {
        font-size: 19px;
    }

    .premium-brand-tagline {
        font-size: 9px;
    }
}










/* MOBILE MENU BRAND */

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.mobile-menu-brand img {
    width: auto;
    height: auto;
    max-width: 65px;
    max-height: 48px;
    object-fit: contain;
}

.mobile-menu-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mobile-menu-brand-name {
    font-size: 21px;
    font-weight: 800;
    color: #078b38;
    white-space: nowrap;
}

.mobile-menu-brand-name span {
    color: #ed101b;
}

.mobile-menu-brand-tagline {
    font-size: 9px;
    font-weight: 600;
    color: #596579;
    margin-top: 3px;
    white-space: nowrap;
}

#blogMobileMenu .offcanvas-header {
    padding: 15px 13px;
    border-bottom: 1px solid #e8eee9;
}

/* =========================================
   SCROLL TO TOP BUTTON
========================================= */

#scrollToTop {
    position: fixed;
    right: 22px;
    bottom: 25px;
    z-index: 9999;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #20b46c, #087443);
    color: #ffffff;

    border: none;
    border-radius: 12px;

    font-size: 19px;
    cursor: pointer;

    box-shadow: 0 5px 16px rgba(8, 116, 67, 0.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: all 0.3s ease;
}

/* SHOW BUTTON */

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* HOVER */

#scrollToTop:hover {
    background: #d94350;
    color: #ffffff;
    transform: translateY(-4px);
}

/* MOBILE */

@media (max-width: 576px) {
    #scrollToTop {
        width: 43px;
        height: 43px;
        right: 15px;
        bottom: 18px;
        font-size: 17px;
    }
}