.nodes-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.node-card {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.node-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent-pink));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.node-card:hover::before {
    opacity: 1;
}

.node-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.node-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 16px;
    transition: transform 0.3s ease;
}

.node-card:hover .node-icon {
    transform: scale(1.1);
}

.node-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.node-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.node-ping {
    font-size: 1rem;
    font-weight: 700;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    color: #60a5fa;
    transition: all 0.3s ease;
}

.node-card:hover .node-ping {
    background: rgba(59, 130, 246, 0.4);
}

.node-card.fastest {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.25);
}

.node-card.fastest::before {
    background: linear-gradient(180deg, var(--success), #34d399);
    opacity: 1;
}

.node-card.fastest .node-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(52, 211, 153, 0.3) 100%);
}

.node-card.fastest .node-ping {
    background: rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.fastest-tag {
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--success), #34d399);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}
