/* navbar.css */

.hype-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000000;
    background-image: url('/images/hype-energy-top-bar-nav.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.navbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 51px !important;   
    position: relative !important;
    margin: 0 !important;
}

.navbar-inner::before,
.navbar-inner::after { display: none !important; }

/* Links */
.nav-links {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    .nav-links{
    position: relative;
    top: 10px; 
}
}

.nav-links--left  { justify-content: flex-end !important; flex: 1 !important; padding-right: 0.5rem !important; }
.nav-links--right { justify-content: flex-start !important; flex: 1 !important; padding-left: 0.5rem !important; }

.nav-links li { list-style: none !important; }

.nav-links li a {
    display: block !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 0.4rem 0.8rem !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
    white-space: nowrap !important;

}

.nav-links li a:hover { color: #4cff00 !important; }
.nav-search { display: flex !important; align-items: center !important; }

/* Logo central */
.navbar-logo-wrap {
    display: block !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    z-index: 10 !important;
    position: relative !important;
    top: 6px !important;
}

.navbar-logo-img {  
    height: 83px !important;
    width: auto !important;
    display: block !important;
}

.navbar-logo-wrap:hover .navbar-logo-img { opacity: 1 !important; }

/* Mobile toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.nav-mobile-toggle span { display: block; width: 24px; height: 2px; background-color: #ffffff; }

/* Mobile menu */
.nav-mobile-menu {
    display: none;
    background-color: #000000;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(76,255,0,0.3);
}

.nav-mobile-menu.open { display: block !important; }
.nav-mobile-menu ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.nav-mobile-menu li a {
    display: block;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
}
.nav-mobile-menu li a:hover { color: #4cff00; }

/* 1400px */
@media (max-width: 1400px) {
    .nav-links li a { font-size: 0.8rem !important; padding: 0.4rem 0.8rem !important; letter-spacing: 0.12em !important; margin: 0 0.45rem !important;}
}

/* 1200px */
@media (max-width: 1200px) {
    .nav-links li a { font-size: 0.8rem !important; padding: 0.4rem 0.8rem !important; letter-spacing: 0.12em !important; margin: 0 0.45rem !important;}
}

/* 1050px */
@media (max-width: 1500px) {
    .hype-navbar {
        background-image: none !important;
        background-color: #000000 !important;
        border-bottom: 2px solid #4cff00 !important;
    }
    .navbar-inner::before,
    .navbar-inner::after {
        content: '' !important;
        display: block !important;
        height: 6px !important;
        background-color: #4cff00 !important;
        position: absolute !important;
        top: -6px !important;
        width: 25% !important;
    }
    .navbar-inner::before { left: 0 !important; }
    .navbar-inner::after  { right: 0 !important; }
    .nav-links li a { font-size: 0.8rem !important; padding: 0.4rem 0.8rem !important; letter-spacing: 0.12em !important; margin: 0 0.07rem !important; }
}

/* 950px — móvil */
@media (max-width: 950px) {
    .nav-links { display: none !important; }
    .nav-mobile-toggle { display: flex !important; }
    .navbar-inner::before { display: none !important; }
    .navbar-inner::after  { display: none !important; }
}