/* ========================= */
/* GLOBAL NAVBAR */
/* ========================= */

.countries-navbar {
    width: 100%;
    height: 66px;
    padding: 0 20px;
    background: rgba(5,5,5,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "OldTyper", monospace;
    position: sticky;
    top: 0;
    z-index: 5000;
    background: #000;
}

.navbar-inner {
    padding-left: 20px;
}

.countries-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: 4px;
    font-size: 20px;
}

.countries-atom {
    width: 36px;
    height: 36px;
    object-fit: contain;
    animation: atomSpin 6s linear infinite;
    transform-origin: 50% 50%;
    filter:
        drop-shadow(0 0 6px rgba(255,208,0,0.7))
        drop-shadow(0 0 12px rgba(255,208,0,0.4));
}

.countries-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 60px;
}

.countries-nav-links a {
    position: relative;
    text-decoration: none;
    color: #aaa;
    font-size: 15px;
    letter-spacing: 2px;
    white-space: nowrap;
    padding-bottom: 6px;
    transition: color 0.25s ease;
}

.countries-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.countries-nav-links a:hover {
    color: #ffffff;
}

.countries-nav-links a:hover::after {
    width: 100%;
}

.countries-nav-links a.active {
    color: #ffffff;
}

.countries-nav-links a.active::after {
    width: 100%;
}

@keyframes atomSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}